consul

package
v3.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing consul resources.

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.
	//
	// Deprecated: The config attribute is deprecated, please use `configJson` instead.
	Config pulumi.StringMapOutput `pulumi:"config"`
	// The raw configuration for this ACL auth method.
	ConfigJson pulumi.StringPtrOutput `pulumi:"configJson"`
	// A free form human readable description of the auth method.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An optional name to use instead of the name attribute when displaying information about this auth method.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
	MaxTokenTtl pulumi.StringPtrOutput `pulumi:"maxTokenTtl"`
	// The name of the ACL auth method.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace in which to create the auth method.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// A set of rules that control which namespace tokens created via this auth method will be created within.
	NamespaceRules AclAuthMethodNamespaceRuleArrayOutput `pulumi:"namespaceRules"`
	// The partition the ACL auth method is associated with.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// The kind of token that this auth method produces. This can be either 'local' or 'global'.
	TokenLocality pulumi.StringPtrOutput `pulumi:"tokenLocality"`
	// 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](https://www.consul.io/docs/acl/auth-methods).

## Example Usage

Define a `kubernetes` auth method:

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Host":              "https://192.0.2.42:8443",
			"CACert":            "-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----\n",
			"ServiceAccountJWT": "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9...",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = consul.NewAclAuthMethod(ctx, "minikube", &consul.AclAuthMethodArgs{
			Name:        pulumi.String("minikube"),
			Type:        pulumi.String("kubernetes"),
			Description: pulumi.String("dev minikube cluster"),
			ConfigJson:  pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Define a `jwt` auth method:

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"AllowedRedirectURIs": []string{
				"http://localhost:8550/oidc/callback",
				"http://localhost:8500/ui/oidc/callback",
			},
			"BoundAudiences": []string{
				"V1RPi2MYptMV1RPi2MYptMV1RPi2MYpt",
			},
			"ClaimMappings": map[string]interface{}{
				"http://example.com/first_name": "first_name",
				"http://example.com/last_name":  "last_name",
			},
			"ListClaimMappings": map[string]interface{}{
				"http://consul.com/groups": "groups",
			},
			"OIDCClientID":     "V1RPi2MYptMV1RPi2MYptMV1RPi2MYpt",
			"OIDCClientSecret": "...(omitted)...",
			"OIDCDiscoveryURL": "https://my-corp-app-name.auth0.com/",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = consul.NewAclAuthMethod(ctx, "oidc", &consul.AclAuthMethodArgs{
			Name:        pulumi.String("auth0"),
			Type:        pulumi.String("oidc"),
			MaxTokenTtl: pulumi.String("5m"),
			ConfigJson:  pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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.

func (*AclAuthMethod) ElementType

func (*AclAuthMethod) ElementType() reflect.Type

func (*AclAuthMethod) ToAclAuthMethodOutput

func (i *AclAuthMethod) ToAclAuthMethodOutput() AclAuthMethodOutput

func (*AclAuthMethod) ToAclAuthMethodOutputWithContext

func (i *AclAuthMethod) ToAclAuthMethodOutputWithContext(ctx context.Context) AclAuthMethodOutput

type AclAuthMethodArgs

type AclAuthMethodArgs struct {
	// The raw configuration for this ACL auth method.
	//
	// Deprecated: The config attribute is deprecated, please use `configJson` instead.
	Config pulumi.StringMapInput
	// The raw configuration for this ACL auth method.
	ConfigJson pulumi.StringPtrInput
	// A free form human readable description of the auth method.
	Description pulumi.StringPtrInput
	// An optional name to use instead of the name attribute when displaying information about this auth method.
	DisplayName pulumi.StringPtrInput
	// The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
	MaxTokenTtl pulumi.StringPtrInput
	// The name of the ACL auth method.
	Name pulumi.StringPtrInput
	// The namespace in which to create the auth method.
	Namespace pulumi.StringPtrInput
	// A set of rules that control which namespace tokens created via this auth method will be created within.
	NamespaceRules AclAuthMethodNamespaceRuleArrayInput
	// The partition the ACL auth method is associated with.
	Partition pulumi.StringPtrInput
	// The kind of token that this auth method produces. This can be either 'local' or 'global'.
	TokenLocality pulumi.StringPtrInput
	// The type of the ACL auth method.
	Type pulumi.StringInput
}

The set of arguments for constructing a AclAuthMethod resource.

func (AclAuthMethodArgs) ElementType

func (AclAuthMethodArgs) ElementType() reflect.Type

type AclAuthMethodArray

type AclAuthMethodArray []AclAuthMethodInput

func (AclAuthMethodArray) ElementType

func (AclAuthMethodArray) ElementType() reflect.Type

func (AclAuthMethodArray) ToAclAuthMethodArrayOutput

func (i AclAuthMethodArray) ToAclAuthMethodArrayOutput() AclAuthMethodArrayOutput

func (AclAuthMethodArray) ToAclAuthMethodArrayOutputWithContext

func (i AclAuthMethodArray) ToAclAuthMethodArrayOutputWithContext(ctx context.Context) AclAuthMethodArrayOutput

type AclAuthMethodArrayInput

type AclAuthMethodArrayInput interface {
	pulumi.Input

	ToAclAuthMethodArrayOutput() AclAuthMethodArrayOutput
	ToAclAuthMethodArrayOutputWithContext(context.Context) AclAuthMethodArrayOutput
}

AclAuthMethodArrayInput is an input type that accepts AclAuthMethodArray and AclAuthMethodArrayOutput values. You can construct a concrete instance of `AclAuthMethodArrayInput` via:

AclAuthMethodArray{ AclAuthMethodArgs{...} }

type AclAuthMethodArrayOutput

type AclAuthMethodArrayOutput struct{ *pulumi.OutputState }

func (AclAuthMethodArrayOutput) ElementType

func (AclAuthMethodArrayOutput) ElementType() reflect.Type

func (AclAuthMethodArrayOutput) Index

func (AclAuthMethodArrayOutput) ToAclAuthMethodArrayOutput

func (o AclAuthMethodArrayOutput) ToAclAuthMethodArrayOutput() AclAuthMethodArrayOutput

func (AclAuthMethodArrayOutput) ToAclAuthMethodArrayOutputWithContext

func (o AclAuthMethodArrayOutput) ToAclAuthMethodArrayOutputWithContext(ctx context.Context) AclAuthMethodArrayOutput

type AclAuthMethodInput

type AclAuthMethodInput interface {
	pulumi.Input

	ToAclAuthMethodOutput() AclAuthMethodOutput
	ToAclAuthMethodOutputWithContext(ctx context.Context) AclAuthMethodOutput
}

type AclAuthMethodMap

type AclAuthMethodMap map[string]AclAuthMethodInput

func (AclAuthMethodMap) ElementType

func (AclAuthMethodMap) ElementType() reflect.Type

func (AclAuthMethodMap) ToAclAuthMethodMapOutput

func (i AclAuthMethodMap) ToAclAuthMethodMapOutput() AclAuthMethodMapOutput

func (AclAuthMethodMap) ToAclAuthMethodMapOutputWithContext

func (i AclAuthMethodMap) ToAclAuthMethodMapOutputWithContext(ctx context.Context) AclAuthMethodMapOutput

type AclAuthMethodMapInput

type AclAuthMethodMapInput interface {
	pulumi.Input

	ToAclAuthMethodMapOutput() AclAuthMethodMapOutput
	ToAclAuthMethodMapOutputWithContext(context.Context) AclAuthMethodMapOutput
}

AclAuthMethodMapInput is an input type that accepts AclAuthMethodMap and AclAuthMethodMapOutput values. You can construct a concrete instance of `AclAuthMethodMapInput` via:

AclAuthMethodMap{ "key": AclAuthMethodArgs{...} }

type AclAuthMethodMapOutput

type AclAuthMethodMapOutput struct{ *pulumi.OutputState }

func (AclAuthMethodMapOutput) ElementType

func (AclAuthMethodMapOutput) ElementType() reflect.Type

func (AclAuthMethodMapOutput) MapIndex

func (AclAuthMethodMapOutput) ToAclAuthMethodMapOutput

func (o AclAuthMethodMapOutput) ToAclAuthMethodMapOutput() AclAuthMethodMapOutput

func (AclAuthMethodMapOutput) ToAclAuthMethodMapOutputWithContext

func (o AclAuthMethodMapOutput) ToAclAuthMethodMapOutputWithContext(ctx context.Context) AclAuthMethodMapOutput

type AclAuthMethodNamespaceRule

type AclAuthMethodNamespaceRule struct {
	// If the namespace rule's `selector` matches then this is used to control the namespace where the token is created.
	BindNamespace string `pulumi:"bindNamespace"`
	// Specifies the expression used to match this namespace rule against valid identities returned from an auth method validation.
	Selector *string `pulumi:"selector"`
}

type AclAuthMethodNamespaceRuleArgs

type AclAuthMethodNamespaceRuleArgs struct {
	// If the namespace rule's `selector` matches then this is used to control the namespace where the token is created.
	BindNamespace pulumi.StringInput `pulumi:"bindNamespace"`
	// Specifies the expression used to match this namespace rule against valid identities returned from an auth method validation.
	Selector pulumi.StringPtrInput `pulumi:"selector"`
}

func (AclAuthMethodNamespaceRuleArgs) ElementType

func (AclAuthMethodNamespaceRuleArgs) ToAclAuthMethodNamespaceRuleOutput

func (i AclAuthMethodNamespaceRuleArgs) ToAclAuthMethodNamespaceRuleOutput() AclAuthMethodNamespaceRuleOutput

func (AclAuthMethodNamespaceRuleArgs) ToAclAuthMethodNamespaceRuleOutputWithContext

func (i AclAuthMethodNamespaceRuleArgs) ToAclAuthMethodNamespaceRuleOutputWithContext(ctx context.Context) AclAuthMethodNamespaceRuleOutput

type AclAuthMethodNamespaceRuleArray

type AclAuthMethodNamespaceRuleArray []AclAuthMethodNamespaceRuleInput

func (AclAuthMethodNamespaceRuleArray) ElementType

func (AclAuthMethodNamespaceRuleArray) ToAclAuthMethodNamespaceRuleArrayOutput

func (i AclAuthMethodNamespaceRuleArray) ToAclAuthMethodNamespaceRuleArrayOutput() AclAuthMethodNamespaceRuleArrayOutput

func (AclAuthMethodNamespaceRuleArray) ToAclAuthMethodNamespaceRuleArrayOutputWithContext

func (i AclAuthMethodNamespaceRuleArray) ToAclAuthMethodNamespaceRuleArrayOutputWithContext(ctx context.Context) AclAuthMethodNamespaceRuleArrayOutput

type AclAuthMethodNamespaceRuleArrayInput

type AclAuthMethodNamespaceRuleArrayInput interface {
	pulumi.Input

	ToAclAuthMethodNamespaceRuleArrayOutput() AclAuthMethodNamespaceRuleArrayOutput
	ToAclAuthMethodNamespaceRuleArrayOutputWithContext(context.Context) AclAuthMethodNamespaceRuleArrayOutput
}

AclAuthMethodNamespaceRuleArrayInput is an input type that accepts AclAuthMethodNamespaceRuleArray and AclAuthMethodNamespaceRuleArrayOutput values. You can construct a concrete instance of `AclAuthMethodNamespaceRuleArrayInput` via:

AclAuthMethodNamespaceRuleArray{ AclAuthMethodNamespaceRuleArgs{...} }

type AclAuthMethodNamespaceRuleArrayOutput

type AclAuthMethodNamespaceRuleArrayOutput struct{ *pulumi.OutputState }

func (AclAuthMethodNamespaceRuleArrayOutput) ElementType

func (AclAuthMethodNamespaceRuleArrayOutput) Index

func (AclAuthMethodNamespaceRuleArrayOutput) ToAclAuthMethodNamespaceRuleArrayOutput

func (o AclAuthMethodNamespaceRuleArrayOutput) ToAclAuthMethodNamespaceRuleArrayOutput() AclAuthMethodNamespaceRuleArrayOutput

func (AclAuthMethodNamespaceRuleArrayOutput) ToAclAuthMethodNamespaceRuleArrayOutputWithContext

func (o AclAuthMethodNamespaceRuleArrayOutput) ToAclAuthMethodNamespaceRuleArrayOutputWithContext(ctx context.Context) AclAuthMethodNamespaceRuleArrayOutput

type AclAuthMethodNamespaceRuleInput

type AclAuthMethodNamespaceRuleInput interface {
	pulumi.Input

	ToAclAuthMethodNamespaceRuleOutput() AclAuthMethodNamespaceRuleOutput
	ToAclAuthMethodNamespaceRuleOutputWithContext(context.Context) AclAuthMethodNamespaceRuleOutput
}

AclAuthMethodNamespaceRuleInput is an input type that accepts AclAuthMethodNamespaceRuleArgs and AclAuthMethodNamespaceRuleOutput values. You can construct a concrete instance of `AclAuthMethodNamespaceRuleInput` via:

AclAuthMethodNamespaceRuleArgs{...}

type AclAuthMethodNamespaceRuleOutput

type AclAuthMethodNamespaceRuleOutput struct{ *pulumi.OutputState }

func (AclAuthMethodNamespaceRuleOutput) BindNamespace

If the namespace rule's `selector` matches then this is used to control the namespace where the token is created.

func (AclAuthMethodNamespaceRuleOutput) ElementType

func (AclAuthMethodNamespaceRuleOutput) Selector

Specifies the expression used to match this namespace rule against valid identities returned from an auth method validation.

func (AclAuthMethodNamespaceRuleOutput) ToAclAuthMethodNamespaceRuleOutput

func (o AclAuthMethodNamespaceRuleOutput) ToAclAuthMethodNamespaceRuleOutput() AclAuthMethodNamespaceRuleOutput

func (AclAuthMethodNamespaceRuleOutput) ToAclAuthMethodNamespaceRuleOutputWithContext

func (o AclAuthMethodNamespaceRuleOutput) ToAclAuthMethodNamespaceRuleOutputWithContext(ctx context.Context) AclAuthMethodNamespaceRuleOutput

type AclAuthMethodOutput

type AclAuthMethodOutput struct{ *pulumi.OutputState }

func (AclAuthMethodOutput) Config deprecated

The raw configuration for this ACL auth method.

Deprecated: The config attribute is deprecated, please use `configJson` instead.

func (AclAuthMethodOutput) ConfigJson

The raw configuration for this ACL auth method.

func (AclAuthMethodOutput) Description

func (o AclAuthMethodOutput) Description() pulumi.StringPtrOutput

A free form human readable description of the auth method.

func (AclAuthMethodOutput) DisplayName

func (o AclAuthMethodOutput) DisplayName() pulumi.StringPtrOutput

An optional name to use instead of the name attribute when displaying information about this auth method.

func (AclAuthMethodOutput) ElementType

func (AclAuthMethodOutput) ElementType() reflect.Type

func (AclAuthMethodOutput) MaxTokenTtl

func (o AclAuthMethodOutput) MaxTokenTtl() pulumi.StringPtrOutput

The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**

func (AclAuthMethodOutput) Name

The name of the ACL auth method.

func (AclAuthMethodOutput) Namespace

The namespace in which to create the auth method.

func (AclAuthMethodOutput) NamespaceRules

A set of rules that control which namespace tokens created via this auth method will be created within.

func (AclAuthMethodOutput) Partition

The partition the ACL auth method is associated with.

func (AclAuthMethodOutput) ToAclAuthMethodOutput

func (o AclAuthMethodOutput) ToAclAuthMethodOutput() AclAuthMethodOutput

func (AclAuthMethodOutput) ToAclAuthMethodOutputWithContext

func (o AclAuthMethodOutput) ToAclAuthMethodOutputWithContext(ctx context.Context) AclAuthMethodOutput

func (AclAuthMethodOutput) TokenLocality

func (o AclAuthMethodOutput) TokenLocality() pulumi.StringPtrOutput

The kind of token that this auth method produces. This can be either 'local' or 'global'.

func (AclAuthMethodOutput) Type

The type of the ACL auth method.

type AclAuthMethodState

type AclAuthMethodState struct {
	// The raw configuration for this ACL auth method.
	//
	// Deprecated: The config attribute is deprecated, please use `configJson` instead.
	Config pulumi.StringMapInput
	// The raw configuration for this ACL auth method.
	ConfigJson pulumi.StringPtrInput
	// A free form human readable description of the auth method.
	Description pulumi.StringPtrInput
	// An optional name to use instead of the name attribute when displaying information about this auth method.
	DisplayName pulumi.StringPtrInput
	// The maximum life of any token created by this auth method. **This attribute is required and must be set to a nonzero for the OIDC auth method.**
	MaxTokenTtl pulumi.StringPtrInput
	// The name of the ACL auth method.
	Name pulumi.StringPtrInput
	// The namespace in which to create the auth method.
	Namespace pulumi.StringPtrInput
	// A set of rules that control which namespace tokens created via this auth method will be created within.
	NamespaceRules AclAuthMethodNamespaceRuleArrayInput
	// The partition the ACL auth method is associated with.
	Partition pulumi.StringPtrInput
	// The kind of token that this auth method produces. This can be either 'local' or 'global'.
	TokenLocality pulumi.StringPtrInput
	// The type of the ACL auth method.
	Type pulumi.StringPtrInput
}

func (AclAuthMethodState) ElementType

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"`
	// The variables used when binding rule type is `templated-policy`. Can be lightly templated using HIL `${foo}` syntax from available field names.
	BindVars AclBindingRuleBindVarsPtrOutput `pulumi:"bindVars"`
	// 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 partition the ACL binding rule is associated with.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// The expression used to match 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		minikube, err := consul.NewAclAuthMethod(ctx, "minikube", &consul.AclAuthMethodArgs{
			Name:        pulumi.String("minikube"),
			Type:        pulumi.String("kubernetes"),
			Description: pulumi.String("dev minikube cluster"),
			Config: pulumi.StringMap{
				"Host":              pulumi.String("https://192.0.2.42:8443"),
				"CACert":            pulumi.String("-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----\n"),
				"ServiceAccountJWT": pulumi.String("eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9..."),
			},
		})
		if err != nil {
			return err
		}
		_, err = consul.NewAclBindingRule(ctx, "test", &consul.AclBindingRuleArgs{
			AuthMethod:  minikube.Name,
			Description: pulumi.String("foobar"),
			Selector:    pulumi.String("serviceaccount.namespace==default"),
			BindType:    pulumi.String("service"),
			BindName:    pulumi.String("minikube"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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.

func (*AclBindingRule) ElementType

func (*AclBindingRule) ElementType() reflect.Type

func (*AclBindingRule) ToAclBindingRuleOutput

func (i *AclBindingRule) ToAclBindingRuleOutput() AclBindingRuleOutput

func (*AclBindingRule) ToAclBindingRuleOutputWithContext

func (i *AclBindingRule) ToAclBindingRuleOutputWithContext(ctx context.Context) AclBindingRuleOutput

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
	// The variables used when binding rule type is `templated-policy`. Can be lightly templated using HIL `${foo}` syntax from available field names.
	BindVars AclBindingRuleBindVarsPtrInput
	// 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 partition the ACL binding rule is associated with.
	Partition pulumi.StringPtrInput
	// The expression used to match 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

func (AclBindingRuleArgs) ElementType() reflect.Type

type AclBindingRuleArray

type AclBindingRuleArray []AclBindingRuleInput

func (AclBindingRuleArray) ElementType

func (AclBindingRuleArray) ElementType() reflect.Type

func (AclBindingRuleArray) ToAclBindingRuleArrayOutput

func (i AclBindingRuleArray) ToAclBindingRuleArrayOutput() AclBindingRuleArrayOutput

func (AclBindingRuleArray) ToAclBindingRuleArrayOutputWithContext

func (i AclBindingRuleArray) ToAclBindingRuleArrayOutputWithContext(ctx context.Context) AclBindingRuleArrayOutput

type AclBindingRuleArrayInput

type AclBindingRuleArrayInput interface {
	pulumi.Input

	ToAclBindingRuleArrayOutput() AclBindingRuleArrayOutput
	ToAclBindingRuleArrayOutputWithContext(context.Context) AclBindingRuleArrayOutput
}

AclBindingRuleArrayInput is an input type that accepts AclBindingRuleArray and AclBindingRuleArrayOutput values. You can construct a concrete instance of `AclBindingRuleArrayInput` via:

AclBindingRuleArray{ AclBindingRuleArgs{...} }

type AclBindingRuleArrayOutput

type AclBindingRuleArrayOutput struct{ *pulumi.OutputState }

func (AclBindingRuleArrayOutput) ElementType

func (AclBindingRuleArrayOutput) ElementType() reflect.Type

func (AclBindingRuleArrayOutput) Index

func (AclBindingRuleArrayOutput) ToAclBindingRuleArrayOutput

func (o AclBindingRuleArrayOutput) ToAclBindingRuleArrayOutput() AclBindingRuleArrayOutput

func (AclBindingRuleArrayOutput) ToAclBindingRuleArrayOutputWithContext

func (o AclBindingRuleArrayOutput) ToAclBindingRuleArrayOutputWithContext(ctx context.Context) AclBindingRuleArrayOutput

type AclBindingRuleBindVars

type AclBindingRuleBindVars struct {
	// The name of node, workload identity or service.
	Name *string `pulumi:"name"`
}

type AclBindingRuleBindVarsArgs

type AclBindingRuleBindVarsArgs struct {
	// The name of node, workload identity or service.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (AclBindingRuleBindVarsArgs) ElementType

func (AclBindingRuleBindVarsArgs) ElementType() reflect.Type

func (AclBindingRuleBindVarsArgs) ToAclBindingRuleBindVarsOutput

func (i AclBindingRuleBindVarsArgs) ToAclBindingRuleBindVarsOutput() AclBindingRuleBindVarsOutput

func (AclBindingRuleBindVarsArgs) ToAclBindingRuleBindVarsOutputWithContext

func (i AclBindingRuleBindVarsArgs) ToAclBindingRuleBindVarsOutputWithContext(ctx context.Context) AclBindingRuleBindVarsOutput

func (AclBindingRuleBindVarsArgs) ToAclBindingRuleBindVarsPtrOutput

func (i AclBindingRuleBindVarsArgs) ToAclBindingRuleBindVarsPtrOutput() AclBindingRuleBindVarsPtrOutput

func (AclBindingRuleBindVarsArgs) ToAclBindingRuleBindVarsPtrOutputWithContext

func (i AclBindingRuleBindVarsArgs) ToAclBindingRuleBindVarsPtrOutputWithContext(ctx context.Context) AclBindingRuleBindVarsPtrOutput

type AclBindingRuleBindVarsInput

type AclBindingRuleBindVarsInput interface {
	pulumi.Input

	ToAclBindingRuleBindVarsOutput() AclBindingRuleBindVarsOutput
	ToAclBindingRuleBindVarsOutputWithContext(context.Context) AclBindingRuleBindVarsOutput
}

AclBindingRuleBindVarsInput is an input type that accepts AclBindingRuleBindVarsArgs and AclBindingRuleBindVarsOutput values. You can construct a concrete instance of `AclBindingRuleBindVarsInput` via:

AclBindingRuleBindVarsArgs{...}

type AclBindingRuleBindVarsOutput

type AclBindingRuleBindVarsOutput struct{ *pulumi.OutputState }

func (AclBindingRuleBindVarsOutput) ElementType

func (AclBindingRuleBindVarsOutput) Name

The name of node, workload identity or service.

func (AclBindingRuleBindVarsOutput) ToAclBindingRuleBindVarsOutput

func (o AclBindingRuleBindVarsOutput) ToAclBindingRuleBindVarsOutput() AclBindingRuleBindVarsOutput

func (AclBindingRuleBindVarsOutput) ToAclBindingRuleBindVarsOutputWithContext

func (o AclBindingRuleBindVarsOutput) ToAclBindingRuleBindVarsOutputWithContext(ctx context.Context) AclBindingRuleBindVarsOutput

func (AclBindingRuleBindVarsOutput) ToAclBindingRuleBindVarsPtrOutput

func (o AclBindingRuleBindVarsOutput) ToAclBindingRuleBindVarsPtrOutput() AclBindingRuleBindVarsPtrOutput

func (AclBindingRuleBindVarsOutput) ToAclBindingRuleBindVarsPtrOutputWithContext

func (o AclBindingRuleBindVarsOutput) ToAclBindingRuleBindVarsPtrOutputWithContext(ctx context.Context) AclBindingRuleBindVarsPtrOutput

type AclBindingRuleBindVarsPtrInput

type AclBindingRuleBindVarsPtrInput interface {
	pulumi.Input

	ToAclBindingRuleBindVarsPtrOutput() AclBindingRuleBindVarsPtrOutput
	ToAclBindingRuleBindVarsPtrOutputWithContext(context.Context) AclBindingRuleBindVarsPtrOutput
}

AclBindingRuleBindVarsPtrInput is an input type that accepts AclBindingRuleBindVarsArgs, AclBindingRuleBindVarsPtr and AclBindingRuleBindVarsPtrOutput values. You can construct a concrete instance of `AclBindingRuleBindVarsPtrInput` via:

        AclBindingRuleBindVarsArgs{...}

or:

        nil

type AclBindingRuleBindVarsPtrOutput

type AclBindingRuleBindVarsPtrOutput struct{ *pulumi.OutputState }

func (AclBindingRuleBindVarsPtrOutput) Elem

func (AclBindingRuleBindVarsPtrOutput) ElementType

func (AclBindingRuleBindVarsPtrOutput) Name

The name of node, workload identity or service.

func (AclBindingRuleBindVarsPtrOutput) ToAclBindingRuleBindVarsPtrOutput

func (o AclBindingRuleBindVarsPtrOutput) ToAclBindingRuleBindVarsPtrOutput() AclBindingRuleBindVarsPtrOutput

func (AclBindingRuleBindVarsPtrOutput) ToAclBindingRuleBindVarsPtrOutputWithContext

func (o AclBindingRuleBindVarsPtrOutput) ToAclBindingRuleBindVarsPtrOutputWithContext(ctx context.Context) AclBindingRuleBindVarsPtrOutput

type AclBindingRuleInput

type AclBindingRuleInput interface {
	pulumi.Input

	ToAclBindingRuleOutput() AclBindingRuleOutput
	ToAclBindingRuleOutputWithContext(ctx context.Context) AclBindingRuleOutput
}

type AclBindingRuleMap

type AclBindingRuleMap map[string]AclBindingRuleInput

func (AclBindingRuleMap) ElementType

func (AclBindingRuleMap) ElementType() reflect.Type

func (AclBindingRuleMap) ToAclBindingRuleMapOutput

func (i AclBindingRuleMap) ToAclBindingRuleMapOutput() AclBindingRuleMapOutput

func (AclBindingRuleMap) ToAclBindingRuleMapOutputWithContext

func (i AclBindingRuleMap) ToAclBindingRuleMapOutputWithContext(ctx context.Context) AclBindingRuleMapOutput

type AclBindingRuleMapInput

type AclBindingRuleMapInput interface {
	pulumi.Input

	ToAclBindingRuleMapOutput() AclBindingRuleMapOutput
	ToAclBindingRuleMapOutputWithContext(context.Context) AclBindingRuleMapOutput
}

AclBindingRuleMapInput is an input type that accepts AclBindingRuleMap and AclBindingRuleMapOutput values. You can construct a concrete instance of `AclBindingRuleMapInput` via:

AclBindingRuleMap{ "key": AclBindingRuleArgs{...} }

type AclBindingRuleMapOutput

type AclBindingRuleMapOutput struct{ *pulumi.OutputState }

func (AclBindingRuleMapOutput) ElementType

func (AclBindingRuleMapOutput) ElementType() reflect.Type

func (AclBindingRuleMapOutput) MapIndex

func (AclBindingRuleMapOutput) ToAclBindingRuleMapOutput

func (o AclBindingRuleMapOutput) ToAclBindingRuleMapOutput() AclBindingRuleMapOutput

func (AclBindingRuleMapOutput) ToAclBindingRuleMapOutputWithContext

func (o AclBindingRuleMapOutput) ToAclBindingRuleMapOutputWithContext(ctx context.Context) AclBindingRuleMapOutput

type AclBindingRuleOutput

type AclBindingRuleOutput struct{ *pulumi.OutputState }

func (AclBindingRuleOutput) AuthMethod

func (o AclBindingRuleOutput) AuthMethod() pulumi.StringOutput

The name of the ACL auth method this rule apply.

func (AclBindingRuleOutput) BindName

The name to bind to a token at login-time.

func (AclBindingRuleOutput) BindType

Specifies the way the binding rule affects a token created at login.

func (AclBindingRuleOutput) BindVars

The variables used when binding rule type is `templated-policy`. Can be lightly templated using HIL `${foo}` syntax from available field names.

func (AclBindingRuleOutput) Description

A free form human readable description of the binding rule.

func (AclBindingRuleOutput) ElementType

func (AclBindingRuleOutput) ElementType() reflect.Type

func (AclBindingRuleOutput) Namespace

The namespace to create the binding rule within.

func (AclBindingRuleOutput) Partition

The partition the ACL binding rule is associated with.

func (AclBindingRuleOutput) Selector

The expression used to match this rule against valid identities returned from an auth method validation.

func (AclBindingRuleOutput) ToAclBindingRuleOutput

func (o AclBindingRuleOutput) ToAclBindingRuleOutput() AclBindingRuleOutput

func (AclBindingRuleOutput) ToAclBindingRuleOutputWithContext

func (o AclBindingRuleOutput) ToAclBindingRuleOutputWithContext(ctx context.Context) AclBindingRuleOutput

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
	// The variables used when binding rule type is `templated-policy`. Can be lightly templated using HIL `${foo}` syntax from available field names.
	BindVars AclBindingRuleBindVarsPtrInput
	// 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 partition the ACL binding rule is associated with.
	Partition pulumi.StringPtrInput
	// The expression used to match this rule against valid identities returned from an auth method validation.
	Selector pulumi.StringPtrInput
}

func (AclBindingRuleState) ElementType

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 partition the ACL policy is associated with.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewAclPolicy(ctx, "test", &consul.AclPolicyArgs{
			Name: pulumi.String("my_policy"),
			Datacenters: pulumi.StringArray{
				pulumi.String("dc1"),
			},
			Rules: pulumi.String("node_prefix \"\" {\n  policy = \"read\"\n}\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`consul_acl_policy` can be imported:

```sh $ pulumi import consul:index/aclPolicy:AclPolicy my-policy 1c90ef03-a6dd-6a8c-ac49-042ad3752896 ```

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.

func (*AclPolicy) ElementType

func (*AclPolicy) ElementType() reflect.Type

func (*AclPolicy) ToAclPolicyOutput

func (i *AclPolicy) ToAclPolicyOutput() AclPolicyOutput

func (*AclPolicy) ToAclPolicyOutputWithContext

func (i *AclPolicy) ToAclPolicyOutputWithContext(ctx context.Context) AclPolicyOutput

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 partition the ACL policy is associated with.
	Partition pulumi.StringPtrInput
	// The rules of the policy.
	Rules pulumi.StringInput
}

The set of arguments for constructing a AclPolicy resource.

func (AclPolicyArgs) ElementType

func (AclPolicyArgs) ElementType() reflect.Type

type AclPolicyArray

type AclPolicyArray []AclPolicyInput

func (AclPolicyArray) ElementType

func (AclPolicyArray) ElementType() reflect.Type

func (AclPolicyArray) ToAclPolicyArrayOutput

func (i AclPolicyArray) ToAclPolicyArrayOutput() AclPolicyArrayOutput

func (AclPolicyArray) ToAclPolicyArrayOutputWithContext

func (i AclPolicyArray) ToAclPolicyArrayOutputWithContext(ctx context.Context) AclPolicyArrayOutput

type AclPolicyArrayInput

type AclPolicyArrayInput interface {
	pulumi.Input

	ToAclPolicyArrayOutput() AclPolicyArrayOutput
	ToAclPolicyArrayOutputWithContext(context.Context) AclPolicyArrayOutput
}

AclPolicyArrayInput is an input type that accepts AclPolicyArray and AclPolicyArrayOutput values. You can construct a concrete instance of `AclPolicyArrayInput` via:

AclPolicyArray{ AclPolicyArgs{...} }

type AclPolicyArrayOutput

type AclPolicyArrayOutput struct{ *pulumi.OutputState }

func (AclPolicyArrayOutput) ElementType

func (AclPolicyArrayOutput) ElementType() reflect.Type

func (AclPolicyArrayOutput) Index

func (AclPolicyArrayOutput) ToAclPolicyArrayOutput

func (o AclPolicyArrayOutput) ToAclPolicyArrayOutput() AclPolicyArrayOutput

func (AclPolicyArrayOutput) ToAclPolicyArrayOutputWithContext

func (o AclPolicyArrayOutput) ToAclPolicyArrayOutputWithContext(ctx context.Context) AclPolicyArrayOutput

type AclPolicyInput

type AclPolicyInput interface {
	pulumi.Input

	ToAclPolicyOutput() AclPolicyOutput
	ToAclPolicyOutputWithContext(ctx context.Context) AclPolicyOutput
}

type AclPolicyMap

type AclPolicyMap map[string]AclPolicyInput

func (AclPolicyMap) ElementType

func (AclPolicyMap) ElementType() reflect.Type

func (AclPolicyMap) ToAclPolicyMapOutput

func (i AclPolicyMap) ToAclPolicyMapOutput() AclPolicyMapOutput

func (AclPolicyMap) ToAclPolicyMapOutputWithContext

func (i AclPolicyMap) ToAclPolicyMapOutputWithContext(ctx context.Context) AclPolicyMapOutput

type AclPolicyMapInput

type AclPolicyMapInput interface {
	pulumi.Input

	ToAclPolicyMapOutput() AclPolicyMapOutput
	ToAclPolicyMapOutputWithContext(context.Context) AclPolicyMapOutput
}

AclPolicyMapInput is an input type that accepts AclPolicyMap and AclPolicyMapOutput values. You can construct a concrete instance of `AclPolicyMapInput` via:

AclPolicyMap{ "key": AclPolicyArgs{...} }

type AclPolicyMapOutput

type AclPolicyMapOutput struct{ *pulumi.OutputState }

func (AclPolicyMapOutput) ElementType

func (AclPolicyMapOutput) ElementType() reflect.Type

func (AclPolicyMapOutput) MapIndex

func (AclPolicyMapOutput) ToAclPolicyMapOutput

func (o AclPolicyMapOutput) ToAclPolicyMapOutput() AclPolicyMapOutput

func (AclPolicyMapOutput) ToAclPolicyMapOutputWithContext

func (o AclPolicyMapOutput) ToAclPolicyMapOutputWithContext(ctx context.Context) AclPolicyMapOutput

type AclPolicyOutput

type AclPolicyOutput struct{ *pulumi.OutputState }

func (AclPolicyOutput) Datacenters

func (o AclPolicyOutput) Datacenters() pulumi.StringArrayOutput

The datacenters of the policy.

func (AclPolicyOutput) Description

func (o AclPolicyOutput) Description() pulumi.StringPtrOutput

The description of the policy.

func (AclPolicyOutput) ElementType

func (AclPolicyOutput) ElementType() reflect.Type

func (AclPolicyOutput) Name

The name of the policy.

func (AclPolicyOutput) Namespace

func (o AclPolicyOutput) Namespace() pulumi.StringPtrOutput

The namespace to create the policy within.

func (AclPolicyOutput) Partition

func (o AclPolicyOutput) Partition() pulumi.StringPtrOutput

The partition the ACL policy is associated with.

func (AclPolicyOutput) Rules

The rules of the policy.

func (AclPolicyOutput) ToAclPolicyOutput

func (o AclPolicyOutput) ToAclPolicyOutput() AclPolicyOutput

func (AclPolicyOutput) ToAclPolicyOutputWithContext

func (o AclPolicyOutput) ToAclPolicyOutputWithContext(ctx context.Context) AclPolicyOutput

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 partition the ACL policy is associated with.
	Partition pulumi.StringPtrInput
	// The rules of the policy.
	Rules pulumi.StringPtrInput
}

func (AclPolicyState) ElementType

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 node identities that should be applied to the role.
	NodeIdentities AclRoleNodeIdentityArrayOutput `pulumi:"nodeIdentities"`
	// The partition the ACL role is associated with.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// The list of policies that should be applied to the role. Both the policy ID or its name can be used.
	Policies pulumi.StringArrayOutput `pulumi:"policies"`
	// The list of service identities that should be applied to the role.
	ServiceIdentities AclRoleServiceIdentityArrayOutput `pulumi:"serviceIdentities"`
	// The list of templated policies that should be applied to the token.
	TemplatedPolicies AclRoleTemplatedPolicyArrayOutput `pulumi:"templatedPolicies"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewAclPolicy(ctx, "read-policy", &consul.AclPolicyArgs{
			Name:  pulumi.String("read-policy"),
			Rules: pulumi.String("node \"\" { policy = \"read\" }"),
			Datacenters: pulumi.StringArray{
				pulumi.String("dc1"),
			},
		})
		if err != nil {
			return err
		}
		_, err = consul.NewAclRole(ctx, "read", &consul.AclRoleArgs{
			Name:        pulumi.String("foo"),
			Description: pulumi.String("bar"),
			Policies: pulumi.StringArray{
				read_policy.ID(),
			},
			ServiceIdentities: consul.AclRoleServiceIdentityArray{
				&consul.AclRoleServiceIdentityArgs{
					ServiceName: pulumi.String("foo"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import consul:index/aclRole:AclRole read 816a195f-6cb1-2e8d-92af-3011ae706318 ```

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.

func (*AclRole) ElementType

func (*AclRole) ElementType() reflect.Type

func (*AclRole) ToAclRoleOutput

func (i *AclRole) ToAclRoleOutput() AclRoleOutput

func (*AclRole) ToAclRoleOutputWithContext

func (i *AclRole) ToAclRoleOutputWithContext(ctx context.Context) AclRoleOutput

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 node identities that should be applied to the role.
	NodeIdentities AclRoleNodeIdentityArrayInput
	// The partition the ACL role is associated with.
	Partition pulumi.StringPtrInput
	// The list of policies that should be applied to the role. Both the policy ID or its name can be used.
	Policies pulumi.StringArrayInput
	// The list of service identities that should be applied to the role.
	ServiceIdentities AclRoleServiceIdentityArrayInput
	// The list of templated policies that should be applied to the token.
	TemplatedPolicies AclRoleTemplatedPolicyArrayInput
}

The set of arguments for constructing a AclRole resource.

func (AclRoleArgs) ElementType

func (AclRoleArgs) ElementType() reflect.Type

type AclRoleArray

type AclRoleArray []AclRoleInput

func (AclRoleArray) ElementType

func (AclRoleArray) ElementType() reflect.Type

func (AclRoleArray) ToAclRoleArrayOutput

func (i AclRoleArray) ToAclRoleArrayOutput() AclRoleArrayOutput

func (AclRoleArray) ToAclRoleArrayOutputWithContext

func (i AclRoleArray) ToAclRoleArrayOutputWithContext(ctx context.Context) AclRoleArrayOutput

type AclRoleArrayInput

type AclRoleArrayInput interface {
	pulumi.Input

	ToAclRoleArrayOutput() AclRoleArrayOutput
	ToAclRoleArrayOutputWithContext(context.Context) AclRoleArrayOutput
}

AclRoleArrayInput is an input type that accepts AclRoleArray and AclRoleArrayOutput values. You can construct a concrete instance of `AclRoleArrayInput` via:

AclRoleArray{ AclRoleArgs{...} }

type AclRoleArrayOutput

type AclRoleArrayOutput struct{ *pulumi.OutputState }

func (AclRoleArrayOutput) ElementType

func (AclRoleArrayOutput) ElementType() reflect.Type

func (AclRoleArrayOutput) Index

func (AclRoleArrayOutput) ToAclRoleArrayOutput

func (o AclRoleArrayOutput) ToAclRoleArrayOutput() AclRoleArrayOutput

func (AclRoleArrayOutput) ToAclRoleArrayOutputWithContext

func (o AclRoleArrayOutput) ToAclRoleArrayOutputWithContext(ctx context.Context) AclRoleArrayOutput

type AclRoleInput

type AclRoleInput interface {
	pulumi.Input

	ToAclRoleOutput() AclRoleOutput
	ToAclRoleOutputWithContext(ctx context.Context) AclRoleOutput
}

type AclRoleMap

type AclRoleMap map[string]AclRoleInput

func (AclRoleMap) ElementType

func (AclRoleMap) ElementType() reflect.Type

func (AclRoleMap) ToAclRoleMapOutput

func (i AclRoleMap) ToAclRoleMapOutput() AclRoleMapOutput

func (AclRoleMap) ToAclRoleMapOutputWithContext

func (i AclRoleMap) ToAclRoleMapOutputWithContext(ctx context.Context) AclRoleMapOutput

type AclRoleMapInput

type AclRoleMapInput interface {
	pulumi.Input

	ToAclRoleMapOutput() AclRoleMapOutput
	ToAclRoleMapOutputWithContext(context.Context) AclRoleMapOutput
}

AclRoleMapInput is an input type that accepts AclRoleMap and AclRoleMapOutput values. You can construct a concrete instance of `AclRoleMapInput` via:

AclRoleMap{ "key": AclRoleArgs{...} }

type AclRoleMapOutput

type AclRoleMapOutput struct{ *pulumi.OutputState }

func (AclRoleMapOutput) ElementType

func (AclRoleMapOutput) ElementType() reflect.Type

func (AclRoleMapOutput) MapIndex

func (AclRoleMapOutput) ToAclRoleMapOutput

func (o AclRoleMapOutput) ToAclRoleMapOutput() AclRoleMapOutput

func (AclRoleMapOutput) ToAclRoleMapOutputWithContext

func (o AclRoleMapOutput) ToAclRoleMapOutputWithContext(ctx context.Context) AclRoleMapOutput

type AclRoleNodeIdentity

type AclRoleNodeIdentity struct {
	// Specifies the node's datacenter.
	Datacenter string `pulumi:"datacenter"`
	// The name of the node.
	NodeName string `pulumi:"nodeName"`
}

type AclRoleNodeIdentityArgs

type AclRoleNodeIdentityArgs struct {
	// Specifies the node's datacenter.
	Datacenter pulumi.StringInput `pulumi:"datacenter"`
	// The name of the node.
	NodeName pulumi.StringInput `pulumi:"nodeName"`
}

func (AclRoleNodeIdentityArgs) ElementType

func (AclRoleNodeIdentityArgs) ElementType() reflect.Type

func (AclRoleNodeIdentityArgs) ToAclRoleNodeIdentityOutput

func (i AclRoleNodeIdentityArgs) ToAclRoleNodeIdentityOutput() AclRoleNodeIdentityOutput

func (AclRoleNodeIdentityArgs) ToAclRoleNodeIdentityOutputWithContext

func (i AclRoleNodeIdentityArgs) ToAclRoleNodeIdentityOutputWithContext(ctx context.Context) AclRoleNodeIdentityOutput

type AclRoleNodeIdentityArray

type AclRoleNodeIdentityArray []AclRoleNodeIdentityInput

func (AclRoleNodeIdentityArray) ElementType

func (AclRoleNodeIdentityArray) ElementType() reflect.Type

func (AclRoleNodeIdentityArray) ToAclRoleNodeIdentityArrayOutput

func (i AclRoleNodeIdentityArray) ToAclRoleNodeIdentityArrayOutput() AclRoleNodeIdentityArrayOutput

func (AclRoleNodeIdentityArray) ToAclRoleNodeIdentityArrayOutputWithContext

func (i AclRoleNodeIdentityArray) ToAclRoleNodeIdentityArrayOutputWithContext(ctx context.Context) AclRoleNodeIdentityArrayOutput

type AclRoleNodeIdentityArrayInput

type AclRoleNodeIdentityArrayInput interface {
	pulumi.Input

	ToAclRoleNodeIdentityArrayOutput() AclRoleNodeIdentityArrayOutput
	ToAclRoleNodeIdentityArrayOutputWithContext(context.Context) AclRoleNodeIdentityArrayOutput
}

AclRoleNodeIdentityArrayInput is an input type that accepts AclRoleNodeIdentityArray and AclRoleNodeIdentityArrayOutput values. You can construct a concrete instance of `AclRoleNodeIdentityArrayInput` via:

AclRoleNodeIdentityArray{ AclRoleNodeIdentityArgs{...} }

type AclRoleNodeIdentityArrayOutput

type AclRoleNodeIdentityArrayOutput struct{ *pulumi.OutputState }

func (AclRoleNodeIdentityArrayOutput) ElementType

func (AclRoleNodeIdentityArrayOutput) Index

func (AclRoleNodeIdentityArrayOutput) ToAclRoleNodeIdentityArrayOutput

func (o AclRoleNodeIdentityArrayOutput) ToAclRoleNodeIdentityArrayOutput() AclRoleNodeIdentityArrayOutput

func (AclRoleNodeIdentityArrayOutput) ToAclRoleNodeIdentityArrayOutputWithContext

func (o AclRoleNodeIdentityArrayOutput) ToAclRoleNodeIdentityArrayOutputWithContext(ctx context.Context) AclRoleNodeIdentityArrayOutput

type AclRoleNodeIdentityInput

type AclRoleNodeIdentityInput interface {
	pulumi.Input

	ToAclRoleNodeIdentityOutput() AclRoleNodeIdentityOutput
	ToAclRoleNodeIdentityOutputWithContext(context.Context) AclRoleNodeIdentityOutput
}

AclRoleNodeIdentityInput is an input type that accepts AclRoleNodeIdentityArgs and AclRoleNodeIdentityOutput values. You can construct a concrete instance of `AclRoleNodeIdentityInput` via:

AclRoleNodeIdentityArgs{...}

type AclRoleNodeIdentityOutput

type AclRoleNodeIdentityOutput struct{ *pulumi.OutputState }

func (AclRoleNodeIdentityOutput) Datacenter

Specifies the node's datacenter.

func (AclRoleNodeIdentityOutput) ElementType

func (AclRoleNodeIdentityOutput) ElementType() reflect.Type

func (AclRoleNodeIdentityOutput) NodeName

The name of the node.

func (AclRoleNodeIdentityOutput) ToAclRoleNodeIdentityOutput

func (o AclRoleNodeIdentityOutput) ToAclRoleNodeIdentityOutput() AclRoleNodeIdentityOutput

func (AclRoleNodeIdentityOutput) ToAclRoleNodeIdentityOutputWithContext

func (o AclRoleNodeIdentityOutput) ToAclRoleNodeIdentityOutputWithContext(ctx context.Context) AclRoleNodeIdentityOutput

type AclRoleOutput

type AclRoleOutput struct{ *pulumi.OutputState }

func (AclRoleOutput) Description

func (o AclRoleOutput) Description() pulumi.StringPtrOutput

A free form human readable description of the role.

func (AclRoleOutput) ElementType

func (AclRoleOutput) ElementType() reflect.Type

func (AclRoleOutput) Name

The name of the ACL role.

func (AclRoleOutput) Namespace

func (o AclRoleOutput) Namespace() pulumi.StringPtrOutput

The namespace to create the role within.

func (AclRoleOutput) NodeIdentities

func (o AclRoleOutput) NodeIdentities() AclRoleNodeIdentityArrayOutput

The list of node identities that should be applied to the role.

func (AclRoleOutput) Partition

func (o AclRoleOutput) Partition() pulumi.StringPtrOutput

The partition the ACL role is associated with.

func (AclRoleOutput) Policies

func (o AclRoleOutput) Policies() pulumi.StringArrayOutput

The list of policies that should be applied to the role. Both the policy ID or its name can be used.

func (AclRoleOutput) ServiceIdentities

func (o AclRoleOutput) ServiceIdentities() AclRoleServiceIdentityArrayOutput

The list of service identities that should be applied to the role.

func (AclRoleOutput) TemplatedPolicies

func (o AclRoleOutput) TemplatedPolicies() AclRoleTemplatedPolicyArrayOutput

The list of templated policies that should be applied to the token.

func (AclRoleOutput) ToAclRoleOutput

func (o AclRoleOutput) ToAclRoleOutput() AclRoleOutput

func (AclRoleOutput) ToAclRoleOutputWithContext

func (o AclRoleOutput) ToAclRoleOutputWithContext(ctx context.Context) AclRoleOutput

type AclRolePolicyAttachment

type AclRolePolicyAttachment struct {
	pulumi.CustomResourceState

	// The policy name.
	Policy pulumi.StringOutput `pulumi:"policy"`
	// The id of the role.
	RoleId pulumi.StringOutput `pulumi:"roleId"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.LookupAclRole(ctx, &consul.LookupAclRoleArgs{
			Name: "my_role",
		}, nil)
		if err != nil {
			return err
		}
		readPolicy, err := consul.NewAclPolicy(ctx, "read_policy", &consul.AclPolicyArgs{
			Name:  pulumi.String("read-policy"),
			Rules: pulumi.String("node \"\" { policy = \"read\" }"),
			Datacenters: pulumi.StringArray{
				pulumi.String("dc1"),
			},
		})
		if err != nil {
			return err
		}
		_, err = consul.NewAclRolePolicyAttachment(ctx, "my_role_read_policy", &consul.AclRolePolicyAttachmentArgs{
			RoleId: pulumi.Any(test.Id),
			Policy: readPolicy.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import consul:index/aclRolePolicyAttachment:AclRolePolicyAttachment my_role_read_policy 624d94ca-bc5c-f960-4e83-0a609cf588be:policy_name ```

func GetAclRolePolicyAttachment

func GetAclRolePolicyAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclRolePolicyAttachmentState, opts ...pulumi.ResourceOption) (*AclRolePolicyAttachment, error)

GetAclRolePolicyAttachment gets an existing AclRolePolicyAttachment 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 NewAclRolePolicyAttachment

func NewAclRolePolicyAttachment(ctx *pulumi.Context,
	name string, args *AclRolePolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*AclRolePolicyAttachment, error)

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

func (*AclRolePolicyAttachment) ElementType

func (*AclRolePolicyAttachment) ElementType() reflect.Type

func (*AclRolePolicyAttachment) ToAclRolePolicyAttachmentOutput

func (i *AclRolePolicyAttachment) ToAclRolePolicyAttachmentOutput() AclRolePolicyAttachmentOutput

func (*AclRolePolicyAttachment) ToAclRolePolicyAttachmentOutputWithContext

func (i *AclRolePolicyAttachment) ToAclRolePolicyAttachmentOutputWithContext(ctx context.Context) AclRolePolicyAttachmentOutput

type AclRolePolicyAttachmentArgs

type AclRolePolicyAttachmentArgs struct {
	// The policy name.
	Policy pulumi.StringInput
	// The id of the role.
	RoleId pulumi.StringInput
}

The set of arguments for constructing a AclRolePolicyAttachment resource.

func (AclRolePolicyAttachmentArgs) ElementType

type AclRolePolicyAttachmentArray

type AclRolePolicyAttachmentArray []AclRolePolicyAttachmentInput

func (AclRolePolicyAttachmentArray) ElementType

func (AclRolePolicyAttachmentArray) ToAclRolePolicyAttachmentArrayOutput

func (i AclRolePolicyAttachmentArray) ToAclRolePolicyAttachmentArrayOutput() AclRolePolicyAttachmentArrayOutput

func (AclRolePolicyAttachmentArray) ToAclRolePolicyAttachmentArrayOutputWithContext

func (i AclRolePolicyAttachmentArray) ToAclRolePolicyAttachmentArrayOutputWithContext(ctx context.Context) AclRolePolicyAttachmentArrayOutput

type AclRolePolicyAttachmentArrayInput

type AclRolePolicyAttachmentArrayInput interface {
	pulumi.Input

	ToAclRolePolicyAttachmentArrayOutput() AclRolePolicyAttachmentArrayOutput
	ToAclRolePolicyAttachmentArrayOutputWithContext(context.Context) AclRolePolicyAttachmentArrayOutput
}

AclRolePolicyAttachmentArrayInput is an input type that accepts AclRolePolicyAttachmentArray and AclRolePolicyAttachmentArrayOutput values. You can construct a concrete instance of `AclRolePolicyAttachmentArrayInput` via:

AclRolePolicyAttachmentArray{ AclRolePolicyAttachmentArgs{...} }

type AclRolePolicyAttachmentArrayOutput

type AclRolePolicyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (AclRolePolicyAttachmentArrayOutput) ElementType

func (AclRolePolicyAttachmentArrayOutput) Index

func (AclRolePolicyAttachmentArrayOutput) ToAclRolePolicyAttachmentArrayOutput

func (o AclRolePolicyAttachmentArrayOutput) ToAclRolePolicyAttachmentArrayOutput() AclRolePolicyAttachmentArrayOutput

func (AclRolePolicyAttachmentArrayOutput) ToAclRolePolicyAttachmentArrayOutputWithContext

func (o AclRolePolicyAttachmentArrayOutput) ToAclRolePolicyAttachmentArrayOutputWithContext(ctx context.Context) AclRolePolicyAttachmentArrayOutput

type AclRolePolicyAttachmentInput

type AclRolePolicyAttachmentInput interface {
	pulumi.Input

	ToAclRolePolicyAttachmentOutput() AclRolePolicyAttachmentOutput
	ToAclRolePolicyAttachmentOutputWithContext(ctx context.Context) AclRolePolicyAttachmentOutput
}

type AclRolePolicyAttachmentMap

type AclRolePolicyAttachmentMap map[string]AclRolePolicyAttachmentInput

func (AclRolePolicyAttachmentMap) ElementType

func (AclRolePolicyAttachmentMap) ElementType() reflect.Type

func (AclRolePolicyAttachmentMap) ToAclRolePolicyAttachmentMapOutput

func (i AclRolePolicyAttachmentMap) ToAclRolePolicyAttachmentMapOutput() AclRolePolicyAttachmentMapOutput

func (AclRolePolicyAttachmentMap) ToAclRolePolicyAttachmentMapOutputWithContext

func (i AclRolePolicyAttachmentMap) ToAclRolePolicyAttachmentMapOutputWithContext(ctx context.Context) AclRolePolicyAttachmentMapOutput

type AclRolePolicyAttachmentMapInput

type AclRolePolicyAttachmentMapInput interface {
	pulumi.Input

	ToAclRolePolicyAttachmentMapOutput() AclRolePolicyAttachmentMapOutput
	ToAclRolePolicyAttachmentMapOutputWithContext(context.Context) AclRolePolicyAttachmentMapOutput
}

AclRolePolicyAttachmentMapInput is an input type that accepts AclRolePolicyAttachmentMap and AclRolePolicyAttachmentMapOutput values. You can construct a concrete instance of `AclRolePolicyAttachmentMapInput` via:

AclRolePolicyAttachmentMap{ "key": AclRolePolicyAttachmentArgs{...} }

type AclRolePolicyAttachmentMapOutput

type AclRolePolicyAttachmentMapOutput struct{ *pulumi.OutputState }

func (AclRolePolicyAttachmentMapOutput) ElementType

func (AclRolePolicyAttachmentMapOutput) MapIndex

func (AclRolePolicyAttachmentMapOutput) ToAclRolePolicyAttachmentMapOutput

func (o AclRolePolicyAttachmentMapOutput) ToAclRolePolicyAttachmentMapOutput() AclRolePolicyAttachmentMapOutput

func (AclRolePolicyAttachmentMapOutput) ToAclRolePolicyAttachmentMapOutputWithContext

func (o AclRolePolicyAttachmentMapOutput) ToAclRolePolicyAttachmentMapOutputWithContext(ctx context.Context) AclRolePolicyAttachmentMapOutput

type AclRolePolicyAttachmentOutput

type AclRolePolicyAttachmentOutput struct{ *pulumi.OutputState }

func (AclRolePolicyAttachmentOutput) ElementType

func (AclRolePolicyAttachmentOutput) Policy

The policy name.

func (AclRolePolicyAttachmentOutput) RoleId

The id of the role.

func (AclRolePolicyAttachmentOutput) ToAclRolePolicyAttachmentOutput

func (o AclRolePolicyAttachmentOutput) ToAclRolePolicyAttachmentOutput() AclRolePolicyAttachmentOutput

func (AclRolePolicyAttachmentOutput) ToAclRolePolicyAttachmentOutputWithContext

func (o AclRolePolicyAttachmentOutput) ToAclRolePolicyAttachmentOutputWithContext(ctx context.Context) AclRolePolicyAttachmentOutput

type AclRolePolicyAttachmentState

type AclRolePolicyAttachmentState struct {
	// The policy name.
	Policy pulumi.StringPtrInput
	// The id of the role.
	RoleId pulumi.StringPtrInput
}

func (AclRolePolicyAttachmentState) ElementType

type AclRoleServiceIdentity

type AclRoleServiceIdentity struct {
	// The datacenters the effective policy is valid within. When no datacenters are provided the effective policy is valid in all datacenters including those which do not yet exist but may in the future.
	Datacenters []string `pulumi:"datacenters"`
	// The name of the service.
	ServiceName string `pulumi:"serviceName"`
}

type AclRoleServiceIdentityArgs

type AclRoleServiceIdentityArgs struct {
	// The datacenters the effective policy is valid within. When no datacenters are provided the effective policy is valid in all datacenters including those which do not yet exist but may in the future.
	Datacenters pulumi.StringArrayInput `pulumi:"datacenters"`
	// The name of the service.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

func (AclRoleServiceIdentityArgs) ElementType

func (AclRoleServiceIdentityArgs) ElementType() reflect.Type

func (AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutput

func (i AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutput() AclRoleServiceIdentityOutput

func (AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutputWithContext

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

type AclRoleServiceIdentityArray

type AclRoleServiceIdentityArray []AclRoleServiceIdentityInput

func (AclRoleServiceIdentityArray) ElementType

func (AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutput

func (i AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput

func (AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutputWithContext

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

type AclRoleServiceIdentityArrayInput

type AclRoleServiceIdentityArrayInput interface {
	pulumi.Input

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

AclRoleServiceIdentityArrayInput is an input type that accepts AclRoleServiceIdentityArray and AclRoleServiceIdentityArrayOutput values. You can construct a concrete instance of `AclRoleServiceIdentityArrayInput` via:

AclRoleServiceIdentityArray{ AclRoleServiceIdentityArgs{...} }

type AclRoleServiceIdentityArrayOutput

type AclRoleServiceIdentityArrayOutput struct{ *pulumi.OutputState }

func (AclRoleServiceIdentityArrayOutput) ElementType

func (AclRoleServiceIdentityArrayOutput) Index

func (AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutput

func (o AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput

func (AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutputWithContext

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

type AclRoleServiceIdentityInput

type AclRoleServiceIdentityInput interface {
	pulumi.Input

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

AclRoleServiceIdentityInput is an input type that accepts AclRoleServiceIdentityArgs and AclRoleServiceIdentityOutput values. You can construct a concrete instance of `AclRoleServiceIdentityInput` via:

AclRoleServiceIdentityArgs{...}

type AclRoleServiceIdentityOutput

type AclRoleServiceIdentityOutput struct{ *pulumi.OutputState }

func (AclRoleServiceIdentityOutput) Datacenters

The datacenters the effective policy is valid within. When no datacenters are provided the effective policy is valid in all datacenters including those which do not yet exist but may in the future.

func (AclRoleServiceIdentityOutput) ElementType

func (AclRoleServiceIdentityOutput) ServiceName

The name of the service.

func (AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutput

func (o AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutput() AclRoleServiceIdentityOutput

func (AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutputWithContext

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 node identities that should be applied to the role.
	NodeIdentities AclRoleNodeIdentityArrayInput
	// The partition the ACL role is associated with.
	Partition pulumi.StringPtrInput
	// The list of policies that should be applied to the role. Both the policy ID or its name can be used.
	Policies pulumi.StringArrayInput
	// The list of service identities that should be applied to the role.
	ServiceIdentities AclRoleServiceIdentityArrayInput
	// The list of templated policies that should be applied to the token.
	TemplatedPolicies AclRoleTemplatedPolicyArrayInput
}

func (AclRoleState) ElementType

func (AclRoleState) ElementType() reflect.Type

type AclRoleTemplatedPolicy

type AclRoleTemplatedPolicy struct {
	// Specifies the datacenters the effective policy is valid within.
	Datacenters []string `pulumi:"datacenters"`
	// The name of the templated policies.
	TemplateName string `pulumi:"templateName"`
	// The templated policy variables.
	TemplateVariables *AclRoleTemplatedPolicyTemplateVariables `pulumi:"templateVariables"`
}

type AclRoleTemplatedPolicyArgs

type AclRoleTemplatedPolicyArgs struct {
	// Specifies the datacenters the effective policy is valid within.
	Datacenters pulumi.StringArrayInput `pulumi:"datacenters"`
	// The name of the templated policies.
	TemplateName pulumi.StringInput `pulumi:"templateName"`
	// The templated policy variables.
	TemplateVariables AclRoleTemplatedPolicyTemplateVariablesPtrInput `pulumi:"templateVariables"`
}

func (AclRoleTemplatedPolicyArgs) ElementType

func (AclRoleTemplatedPolicyArgs) ElementType() reflect.Type

func (AclRoleTemplatedPolicyArgs) ToAclRoleTemplatedPolicyOutput

func (i AclRoleTemplatedPolicyArgs) ToAclRoleTemplatedPolicyOutput() AclRoleTemplatedPolicyOutput

func (AclRoleTemplatedPolicyArgs) ToAclRoleTemplatedPolicyOutputWithContext

func (i AclRoleTemplatedPolicyArgs) ToAclRoleTemplatedPolicyOutputWithContext(ctx context.Context) AclRoleTemplatedPolicyOutput

type AclRoleTemplatedPolicyArray

type AclRoleTemplatedPolicyArray []AclRoleTemplatedPolicyInput

func (AclRoleTemplatedPolicyArray) ElementType

func (AclRoleTemplatedPolicyArray) ToAclRoleTemplatedPolicyArrayOutput

func (i AclRoleTemplatedPolicyArray) ToAclRoleTemplatedPolicyArrayOutput() AclRoleTemplatedPolicyArrayOutput

func (AclRoleTemplatedPolicyArray) ToAclRoleTemplatedPolicyArrayOutputWithContext

func (i AclRoleTemplatedPolicyArray) ToAclRoleTemplatedPolicyArrayOutputWithContext(ctx context.Context) AclRoleTemplatedPolicyArrayOutput

type AclRoleTemplatedPolicyArrayInput

type AclRoleTemplatedPolicyArrayInput interface {
	pulumi.Input

	ToAclRoleTemplatedPolicyArrayOutput() AclRoleTemplatedPolicyArrayOutput
	ToAclRoleTemplatedPolicyArrayOutputWithContext(context.Context) AclRoleTemplatedPolicyArrayOutput
}

AclRoleTemplatedPolicyArrayInput is an input type that accepts AclRoleTemplatedPolicyArray and AclRoleTemplatedPolicyArrayOutput values. You can construct a concrete instance of `AclRoleTemplatedPolicyArrayInput` via:

AclRoleTemplatedPolicyArray{ AclRoleTemplatedPolicyArgs{...} }

type AclRoleTemplatedPolicyArrayOutput

type AclRoleTemplatedPolicyArrayOutput struct{ *pulumi.OutputState }

func (AclRoleTemplatedPolicyArrayOutput) ElementType

func (AclRoleTemplatedPolicyArrayOutput) Index

func (AclRoleTemplatedPolicyArrayOutput) ToAclRoleTemplatedPolicyArrayOutput

func (o AclRoleTemplatedPolicyArrayOutput) ToAclRoleTemplatedPolicyArrayOutput() AclRoleTemplatedPolicyArrayOutput

func (AclRoleTemplatedPolicyArrayOutput) ToAclRoleTemplatedPolicyArrayOutputWithContext

func (o AclRoleTemplatedPolicyArrayOutput) ToAclRoleTemplatedPolicyArrayOutputWithContext(ctx context.Context) AclRoleTemplatedPolicyArrayOutput

type AclRoleTemplatedPolicyInput

type AclRoleTemplatedPolicyInput interface {
	pulumi.Input

	ToAclRoleTemplatedPolicyOutput() AclRoleTemplatedPolicyOutput
	ToAclRoleTemplatedPolicyOutputWithContext(context.Context) AclRoleTemplatedPolicyOutput
}

AclRoleTemplatedPolicyInput is an input type that accepts AclRoleTemplatedPolicyArgs and AclRoleTemplatedPolicyOutput values. You can construct a concrete instance of `AclRoleTemplatedPolicyInput` via:

AclRoleTemplatedPolicyArgs{...}

type AclRoleTemplatedPolicyOutput

type AclRoleTemplatedPolicyOutput struct{ *pulumi.OutputState }

func (AclRoleTemplatedPolicyOutput) Datacenters

Specifies the datacenters the effective policy is valid within.

func (AclRoleTemplatedPolicyOutput) ElementType

func (AclRoleTemplatedPolicyOutput) TemplateName

The name of the templated policies.

func (AclRoleTemplatedPolicyOutput) TemplateVariables

The templated policy variables.

func (AclRoleTemplatedPolicyOutput) ToAclRoleTemplatedPolicyOutput

func (o AclRoleTemplatedPolicyOutput) ToAclRoleTemplatedPolicyOutput() AclRoleTemplatedPolicyOutput

func (AclRoleTemplatedPolicyOutput) ToAclRoleTemplatedPolicyOutputWithContext

func (o AclRoleTemplatedPolicyOutput) ToAclRoleTemplatedPolicyOutputWithContext(ctx context.Context) AclRoleTemplatedPolicyOutput

type AclRoleTemplatedPolicyTemplateVariables

type AclRoleTemplatedPolicyTemplateVariables struct {
	// The name of node, workload identity or service.
	Name *string `pulumi:"name"`
}

type AclRoleTemplatedPolicyTemplateVariablesArgs

type AclRoleTemplatedPolicyTemplateVariablesArgs struct {
	// The name of node, workload identity or service.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (AclRoleTemplatedPolicyTemplateVariablesArgs) ElementType

func (AclRoleTemplatedPolicyTemplateVariablesArgs) ToAclRoleTemplatedPolicyTemplateVariablesOutput

func (i AclRoleTemplatedPolicyTemplateVariablesArgs) ToAclRoleTemplatedPolicyTemplateVariablesOutput() AclRoleTemplatedPolicyTemplateVariablesOutput

func (AclRoleTemplatedPolicyTemplateVariablesArgs) ToAclRoleTemplatedPolicyTemplateVariablesOutputWithContext

func (i AclRoleTemplatedPolicyTemplateVariablesArgs) ToAclRoleTemplatedPolicyTemplateVariablesOutputWithContext(ctx context.Context) AclRoleTemplatedPolicyTemplateVariablesOutput

func (AclRoleTemplatedPolicyTemplateVariablesArgs) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutput

func (i AclRoleTemplatedPolicyTemplateVariablesArgs) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutput() AclRoleTemplatedPolicyTemplateVariablesPtrOutput

func (AclRoleTemplatedPolicyTemplateVariablesArgs) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutputWithContext

func (i AclRoleTemplatedPolicyTemplateVariablesArgs) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutputWithContext(ctx context.Context) AclRoleTemplatedPolicyTemplateVariablesPtrOutput

type AclRoleTemplatedPolicyTemplateVariablesInput

type AclRoleTemplatedPolicyTemplateVariablesInput interface {
	pulumi.Input

	ToAclRoleTemplatedPolicyTemplateVariablesOutput() AclRoleTemplatedPolicyTemplateVariablesOutput
	ToAclRoleTemplatedPolicyTemplateVariablesOutputWithContext(context.Context) AclRoleTemplatedPolicyTemplateVariablesOutput
}

AclRoleTemplatedPolicyTemplateVariablesInput is an input type that accepts AclRoleTemplatedPolicyTemplateVariablesArgs and AclRoleTemplatedPolicyTemplateVariablesOutput values. You can construct a concrete instance of `AclRoleTemplatedPolicyTemplateVariablesInput` via:

AclRoleTemplatedPolicyTemplateVariablesArgs{...}

type AclRoleTemplatedPolicyTemplateVariablesOutput

type AclRoleTemplatedPolicyTemplateVariablesOutput struct{ *pulumi.OutputState }

func (AclRoleTemplatedPolicyTemplateVariablesOutput) ElementType

func (AclRoleTemplatedPolicyTemplateVariablesOutput) Name

The name of node, workload identity or service.

func (AclRoleTemplatedPolicyTemplateVariablesOutput) ToAclRoleTemplatedPolicyTemplateVariablesOutput

func (o AclRoleTemplatedPolicyTemplateVariablesOutput) ToAclRoleTemplatedPolicyTemplateVariablesOutput() AclRoleTemplatedPolicyTemplateVariablesOutput

func (AclRoleTemplatedPolicyTemplateVariablesOutput) ToAclRoleTemplatedPolicyTemplateVariablesOutputWithContext

func (o AclRoleTemplatedPolicyTemplateVariablesOutput) ToAclRoleTemplatedPolicyTemplateVariablesOutputWithContext(ctx context.Context) AclRoleTemplatedPolicyTemplateVariablesOutput

func (AclRoleTemplatedPolicyTemplateVariablesOutput) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutput

func (o AclRoleTemplatedPolicyTemplateVariablesOutput) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutput() AclRoleTemplatedPolicyTemplateVariablesPtrOutput

func (AclRoleTemplatedPolicyTemplateVariablesOutput) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutputWithContext

func (o AclRoleTemplatedPolicyTemplateVariablesOutput) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutputWithContext(ctx context.Context) AclRoleTemplatedPolicyTemplateVariablesPtrOutput

type AclRoleTemplatedPolicyTemplateVariablesPtrInput

type AclRoleTemplatedPolicyTemplateVariablesPtrInput interface {
	pulumi.Input

	ToAclRoleTemplatedPolicyTemplateVariablesPtrOutput() AclRoleTemplatedPolicyTemplateVariablesPtrOutput
	ToAclRoleTemplatedPolicyTemplateVariablesPtrOutputWithContext(context.Context) AclRoleTemplatedPolicyTemplateVariablesPtrOutput
}

AclRoleTemplatedPolicyTemplateVariablesPtrInput is an input type that accepts AclRoleTemplatedPolicyTemplateVariablesArgs, AclRoleTemplatedPolicyTemplateVariablesPtr and AclRoleTemplatedPolicyTemplateVariablesPtrOutput values. You can construct a concrete instance of `AclRoleTemplatedPolicyTemplateVariablesPtrInput` via:

        AclRoleTemplatedPolicyTemplateVariablesArgs{...}

or:

        nil

type AclRoleTemplatedPolicyTemplateVariablesPtrOutput

type AclRoleTemplatedPolicyTemplateVariablesPtrOutput struct{ *pulumi.OutputState }

func (AclRoleTemplatedPolicyTemplateVariablesPtrOutput) Elem

func (AclRoleTemplatedPolicyTemplateVariablesPtrOutput) ElementType

func (AclRoleTemplatedPolicyTemplateVariablesPtrOutput) Name

The name of node, workload identity or service.

func (AclRoleTemplatedPolicyTemplateVariablesPtrOutput) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutput

func (o AclRoleTemplatedPolicyTemplateVariablesPtrOutput) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutput() AclRoleTemplatedPolicyTemplateVariablesPtrOutput

func (AclRoleTemplatedPolicyTemplateVariablesPtrOutput) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutputWithContext

func (o AclRoleTemplatedPolicyTemplateVariablesPtrOutput) ToAclRoleTemplatedPolicyTemplateVariablesPtrOutputWithContext(ctx context.Context) AclRoleTemplatedPolicyTemplateVariablesPtrOutput

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"`
	// If set this represents the point after which a token should be considered revoked and is eligible for destruction.
	ExpirationTime pulumi.StringPtrOutput `pulumi:"expirationTime"`
	// 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 node identities that should be applied to the token.
	NodeIdentities AclTokenNodeIdentityArrayOutput `pulumi:"nodeIdentities"`
	// The partition the ACL token is associated with.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// 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 list of service identities that should be applied to the token.
	ServiceIdentities AclTokenServiceIdentityArrayOutput `pulumi:"serviceIdentities"`
	// The list of templated policies that should be applied to the token.
	TemplatedPolicies AclTokenTemplatedPolicyArrayOutput `pulumi:"templatedPolicies"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Basic usage
		agent, err := consul.NewAclPolicy(ctx, "agent", &consul.AclPolicyArgs{
			Name:  pulumi.String("agent"),
			Rules: pulumi.String("node_prefix \"\" {\n  policy = \"read\"\n}\n"),
		})
		if err != nil {
			return err
		}
		_, err = consul.NewAclToken(ctx, "test", &consul.AclTokenArgs{
			Description: pulumi.String("my test token"),
			Policies: pulumi.StringArray{
				agent.Name,
			},
			Local: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		// Explicitly set the `accessor_id`
		_, err = random.NewRandomUuid(ctx, "test", nil)
		if err != nil {
			return err
		}
		_, err = consul.NewAclToken(ctx, "test_predefined_id", &consul.AclTokenArgs{
			AccessorId:  pulumi.Any(testUuid.Result),
			Description: pulumi.String("my test uuid token"),
			Policies: pulumi.StringArray{
				agent.Name,
			},
			Local: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import consul:index/aclToken:AclToken anonymous 00000000-0000-0000-0000-000000000002 ```

```sh $ pulumi import consul:index/aclToken:AclToken master-token 624d94ca-bc5c-f960-4e83-0a609cf588be ```

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.

func (*AclToken) ElementType

func (*AclToken) ElementType() reflect.Type

func (*AclToken) ToAclTokenOutput

func (i *AclToken) ToAclTokenOutput() AclTokenOutput

func (*AclToken) ToAclTokenOutputWithContext

func (i *AclToken) ToAclTokenOutputWithContext(ctx context.Context) AclTokenOutput

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
	// If set this represents the point after which a token should be considered revoked and is eligible for destruction.
	ExpirationTime 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 node identities that should be applied to the token.
	NodeIdentities AclTokenNodeIdentityArrayInput
	// The partition the ACL token is associated with.
	Partition 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 list of service identities that should be applied to the token.
	ServiceIdentities AclTokenServiceIdentityArrayInput
	// The list of templated policies that should be applied to the token.
	TemplatedPolicies AclTokenTemplatedPolicyArrayInput
}

The set of arguments for constructing a AclToken resource.

func (AclTokenArgs) ElementType

func (AclTokenArgs) ElementType() reflect.Type

type AclTokenArray

type AclTokenArray []AclTokenInput

func (AclTokenArray) ElementType

func (AclTokenArray) ElementType() reflect.Type

func (AclTokenArray) ToAclTokenArrayOutput

func (i AclTokenArray) ToAclTokenArrayOutput() AclTokenArrayOutput

func (AclTokenArray) ToAclTokenArrayOutputWithContext

func (i AclTokenArray) ToAclTokenArrayOutputWithContext(ctx context.Context) AclTokenArrayOutput

type AclTokenArrayInput

type AclTokenArrayInput interface {
	pulumi.Input

	ToAclTokenArrayOutput() AclTokenArrayOutput
	ToAclTokenArrayOutputWithContext(context.Context) AclTokenArrayOutput
}

AclTokenArrayInput is an input type that accepts AclTokenArray and AclTokenArrayOutput values. You can construct a concrete instance of `AclTokenArrayInput` via:

AclTokenArray{ AclTokenArgs{...} }

type AclTokenArrayOutput

type AclTokenArrayOutput struct{ *pulumi.OutputState }

func (AclTokenArrayOutput) ElementType

func (AclTokenArrayOutput) ElementType() reflect.Type

func (AclTokenArrayOutput) Index

func (AclTokenArrayOutput) ToAclTokenArrayOutput

func (o AclTokenArrayOutput) ToAclTokenArrayOutput() AclTokenArrayOutput

func (AclTokenArrayOutput) ToAclTokenArrayOutputWithContext

func (o AclTokenArrayOutput) ToAclTokenArrayOutputWithContext(ctx context.Context) AclTokenArrayOutput

type AclTokenInput

type AclTokenInput interface {
	pulumi.Input

	ToAclTokenOutput() AclTokenOutput
	ToAclTokenOutputWithContext(ctx context.Context) AclTokenOutput
}

type AclTokenMap

type AclTokenMap map[string]AclTokenInput

func (AclTokenMap) ElementType

func (AclTokenMap) ElementType() reflect.Type

func (AclTokenMap) ToAclTokenMapOutput

func (i AclTokenMap) ToAclTokenMapOutput() AclTokenMapOutput

func (AclTokenMap) ToAclTokenMapOutputWithContext

func (i AclTokenMap) ToAclTokenMapOutputWithContext(ctx context.Context) AclTokenMapOutput

type AclTokenMapInput

type AclTokenMapInput interface {
	pulumi.Input

	ToAclTokenMapOutput() AclTokenMapOutput
	ToAclTokenMapOutputWithContext(context.Context) AclTokenMapOutput
}

AclTokenMapInput is an input type that accepts AclTokenMap and AclTokenMapOutput values. You can construct a concrete instance of `AclTokenMapInput` via:

AclTokenMap{ "key": AclTokenArgs{...} }

type AclTokenMapOutput

type AclTokenMapOutput struct{ *pulumi.OutputState }

func (AclTokenMapOutput) ElementType

func (AclTokenMapOutput) ElementType() reflect.Type

func (AclTokenMapOutput) MapIndex

func (AclTokenMapOutput) ToAclTokenMapOutput

func (o AclTokenMapOutput) ToAclTokenMapOutput() AclTokenMapOutput

func (AclTokenMapOutput) ToAclTokenMapOutputWithContext

func (o AclTokenMapOutput) ToAclTokenMapOutputWithContext(ctx context.Context) AclTokenMapOutput

type AclTokenNodeIdentity

type AclTokenNodeIdentity struct {
	// The datacenter of the node.
	Datacenter string `pulumi:"datacenter"`
	// The name of the node.
	NodeName string `pulumi:"nodeName"`
}

type AclTokenNodeIdentityArgs

type AclTokenNodeIdentityArgs struct {
	// The datacenter of the node.
	Datacenter pulumi.StringInput `pulumi:"datacenter"`
	// The name of the node.
	NodeName pulumi.StringInput `pulumi:"nodeName"`
}

func (AclTokenNodeIdentityArgs) ElementType

func (AclTokenNodeIdentityArgs) ElementType() reflect.Type

func (AclTokenNodeIdentityArgs) ToAclTokenNodeIdentityOutput

func (i AclTokenNodeIdentityArgs) ToAclTokenNodeIdentityOutput() AclTokenNodeIdentityOutput

func (AclTokenNodeIdentityArgs) ToAclTokenNodeIdentityOutputWithContext

func (i AclTokenNodeIdentityArgs) ToAclTokenNodeIdentityOutputWithContext(ctx context.Context) AclTokenNodeIdentityOutput

type AclTokenNodeIdentityArray

type AclTokenNodeIdentityArray []AclTokenNodeIdentityInput

func (AclTokenNodeIdentityArray) ElementType

func (AclTokenNodeIdentityArray) ElementType() reflect.Type

func (AclTokenNodeIdentityArray) ToAclTokenNodeIdentityArrayOutput

func (i AclTokenNodeIdentityArray) ToAclTokenNodeIdentityArrayOutput() AclTokenNodeIdentityArrayOutput

func (AclTokenNodeIdentityArray) ToAclTokenNodeIdentityArrayOutputWithContext

func (i AclTokenNodeIdentityArray) ToAclTokenNodeIdentityArrayOutputWithContext(ctx context.Context) AclTokenNodeIdentityArrayOutput

type AclTokenNodeIdentityArrayInput

type AclTokenNodeIdentityArrayInput interface {
	pulumi.Input

	ToAclTokenNodeIdentityArrayOutput() AclTokenNodeIdentityArrayOutput
	ToAclTokenNodeIdentityArrayOutputWithContext(context.Context) AclTokenNodeIdentityArrayOutput
}

AclTokenNodeIdentityArrayInput is an input type that accepts AclTokenNodeIdentityArray and AclTokenNodeIdentityArrayOutput values. You can construct a concrete instance of `AclTokenNodeIdentityArrayInput` via:

AclTokenNodeIdentityArray{ AclTokenNodeIdentityArgs{...} }

type AclTokenNodeIdentityArrayOutput

type AclTokenNodeIdentityArrayOutput struct{ *pulumi.OutputState }

func (AclTokenNodeIdentityArrayOutput) ElementType

func (AclTokenNodeIdentityArrayOutput) Index

func (AclTokenNodeIdentityArrayOutput) ToAclTokenNodeIdentityArrayOutput

func (o AclTokenNodeIdentityArrayOutput) ToAclTokenNodeIdentityArrayOutput() AclTokenNodeIdentityArrayOutput

func (AclTokenNodeIdentityArrayOutput) ToAclTokenNodeIdentityArrayOutputWithContext

func (o AclTokenNodeIdentityArrayOutput) ToAclTokenNodeIdentityArrayOutputWithContext(ctx context.Context) AclTokenNodeIdentityArrayOutput

type AclTokenNodeIdentityInput

type AclTokenNodeIdentityInput interface {
	pulumi.Input

	ToAclTokenNodeIdentityOutput() AclTokenNodeIdentityOutput
	ToAclTokenNodeIdentityOutputWithContext(context.Context) AclTokenNodeIdentityOutput
}

AclTokenNodeIdentityInput is an input type that accepts AclTokenNodeIdentityArgs and AclTokenNodeIdentityOutput values. You can construct a concrete instance of `AclTokenNodeIdentityInput` via:

AclTokenNodeIdentityArgs{...}

type AclTokenNodeIdentityOutput

type AclTokenNodeIdentityOutput struct{ *pulumi.OutputState }

func (AclTokenNodeIdentityOutput) Datacenter

The datacenter of the node.

func (AclTokenNodeIdentityOutput) ElementType

func (AclTokenNodeIdentityOutput) ElementType() reflect.Type

func (AclTokenNodeIdentityOutput) NodeName

The name of the node.

func (AclTokenNodeIdentityOutput) ToAclTokenNodeIdentityOutput

func (o AclTokenNodeIdentityOutput) ToAclTokenNodeIdentityOutput() AclTokenNodeIdentityOutput

func (AclTokenNodeIdentityOutput) ToAclTokenNodeIdentityOutputWithContext

func (o AclTokenNodeIdentityOutput) ToAclTokenNodeIdentityOutputWithContext(ctx context.Context) AclTokenNodeIdentityOutput

type AclTokenOutput

type AclTokenOutput struct{ *pulumi.OutputState }

func (AclTokenOutput) AccessorId

func (o AclTokenOutput) AccessorId() pulumi.StringOutput

The uuid of the token. If omitted, Consul will generate a random uuid.

func (AclTokenOutput) Description

func (o AclTokenOutput) Description() pulumi.StringPtrOutput

The description of the token.

func (AclTokenOutput) ElementType

func (AclTokenOutput) ElementType() reflect.Type

func (AclTokenOutput) ExpirationTime

func (o AclTokenOutput) ExpirationTime() pulumi.StringPtrOutput

If set this represents the point after which a token should be considered revoked and is eligible for destruction.

func (AclTokenOutput) Local

The flag to set the token local to the current datacenter.

func (AclTokenOutput) Namespace

func (o AclTokenOutput) Namespace() pulumi.StringPtrOutput

The namespace to create the token within.

func (AclTokenOutput) NodeIdentities

The list of node identities that should be applied to the token.

func (AclTokenOutput) Partition

func (o AclTokenOutput) Partition() pulumi.StringPtrOutput

The partition the ACL token is associated with.

func (AclTokenOutput) Policies

The list of policies attached to the token.

func (AclTokenOutput) Roles

The list of roles attached to the token.

func (AclTokenOutput) ServiceIdentities

func (o AclTokenOutput) ServiceIdentities() AclTokenServiceIdentityArrayOutput

The list of service identities that should be applied to the token.

func (AclTokenOutput) TemplatedPolicies

func (o AclTokenOutput) TemplatedPolicies() AclTokenTemplatedPolicyArrayOutput

The list of templated policies that should be applied to the token.

func (AclTokenOutput) ToAclTokenOutput

func (o AclTokenOutput) ToAclTokenOutput() AclTokenOutput

func (AclTokenOutput) ToAclTokenOutputWithContext

func (o AclTokenOutput) ToAclTokenOutputWithContext(ctx context.Context) AclTokenOutput

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"`
}

## Import

`consul_acl_token_policy_attachment` can be imported. This is especially useful to manage the

policies attached to the anonymous and the master tokens with Terraform:

```sh $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment anonymous 00000000-0000-0000-0000-000000000002:policy_name ```

```sh $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment master-token 624d94ca-bc5c-f960-4e83-0a609cf588be:policy_name ```

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.

func (*AclTokenPolicyAttachment) ElementType

func (*AclTokenPolicyAttachment) ElementType() reflect.Type

func (*AclTokenPolicyAttachment) ToAclTokenPolicyAttachmentOutput

func (i *AclTokenPolicyAttachment) ToAclTokenPolicyAttachmentOutput() AclTokenPolicyAttachmentOutput

func (*AclTokenPolicyAttachment) ToAclTokenPolicyAttachmentOutputWithContext

func (i *AclTokenPolicyAttachment) ToAclTokenPolicyAttachmentOutputWithContext(ctx context.Context) AclTokenPolicyAttachmentOutput

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

type AclTokenPolicyAttachmentArray

type AclTokenPolicyAttachmentArray []AclTokenPolicyAttachmentInput

func (AclTokenPolicyAttachmentArray) ElementType

func (AclTokenPolicyAttachmentArray) ToAclTokenPolicyAttachmentArrayOutput

func (i AclTokenPolicyAttachmentArray) ToAclTokenPolicyAttachmentArrayOutput() AclTokenPolicyAttachmentArrayOutput

func (AclTokenPolicyAttachmentArray) ToAclTokenPolicyAttachmentArrayOutputWithContext

func (i AclTokenPolicyAttachmentArray) ToAclTokenPolicyAttachmentArrayOutputWithContext(ctx context.Context) AclTokenPolicyAttachmentArrayOutput

type AclTokenPolicyAttachmentArrayInput

type AclTokenPolicyAttachmentArrayInput interface {
	pulumi.Input

	ToAclTokenPolicyAttachmentArrayOutput() AclTokenPolicyAttachmentArrayOutput
	ToAclTokenPolicyAttachmentArrayOutputWithContext(context.Context) AclTokenPolicyAttachmentArrayOutput
}

AclTokenPolicyAttachmentArrayInput is an input type that accepts AclTokenPolicyAttachmentArray and AclTokenPolicyAttachmentArrayOutput values. You can construct a concrete instance of `AclTokenPolicyAttachmentArrayInput` via:

AclTokenPolicyAttachmentArray{ AclTokenPolicyAttachmentArgs{...} }

type AclTokenPolicyAttachmentArrayOutput

type AclTokenPolicyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (AclTokenPolicyAttachmentArrayOutput) ElementType

func (AclTokenPolicyAttachmentArrayOutput) Index

func (AclTokenPolicyAttachmentArrayOutput) ToAclTokenPolicyAttachmentArrayOutput

func (o AclTokenPolicyAttachmentArrayOutput) ToAclTokenPolicyAttachmentArrayOutput() AclTokenPolicyAttachmentArrayOutput

func (AclTokenPolicyAttachmentArrayOutput) ToAclTokenPolicyAttachmentArrayOutputWithContext

func (o AclTokenPolicyAttachmentArrayOutput) ToAclTokenPolicyAttachmentArrayOutputWithContext(ctx context.Context) AclTokenPolicyAttachmentArrayOutput

type AclTokenPolicyAttachmentInput

type AclTokenPolicyAttachmentInput interface {
	pulumi.Input

	ToAclTokenPolicyAttachmentOutput() AclTokenPolicyAttachmentOutput
	ToAclTokenPolicyAttachmentOutputWithContext(ctx context.Context) AclTokenPolicyAttachmentOutput
}

type AclTokenPolicyAttachmentMap

type AclTokenPolicyAttachmentMap map[string]AclTokenPolicyAttachmentInput

func (AclTokenPolicyAttachmentMap) ElementType

func (AclTokenPolicyAttachmentMap) ToAclTokenPolicyAttachmentMapOutput

func (i AclTokenPolicyAttachmentMap) ToAclTokenPolicyAttachmentMapOutput() AclTokenPolicyAttachmentMapOutput

func (AclTokenPolicyAttachmentMap) ToAclTokenPolicyAttachmentMapOutputWithContext

func (i AclTokenPolicyAttachmentMap) ToAclTokenPolicyAttachmentMapOutputWithContext(ctx context.Context) AclTokenPolicyAttachmentMapOutput

type AclTokenPolicyAttachmentMapInput

type AclTokenPolicyAttachmentMapInput interface {
	pulumi.Input

	ToAclTokenPolicyAttachmentMapOutput() AclTokenPolicyAttachmentMapOutput
	ToAclTokenPolicyAttachmentMapOutputWithContext(context.Context) AclTokenPolicyAttachmentMapOutput
}

AclTokenPolicyAttachmentMapInput is an input type that accepts AclTokenPolicyAttachmentMap and AclTokenPolicyAttachmentMapOutput values. You can construct a concrete instance of `AclTokenPolicyAttachmentMapInput` via:

AclTokenPolicyAttachmentMap{ "key": AclTokenPolicyAttachmentArgs{...} }

type AclTokenPolicyAttachmentMapOutput

type AclTokenPolicyAttachmentMapOutput struct{ *pulumi.OutputState }

func (AclTokenPolicyAttachmentMapOutput) ElementType

func (AclTokenPolicyAttachmentMapOutput) MapIndex

func (AclTokenPolicyAttachmentMapOutput) ToAclTokenPolicyAttachmentMapOutput

func (o AclTokenPolicyAttachmentMapOutput) ToAclTokenPolicyAttachmentMapOutput() AclTokenPolicyAttachmentMapOutput

func (AclTokenPolicyAttachmentMapOutput) ToAclTokenPolicyAttachmentMapOutputWithContext

func (o AclTokenPolicyAttachmentMapOutput) ToAclTokenPolicyAttachmentMapOutputWithContext(ctx context.Context) AclTokenPolicyAttachmentMapOutput

type AclTokenPolicyAttachmentOutput

type AclTokenPolicyAttachmentOutput struct{ *pulumi.OutputState }

func (AclTokenPolicyAttachmentOutput) ElementType

func (AclTokenPolicyAttachmentOutput) Policy

The name of the policy attached to the token.

func (AclTokenPolicyAttachmentOutput) ToAclTokenPolicyAttachmentOutput

func (o AclTokenPolicyAttachmentOutput) ToAclTokenPolicyAttachmentOutput() AclTokenPolicyAttachmentOutput

func (AclTokenPolicyAttachmentOutput) ToAclTokenPolicyAttachmentOutputWithContext

func (o AclTokenPolicyAttachmentOutput) ToAclTokenPolicyAttachmentOutputWithContext(ctx context.Context) AclTokenPolicyAttachmentOutput

func (AclTokenPolicyAttachmentOutput) TokenId

The id of the token.

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

type AclTokenRoleAttachment

type AclTokenRoleAttachment struct {
	pulumi.CustomResourceState

	// The role name.
	Role pulumi.StringOutput `pulumi:"role"`
	// The id of the token.
	TokenId pulumi.StringOutput `pulumi:"tokenId"`
}

## Import

`consul_acl_token_role_attachment` can be imported. This is especially useful to manage the policies attached to the anonymous and the master tokens with Terraform:

```sh $ pulumi import consul:index/aclTokenRoleAttachment:AclTokenRoleAttachment anonymous token_id:role_id ```

func GetAclTokenRoleAttachment

func GetAclTokenRoleAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclTokenRoleAttachmentState, opts ...pulumi.ResourceOption) (*AclTokenRoleAttachment, error)

GetAclTokenRoleAttachment gets an existing AclTokenRoleAttachment 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 NewAclTokenRoleAttachment

func NewAclTokenRoleAttachment(ctx *pulumi.Context,
	name string, args *AclTokenRoleAttachmentArgs, opts ...pulumi.ResourceOption) (*AclTokenRoleAttachment, error)

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

func (*AclTokenRoleAttachment) ElementType

func (*AclTokenRoleAttachment) ElementType() reflect.Type

func (*AclTokenRoleAttachment) ToAclTokenRoleAttachmentOutput

func (i *AclTokenRoleAttachment) ToAclTokenRoleAttachmentOutput() AclTokenRoleAttachmentOutput

func (*AclTokenRoleAttachment) ToAclTokenRoleAttachmentOutputWithContext

func (i *AclTokenRoleAttachment) ToAclTokenRoleAttachmentOutputWithContext(ctx context.Context) AclTokenRoleAttachmentOutput

type AclTokenRoleAttachmentArgs

type AclTokenRoleAttachmentArgs struct {
	// The role name.
	Role pulumi.StringInput
	// The id of the token.
	TokenId pulumi.StringInput
}

The set of arguments for constructing a AclTokenRoleAttachment resource.

func (AclTokenRoleAttachmentArgs) ElementType

func (AclTokenRoleAttachmentArgs) ElementType() reflect.Type

type AclTokenRoleAttachmentArray

type AclTokenRoleAttachmentArray []AclTokenRoleAttachmentInput

func (AclTokenRoleAttachmentArray) ElementType

func (AclTokenRoleAttachmentArray) ToAclTokenRoleAttachmentArrayOutput

func (i AclTokenRoleAttachmentArray) ToAclTokenRoleAttachmentArrayOutput() AclTokenRoleAttachmentArrayOutput

func (AclTokenRoleAttachmentArray) ToAclTokenRoleAttachmentArrayOutputWithContext

func (i AclTokenRoleAttachmentArray) ToAclTokenRoleAttachmentArrayOutputWithContext(ctx context.Context) AclTokenRoleAttachmentArrayOutput

type AclTokenRoleAttachmentArrayInput

type AclTokenRoleAttachmentArrayInput interface {
	pulumi.Input

	ToAclTokenRoleAttachmentArrayOutput() AclTokenRoleAttachmentArrayOutput
	ToAclTokenRoleAttachmentArrayOutputWithContext(context.Context) AclTokenRoleAttachmentArrayOutput
}

AclTokenRoleAttachmentArrayInput is an input type that accepts AclTokenRoleAttachmentArray and AclTokenRoleAttachmentArrayOutput values. You can construct a concrete instance of `AclTokenRoleAttachmentArrayInput` via:

AclTokenRoleAttachmentArray{ AclTokenRoleAttachmentArgs{...} }

type AclTokenRoleAttachmentArrayOutput

type AclTokenRoleAttachmentArrayOutput struct{ *pulumi.OutputState }

func (AclTokenRoleAttachmentArrayOutput) ElementType

func (AclTokenRoleAttachmentArrayOutput) Index

func (AclTokenRoleAttachmentArrayOutput) ToAclTokenRoleAttachmentArrayOutput

func (o AclTokenRoleAttachmentArrayOutput) ToAclTokenRoleAttachmentArrayOutput() AclTokenRoleAttachmentArrayOutput

func (AclTokenRoleAttachmentArrayOutput) ToAclTokenRoleAttachmentArrayOutputWithContext

func (o AclTokenRoleAttachmentArrayOutput) ToAclTokenRoleAttachmentArrayOutputWithContext(ctx context.Context) AclTokenRoleAttachmentArrayOutput

type AclTokenRoleAttachmentInput

type AclTokenRoleAttachmentInput interface {
	pulumi.Input

	ToAclTokenRoleAttachmentOutput() AclTokenRoleAttachmentOutput
	ToAclTokenRoleAttachmentOutputWithContext(ctx context.Context) AclTokenRoleAttachmentOutput
}

type AclTokenRoleAttachmentMap

type AclTokenRoleAttachmentMap map[string]AclTokenRoleAttachmentInput

func (AclTokenRoleAttachmentMap) ElementType

func (AclTokenRoleAttachmentMap) ElementType() reflect.Type

func (AclTokenRoleAttachmentMap) ToAclTokenRoleAttachmentMapOutput

func (i AclTokenRoleAttachmentMap) ToAclTokenRoleAttachmentMapOutput() AclTokenRoleAttachmentMapOutput

func (AclTokenRoleAttachmentMap) ToAclTokenRoleAttachmentMapOutputWithContext

func (i AclTokenRoleAttachmentMap) ToAclTokenRoleAttachmentMapOutputWithContext(ctx context.Context) AclTokenRoleAttachmentMapOutput

type AclTokenRoleAttachmentMapInput

type AclTokenRoleAttachmentMapInput interface {
	pulumi.Input

	ToAclTokenRoleAttachmentMapOutput() AclTokenRoleAttachmentMapOutput
	ToAclTokenRoleAttachmentMapOutputWithContext(context.Context) AclTokenRoleAttachmentMapOutput
}

AclTokenRoleAttachmentMapInput is an input type that accepts AclTokenRoleAttachmentMap and AclTokenRoleAttachmentMapOutput values. You can construct a concrete instance of `AclTokenRoleAttachmentMapInput` via:

AclTokenRoleAttachmentMap{ "key": AclTokenRoleAttachmentArgs{...} }

type AclTokenRoleAttachmentMapOutput

type AclTokenRoleAttachmentMapOutput struct{ *pulumi.OutputState }

func (AclTokenRoleAttachmentMapOutput) ElementType

func (AclTokenRoleAttachmentMapOutput) MapIndex

func (AclTokenRoleAttachmentMapOutput) ToAclTokenRoleAttachmentMapOutput

func (o AclTokenRoleAttachmentMapOutput) ToAclTokenRoleAttachmentMapOutput() AclTokenRoleAttachmentMapOutput

func (AclTokenRoleAttachmentMapOutput) ToAclTokenRoleAttachmentMapOutputWithContext

func (o AclTokenRoleAttachmentMapOutput) ToAclTokenRoleAttachmentMapOutputWithContext(ctx context.Context) AclTokenRoleAttachmentMapOutput

type AclTokenRoleAttachmentOutput

type AclTokenRoleAttachmentOutput struct{ *pulumi.OutputState }

func (AclTokenRoleAttachmentOutput) ElementType

func (AclTokenRoleAttachmentOutput) Role

The role name.

func (AclTokenRoleAttachmentOutput) ToAclTokenRoleAttachmentOutput

func (o AclTokenRoleAttachmentOutput) ToAclTokenRoleAttachmentOutput() AclTokenRoleAttachmentOutput

func (AclTokenRoleAttachmentOutput) ToAclTokenRoleAttachmentOutputWithContext

func (o AclTokenRoleAttachmentOutput) ToAclTokenRoleAttachmentOutputWithContext(ctx context.Context) AclTokenRoleAttachmentOutput

func (AclTokenRoleAttachmentOutput) TokenId

The id of the token.

type AclTokenRoleAttachmentState

type AclTokenRoleAttachmentState struct {
	// The role name.
	Role pulumi.StringPtrInput
	// The id of the token.
	TokenId pulumi.StringPtrInput
}

func (AclTokenRoleAttachmentState) ElementType

type AclTokenServiceIdentity

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

type AclTokenServiceIdentityArgs

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

func (AclTokenServiceIdentityArgs) ElementType

func (AclTokenServiceIdentityArgs) ToAclTokenServiceIdentityOutput

func (i AclTokenServiceIdentityArgs) ToAclTokenServiceIdentityOutput() AclTokenServiceIdentityOutput

func (AclTokenServiceIdentityArgs) ToAclTokenServiceIdentityOutputWithContext

func (i AclTokenServiceIdentityArgs) ToAclTokenServiceIdentityOutputWithContext(ctx context.Context) AclTokenServiceIdentityOutput

type AclTokenServiceIdentityArray

type AclTokenServiceIdentityArray []AclTokenServiceIdentityInput

func (AclTokenServiceIdentityArray) ElementType

func (AclTokenServiceIdentityArray) ToAclTokenServiceIdentityArrayOutput

func (i AclTokenServiceIdentityArray) ToAclTokenServiceIdentityArrayOutput() AclTokenServiceIdentityArrayOutput

func (AclTokenServiceIdentityArray) ToAclTokenServiceIdentityArrayOutputWithContext

func (i AclTokenServiceIdentityArray) ToAclTokenServiceIdentityArrayOutputWithContext(ctx context.Context) AclTokenServiceIdentityArrayOutput

type AclTokenServiceIdentityArrayInput

type AclTokenServiceIdentityArrayInput interface {
	pulumi.Input

	ToAclTokenServiceIdentityArrayOutput() AclTokenServiceIdentityArrayOutput
	ToAclTokenServiceIdentityArrayOutputWithContext(context.Context) AclTokenServiceIdentityArrayOutput
}

AclTokenServiceIdentityArrayInput is an input type that accepts AclTokenServiceIdentityArray and AclTokenServiceIdentityArrayOutput values. You can construct a concrete instance of `AclTokenServiceIdentityArrayInput` via:

AclTokenServiceIdentityArray{ AclTokenServiceIdentityArgs{...} }

type AclTokenServiceIdentityArrayOutput

type AclTokenServiceIdentityArrayOutput struct{ *pulumi.OutputState }

func (AclTokenServiceIdentityArrayOutput) ElementType

func (AclTokenServiceIdentityArrayOutput) Index

func (AclTokenServiceIdentityArrayOutput) ToAclTokenServiceIdentityArrayOutput

func (o AclTokenServiceIdentityArrayOutput) ToAclTokenServiceIdentityArrayOutput() AclTokenServiceIdentityArrayOutput

func (AclTokenServiceIdentityArrayOutput) ToAclTokenServiceIdentityArrayOutputWithContext

func (o AclTokenServiceIdentityArrayOutput) ToAclTokenServiceIdentityArrayOutputWithContext(ctx context.Context) AclTokenServiceIdentityArrayOutput

type AclTokenServiceIdentityInput

type AclTokenServiceIdentityInput interface {
	pulumi.Input

	ToAclTokenServiceIdentityOutput() AclTokenServiceIdentityOutput
	ToAclTokenServiceIdentityOutputWithContext(context.Context) AclTokenServiceIdentityOutput
}

AclTokenServiceIdentityInput is an input type that accepts AclTokenServiceIdentityArgs and AclTokenServiceIdentityOutput values. You can construct a concrete instance of `AclTokenServiceIdentityInput` via:

AclTokenServiceIdentityArgs{...}

type AclTokenServiceIdentityOutput

type AclTokenServiceIdentityOutput struct{ *pulumi.OutputState }

func (AclTokenServiceIdentityOutput) Datacenters

Specifies the datacenters the effective policy is valid within.

func (AclTokenServiceIdentityOutput) ElementType

func (AclTokenServiceIdentityOutput) ServiceName

The name of the service.

func (AclTokenServiceIdentityOutput) ToAclTokenServiceIdentityOutput

func (o AclTokenServiceIdentityOutput) ToAclTokenServiceIdentityOutput() AclTokenServiceIdentityOutput

func (AclTokenServiceIdentityOutput) ToAclTokenServiceIdentityOutputWithContext

func (o AclTokenServiceIdentityOutput) ToAclTokenServiceIdentityOutputWithContext(ctx context.Context) AclTokenServiceIdentityOutput

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
	// If set this represents the point after which a token should be considered revoked and is eligible for destruction.
	ExpirationTime 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 node identities that should be applied to the token.
	NodeIdentities AclTokenNodeIdentityArrayInput
	// The partition the ACL token is associated with.
	Partition 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 list of service identities that should be applied to the token.
	ServiceIdentities AclTokenServiceIdentityArrayInput
	// The list of templated policies that should be applied to the token.
	TemplatedPolicies AclTokenTemplatedPolicyArrayInput
}

func (AclTokenState) ElementType

func (AclTokenState) ElementType() reflect.Type

type AclTokenTemplatedPolicy

type AclTokenTemplatedPolicy struct {
	// Specifies the datacenters the effective policy is valid within.
	Datacenters []string `pulumi:"datacenters"`
	// The name of the templated policies.
	TemplateName string `pulumi:"templateName"`
	// The templated policy variables.
	TemplateVariables *AclTokenTemplatedPolicyTemplateVariables `pulumi:"templateVariables"`
}

type AclTokenTemplatedPolicyArgs

type AclTokenTemplatedPolicyArgs struct {
	// Specifies the datacenters the effective policy is valid within.
	Datacenters pulumi.StringArrayInput `pulumi:"datacenters"`
	// The name of the templated policies.
	TemplateName pulumi.StringInput `pulumi:"templateName"`
	// The templated policy variables.
	TemplateVariables AclTokenTemplatedPolicyTemplateVariablesPtrInput `pulumi:"templateVariables"`
}

func (AclTokenTemplatedPolicyArgs) ElementType

func (AclTokenTemplatedPolicyArgs) ToAclTokenTemplatedPolicyOutput

func (i AclTokenTemplatedPolicyArgs) ToAclTokenTemplatedPolicyOutput() AclTokenTemplatedPolicyOutput

func (AclTokenTemplatedPolicyArgs) ToAclTokenTemplatedPolicyOutputWithContext

func (i AclTokenTemplatedPolicyArgs) ToAclTokenTemplatedPolicyOutputWithContext(ctx context.Context) AclTokenTemplatedPolicyOutput

type AclTokenTemplatedPolicyArray

type AclTokenTemplatedPolicyArray []AclTokenTemplatedPolicyInput

func (AclTokenTemplatedPolicyArray) ElementType

func (AclTokenTemplatedPolicyArray) ToAclTokenTemplatedPolicyArrayOutput

func (i AclTokenTemplatedPolicyArray) ToAclTokenTemplatedPolicyArrayOutput() AclTokenTemplatedPolicyArrayOutput

func (AclTokenTemplatedPolicyArray) ToAclTokenTemplatedPolicyArrayOutputWithContext

func (i AclTokenTemplatedPolicyArray) ToAclTokenTemplatedPolicyArrayOutputWithContext(ctx context.Context) AclTokenTemplatedPolicyArrayOutput

type AclTokenTemplatedPolicyArrayInput

type AclTokenTemplatedPolicyArrayInput interface {
	pulumi.Input

	ToAclTokenTemplatedPolicyArrayOutput() AclTokenTemplatedPolicyArrayOutput
	ToAclTokenTemplatedPolicyArrayOutputWithContext(context.Context) AclTokenTemplatedPolicyArrayOutput
}

AclTokenTemplatedPolicyArrayInput is an input type that accepts AclTokenTemplatedPolicyArray and AclTokenTemplatedPolicyArrayOutput values. You can construct a concrete instance of `AclTokenTemplatedPolicyArrayInput` via:

AclTokenTemplatedPolicyArray{ AclTokenTemplatedPolicyArgs{...} }

type AclTokenTemplatedPolicyArrayOutput

type AclTokenTemplatedPolicyArrayOutput struct{ *pulumi.OutputState }

func (AclTokenTemplatedPolicyArrayOutput) ElementType

func (AclTokenTemplatedPolicyArrayOutput) Index

func (AclTokenTemplatedPolicyArrayOutput) ToAclTokenTemplatedPolicyArrayOutput

func (o AclTokenTemplatedPolicyArrayOutput) ToAclTokenTemplatedPolicyArrayOutput() AclTokenTemplatedPolicyArrayOutput

func (AclTokenTemplatedPolicyArrayOutput) ToAclTokenTemplatedPolicyArrayOutputWithContext

func (o AclTokenTemplatedPolicyArrayOutput) ToAclTokenTemplatedPolicyArrayOutputWithContext(ctx context.Context) AclTokenTemplatedPolicyArrayOutput

type AclTokenTemplatedPolicyInput

type AclTokenTemplatedPolicyInput interface {
	pulumi.Input

	ToAclTokenTemplatedPolicyOutput() AclTokenTemplatedPolicyOutput
	ToAclTokenTemplatedPolicyOutputWithContext(context.Context) AclTokenTemplatedPolicyOutput
}

AclTokenTemplatedPolicyInput is an input type that accepts AclTokenTemplatedPolicyArgs and AclTokenTemplatedPolicyOutput values. You can construct a concrete instance of `AclTokenTemplatedPolicyInput` via:

AclTokenTemplatedPolicyArgs{...}

type AclTokenTemplatedPolicyOutput

type AclTokenTemplatedPolicyOutput struct{ *pulumi.OutputState }

func (AclTokenTemplatedPolicyOutput) Datacenters

Specifies the datacenters the effective policy is valid within.

func (AclTokenTemplatedPolicyOutput) ElementType

func (AclTokenTemplatedPolicyOutput) TemplateName

The name of the templated policies.

func (AclTokenTemplatedPolicyOutput) TemplateVariables

The templated policy variables.

func (AclTokenTemplatedPolicyOutput) ToAclTokenTemplatedPolicyOutput

func (o AclTokenTemplatedPolicyOutput) ToAclTokenTemplatedPolicyOutput() AclTokenTemplatedPolicyOutput

func (AclTokenTemplatedPolicyOutput) ToAclTokenTemplatedPolicyOutputWithContext

func (o AclTokenTemplatedPolicyOutput) ToAclTokenTemplatedPolicyOutputWithContext(ctx context.Context) AclTokenTemplatedPolicyOutput

type AclTokenTemplatedPolicyTemplateVariables

type AclTokenTemplatedPolicyTemplateVariables struct {
	// The name of node, workload identity or service.
	Name *string `pulumi:"name"`
}

type AclTokenTemplatedPolicyTemplateVariablesArgs

type AclTokenTemplatedPolicyTemplateVariablesArgs struct {
	// The name of node, workload identity or service.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (AclTokenTemplatedPolicyTemplateVariablesArgs) ElementType

func (AclTokenTemplatedPolicyTemplateVariablesArgs) ToAclTokenTemplatedPolicyTemplateVariablesOutput

func (i AclTokenTemplatedPolicyTemplateVariablesArgs) ToAclTokenTemplatedPolicyTemplateVariablesOutput() AclTokenTemplatedPolicyTemplateVariablesOutput

func (AclTokenTemplatedPolicyTemplateVariablesArgs) ToAclTokenTemplatedPolicyTemplateVariablesOutputWithContext

func (i AclTokenTemplatedPolicyTemplateVariablesArgs) ToAclTokenTemplatedPolicyTemplateVariablesOutputWithContext(ctx context.Context) AclTokenTemplatedPolicyTemplateVariablesOutput

func (AclTokenTemplatedPolicyTemplateVariablesArgs) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutput

func (i AclTokenTemplatedPolicyTemplateVariablesArgs) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutput() AclTokenTemplatedPolicyTemplateVariablesPtrOutput

func (AclTokenTemplatedPolicyTemplateVariablesArgs) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutputWithContext

func (i AclTokenTemplatedPolicyTemplateVariablesArgs) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutputWithContext(ctx context.Context) AclTokenTemplatedPolicyTemplateVariablesPtrOutput

type AclTokenTemplatedPolicyTemplateVariablesInput

type AclTokenTemplatedPolicyTemplateVariablesInput interface {
	pulumi.Input

	ToAclTokenTemplatedPolicyTemplateVariablesOutput() AclTokenTemplatedPolicyTemplateVariablesOutput
	ToAclTokenTemplatedPolicyTemplateVariablesOutputWithContext(context.Context) AclTokenTemplatedPolicyTemplateVariablesOutput
}

AclTokenTemplatedPolicyTemplateVariablesInput is an input type that accepts AclTokenTemplatedPolicyTemplateVariablesArgs and AclTokenTemplatedPolicyTemplateVariablesOutput values. You can construct a concrete instance of `AclTokenTemplatedPolicyTemplateVariablesInput` via:

AclTokenTemplatedPolicyTemplateVariablesArgs{...}

type AclTokenTemplatedPolicyTemplateVariablesOutput

type AclTokenTemplatedPolicyTemplateVariablesOutput struct{ *pulumi.OutputState }

func (AclTokenTemplatedPolicyTemplateVariablesOutput) ElementType

func (AclTokenTemplatedPolicyTemplateVariablesOutput) Name

The name of node, workload identity or service.

func (AclTokenTemplatedPolicyTemplateVariablesOutput) ToAclTokenTemplatedPolicyTemplateVariablesOutput

func (o AclTokenTemplatedPolicyTemplateVariablesOutput) ToAclTokenTemplatedPolicyTemplateVariablesOutput() AclTokenTemplatedPolicyTemplateVariablesOutput

func (AclTokenTemplatedPolicyTemplateVariablesOutput) ToAclTokenTemplatedPolicyTemplateVariablesOutputWithContext

func (o AclTokenTemplatedPolicyTemplateVariablesOutput) ToAclTokenTemplatedPolicyTemplateVariablesOutputWithContext(ctx context.Context) AclTokenTemplatedPolicyTemplateVariablesOutput

func (AclTokenTemplatedPolicyTemplateVariablesOutput) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutput

func (o AclTokenTemplatedPolicyTemplateVariablesOutput) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutput() AclTokenTemplatedPolicyTemplateVariablesPtrOutput

func (AclTokenTemplatedPolicyTemplateVariablesOutput) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutputWithContext

func (o AclTokenTemplatedPolicyTemplateVariablesOutput) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutputWithContext(ctx context.Context) AclTokenTemplatedPolicyTemplateVariablesPtrOutput

type AclTokenTemplatedPolicyTemplateVariablesPtrInput

type AclTokenTemplatedPolicyTemplateVariablesPtrInput interface {
	pulumi.Input

	ToAclTokenTemplatedPolicyTemplateVariablesPtrOutput() AclTokenTemplatedPolicyTemplateVariablesPtrOutput
	ToAclTokenTemplatedPolicyTemplateVariablesPtrOutputWithContext(context.Context) AclTokenTemplatedPolicyTemplateVariablesPtrOutput
}

AclTokenTemplatedPolicyTemplateVariablesPtrInput is an input type that accepts AclTokenTemplatedPolicyTemplateVariablesArgs, AclTokenTemplatedPolicyTemplateVariablesPtr and AclTokenTemplatedPolicyTemplateVariablesPtrOutput values. You can construct a concrete instance of `AclTokenTemplatedPolicyTemplateVariablesPtrInput` via:

        AclTokenTemplatedPolicyTemplateVariablesArgs{...}

or:

        nil

type AclTokenTemplatedPolicyTemplateVariablesPtrOutput

type AclTokenTemplatedPolicyTemplateVariablesPtrOutput struct{ *pulumi.OutputState }

func (AclTokenTemplatedPolicyTemplateVariablesPtrOutput) Elem

func (AclTokenTemplatedPolicyTemplateVariablesPtrOutput) ElementType

func (AclTokenTemplatedPolicyTemplateVariablesPtrOutput) Name

The name of node, workload identity or service.

func (AclTokenTemplatedPolicyTemplateVariablesPtrOutput) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutput

func (o AclTokenTemplatedPolicyTemplateVariablesPtrOutput) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutput() AclTokenTemplatedPolicyTemplateVariablesPtrOutput

func (AclTokenTemplatedPolicyTemplateVariablesPtrOutput) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutputWithContext

func (o AclTokenTemplatedPolicyTemplateVariablesPtrOutput) ToAclTokenTemplatedPolicyTemplateVariablesPtrOutputWithContext(ctx context.Context) AclTokenTemplatedPolicyTemplateVariablesPtrOutput

type AdminPartition

type AdminPartition struct {
	pulumi.CustomResourceState

	// Free form partition description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The partition name. This must be a valid DNS hostname label.
	Name pulumi.StringOutput `pulumi:"name"`
}

> **NOTE:** This feature requires Consul Enterprise.

The `AdminPartition` resource manages [Consul Enterprise Admin Partitions](https://www.consul.io/docs/enterprise/admin-partitions).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewAdminPartition(ctx, "na_west", &consul.AdminPartitionArgs{
			Name:        pulumi.String("na-west"),
			Description: pulumi.String("Partition for North America West"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`consul_admin_partition` can be imported:

```sh $ pulumi import consul:index/adminPartition:AdminPartition na_west na-west ```

func GetAdminPartition

func GetAdminPartition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AdminPartitionState, opts ...pulumi.ResourceOption) (*AdminPartition, error)

GetAdminPartition gets an existing AdminPartition 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 NewAdminPartition

func NewAdminPartition(ctx *pulumi.Context,
	name string, args *AdminPartitionArgs, opts ...pulumi.ResourceOption) (*AdminPartition, error)

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

func (*AdminPartition) ElementType

func (*AdminPartition) ElementType() reflect.Type

func (*AdminPartition) ToAdminPartitionOutput

func (i *AdminPartition) ToAdminPartitionOutput() AdminPartitionOutput

func (*AdminPartition) ToAdminPartitionOutputWithContext

func (i *AdminPartition) ToAdminPartitionOutputWithContext(ctx context.Context) AdminPartitionOutput

type AdminPartitionArgs

type AdminPartitionArgs struct {
	// Free form partition description.
	Description pulumi.StringPtrInput
	// The partition name. This must be a valid DNS hostname label.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a AdminPartition resource.

func (AdminPartitionArgs) ElementType

func (AdminPartitionArgs) ElementType() reflect.Type

type AdminPartitionArray

type AdminPartitionArray []AdminPartitionInput

func (AdminPartitionArray) ElementType

func (AdminPartitionArray) ElementType() reflect.Type

func (AdminPartitionArray) ToAdminPartitionArrayOutput

func (i AdminPartitionArray) ToAdminPartitionArrayOutput() AdminPartitionArrayOutput

func (AdminPartitionArray) ToAdminPartitionArrayOutputWithContext

func (i AdminPartitionArray) ToAdminPartitionArrayOutputWithContext(ctx context.Context) AdminPartitionArrayOutput

type AdminPartitionArrayInput

type AdminPartitionArrayInput interface {
	pulumi.Input

	ToAdminPartitionArrayOutput() AdminPartitionArrayOutput
	ToAdminPartitionArrayOutputWithContext(context.Context) AdminPartitionArrayOutput
}

AdminPartitionArrayInput is an input type that accepts AdminPartitionArray and AdminPartitionArrayOutput values. You can construct a concrete instance of `AdminPartitionArrayInput` via:

AdminPartitionArray{ AdminPartitionArgs{...} }

type AdminPartitionArrayOutput

type AdminPartitionArrayOutput struct{ *pulumi.OutputState }

func (AdminPartitionArrayOutput) ElementType

func (AdminPartitionArrayOutput) ElementType() reflect.Type

func (AdminPartitionArrayOutput) Index

func (AdminPartitionArrayOutput) ToAdminPartitionArrayOutput

func (o AdminPartitionArrayOutput) ToAdminPartitionArrayOutput() AdminPartitionArrayOutput

func (AdminPartitionArrayOutput) ToAdminPartitionArrayOutputWithContext

func (o AdminPartitionArrayOutput) ToAdminPartitionArrayOutputWithContext(ctx context.Context) AdminPartitionArrayOutput

type AdminPartitionInput

type AdminPartitionInput interface {
	pulumi.Input

	ToAdminPartitionOutput() AdminPartitionOutput
	ToAdminPartitionOutputWithContext(ctx context.Context) AdminPartitionOutput
}

type AdminPartitionMap

type AdminPartitionMap map[string]AdminPartitionInput

func (AdminPartitionMap) ElementType

func (AdminPartitionMap) ElementType() reflect.Type

func (AdminPartitionMap) ToAdminPartitionMapOutput

func (i AdminPartitionMap) ToAdminPartitionMapOutput() AdminPartitionMapOutput

func (AdminPartitionMap) ToAdminPartitionMapOutputWithContext

func (i AdminPartitionMap) ToAdminPartitionMapOutputWithContext(ctx context.Context) AdminPartitionMapOutput

type AdminPartitionMapInput

type AdminPartitionMapInput interface {
	pulumi.Input

	ToAdminPartitionMapOutput() AdminPartitionMapOutput
	ToAdminPartitionMapOutputWithContext(context.Context) AdminPartitionMapOutput
}

AdminPartitionMapInput is an input type that accepts AdminPartitionMap and AdminPartitionMapOutput values. You can construct a concrete instance of `AdminPartitionMapInput` via:

AdminPartitionMap{ "key": AdminPartitionArgs{...} }

type AdminPartitionMapOutput

type AdminPartitionMapOutput struct{ *pulumi.OutputState }

func (AdminPartitionMapOutput) ElementType

func (AdminPartitionMapOutput) ElementType() reflect.Type

func (AdminPartitionMapOutput) MapIndex

func (AdminPartitionMapOutput) ToAdminPartitionMapOutput

func (o AdminPartitionMapOutput) ToAdminPartitionMapOutput() AdminPartitionMapOutput

func (AdminPartitionMapOutput) ToAdminPartitionMapOutputWithContext

func (o AdminPartitionMapOutput) ToAdminPartitionMapOutputWithContext(ctx context.Context) AdminPartitionMapOutput

type AdminPartitionOutput

type AdminPartitionOutput struct{ *pulumi.OutputState }

func (AdminPartitionOutput) Description

Free form partition description.

func (AdminPartitionOutput) ElementType

func (AdminPartitionOutput) ElementType() reflect.Type

func (AdminPartitionOutput) Name

The partition name. This must be a valid DNS hostname label.

func (AdminPartitionOutput) ToAdminPartitionOutput

func (o AdminPartitionOutput) ToAdminPartitionOutput() AdminPartitionOutput

func (AdminPartitionOutput) ToAdminPartitionOutputWithContext

func (o AdminPartitionOutput) ToAdminPartitionOutputWithContext(ctx context.Context) AdminPartitionOutput

type AdminPartitionState

type AdminPartitionState struct {
	// Free form partition description.
	Description pulumi.StringPtrInput
	// The partition name. This must be a valid DNS hostname label.
	Name pulumi.StringPtrInput
}

func (AdminPartitionState) ElementType

func (AdminPartitionState) 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewAgentService(ctx, "app", &consul.AgentServiceArgs{
			Address: pulumi.String("www.google.com"),
			Name:    pulumi.String("google"),
			Port:    pulumi.Int(80),
			Tags: pulumi.StringArray{
				pulumi.String("tag0"),
				pulumi.String("tag1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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.

func (*AgentService) ElementType

func (*AgentService) ElementType() reflect.Type

func (*AgentService) ToAgentServiceOutput

func (i *AgentService) ToAgentServiceOutput() AgentServiceOutput

func (*AgentService) ToAgentServiceOutputWithContext

func (i *AgentService) ToAgentServiceOutputWithContext(ctx context.Context) AgentServiceOutput

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

func (AgentServiceArgs) ElementType() reflect.Type

type AgentServiceArray

type AgentServiceArray []AgentServiceInput

func (AgentServiceArray) ElementType

func (AgentServiceArray) ElementType() reflect.Type

func (AgentServiceArray) ToAgentServiceArrayOutput

func (i AgentServiceArray) ToAgentServiceArrayOutput() AgentServiceArrayOutput

func (AgentServiceArray) ToAgentServiceArrayOutputWithContext

func (i AgentServiceArray) ToAgentServiceArrayOutputWithContext(ctx context.Context) AgentServiceArrayOutput

type AgentServiceArrayInput

type AgentServiceArrayInput interface {
	pulumi.Input

	ToAgentServiceArrayOutput() AgentServiceArrayOutput
	ToAgentServiceArrayOutputWithContext(context.Context) AgentServiceArrayOutput
}

AgentServiceArrayInput is an input type that accepts AgentServiceArray and AgentServiceArrayOutput values. You can construct a concrete instance of `AgentServiceArrayInput` via:

AgentServiceArray{ AgentServiceArgs{...} }

type AgentServiceArrayOutput

type AgentServiceArrayOutput struct{ *pulumi.OutputState }

func (AgentServiceArrayOutput) ElementType

func (AgentServiceArrayOutput) ElementType() reflect.Type

func (AgentServiceArrayOutput) Index

func (AgentServiceArrayOutput) ToAgentServiceArrayOutput

func (o AgentServiceArrayOutput) ToAgentServiceArrayOutput() AgentServiceArrayOutput

func (AgentServiceArrayOutput) ToAgentServiceArrayOutputWithContext

func (o AgentServiceArrayOutput) ToAgentServiceArrayOutputWithContext(ctx context.Context) AgentServiceArrayOutput

type AgentServiceInput

type AgentServiceInput interface {
	pulumi.Input

	ToAgentServiceOutput() AgentServiceOutput
	ToAgentServiceOutputWithContext(ctx context.Context) AgentServiceOutput
}

type AgentServiceMap

type AgentServiceMap map[string]AgentServiceInput

func (AgentServiceMap) ElementType

func (AgentServiceMap) ElementType() reflect.Type

func (AgentServiceMap) ToAgentServiceMapOutput

func (i AgentServiceMap) ToAgentServiceMapOutput() AgentServiceMapOutput

func (AgentServiceMap) ToAgentServiceMapOutputWithContext

func (i AgentServiceMap) ToAgentServiceMapOutputWithContext(ctx context.Context) AgentServiceMapOutput

type AgentServiceMapInput

type AgentServiceMapInput interface {
	pulumi.Input

	ToAgentServiceMapOutput() AgentServiceMapOutput
	ToAgentServiceMapOutputWithContext(context.Context) AgentServiceMapOutput
}

AgentServiceMapInput is an input type that accepts AgentServiceMap and AgentServiceMapOutput values. You can construct a concrete instance of `AgentServiceMapInput` via:

AgentServiceMap{ "key": AgentServiceArgs{...} }

type AgentServiceMapOutput

type AgentServiceMapOutput struct{ *pulumi.OutputState }

func (AgentServiceMapOutput) ElementType

func (AgentServiceMapOutput) ElementType() reflect.Type

func (AgentServiceMapOutput) MapIndex

func (AgentServiceMapOutput) ToAgentServiceMapOutput

func (o AgentServiceMapOutput) ToAgentServiceMapOutput() AgentServiceMapOutput

func (AgentServiceMapOutput) ToAgentServiceMapOutputWithContext

func (o AgentServiceMapOutput) ToAgentServiceMapOutputWithContext(ctx context.Context) AgentServiceMapOutput

type AgentServiceOutput

type AgentServiceOutput struct{ *pulumi.OutputState }

func (AgentServiceOutput) Address

The address of the service. Defaults to the address of the agent.

func (AgentServiceOutput) ElementType

func (AgentServiceOutput) ElementType() reflect.Type

func (AgentServiceOutput) Name

The name of the service.

func (AgentServiceOutput) Port

The port of the service.

func (AgentServiceOutput) Tags

A list of values that are opaque to Consul, but can be used to distinguish between services or nodes.

func (AgentServiceOutput) ToAgentServiceOutput

func (o AgentServiceOutput) ToAgentServiceOutput() AgentServiceOutput

func (AgentServiceOutput) ToAgentServiceOutputWithContext

func (o AgentServiceOutput) ToAgentServiceOutputWithContext(ctx context.Context) AgentServiceOutput

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

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewAutopilotConfig(ctx, "config", &consul.AutopilotConfigArgs{
			CleanupDeadServers:   pulumi.Bool(false),
			LastContactThreshold: pulumi.String("1s"),
			MaxTrailingLogs:      pulumi.Int(500),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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.

func (*AutopilotConfig) ElementType

func (*AutopilotConfig) ElementType() reflect.Type

func (*AutopilotConfig) ToAutopilotConfigOutput

func (i *AutopilotConfig) ToAutopilotConfigOutput() AutopilotConfigOutput

func (*AutopilotConfig) ToAutopilotConfigOutputWithContext

func (i *AutopilotConfig) ToAutopilotConfigOutputWithContext(ctx context.Context) AutopilotConfigOutput

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

func (AutopilotConfigArgs) ElementType() reflect.Type

type AutopilotConfigArray

type AutopilotConfigArray []AutopilotConfigInput

func (AutopilotConfigArray) ElementType

func (AutopilotConfigArray) ElementType() reflect.Type

func (AutopilotConfigArray) ToAutopilotConfigArrayOutput

func (i AutopilotConfigArray) ToAutopilotConfigArrayOutput() AutopilotConfigArrayOutput

func (AutopilotConfigArray) ToAutopilotConfigArrayOutputWithContext

func (i AutopilotConfigArray) ToAutopilotConfigArrayOutputWithContext(ctx context.Context) AutopilotConfigArrayOutput

type AutopilotConfigArrayInput

type AutopilotConfigArrayInput interface {
	pulumi.Input

	ToAutopilotConfigArrayOutput() AutopilotConfigArrayOutput
	ToAutopilotConfigArrayOutputWithContext(context.Context) AutopilotConfigArrayOutput
}

AutopilotConfigArrayInput is an input type that accepts AutopilotConfigArray and AutopilotConfigArrayOutput values. You can construct a concrete instance of `AutopilotConfigArrayInput` via:

AutopilotConfigArray{ AutopilotConfigArgs{...} }

type AutopilotConfigArrayOutput

type AutopilotConfigArrayOutput struct{ *pulumi.OutputState }

func (AutopilotConfigArrayOutput) ElementType

func (AutopilotConfigArrayOutput) ElementType() reflect.Type

func (AutopilotConfigArrayOutput) Index

func (AutopilotConfigArrayOutput) ToAutopilotConfigArrayOutput

func (o AutopilotConfigArrayOutput) ToAutopilotConfigArrayOutput() AutopilotConfigArrayOutput

func (AutopilotConfigArrayOutput) ToAutopilotConfigArrayOutputWithContext

func (o AutopilotConfigArrayOutput) ToAutopilotConfigArrayOutputWithContext(ctx context.Context) AutopilotConfigArrayOutput

type AutopilotConfigInput

type AutopilotConfigInput interface {
	pulumi.Input

	ToAutopilotConfigOutput() AutopilotConfigOutput
	ToAutopilotConfigOutputWithContext(ctx context.Context) AutopilotConfigOutput
}

type AutopilotConfigMap

type AutopilotConfigMap map[string]AutopilotConfigInput

func (AutopilotConfigMap) ElementType

func (AutopilotConfigMap) ElementType() reflect.Type

func (AutopilotConfigMap) ToAutopilotConfigMapOutput

func (i AutopilotConfigMap) ToAutopilotConfigMapOutput() AutopilotConfigMapOutput

func (AutopilotConfigMap) ToAutopilotConfigMapOutputWithContext

func (i AutopilotConfigMap) ToAutopilotConfigMapOutputWithContext(ctx context.Context) AutopilotConfigMapOutput

type AutopilotConfigMapInput

type AutopilotConfigMapInput interface {
	pulumi.Input

	ToAutopilotConfigMapOutput() AutopilotConfigMapOutput
	ToAutopilotConfigMapOutputWithContext(context.Context) AutopilotConfigMapOutput
}

AutopilotConfigMapInput is an input type that accepts AutopilotConfigMap and AutopilotConfigMapOutput values. You can construct a concrete instance of `AutopilotConfigMapInput` via:

AutopilotConfigMap{ "key": AutopilotConfigArgs{...} }

type AutopilotConfigMapOutput

type AutopilotConfigMapOutput struct{ *pulumi.OutputState }

func (AutopilotConfigMapOutput) ElementType

func (AutopilotConfigMapOutput) ElementType() reflect.Type

func (AutopilotConfigMapOutput) MapIndex

func (AutopilotConfigMapOutput) ToAutopilotConfigMapOutput

func (o AutopilotConfigMapOutput) ToAutopilotConfigMapOutput() AutopilotConfigMapOutput

func (AutopilotConfigMapOutput) ToAutopilotConfigMapOutputWithContext

func (o AutopilotConfigMapOutput) ToAutopilotConfigMapOutputWithContext(ctx context.Context) AutopilotConfigMapOutput

type AutopilotConfigOutput

type AutopilotConfigOutput struct{ *pulumi.OutputState }

func (AutopilotConfigOutput) CleanupDeadServers

func (o AutopilotConfigOutput) CleanupDeadServers() pulumi.BoolPtrOutput

Whether to remove failing servers when a replacement comes online. Defaults to true.

func (AutopilotConfigOutput) Datacenter

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (AutopilotConfigOutput) DisableUpgradeMigration

func (o AutopilotConfigOutput) DisableUpgradeMigration() pulumi.BoolPtrOutput

Whether to disable [upgrade migrations](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones). Defaults to false.

func (AutopilotConfigOutput) ElementType

func (AutopilotConfigOutput) ElementType() reflect.Type

func (AutopilotConfigOutput) LastContactThreshold

func (o AutopilotConfigOutput) LastContactThreshold() pulumi.StringPtrOutput

The time after which a server is considered as unhealthy and will be removed. Defaults to `"200ms"`.

func (AutopilotConfigOutput) MaxTrailingLogs

func (o AutopilotConfigOutput) MaxTrailingLogs() pulumi.IntPtrOutput

The maximum number of Raft log entries a server can trail the leader. Defaults to 250.

func (AutopilotConfigOutput) RedundancyZoneTag

func (o AutopilotConfigOutput) RedundancyZoneTag() pulumi.StringPtrOutput

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.

func (AutopilotConfigOutput) ServerStabilizationTime

func (o AutopilotConfigOutput) ServerStabilizationTime() pulumi.StringPtrOutput

The period to wait for a server to be healthy and stable before being promoted to a full, voting member. Defaults to `"10s"`.

func (AutopilotConfigOutput) ToAutopilotConfigOutput

func (o AutopilotConfigOutput) ToAutopilotConfigOutput() AutopilotConfigOutput

func (AutopilotConfigOutput) ToAutopilotConfigOutputWithContext

func (o AutopilotConfigOutput) ToAutopilotConfigOutputWithContext(ctx context.Context) AutopilotConfigOutput

func (AutopilotConfigOutput) UpgradeVersionTag

func (o AutopilotConfigOutput) UpgradeVersionTag() pulumi.StringPtrOutput

The tag to override the version information used during a migration. Defaults to an empty string.

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

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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	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.

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.

func (*CatalogEntry) ElementType

func (*CatalogEntry) ElementType() reflect.Type

func (*CatalogEntry) ToCatalogEntryOutput

func (i *CatalogEntry) ToCatalogEntryOutput() CatalogEntryOutput

func (*CatalogEntry) ToCatalogEntryOutputWithContext

func (i *CatalogEntry) ToCatalogEntryOutputWithContext(ctx context.Context) CatalogEntryOutput

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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a CatalogEntry resource.

func (CatalogEntryArgs) ElementType

func (CatalogEntryArgs) ElementType() reflect.Type

type CatalogEntryArray

type CatalogEntryArray []CatalogEntryInput

func (CatalogEntryArray) ElementType

func (CatalogEntryArray) ElementType() reflect.Type

func (CatalogEntryArray) ToCatalogEntryArrayOutput

func (i CatalogEntryArray) ToCatalogEntryArrayOutput() CatalogEntryArrayOutput

func (CatalogEntryArray) ToCatalogEntryArrayOutputWithContext

func (i CatalogEntryArray) ToCatalogEntryArrayOutputWithContext(ctx context.Context) CatalogEntryArrayOutput

type CatalogEntryArrayInput

type CatalogEntryArrayInput interface {
	pulumi.Input

	ToCatalogEntryArrayOutput() CatalogEntryArrayOutput
	ToCatalogEntryArrayOutputWithContext(context.Context) CatalogEntryArrayOutput
}

CatalogEntryArrayInput is an input type that accepts CatalogEntryArray and CatalogEntryArrayOutput values. You can construct a concrete instance of `CatalogEntryArrayInput` via:

CatalogEntryArray{ CatalogEntryArgs{...} }

type CatalogEntryArrayOutput

type CatalogEntryArrayOutput struct{ *pulumi.OutputState }

func (CatalogEntryArrayOutput) ElementType

func (CatalogEntryArrayOutput) ElementType() reflect.Type

func (CatalogEntryArrayOutput) Index

func (CatalogEntryArrayOutput) ToCatalogEntryArrayOutput

func (o CatalogEntryArrayOutput) ToCatalogEntryArrayOutput() CatalogEntryArrayOutput

func (CatalogEntryArrayOutput) ToCatalogEntryArrayOutputWithContext

func (o CatalogEntryArrayOutput) ToCatalogEntryArrayOutputWithContext(ctx context.Context) CatalogEntryArrayOutput

type CatalogEntryInput

type CatalogEntryInput interface {
	pulumi.Input

	ToCatalogEntryOutput() CatalogEntryOutput
	ToCatalogEntryOutputWithContext(ctx context.Context) CatalogEntryOutput
}

type CatalogEntryMap

type CatalogEntryMap map[string]CatalogEntryInput

func (CatalogEntryMap) ElementType

func (CatalogEntryMap) ElementType() reflect.Type

func (CatalogEntryMap) ToCatalogEntryMapOutput

func (i CatalogEntryMap) ToCatalogEntryMapOutput() CatalogEntryMapOutput

func (CatalogEntryMap) ToCatalogEntryMapOutputWithContext

func (i CatalogEntryMap) ToCatalogEntryMapOutputWithContext(ctx context.Context) CatalogEntryMapOutput

type CatalogEntryMapInput

type CatalogEntryMapInput interface {
	pulumi.Input

	ToCatalogEntryMapOutput() CatalogEntryMapOutput
	ToCatalogEntryMapOutputWithContext(context.Context) CatalogEntryMapOutput
}

CatalogEntryMapInput is an input type that accepts CatalogEntryMap and CatalogEntryMapOutput values. You can construct a concrete instance of `CatalogEntryMapInput` via:

CatalogEntryMap{ "key": CatalogEntryArgs{...} }

type CatalogEntryMapOutput

type CatalogEntryMapOutput struct{ *pulumi.OutputState }

func (CatalogEntryMapOutput) ElementType

func (CatalogEntryMapOutput) ElementType() reflect.Type

func (CatalogEntryMapOutput) MapIndex

func (CatalogEntryMapOutput) ToCatalogEntryMapOutput

func (o CatalogEntryMapOutput) ToCatalogEntryMapOutput() CatalogEntryMapOutput

func (CatalogEntryMapOutput) ToCatalogEntryMapOutputWithContext

func (o CatalogEntryMapOutput) ToCatalogEntryMapOutputWithContext(ctx context.Context) CatalogEntryMapOutput

type CatalogEntryOutput

type CatalogEntryOutput struct{ *pulumi.OutputState }

func (CatalogEntryOutput) Address

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

func (CatalogEntryOutput) Datacenter

func (o CatalogEntryOutput) Datacenter() pulumi.StringOutput

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (CatalogEntryOutput) ElementType

func (CatalogEntryOutput) ElementType() reflect.Type

func (CatalogEntryOutput) Node

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

func (CatalogEntryOutput) Services

A service to optionally associated with the node. Supported values are documented below.

func (CatalogEntryOutput) ToCatalogEntryOutput

func (o CatalogEntryOutput) ToCatalogEntryOutput() CatalogEntryOutput

func (CatalogEntryOutput) ToCatalogEntryOutputWithContext

func (o CatalogEntryOutput) ToCatalogEntryOutputWithContext(ctx context.Context) CatalogEntryOutput

func (CatalogEntryOutput) Token deprecated

ACL token.

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

type CatalogEntryService

type CatalogEntryService struct {
	// The address of the service. Defaults to the
	// node address.
	Address *string `pulumi:"address"`
	// The ID of the service. Defaults to the `name`.
	Id *string `pulumi:"id"`
	// The name of the service
	Name string `pulumi:"name"`
	// The port of the service.
	Port *int `pulumi:"port"`
	// A list of values that are opaque to Consul,
	// but can be used to distinguish between services or nodes.
	Tags []string `pulumi:"tags"`
}

type CatalogEntryServiceArgs

type CatalogEntryServiceArgs struct {
	// The address of the service. Defaults to the
	// node address.
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The ID of the service. Defaults to the `name`.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the service
	Name pulumi.StringInput `pulumi:"name"`
	// The port of the service.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// A list of values that are opaque to Consul,
	// but can be used to distinguish between services or nodes.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (CatalogEntryServiceArgs) ElementType

func (CatalogEntryServiceArgs) ElementType() reflect.Type

func (CatalogEntryServiceArgs) ToCatalogEntryServiceOutput

func (i CatalogEntryServiceArgs) ToCatalogEntryServiceOutput() CatalogEntryServiceOutput

func (CatalogEntryServiceArgs) ToCatalogEntryServiceOutputWithContext

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

type CatalogEntryServiceArray

type CatalogEntryServiceArray []CatalogEntryServiceInput

func (CatalogEntryServiceArray) ElementType

func (CatalogEntryServiceArray) ElementType() reflect.Type

func (CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutput

func (i CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutput() CatalogEntryServiceArrayOutput

func (CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutputWithContext

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

type CatalogEntryServiceArrayInput

type CatalogEntryServiceArrayInput interface {
	pulumi.Input

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

CatalogEntryServiceArrayInput is an input type that accepts CatalogEntryServiceArray and CatalogEntryServiceArrayOutput values. You can construct a concrete instance of `CatalogEntryServiceArrayInput` via:

CatalogEntryServiceArray{ CatalogEntryServiceArgs{...} }

type CatalogEntryServiceArrayOutput

type CatalogEntryServiceArrayOutput struct{ *pulumi.OutputState }

func (CatalogEntryServiceArrayOutput) ElementType

func (CatalogEntryServiceArrayOutput) Index

func (CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutput

func (o CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutput() CatalogEntryServiceArrayOutput

func (CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutputWithContext

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

type CatalogEntryServiceInput

type CatalogEntryServiceInput interface {
	pulumi.Input

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

CatalogEntryServiceInput is an input type that accepts CatalogEntryServiceArgs and CatalogEntryServiceOutput values. You can construct a concrete instance of `CatalogEntryServiceInput` via:

CatalogEntryServiceArgs{...}

type CatalogEntryServiceOutput

type CatalogEntryServiceOutput struct{ *pulumi.OutputState }

func (CatalogEntryServiceOutput) Address

The address of the service. Defaults to the node address.

func (CatalogEntryServiceOutput) ElementType

func (CatalogEntryServiceOutput) ElementType() reflect.Type

func (CatalogEntryServiceOutput) Id

The ID of the service. Defaults to the `name`.

func (CatalogEntryServiceOutput) Name

The name of the service

func (CatalogEntryServiceOutput) Port

The port of the service.

func (CatalogEntryServiceOutput) Tags

A list of values that are opaque to Consul, but can be used to distinguish between services or nodes.

func (CatalogEntryServiceOutput) ToCatalogEntryServiceOutput

func (o CatalogEntryServiceOutput) ToCatalogEntryServiceOutput() CatalogEntryServiceOutput

func (CatalogEntryServiceOutput) ToCatalogEntryServiceOutputWithContext

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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
}

func (CatalogEntryState) ElementType

func (CatalogEntryState) ElementType() reflect.Type

type CertificateAuthority

type CertificateAuthority struct {
	pulumi.CustomResourceState

	// Deprecated: The config attribute is deprecated, please use configJson instead.
	Config     pulumi.StringMapOutput `pulumi:"config"`
	ConfigJson pulumi.StringPtrOutput `pulumi:"configJson"`
	// Specifies the CA provider type to use.
	ConnectProvider pulumi.StringOutput `pulumi:"connectProvider"`
}

The `CertificateAuthority` resource can be used to manage the configuration of the Certificate Authority used by [Consul Connect](https://www.consul.io/docs/connect/ca).

> **Note:** The keys in the `config` argument must be using Camel case.

## Import

```sh $ pulumi import consul:index/certificateAuthority:CertificateAuthority connect connect-ca ```

func GetCertificateAuthority

func GetCertificateAuthority(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateAuthorityState, opts ...pulumi.ResourceOption) (*CertificateAuthority, error)

GetCertificateAuthority gets an existing CertificateAuthority 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 NewCertificateAuthority

func NewCertificateAuthority(ctx *pulumi.Context,
	name string, args *CertificateAuthorityArgs, opts ...pulumi.ResourceOption) (*CertificateAuthority, error)

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

func (*CertificateAuthority) ElementType

func (*CertificateAuthority) ElementType() reflect.Type

func (*CertificateAuthority) ToCertificateAuthorityOutput

func (i *CertificateAuthority) ToCertificateAuthorityOutput() CertificateAuthorityOutput

func (*CertificateAuthority) ToCertificateAuthorityOutputWithContext

func (i *CertificateAuthority) ToCertificateAuthorityOutputWithContext(ctx context.Context) CertificateAuthorityOutput

type CertificateAuthorityArgs

type CertificateAuthorityArgs struct {
	// Deprecated: The config attribute is deprecated, please use configJson instead.
	Config     pulumi.StringMapInput
	ConfigJson pulumi.StringPtrInput
	// Specifies the CA provider type to use.
	ConnectProvider pulumi.StringInput
}

The set of arguments for constructing a CertificateAuthority resource.

func (CertificateAuthorityArgs) ElementType

func (CertificateAuthorityArgs) ElementType() reflect.Type

type CertificateAuthorityArray

type CertificateAuthorityArray []CertificateAuthorityInput

func (CertificateAuthorityArray) ElementType

func (CertificateAuthorityArray) ElementType() reflect.Type

func (CertificateAuthorityArray) ToCertificateAuthorityArrayOutput

func (i CertificateAuthorityArray) ToCertificateAuthorityArrayOutput() CertificateAuthorityArrayOutput

func (CertificateAuthorityArray) ToCertificateAuthorityArrayOutputWithContext

func (i CertificateAuthorityArray) ToCertificateAuthorityArrayOutputWithContext(ctx context.Context) CertificateAuthorityArrayOutput

type CertificateAuthorityArrayInput

type CertificateAuthorityArrayInput interface {
	pulumi.Input

	ToCertificateAuthorityArrayOutput() CertificateAuthorityArrayOutput
	ToCertificateAuthorityArrayOutputWithContext(context.Context) CertificateAuthorityArrayOutput
}

CertificateAuthorityArrayInput is an input type that accepts CertificateAuthorityArray and CertificateAuthorityArrayOutput values. You can construct a concrete instance of `CertificateAuthorityArrayInput` via:

CertificateAuthorityArray{ CertificateAuthorityArgs{...} }

type CertificateAuthorityArrayOutput

type CertificateAuthorityArrayOutput struct{ *pulumi.OutputState }

func (CertificateAuthorityArrayOutput) ElementType

func (CertificateAuthorityArrayOutput) Index

func (CertificateAuthorityArrayOutput) ToCertificateAuthorityArrayOutput

func (o CertificateAuthorityArrayOutput) ToCertificateAuthorityArrayOutput() CertificateAuthorityArrayOutput

func (CertificateAuthorityArrayOutput) ToCertificateAuthorityArrayOutputWithContext

func (o CertificateAuthorityArrayOutput) ToCertificateAuthorityArrayOutputWithContext(ctx context.Context) CertificateAuthorityArrayOutput

type CertificateAuthorityInput

type CertificateAuthorityInput interface {
	pulumi.Input

	ToCertificateAuthorityOutput() CertificateAuthorityOutput
	ToCertificateAuthorityOutputWithContext(ctx context.Context) CertificateAuthorityOutput
}

type CertificateAuthorityMap

type CertificateAuthorityMap map[string]CertificateAuthorityInput

func (CertificateAuthorityMap) ElementType

func (CertificateAuthorityMap) ElementType() reflect.Type

func (CertificateAuthorityMap) ToCertificateAuthorityMapOutput

func (i CertificateAuthorityMap) ToCertificateAuthorityMapOutput() CertificateAuthorityMapOutput

func (CertificateAuthorityMap) ToCertificateAuthorityMapOutputWithContext

func (i CertificateAuthorityMap) ToCertificateAuthorityMapOutputWithContext(ctx context.Context) CertificateAuthorityMapOutput

type CertificateAuthorityMapInput

type CertificateAuthorityMapInput interface {
	pulumi.Input

	ToCertificateAuthorityMapOutput() CertificateAuthorityMapOutput
	ToCertificateAuthorityMapOutputWithContext(context.Context) CertificateAuthorityMapOutput
}

CertificateAuthorityMapInput is an input type that accepts CertificateAuthorityMap and CertificateAuthorityMapOutput values. You can construct a concrete instance of `CertificateAuthorityMapInput` via:

CertificateAuthorityMap{ "key": CertificateAuthorityArgs{...} }

type CertificateAuthorityMapOutput

type CertificateAuthorityMapOutput struct{ *pulumi.OutputState }

func (CertificateAuthorityMapOutput) ElementType

func (CertificateAuthorityMapOutput) MapIndex

func (CertificateAuthorityMapOutput) ToCertificateAuthorityMapOutput

func (o CertificateAuthorityMapOutput) ToCertificateAuthorityMapOutput() CertificateAuthorityMapOutput

func (CertificateAuthorityMapOutput) ToCertificateAuthorityMapOutputWithContext

func (o CertificateAuthorityMapOutput) ToCertificateAuthorityMapOutputWithContext(ctx context.Context) CertificateAuthorityMapOutput

type CertificateAuthorityOutput

type CertificateAuthorityOutput struct{ *pulumi.OutputState }

func (CertificateAuthorityOutput) Config deprecated

Deprecated: The config attribute is deprecated, please use configJson instead.

func (CertificateAuthorityOutput) ConfigJson

func (CertificateAuthorityOutput) ConnectProvider

func (o CertificateAuthorityOutput) ConnectProvider() pulumi.StringOutput

Specifies the CA provider type to use.

func (CertificateAuthorityOutput) ElementType

func (CertificateAuthorityOutput) ElementType() reflect.Type

func (CertificateAuthorityOutput) ToCertificateAuthorityOutput

func (o CertificateAuthorityOutput) ToCertificateAuthorityOutput() CertificateAuthorityOutput

func (CertificateAuthorityOutput) ToCertificateAuthorityOutputWithContext

func (o CertificateAuthorityOutput) ToCertificateAuthorityOutputWithContext(ctx context.Context) CertificateAuthorityOutput

type CertificateAuthorityState

type CertificateAuthorityState struct {
	// Deprecated: The config attribute is deprecated, please use configJson instead.
	Config     pulumi.StringMapInput
	ConfigJson pulumi.StringPtrInput
	// Specifies the CA provider type to use.
	ConnectProvider pulumi.StringPtrInput
}

func (CertificateAuthorityState) ElementType

func (CertificateAuthorityState) 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 registered.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace to create the config entry within.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The partition the config entry is associated with.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
}

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Config": map[string]interface{}{
				"local_connect_timeout_ms": 1000,
				"handshake_timeout_ms":     10000,
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = consul.NewConfigEntry(ctx, "proxy_defaults", &consul.ConfigEntryArgs{
			Kind:       pulumi.String("proxy-defaults"),
			Name:       pulumi.String("global"),
			ConfigJson: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"Protocol": "http",
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		web, err := consul.NewConfigEntry(ctx, "web", &consul.ConfigEntryArgs{
			Name:       pulumi.String("web"),
			Kind:       pulumi.String("service-defaults"),
			ConfigJson: pulumi.String(json1),
		})
		if err != nil {
			return err
		}
		tmpJSON2, err := json.Marshal(map[string]interface{}{
			"Protocol": "http",
		})
		if err != nil {
			return err
		}
		json2 := string(tmpJSON2)
		_, err = consul.NewConfigEntry(ctx, "admin", &consul.ConfigEntryArgs{
			Name:       pulumi.String("admin"),
			Kind:       pulumi.String("service-defaults"),
			ConfigJson: pulumi.String(json2),
		})
		if err != nil {
			return err
		}
		tmpJSON3, err := json.Marshal(map[string]interface{}{
			"DefaultSubset": "v1",
			"Subsets": map[string]interface{}{
				"v1": map[string]interface{}{
					"Filter": "Service.Meta.version == v1",
				},
				"v2": map[string]interface{}{
					"Filter": "Service.Meta.version == v2",
				},
			},
		})
		if err != nil {
			return err
		}
		json3 := string(tmpJSON3)
		serviceResolver, err := consul.NewConfigEntry(ctx, "service_resolver", &consul.ConfigEntryArgs{
			Kind:       pulumi.String("service-resolver"),
			Name:       web.Name,
			ConfigJson: pulumi.String(json3),
		})
		if err != nil {
			return err
		}
		tmpJSON4, err := json.Marshal(map[string]interface{}{
			"Splits": []interface{}{
				map[string]interface{}{
					"Weight":        90,
					"ServiceSubset": "v1",
				},
				map[string]interface{}{
					"Weight":        10,
					"ServiceSubset": "v2",
				},
			},
		})
		if err != nil {
			return err
		}
		json4 := string(tmpJSON4)
		_, err = consul.NewConfigEntry(ctx, "service_splitter", &consul.ConfigEntryArgs{
			Kind:       pulumi.String("service-splitter"),
			Name:       serviceResolver.Name,
			ConfigJson: pulumi.String(json4),
		})
		if err != nil {
			return err
		}
		tmpJSON5, err := json.Marshal(map[string]interface{}{
			"Routes": []map[string]interface{}{
				map[string]interface{}{
					"Match": map[string]interface{}{
						"HTTP": map[string]interface{}{
							"PathPrefix": "/admin",
						},
					},
					"Destination": map[string]interface{}{
						"Service": "admin",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json5 := string(tmpJSON5)
		_, err = consul.NewConfigEntry(ctx, "service_router", &consul.ConfigEntryArgs{
			Kind:       pulumi.String("service-router"),
			Name:       pulumi.String("web"),
			ConfigJson: pulumi.String(json5),
		})
		if err != nil {
			return err
		}
		tmpJSON6, err := json.Marshal(map[string]interface{}{
			"TLS": map[string]interface{}{
				"Enabled": true,
			},
			"Listeners": []map[string]interface{}{
				map[string]interface{}{
					"Port":     8000,
					"Protocol": "http",
					"Services": []map[string]interface{}{
						map[string]interface{}{
							"Name": "*",
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json6 := string(tmpJSON6)
		_, err = consul.NewConfigEntry(ctx, "ingress_gateway", &consul.ConfigEntryArgs{
			Name:       pulumi.String("us-east-ingress"),
			Kind:       pulumi.String("ingress-gateway"),
			ConfigJson: pulumi.String(json6),
		})
		if err != nil {
			return err
		}
		tmpJSON7, err := json.Marshal(map[string]interface{}{
			"Services": []map[string]interface{}{
				map[string]interface{}{
					"Name": "billing",
				},
			},
		})
		if err != nil {
			return err
		}
		json7 := string(tmpJSON7)
		_, err = consul.NewConfigEntry(ctx, "terminating_gateway", &consul.ConfigEntryArgs{
			Name:       pulumi.String("us-west-gateway"),
			Kind:       pulumi.String("terminating-gateway"),
			ConfigJson: pulumi.String(json7),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### `service-intentions` config entry

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Sources": []map[string]interface{}{
				map[string]interface{}{
					"Action":     "allow",
					"Name":       "frontend-webapp",
					"Precedence": 9,
					"Type":       "consul",
				},
				map[string]interface{}{
					"Action":     "allow",
					"Name":       "nightly-cronjob",
					"Precedence": 9,
					"Type":       "consul",
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = consul.NewConfigEntry(ctx, "service_intentions", &consul.ConfigEntryArgs{
			Name:       pulumi.String("api-service"),
			Kind:       pulumi.String("service-intentions"),
			ConfigJson: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Protocol": "http",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		sd, err := consul.NewConfigEntry(ctx, "sd", &consul.ConfigEntryArgs{
			Name:       pulumi.String("fort-knox"),
			Kind:       pulumi.String("service-defaults"),
			ConfigJson: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"Issuer": "test-issuer",
			"JSONWebKeySet": map[string]interface{}{
				"Remote": map[string]interface{}{
					"URI":                 "https://127.0.0.1:9091",
					"FetchAsynchronously": true,
				},
			},
			"Forwarding": map[string]interface{}{
				"HeaderName": "test-token",
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		jwtProvider, err := consul.NewConfigEntry(ctx, "jwt_provider", &consul.ConfigEntryArgs{
			Name:       pulumi.String("test-provider"),
			Kind:       pulumi.String("jwt-provider"),
			ConfigJson: pulumi.String(json1),
		})
		if err != nil {
			return err
		}
		_, err = consul.NewConfigEntry(ctx, "service_intentions", &consul.ConfigEntryArgs{
			Name: sd.Name,
			Kind: pulumi.String("service-intentions"),
			ConfigJson: jwtProvider.Name.ApplyT(func(name string) (pulumi.String, error) {
				var _zero pulumi.String
				tmpJSON2, err := json.Marshal(map[string]interface{}{
					"Sources": []interface{}{
						map[string]interface{}{
							"Name": "contractor-webapp",
							"Permissions": []map[string]interface{}{
								map[string]interface{}{
									"Action": "allow",
									"HTTP": map[string]interface{}{
										"Methods": []string{
											"GET",
											"HEAD",
										},
										"PathExact": "/healtz",
									},
									"JWT": map[string]interface{}{
										"Providers": []map[string]interface{}{
											map[string]interface{}{
												"Name": name,
											},
										},
									},
								},
							},
							"Precedence": 9,
							"Type":       "consul",
						},
						map[string]interface{}{
							"Name": "admin-dashboard-webapp",
							"Permissions": []map[string]interface{}{
								map[string]interface{}{
									"Action": "deny",
									"HTTP": map[string]interface{}{
										"PathPrefix": "/debugz",
									},
								},
								map[string]interface{}{
									"Action": "allow",
									"HTTP": map[string]interface{}{
										"PathPrefix": "/",
									},
								},
							},
							"Precedence": 9,
							"Type":       "consul",
						},
					},
				})
				if err != nil {
					return _zero, err
				}
				json2 := string(tmpJSON2)
				return pulumi.String(json2), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### `exported-services` config entry

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Services": []map[string]interface{}{
				map[string]interface{}{
					"Name":      "test",
					"Namespace": "default",
					"Consumers": []map[string]interface{}{
						map[string]interface{}{
							"Partition": "default",
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = consul.NewConfigEntry(ctx, "exported_services", &consul.ConfigEntryArgs{
			Name:       pulumi.String("test"),
			Kind:       pulumi.String("exported-services"),
			ConfigJson: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### `mesh` config entry

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"TransparentProxy": map[string]interface{}{
				"MeshDestinationsOnly": true,
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = consul.NewConfigEntry(ctx, "mesh", &consul.ConfigEntryArgs{
			Name:       pulumi.String("mesh"),
			Kind:       pulumi.String("mesh"),
			Partition:  pulumi.String("default"),
			ConfigJson: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### `jwt-provider` config entry

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Issuer": "https://your.issuer.com",
			"JSONWebKeySet": map[string]interface{}{
				"Remote": map[string]interface{}{
					"URI":                 "https://your-remote.jwks.com",
					"FetchAsynchronously": true,
					"CacheDuration":       "10s",
				},
			},
			"Forwarding": map[string]interface{}{
				"HeaderName": "test-token",
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = consul.NewConfigEntry(ctx, "jwt_provider", &consul.ConfigEntryArgs{
			Name:       pulumi.String("provider-name"),
			Kind:       pulumi.String("jwt-provider"),
			ConfigJson: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`consul_config_entry` can be imported using the syntax `<kind>/<name>` if the config entry is in the default partition and default namespace, or `<partition>/<namespace>/<kind>/<name>` for config entries in a non-default partition or namespace:

```sh $ pulumi import consul:index/configEntry:ConfigEntry service_splitter 816a195f-6cb1-2e8d-92af-3011ae706318 ```

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.

func (*ConfigEntry) ElementType

func (*ConfigEntry) ElementType() reflect.Type

func (*ConfigEntry) ToConfigEntryOutput

func (i *ConfigEntry) ToConfigEntryOutput() ConfigEntryOutput

func (*ConfigEntry) ToConfigEntryOutputWithContext

func (i *ConfigEntry) ToConfigEntryOutputWithContext(ctx context.Context) ConfigEntryOutput

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 registered.
	Name pulumi.StringPtrInput
	// The namespace to create the config entry within.
	Namespace pulumi.StringPtrInput
	// The partition the config entry is associated with.
	Partition pulumi.StringPtrInput
}

The set of arguments for constructing a ConfigEntry resource.

func (ConfigEntryArgs) ElementType

func (ConfigEntryArgs) ElementType() reflect.Type

type ConfigEntryArray

type ConfigEntryArray []ConfigEntryInput

func (ConfigEntryArray) ElementType

func (ConfigEntryArray) ElementType() reflect.Type

func (ConfigEntryArray) ToConfigEntryArrayOutput

func (i ConfigEntryArray) ToConfigEntryArrayOutput() ConfigEntryArrayOutput

func (ConfigEntryArray) ToConfigEntryArrayOutputWithContext

func (i ConfigEntryArray) ToConfigEntryArrayOutputWithContext(ctx context.Context) ConfigEntryArrayOutput

type ConfigEntryArrayInput

type ConfigEntryArrayInput interface {
	pulumi.Input

	ToConfigEntryArrayOutput() ConfigEntryArrayOutput
	ToConfigEntryArrayOutputWithContext(context.Context) ConfigEntryArrayOutput
}

ConfigEntryArrayInput is an input type that accepts ConfigEntryArray and ConfigEntryArrayOutput values. You can construct a concrete instance of `ConfigEntryArrayInput` via:

ConfigEntryArray{ ConfigEntryArgs{...} }

type ConfigEntryArrayOutput

type ConfigEntryArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryArrayOutput) ElementType

func (ConfigEntryArrayOutput) ElementType() reflect.Type

func (ConfigEntryArrayOutput) Index

func (ConfigEntryArrayOutput) ToConfigEntryArrayOutput

func (o ConfigEntryArrayOutput) ToConfigEntryArrayOutput() ConfigEntryArrayOutput

func (ConfigEntryArrayOutput) ToConfigEntryArrayOutputWithContext

func (o ConfigEntryArrayOutput) ToConfigEntryArrayOutputWithContext(ctx context.Context) ConfigEntryArrayOutput

type ConfigEntryInput

type ConfigEntryInput interface {
	pulumi.Input

	ToConfigEntryOutput() ConfigEntryOutput
	ToConfigEntryOutputWithContext(ctx context.Context) ConfigEntryOutput
}

type ConfigEntryMap

type ConfigEntryMap map[string]ConfigEntryInput

func (ConfigEntryMap) ElementType

func (ConfigEntryMap) ElementType() reflect.Type

func (ConfigEntryMap) ToConfigEntryMapOutput

func (i ConfigEntryMap) ToConfigEntryMapOutput() ConfigEntryMapOutput

func (ConfigEntryMap) ToConfigEntryMapOutputWithContext

func (i ConfigEntryMap) ToConfigEntryMapOutputWithContext(ctx context.Context) ConfigEntryMapOutput

type ConfigEntryMapInput

type ConfigEntryMapInput interface {
	pulumi.Input

	ToConfigEntryMapOutput() ConfigEntryMapOutput
	ToConfigEntryMapOutputWithContext(context.Context) ConfigEntryMapOutput
}

ConfigEntryMapInput is an input type that accepts ConfigEntryMap and ConfigEntryMapOutput values. You can construct a concrete instance of `ConfigEntryMapInput` via:

ConfigEntryMap{ "key": ConfigEntryArgs{...} }

type ConfigEntryMapOutput

type ConfigEntryMapOutput struct{ *pulumi.OutputState }

func (ConfigEntryMapOutput) ElementType

func (ConfigEntryMapOutput) ElementType() reflect.Type

func (ConfigEntryMapOutput) MapIndex

func (ConfigEntryMapOutput) ToConfigEntryMapOutput

func (o ConfigEntryMapOutput) ToConfigEntryMapOutput() ConfigEntryMapOutput

func (ConfigEntryMapOutput) ToConfigEntryMapOutputWithContext

func (o ConfigEntryMapOutput) ToConfigEntryMapOutputWithContext(ctx context.Context) ConfigEntryMapOutput

type ConfigEntryOutput

type ConfigEntryOutput struct{ *pulumi.OutputState }

func (ConfigEntryOutput) ConfigJson

func (o ConfigEntryOutput) ConfigJson() pulumi.StringPtrOutput

An arbitrary map of configuration values.

func (ConfigEntryOutput) ElementType

func (ConfigEntryOutput) ElementType() reflect.Type

func (ConfigEntryOutput) Kind

The kind of configuration entry to register.

func (ConfigEntryOutput) Name

The name of the configuration entry being registered.

func (ConfigEntryOutput) Namespace

The namespace to create the config entry within.

func (ConfigEntryOutput) Partition

The partition the config entry is associated with.

func (ConfigEntryOutput) ToConfigEntryOutput

func (o ConfigEntryOutput) ToConfigEntryOutput() ConfigEntryOutput

func (ConfigEntryOutput) ToConfigEntryOutputWithContext

func (o ConfigEntryOutput) ToConfigEntryOutputWithContext(ctx context.Context) ConfigEntryOutput

type ConfigEntryServiceDefaults

type ConfigEntryServiceDefaults struct {
	pulumi.CustomResourceState

	// Specifies the strategy for allocating inbound connections to the service across Envoy proxy threads.
	BalanceInboundConnections pulumi.StringPtrOutput `pulumi:"balanceInboundConnections"`
	// Configures the destination for service traffic through terminating gateways.
	Destinations ConfigEntryServiceDefaultsDestinationArrayOutput `pulumi:"destinations"`
	// List of extensions to modify Envoy proxy configuration.
	EnvoyExtensions ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput `pulumi:"envoyExtensions"`
	// Specifies default configurations for exposing HTTP paths through Envoy.
	Exposes ConfigEntryServiceDefaultsExposeArrayOutput `pulumi:"exposes"`
	// Specifies the TLS server name indication (SNI) when federating with an external system.
	ExternalSni pulumi.StringPtrOutput `pulumi:"externalSni"`
	// Specifies the number of milliseconds allowed for establishing connections to the local application instance before timing out.
	LocalConnectTimeoutMs pulumi.IntPtrOutput `pulumi:"localConnectTimeoutMs"`
	// Specifies the timeout for HTTP requests to the local application instance.
	LocalRequestTimeoutMs pulumi.IntPtrOutput `pulumi:"localRequestTimeoutMs"`
	// Specifies the maximum number of concurrent inbound connections to each service instance.
	MaxInboundConnections pulumi.IntPtrOutput `pulumi:"maxInboundConnections"`
	// Specifies the default mesh gateway mode field for the service.
	MeshGateways ConfigEntryServiceDefaultsMeshGatewayArrayOutput `pulumi:"meshGateways"`
	// Specifies a set of custom key-value pairs to add to the Consul KV store.
	Meta pulumi.StringMapOutput `pulumi:"meta"`
	// Specifies a mode for how the service directs inbound and outbound traffic.
	Mode pulumi.StringPtrOutput `pulumi:"mode"`
	// Controls whether mutual TLS is required for incoming connections to this service. This setting is only supported for services with transparent proxy enabled.
	MutualTlsMode pulumi.StringPtrOutput `pulumi:"mutualTlsMode"`
	// Specifies the name of the service you are setting the defaults for.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the Consul namespace that the configuration entry applies to.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// Specifies the default protocol for the service.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Controls configurations specific to proxies in transparent mode. Refer to Transparent Proxy Mode for additional information.
	TransparentProxies ConfigEntryServiceDefaultsTransparentProxyArrayOutput `pulumi:"transparentProxies"`
	// Controls default upstream connection settings and custom overrides for individual upstream services.
	UpstreamConfigs ConfigEntryServiceDefaultsUpstreamConfigArrayOutput `pulumi:"upstreamConfigs"`
}

## Example Usage

func GetConfigEntryServiceDefaults

func GetConfigEntryServiceDefaults(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigEntryServiceDefaultsState, opts ...pulumi.ResourceOption) (*ConfigEntryServiceDefaults, error)

GetConfigEntryServiceDefaults gets an existing ConfigEntryServiceDefaults 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 NewConfigEntryServiceDefaults

func NewConfigEntryServiceDefaults(ctx *pulumi.Context,
	name string, args *ConfigEntryServiceDefaultsArgs, opts ...pulumi.ResourceOption) (*ConfigEntryServiceDefaults, error)

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

func (*ConfigEntryServiceDefaults) ElementType

func (*ConfigEntryServiceDefaults) ElementType() reflect.Type

func (*ConfigEntryServiceDefaults) ToConfigEntryServiceDefaultsOutput

func (i *ConfigEntryServiceDefaults) ToConfigEntryServiceDefaultsOutput() ConfigEntryServiceDefaultsOutput

func (*ConfigEntryServiceDefaults) ToConfigEntryServiceDefaultsOutputWithContext

func (i *ConfigEntryServiceDefaults) ToConfigEntryServiceDefaultsOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsOutput

type ConfigEntryServiceDefaultsArgs

type ConfigEntryServiceDefaultsArgs struct {
	// Specifies the strategy for allocating inbound connections to the service across Envoy proxy threads.
	BalanceInboundConnections pulumi.StringPtrInput
	// Configures the destination for service traffic through terminating gateways.
	Destinations ConfigEntryServiceDefaultsDestinationArrayInput
	// List of extensions to modify Envoy proxy configuration.
	EnvoyExtensions ConfigEntryServiceDefaultsEnvoyExtensionArrayInput
	// Specifies default configurations for exposing HTTP paths through Envoy.
	Exposes ConfigEntryServiceDefaultsExposeArrayInput
	// Specifies the TLS server name indication (SNI) when federating with an external system.
	ExternalSni pulumi.StringPtrInput
	// Specifies the number of milliseconds allowed for establishing connections to the local application instance before timing out.
	LocalConnectTimeoutMs pulumi.IntPtrInput
	// Specifies the timeout for HTTP requests to the local application instance.
	LocalRequestTimeoutMs pulumi.IntPtrInput
	// Specifies the maximum number of concurrent inbound connections to each service instance.
	MaxInboundConnections pulumi.IntPtrInput
	// Specifies the default mesh gateway mode field for the service.
	MeshGateways ConfigEntryServiceDefaultsMeshGatewayArrayInput
	// Specifies a set of custom key-value pairs to add to the Consul KV store.
	Meta pulumi.StringMapInput
	// Specifies a mode for how the service directs inbound and outbound traffic.
	Mode pulumi.StringPtrInput
	// Controls whether mutual TLS is required for incoming connections to this service. This setting is only supported for services with transparent proxy enabled.
	MutualTlsMode pulumi.StringPtrInput
	// Specifies the name of the service you are setting the defaults for.
	Name pulumi.StringPtrInput
	// Specifies the Consul namespace that the configuration entry applies to.
	Namespace pulumi.StringPtrInput
	// Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
	Partition pulumi.StringPtrInput
	// Specifies the default protocol for the service.
	Protocol pulumi.StringInput
	// Controls configurations specific to proxies in transparent mode. Refer to Transparent Proxy Mode for additional information.
	TransparentProxies ConfigEntryServiceDefaultsTransparentProxyArrayInput
	// Controls default upstream connection settings and custom overrides for individual upstream services.
	UpstreamConfigs ConfigEntryServiceDefaultsUpstreamConfigArrayInput
}

The set of arguments for constructing a ConfigEntryServiceDefaults resource.

func (ConfigEntryServiceDefaultsArgs) ElementType

type ConfigEntryServiceDefaultsArray

type ConfigEntryServiceDefaultsArray []ConfigEntryServiceDefaultsInput

func (ConfigEntryServiceDefaultsArray) ElementType

func (ConfigEntryServiceDefaultsArray) ToConfigEntryServiceDefaultsArrayOutput

func (i ConfigEntryServiceDefaultsArray) ToConfigEntryServiceDefaultsArrayOutput() ConfigEntryServiceDefaultsArrayOutput

func (ConfigEntryServiceDefaultsArray) ToConfigEntryServiceDefaultsArrayOutputWithContext

func (i ConfigEntryServiceDefaultsArray) ToConfigEntryServiceDefaultsArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsArrayOutput

type ConfigEntryServiceDefaultsArrayInput

type ConfigEntryServiceDefaultsArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsArrayOutput() ConfigEntryServiceDefaultsArrayOutput
	ToConfigEntryServiceDefaultsArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsArrayOutput
}

ConfigEntryServiceDefaultsArrayInput is an input type that accepts ConfigEntryServiceDefaultsArray and ConfigEntryServiceDefaultsArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsArrayInput` via:

ConfigEntryServiceDefaultsArray{ ConfigEntryServiceDefaultsArgs{...} }

type ConfigEntryServiceDefaultsArrayOutput

type ConfigEntryServiceDefaultsArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsArrayOutput) ElementType

func (ConfigEntryServiceDefaultsArrayOutput) Index

func (ConfigEntryServiceDefaultsArrayOutput) ToConfigEntryServiceDefaultsArrayOutput

func (o ConfigEntryServiceDefaultsArrayOutput) ToConfigEntryServiceDefaultsArrayOutput() ConfigEntryServiceDefaultsArrayOutput

func (ConfigEntryServiceDefaultsArrayOutput) ToConfigEntryServiceDefaultsArrayOutputWithContext

func (o ConfigEntryServiceDefaultsArrayOutput) ToConfigEntryServiceDefaultsArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsArrayOutput

type ConfigEntryServiceDefaultsDestination

type ConfigEntryServiceDefaultsDestination struct {
	Addresses []string `pulumi:"addresses"`
	Port      int      `pulumi:"port"`
}

type ConfigEntryServiceDefaultsDestinationArgs

type ConfigEntryServiceDefaultsDestinationArgs struct {
	Addresses pulumi.StringArrayInput `pulumi:"addresses"`
	Port      pulumi.IntInput         `pulumi:"port"`
}

func (ConfigEntryServiceDefaultsDestinationArgs) ElementType

func (ConfigEntryServiceDefaultsDestinationArgs) ToConfigEntryServiceDefaultsDestinationOutput

func (i ConfigEntryServiceDefaultsDestinationArgs) ToConfigEntryServiceDefaultsDestinationOutput() ConfigEntryServiceDefaultsDestinationOutput

func (ConfigEntryServiceDefaultsDestinationArgs) ToConfigEntryServiceDefaultsDestinationOutputWithContext

func (i ConfigEntryServiceDefaultsDestinationArgs) ToConfigEntryServiceDefaultsDestinationOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsDestinationOutput

type ConfigEntryServiceDefaultsDestinationArray

type ConfigEntryServiceDefaultsDestinationArray []ConfigEntryServiceDefaultsDestinationInput

func (ConfigEntryServiceDefaultsDestinationArray) ElementType

func (ConfigEntryServiceDefaultsDestinationArray) ToConfigEntryServiceDefaultsDestinationArrayOutput

func (i ConfigEntryServiceDefaultsDestinationArray) ToConfigEntryServiceDefaultsDestinationArrayOutput() ConfigEntryServiceDefaultsDestinationArrayOutput

func (ConfigEntryServiceDefaultsDestinationArray) ToConfigEntryServiceDefaultsDestinationArrayOutputWithContext

func (i ConfigEntryServiceDefaultsDestinationArray) ToConfigEntryServiceDefaultsDestinationArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsDestinationArrayOutput

type ConfigEntryServiceDefaultsDestinationArrayInput

type ConfigEntryServiceDefaultsDestinationArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsDestinationArrayOutput() ConfigEntryServiceDefaultsDestinationArrayOutput
	ToConfigEntryServiceDefaultsDestinationArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsDestinationArrayOutput
}

ConfigEntryServiceDefaultsDestinationArrayInput is an input type that accepts ConfigEntryServiceDefaultsDestinationArray and ConfigEntryServiceDefaultsDestinationArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsDestinationArrayInput` via:

ConfigEntryServiceDefaultsDestinationArray{ ConfigEntryServiceDefaultsDestinationArgs{...} }

type ConfigEntryServiceDefaultsDestinationArrayOutput

type ConfigEntryServiceDefaultsDestinationArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsDestinationArrayOutput) ElementType

func (ConfigEntryServiceDefaultsDestinationArrayOutput) Index

func (ConfigEntryServiceDefaultsDestinationArrayOutput) ToConfigEntryServiceDefaultsDestinationArrayOutput

func (o ConfigEntryServiceDefaultsDestinationArrayOutput) ToConfigEntryServiceDefaultsDestinationArrayOutput() ConfigEntryServiceDefaultsDestinationArrayOutput

func (ConfigEntryServiceDefaultsDestinationArrayOutput) ToConfigEntryServiceDefaultsDestinationArrayOutputWithContext

func (o ConfigEntryServiceDefaultsDestinationArrayOutput) ToConfigEntryServiceDefaultsDestinationArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsDestinationArrayOutput

type ConfigEntryServiceDefaultsDestinationInput

type ConfigEntryServiceDefaultsDestinationInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsDestinationOutput() ConfigEntryServiceDefaultsDestinationOutput
	ToConfigEntryServiceDefaultsDestinationOutputWithContext(context.Context) ConfigEntryServiceDefaultsDestinationOutput
}

ConfigEntryServiceDefaultsDestinationInput is an input type that accepts ConfigEntryServiceDefaultsDestinationArgs and ConfigEntryServiceDefaultsDestinationOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsDestinationInput` via:

ConfigEntryServiceDefaultsDestinationArgs{...}

type ConfigEntryServiceDefaultsDestinationOutput

type ConfigEntryServiceDefaultsDestinationOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsDestinationOutput) Addresses

func (ConfigEntryServiceDefaultsDestinationOutput) ElementType

func (ConfigEntryServiceDefaultsDestinationOutput) Port

func (ConfigEntryServiceDefaultsDestinationOutput) ToConfigEntryServiceDefaultsDestinationOutput

func (o ConfigEntryServiceDefaultsDestinationOutput) ToConfigEntryServiceDefaultsDestinationOutput() ConfigEntryServiceDefaultsDestinationOutput

func (ConfigEntryServiceDefaultsDestinationOutput) ToConfigEntryServiceDefaultsDestinationOutputWithContext

func (o ConfigEntryServiceDefaultsDestinationOutput) ToConfigEntryServiceDefaultsDestinationOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsDestinationOutput

type ConfigEntryServiceDefaultsEnvoyExtension

type ConfigEntryServiceDefaultsEnvoyExtension struct {
	Arguments     map[string]string `pulumi:"arguments"`
	ConsulVersion *string           `pulumi:"consulVersion"`
	EnvoyVersion  *string           `pulumi:"envoyVersion"`
	Name          *string           `pulumi:"name"`
	Required      *bool             `pulumi:"required"`
}

type ConfigEntryServiceDefaultsEnvoyExtensionArgs

type ConfigEntryServiceDefaultsEnvoyExtensionArgs struct {
	Arguments     pulumi.StringMapInput `pulumi:"arguments"`
	ConsulVersion pulumi.StringPtrInput `pulumi:"consulVersion"`
	EnvoyVersion  pulumi.StringPtrInput `pulumi:"envoyVersion"`
	Name          pulumi.StringPtrInput `pulumi:"name"`
	Required      pulumi.BoolPtrInput   `pulumi:"required"`
}

func (ConfigEntryServiceDefaultsEnvoyExtensionArgs) ElementType

func (ConfigEntryServiceDefaultsEnvoyExtensionArgs) ToConfigEntryServiceDefaultsEnvoyExtensionOutput

func (i ConfigEntryServiceDefaultsEnvoyExtensionArgs) ToConfigEntryServiceDefaultsEnvoyExtensionOutput() ConfigEntryServiceDefaultsEnvoyExtensionOutput

func (ConfigEntryServiceDefaultsEnvoyExtensionArgs) ToConfigEntryServiceDefaultsEnvoyExtensionOutputWithContext

func (i ConfigEntryServiceDefaultsEnvoyExtensionArgs) ToConfigEntryServiceDefaultsEnvoyExtensionOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsEnvoyExtensionOutput

type ConfigEntryServiceDefaultsEnvoyExtensionArray

type ConfigEntryServiceDefaultsEnvoyExtensionArray []ConfigEntryServiceDefaultsEnvoyExtensionInput

func (ConfigEntryServiceDefaultsEnvoyExtensionArray) ElementType

func (ConfigEntryServiceDefaultsEnvoyExtensionArray) ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutput

func (i ConfigEntryServiceDefaultsEnvoyExtensionArray) ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutput() ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput

func (ConfigEntryServiceDefaultsEnvoyExtensionArray) ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutputWithContext

func (i ConfigEntryServiceDefaultsEnvoyExtensionArray) ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput

type ConfigEntryServiceDefaultsEnvoyExtensionArrayInput

type ConfigEntryServiceDefaultsEnvoyExtensionArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutput() ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput
	ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput
}

ConfigEntryServiceDefaultsEnvoyExtensionArrayInput is an input type that accepts ConfigEntryServiceDefaultsEnvoyExtensionArray and ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsEnvoyExtensionArrayInput` via:

ConfigEntryServiceDefaultsEnvoyExtensionArray{ ConfigEntryServiceDefaultsEnvoyExtensionArgs{...} }

type ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput

type ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput) ElementType

func (ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput) Index

func (ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput) ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutput

func (o ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput) ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutput() ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput

func (ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput) ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutputWithContext

func (o ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput) ToConfigEntryServiceDefaultsEnvoyExtensionArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsEnvoyExtensionArrayOutput

type ConfigEntryServiceDefaultsEnvoyExtensionInput

type ConfigEntryServiceDefaultsEnvoyExtensionInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsEnvoyExtensionOutput() ConfigEntryServiceDefaultsEnvoyExtensionOutput
	ToConfigEntryServiceDefaultsEnvoyExtensionOutputWithContext(context.Context) ConfigEntryServiceDefaultsEnvoyExtensionOutput
}

ConfigEntryServiceDefaultsEnvoyExtensionInput is an input type that accepts ConfigEntryServiceDefaultsEnvoyExtensionArgs and ConfigEntryServiceDefaultsEnvoyExtensionOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsEnvoyExtensionInput` via:

ConfigEntryServiceDefaultsEnvoyExtensionArgs{...}

type ConfigEntryServiceDefaultsEnvoyExtensionOutput

type ConfigEntryServiceDefaultsEnvoyExtensionOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsEnvoyExtensionOutput) Arguments

func (ConfigEntryServiceDefaultsEnvoyExtensionOutput) ConsulVersion

func (ConfigEntryServiceDefaultsEnvoyExtensionOutput) ElementType

func (ConfigEntryServiceDefaultsEnvoyExtensionOutput) EnvoyVersion

func (ConfigEntryServiceDefaultsEnvoyExtensionOutput) Name

func (ConfigEntryServiceDefaultsEnvoyExtensionOutput) Required

func (ConfigEntryServiceDefaultsEnvoyExtensionOutput) ToConfigEntryServiceDefaultsEnvoyExtensionOutput

func (o ConfigEntryServiceDefaultsEnvoyExtensionOutput) ToConfigEntryServiceDefaultsEnvoyExtensionOutput() ConfigEntryServiceDefaultsEnvoyExtensionOutput

func (ConfigEntryServiceDefaultsEnvoyExtensionOutput) ToConfigEntryServiceDefaultsEnvoyExtensionOutputWithContext

func (o ConfigEntryServiceDefaultsEnvoyExtensionOutput) ToConfigEntryServiceDefaultsEnvoyExtensionOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsEnvoyExtensionOutput

type ConfigEntryServiceDefaultsExpose

type ConfigEntryServiceDefaultsExpose struct {
	Checks *bool                                  `pulumi:"checks"`
	Paths  []ConfigEntryServiceDefaultsExposePath `pulumi:"paths"`
}

type ConfigEntryServiceDefaultsExposeArgs

type ConfigEntryServiceDefaultsExposeArgs struct {
	Checks pulumi.BoolPtrInput                            `pulumi:"checks"`
	Paths  ConfigEntryServiceDefaultsExposePathArrayInput `pulumi:"paths"`
}

func (ConfigEntryServiceDefaultsExposeArgs) ElementType

func (ConfigEntryServiceDefaultsExposeArgs) ToConfigEntryServiceDefaultsExposeOutput

func (i ConfigEntryServiceDefaultsExposeArgs) ToConfigEntryServiceDefaultsExposeOutput() ConfigEntryServiceDefaultsExposeOutput

func (ConfigEntryServiceDefaultsExposeArgs) ToConfigEntryServiceDefaultsExposeOutputWithContext

func (i ConfigEntryServiceDefaultsExposeArgs) ToConfigEntryServiceDefaultsExposeOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsExposeOutput

type ConfigEntryServiceDefaultsExposeArray

type ConfigEntryServiceDefaultsExposeArray []ConfigEntryServiceDefaultsExposeInput

func (ConfigEntryServiceDefaultsExposeArray) ElementType

func (ConfigEntryServiceDefaultsExposeArray) ToConfigEntryServiceDefaultsExposeArrayOutput

func (i ConfigEntryServiceDefaultsExposeArray) ToConfigEntryServiceDefaultsExposeArrayOutput() ConfigEntryServiceDefaultsExposeArrayOutput

func (ConfigEntryServiceDefaultsExposeArray) ToConfigEntryServiceDefaultsExposeArrayOutputWithContext

func (i ConfigEntryServiceDefaultsExposeArray) ToConfigEntryServiceDefaultsExposeArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsExposeArrayOutput

type ConfigEntryServiceDefaultsExposeArrayInput

type ConfigEntryServiceDefaultsExposeArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsExposeArrayOutput() ConfigEntryServiceDefaultsExposeArrayOutput
	ToConfigEntryServiceDefaultsExposeArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsExposeArrayOutput
}

ConfigEntryServiceDefaultsExposeArrayInput is an input type that accepts ConfigEntryServiceDefaultsExposeArray and ConfigEntryServiceDefaultsExposeArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsExposeArrayInput` via:

ConfigEntryServiceDefaultsExposeArray{ ConfigEntryServiceDefaultsExposeArgs{...} }

type ConfigEntryServiceDefaultsExposeArrayOutput

type ConfigEntryServiceDefaultsExposeArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsExposeArrayOutput) ElementType

func (ConfigEntryServiceDefaultsExposeArrayOutput) Index

func (ConfigEntryServiceDefaultsExposeArrayOutput) ToConfigEntryServiceDefaultsExposeArrayOutput

func (o ConfigEntryServiceDefaultsExposeArrayOutput) ToConfigEntryServiceDefaultsExposeArrayOutput() ConfigEntryServiceDefaultsExposeArrayOutput

func (ConfigEntryServiceDefaultsExposeArrayOutput) ToConfigEntryServiceDefaultsExposeArrayOutputWithContext

func (o ConfigEntryServiceDefaultsExposeArrayOutput) ToConfigEntryServiceDefaultsExposeArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsExposeArrayOutput

type ConfigEntryServiceDefaultsExposeInput

type ConfigEntryServiceDefaultsExposeInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsExposeOutput() ConfigEntryServiceDefaultsExposeOutput
	ToConfigEntryServiceDefaultsExposeOutputWithContext(context.Context) ConfigEntryServiceDefaultsExposeOutput
}

ConfigEntryServiceDefaultsExposeInput is an input type that accepts ConfigEntryServiceDefaultsExposeArgs and ConfigEntryServiceDefaultsExposeOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsExposeInput` via:

ConfigEntryServiceDefaultsExposeArgs{...}

type ConfigEntryServiceDefaultsExposeOutput

type ConfigEntryServiceDefaultsExposeOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsExposeOutput) Checks

func (ConfigEntryServiceDefaultsExposeOutput) ElementType

func (ConfigEntryServiceDefaultsExposeOutput) Paths

func (ConfigEntryServiceDefaultsExposeOutput) ToConfigEntryServiceDefaultsExposeOutput

func (o ConfigEntryServiceDefaultsExposeOutput) ToConfigEntryServiceDefaultsExposeOutput() ConfigEntryServiceDefaultsExposeOutput

func (ConfigEntryServiceDefaultsExposeOutput) ToConfigEntryServiceDefaultsExposeOutputWithContext

func (o ConfigEntryServiceDefaultsExposeOutput) ToConfigEntryServiceDefaultsExposeOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsExposeOutput

type ConfigEntryServiceDefaultsExposePath

type ConfigEntryServiceDefaultsExposePath struct {
	ListenerPort  *int    `pulumi:"listenerPort"`
	LocalPathPort *int    `pulumi:"localPathPort"`
	Path          *string `pulumi:"path"`
	Protocol      *string `pulumi:"protocol"`
}

type ConfigEntryServiceDefaultsExposePathArgs

type ConfigEntryServiceDefaultsExposePathArgs struct {
	ListenerPort  pulumi.IntPtrInput    `pulumi:"listenerPort"`
	LocalPathPort pulumi.IntPtrInput    `pulumi:"localPathPort"`
	Path          pulumi.StringPtrInput `pulumi:"path"`
	Protocol      pulumi.StringPtrInput `pulumi:"protocol"`
}

func (ConfigEntryServiceDefaultsExposePathArgs) ElementType

func (ConfigEntryServiceDefaultsExposePathArgs) ToConfigEntryServiceDefaultsExposePathOutput

func (i ConfigEntryServiceDefaultsExposePathArgs) ToConfigEntryServiceDefaultsExposePathOutput() ConfigEntryServiceDefaultsExposePathOutput

func (ConfigEntryServiceDefaultsExposePathArgs) ToConfigEntryServiceDefaultsExposePathOutputWithContext

func (i ConfigEntryServiceDefaultsExposePathArgs) ToConfigEntryServiceDefaultsExposePathOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsExposePathOutput

type ConfigEntryServiceDefaultsExposePathArray

type ConfigEntryServiceDefaultsExposePathArray []ConfigEntryServiceDefaultsExposePathInput

func (ConfigEntryServiceDefaultsExposePathArray) ElementType

func (ConfigEntryServiceDefaultsExposePathArray) ToConfigEntryServiceDefaultsExposePathArrayOutput

func (i ConfigEntryServiceDefaultsExposePathArray) ToConfigEntryServiceDefaultsExposePathArrayOutput() ConfigEntryServiceDefaultsExposePathArrayOutput

func (ConfigEntryServiceDefaultsExposePathArray) ToConfigEntryServiceDefaultsExposePathArrayOutputWithContext

func (i ConfigEntryServiceDefaultsExposePathArray) ToConfigEntryServiceDefaultsExposePathArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsExposePathArrayOutput

type ConfigEntryServiceDefaultsExposePathArrayInput

type ConfigEntryServiceDefaultsExposePathArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsExposePathArrayOutput() ConfigEntryServiceDefaultsExposePathArrayOutput
	ToConfigEntryServiceDefaultsExposePathArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsExposePathArrayOutput
}

ConfigEntryServiceDefaultsExposePathArrayInput is an input type that accepts ConfigEntryServiceDefaultsExposePathArray and ConfigEntryServiceDefaultsExposePathArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsExposePathArrayInput` via:

ConfigEntryServiceDefaultsExposePathArray{ ConfigEntryServiceDefaultsExposePathArgs{...} }

type ConfigEntryServiceDefaultsExposePathArrayOutput

type ConfigEntryServiceDefaultsExposePathArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsExposePathArrayOutput) ElementType

func (ConfigEntryServiceDefaultsExposePathArrayOutput) Index

func (ConfigEntryServiceDefaultsExposePathArrayOutput) ToConfigEntryServiceDefaultsExposePathArrayOutput

func (o ConfigEntryServiceDefaultsExposePathArrayOutput) ToConfigEntryServiceDefaultsExposePathArrayOutput() ConfigEntryServiceDefaultsExposePathArrayOutput

func (ConfigEntryServiceDefaultsExposePathArrayOutput) ToConfigEntryServiceDefaultsExposePathArrayOutputWithContext

func (o ConfigEntryServiceDefaultsExposePathArrayOutput) ToConfigEntryServiceDefaultsExposePathArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsExposePathArrayOutput

type ConfigEntryServiceDefaultsExposePathInput

type ConfigEntryServiceDefaultsExposePathInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsExposePathOutput() ConfigEntryServiceDefaultsExposePathOutput
	ToConfigEntryServiceDefaultsExposePathOutputWithContext(context.Context) ConfigEntryServiceDefaultsExposePathOutput
}

ConfigEntryServiceDefaultsExposePathInput is an input type that accepts ConfigEntryServiceDefaultsExposePathArgs and ConfigEntryServiceDefaultsExposePathOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsExposePathInput` via:

ConfigEntryServiceDefaultsExposePathArgs{...}

type ConfigEntryServiceDefaultsExposePathOutput

type ConfigEntryServiceDefaultsExposePathOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsExposePathOutput) ElementType

func (ConfigEntryServiceDefaultsExposePathOutput) ListenerPort

func (ConfigEntryServiceDefaultsExposePathOutput) LocalPathPort

func (ConfigEntryServiceDefaultsExposePathOutput) Path

func (ConfigEntryServiceDefaultsExposePathOutput) Protocol

func (ConfigEntryServiceDefaultsExposePathOutput) ToConfigEntryServiceDefaultsExposePathOutput

func (o ConfigEntryServiceDefaultsExposePathOutput) ToConfigEntryServiceDefaultsExposePathOutput() ConfigEntryServiceDefaultsExposePathOutput

func (ConfigEntryServiceDefaultsExposePathOutput) ToConfigEntryServiceDefaultsExposePathOutputWithContext

func (o ConfigEntryServiceDefaultsExposePathOutput) ToConfigEntryServiceDefaultsExposePathOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsExposePathOutput

type ConfigEntryServiceDefaultsInput

type ConfigEntryServiceDefaultsInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsOutput() ConfigEntryServiceDefaultsOutput
	ToConfigEntryServiceDefaultsOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsOutput
}

type ConfigEntryServiceDefaultsMap

type ConfigEntryServiceDefaultsMap map[string]ConfigEntryServiceDefaultsInput

func (ConfigEntryServiceDefaultsMap) ElementType

func (ConfigEntryServiceDefaultsMap) ToConfigEntryServiceDefaultsMapOutput

func (i ConfigEntryServiceDefaultsMap) ToConfigEntryServiceDefaultsMapOutput() ConfigEntryServiceDefaultsMapOutput

func (ConfigEntryServiceDefaultsMap) ToConfigEntryServiceDefaultsMapOutputWithContext

func (i ConfigEntryServiceDefaultsMap) ToConfigEntryServiceDefaultsMapOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsMapOutput

type ConfigEntryServiceDefaultsMapInput

type ConfigEntryServiceDefaultsMapInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsMapOutput() ConfigEntryServiceDefaultsMapOutput
	ToConfigEntryServiceDefaultsMapOutputWithContext(context.Context) ConfigEntryServiceDefaultsMapOutput
}

ConfigEntryServiceDefaultsMapInput is an input type that accepts ConfigEntryServiceDefaultsMap and ConfigEntryServiceDefaultsMapOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsMapInput` via:

ConfigEntryServiceDefaultsMap{ "key": ConfigEntryServiceDefaultsArgs{...} }

type ConfigEntryServiceDefaultsMapOutput

type ConfigEntryServiceDefaultsMapOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsMapOutput) ElementType

func (ConfigEntryServiceDefaultsMapOutput) MapIndex

func (ConfigEntryServiceDefaultsMapOutput) ToConfigEntryServiceDefaultsMapOutput

func (o ConfigEntryServiceDefaultsMapOutput) ToConfigEntryServiceDefaultsMapOutput() ConfigEntryServiceDefaultsMapOutput

func (ConfigEntryServiceDefaultsMapOutput) ToConfigEntryServiceDefaultsMapOutputWithContext

func (o ConfigEntryServiceDefaultsMapOutput) ToConfigEntryServiceDefaultsMapOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsMapOutput

type ConfigEntryServiceDefaultsMeshGateway

type ConfigEntryServiceDefaultsMeshGateway struct {
	Mode string `pulumi:"mode"`
}

type ConfigEntryServiceDefaultsMeshGatewayArgs

type ConfigEntryServiceDefaultsMeshGatewayArgs struct {
	Mode pulumi.StringInput `pulumi:"mode"`
}

func (ConfigEntryServiceDefaultsMeshGatewayArgs) ElementType

func (ConfigEntryServiceDefaultsMeshGatewayArgs) ToConfigEntryServiceDefaultsMeshGatewayOutput

func (i ConfigEntryServiceDefaultsMeshGatewayArgs) ToConfigEntryServiceDefaultsMeshGatewayOutput() ConfigEntryServiceDefaultsMeshGatewayOutput

func (ConfigEntryServiceDefaultsMeshGatewayArgs) ToConfigEntryServiceDefaultsMeshGatewayOutputWithContext

func (i ConfigEntryServiceDefaultsMeshGatewayArgs) ToConfigEntryServiceDefaultsMeshGatewayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsMeshGatewayOutput

type ConfigEntryServiceDefaultsMeshGatewayArray

type ConfigEntryServiceDefaultsMeshGatewayArray []ConfigEntryServiceDefaultsMeshGatewayInput

func (ConfigEntryServiceDefaultsMeshGatewayArray) ElementType

func (ConfigEntryServiceDefaultsMeshGatewayArray) ToConfigEntryServiceDefaultsMeshGatewayArrayOutput

func (i ConfigEntryServiceDefaultsMeshGatewayArray) ToConfigEntryServiceDefaultsMeshGatewayArrayOutput() ConfigEntryServiceDefaultsMeshGatewayArrayOutput

func (ConfigEntryServiceDefaultsMeshGatewayArray) ToConfigEntryServiceDefaultsMeshGatewayArrayOutputWithContext

func (i ConfigEntryServiceDefaultsMeshGatewayArray) ToConfigEntryServiceDefaultsMeshGatewayArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsMeshGatewayArrayOutput

type ConfigEntryServiceDefaultsMeshGatewayArrayInput

type ConfigEntryServiceDefaultsMeshGatewayArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsMeshGatewayArrayOutput() ConfigEntryServiceDefaultsMeshGatewayArrayOutput
	ToConfigEntryServiceDefaultsMeshGatewayArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsMeshGatewayArrayOutput
}

ConfigEntryServiceDefaultsMeshGatewayArrayInput is an input type that accepts ConfigEntryServiceDefaultsMeshGatewayArray and ConfigEntryServiceDefaultsMeshGatewayArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsMeshGatewayArrayInput` via:

ConfigEntryServiceDefaultsMeshGatewayArray{ ConfigEntryServiceDefaultsMeshGatewayArgs{...} }

type ConfigEntryServiceDefaultsMeshGatewayArrayOutput

type ConfigEntryServiceDefaultsMeshGatewayArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsMeshGatewayArrayOutput) ElementType

func (ConfigEntryServiceDefaultsMeshGatewayArrayOutput) Index

func (ConfigEntryServiceDefaultsMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsMeshGatewayArrayOutput

func (o ConfigEntryServiceDefaultsMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsMeshGatewayArrayOutput() ConfigEntryServiceDefaultsMeshGatewayArrayOutput

func (ConfigEntryServiceDefaultsMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsMeshGatewayArrayOutputWithContext

func (o ConfigEntryServiceDefaultsMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsMeshGatewayArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsMeshGatewayArrayOutput

type ConfigEntryServiceDefaultsMeshGatewayInput

type ConfigEntryServiceDefaultsMeshGatewayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsMeshGatewayOutput() ConfigEntryServiceDefaultsMeshGatewayOutput
	ToConfigEntryServiceDefaultsMeshGatewayOutputWithContext(context.Context) ConfigEntryServiceDefaultsMeshGatewayOutput
}

ConfigEntryServiceDefaultsMeshGatewayInput is an input type that accepts ConfigEntryServiceDefaultsMeshGatewayArgs and ConfigEntryServiceDefaultsMeshGatewayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsMeshGatewayInput` via:

ConfigEntryServiceDefaultsMeshGatewayArgs{...}

type ConfigEntryServiceDefaultsMeshGatewayOutput

type ConfigEntryServiceDefaultsMeshGatewayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsMeshGatewayOutput) ElementType

func (ConfigEntryServiceDefaultsMeshGatewayOutput) Mode

func (ConfigEntryServiceDefaultsMeshGatewayOutput) ToConfigEntryServiceDefaultsMeshGatewayOutput

func (o ConfigEntryServiceDefaultsMeshGatewayOutput) ToConfigEntryServiceDefaultsMeshGatewayOutput() ConfigEntryServiceDefaultsMeshGatewayOutput

func (ConfigEntryServiceDefaultsMeshGatewayOutput) ToConfigEntryServiceDefaultsMeshGatewayOutputWithContext

func (o ConfigEntryServiceDefaultsMeshGatewayOutput) ToConfigEntryServiceDefaultsMeshGatewayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsMeshGatewayOutput

type ConfigEntryServiceDefaultsOutput

type ConfigEntryServiceDefaultsOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsOutput) BalanceInboundConnections

func (o ConfigEntryServiceDefaultsOutput) BalanceInboundConnections() pulumi.StringPtrOutput

Specifies the strategy for allocating inbound connections to the service across Envoy proxy threads.

func (ConfigEntryServiceDefaultsOutput) Destinations

Configures the destination for service traffic through terminating gateways.

func (ConfigEntryServiceDefaultsOutput) ElementType

func (ConfigEntryServiceDefaultsOutput) EnvoyExtensions

List of extensions to modify Envoy proxy configuration.

func (ConfigEntryServiceDefaultsOutput) Exposes

Specifies default configurations for exposing HTTP paths through Envoy.

func (ConfigEntryServiceDefaultsOutput) ExternalSni

Specifies the TLS server name indication (SNI) when federating with an external system.

func (ConfigEntryServiceDefaultsOutput) LocalConnectTimeoutMs

func (o ConfigEntryServiceDefaultsOutput) LocalConnectTimeoutMs() pulumi.IntPtrOutput

Specifies the number of milliseconds allowed for establishing connections to the local application instance before timing out.

func (ConfigEntryServiceDefaultsOutput) LocalRequestTimeoutMs

func (o ConfigEntryServiceDefaultsOutput) LocalRequestTimeoutMs() pulumi.IntPtrOutput

Specifies the timeout for HTTP requests to the local application instance.

func (ConfigEntryServiceDefaultsOutput) MaxInboundConnections

func (o ConfigEntryServiceDefaultsOutput) MaxInboundConnections() pulumi.IntPtrOutput

Specifies the maximum number of concurrent inbound connections to each service instance.

func (ConfigEntryServiceDefaultsOutput) MeshGateways

Specifies the default mesh gateway mode field for the service.

func (ConfigEntryServiceDefaultsOutput) Meta

Specifies a set of custom key-value pairs to add to the Consul KV store.

func (ConfigEntryServiceDefaultsOutput) Mode

Specifies a mode for how the service directs inbound and outbound traffic.

func (ConfigEntryServiceDefaultsOutput) MutualTlsMode

Controls whether mutual TLS is required for incoming connections to this service. This setting is only supported for services with transparent proxy enabled.

func (ConfigEntryServiceDefaultsOutput) Name

Specifies the name of the service you are setting the defaults for.

func (ConfigEntryServiceDefaultsOutput) Namespace

Specifies the Consul namespace that the configuration entry applies to.

func (ConfigEntryServiceDefaultsOutput) Partition

Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.

func (ConfigEntryServiceDefaultsOutput) Protocol

Specifies the default protocol for the service.

func (ConfigEntryServiceDefaultsOutput) ToConfigEntryServiceDefaultsOutput

func (o ConfigEntryServiceDefaultsOutput) ToConfigEntryServiceDefaultsOutput() ConfigEntryServiceDefaultsOutput

func (ConfigEntryServiceDefaultsOutput) ToConfigEntryServiceDefaultsOutputWithContext

func (o ConfigEntryServiceDefaultsOutput) ToConfigEntryServiceDefaultsOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsOutput

func (ConfigEntryServiceDefaultsOutput) TransparentProxies

Controls configurations specific to proxies in transparent mode. Refer to Transparent Proxy Mode for additional information.

func (ConfigEntryServiceDefaultsOutput) UpstreamConfigs

Controls default upstream connection settings and custom overrides for individual upstream services.

type ConfigEntryServiceDefaultsState

type ConfigEntryServiceDefaultsState struct {
	// Specifies the strategy for allocating inbound connections to the service across Envoy proxy threads.
	BalanceInboundConnections pulumi.StringPtrInput
	// Configures the destination for service traffic through terminating gateways.
	Destinations ConfigEntryServiceDefaultsDestinationArrayInput
	// List of extensions to modify Envoy proxy configuration.
	EnvoyExtensions ConfigEntryServiceDefaultsEnvoyExtensionArrayInput
	// Specifies default configurations for exposing HTTP paths through Envoy.
	Exposes ConfigEntryServiceDefaultsExposeArrayInput
	// Specifies the TLS server name indication (SNI) when federating with an external system.
	ExternalSni pulumi.StringPtrInput
	// Specifies the number of milliseconds allowed for establishing connections to the local application instance before timing out.
	LocalConnectTimeoutMs pulumi.IntPtrInput
	// Specifies the timeout for HTTP requests to the local application instance.
	LocalRequestTimeoutMs pulumi.IntPtrInput
	// Specifies the maximum number of concurrent inbound connections to each service instance.
	MaxInboundConnections pulumi.IntPtrInput
	// Specifies the default mesh gateway mode field for the service.
	MeshGateways ConfigEntryServiceDefaultsMeshGatewayArrayInput
	// Specifies a set of custom key-value pairs to add to the Consul KV store.
	Meta pulumi.StringMapInput
	// Specifies a mode for how the service directs inbound and outbound traffic.
	Mode pulumi.StringPtrInput
	// Controls whether mutual TLS is required for incoming connections to this service. This setting is only supported for services with transparent proxy enabled.
	MutualTlsMode pulumi.StringPtrInput
	// Specifies the name of the service you are setting the defaults for.
	Name pulumi.StringPtrInput
	// Specifies the Consul namespace that the configuration entry applies to.
	Namespace pulumi.StringPtrInput
	// Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
	Partition pulumi.StringPtrInput
	// Specifies the default protocol for the service.
	Protocol pulumi.StringPtrInput
	// Controls configurations specific to proxies in transparent mode. Refer to Transparent Proxy Mode for additional information.
	TransparentProxies ConfigEntryServiceDefaultsTransparentProxyArrayInput
	// Controls default upstream connection settings and custom overrides for individual upstream services.
	UpstreamConfigs ConfigEntryServiceDefaultsUpstreamConfigArrayInput
}

func (ConfigEntryServiceDefaultsState) ElementType

type ConfigEntryServiceDefaultsTransparentProxy

type ConfigEntryServiceDefaultsTransparentProxy struct {
	DialedDirectly       bool `pulumi:"dialedDirectly"`
	OutboundListenerPort int  `pulumi:"outboundListenerPort"`
}

type ConfigEntryServiceDefaultsTransparentProxyArgs

type ConfigEntryServiceDefaultsTransparentProxyArgs struct {
	DialedDirectly       pulumi.BoolInput `pulumi:"dialedDirectly"`
	OutboundListenerPort pulumi.IntInput  `pulumi:"outboundListenerPort"`
}

func (ConfigEntryServiceDefaultsTransparentProxyArgs) ElementType

func (ConfigEntryServiceDefaultsTransparentProxyArgs) ToConfigEntryServiceDefaultsTransparentProxyOutput

func (i ConfigEntryServiceDefaultsTransparentProxyArgs) ToConfigEntryServiceDefaultsTransparentProxyOutput() ConfigEntryServiceDefaultsTransparentProxyOutput

func (ConfigEntryServiceDefaultsTransparentProxyArgs) ToConfigEntryServiceDefaultsTransparentProxyOutputWithContext

func (i ConfigEntryServiceDefaultsTransparentProxyArgs) ToConfigEntryServiceDefaultsTransparentProxyOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsTransparentProxyOutput

type ConfigEntryServiceDefaultsTransparentProxyArray

type ConfigEntryServiceDefaultsTransparentProxyArray []ConfigEntryServiceDefaultsTransparentProxyInput

func (ConfigEntryServiceDefaultsTransparentProxyArray) ElementType

func (ConfigEntryServiceDefaultsTransparentProxyArray) ToConfigEntryServiceDefaultsTransparentProxyArrayOutput

func (i ConfigEntryServiceDefaultsTransparentProxyArray) ToConfigEntryServiceDefaultsTransparentProxyArrayOutput() ConfigEntryServiceDefaultsTransparentProxyArrayOutput

func (ConfigEntryServiceDefaultsTransparentProxyArray) ToConfigEntryServiceDefaultsTransparentProxyArrayOutputWithContext

func (i ConfigEntryServiceDefaultsTransparentProxyArray) ToConfigEntryServiceDefaultsTransparentProxyArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsTransparentProxyArrayOutput

type ConfigEntryServiceDefaultsTransparentProxyArrayInput

type ConfigEntryServiceDefaultsTransparentProxyArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsTransparentProxyArrayOutput() ConfigEntryServiceDefaultsTransparentProxyArrayOutput
	ToConfigEntryServiceDefaultsTransparentProxyArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsTransparentProxyArrayOutput
}

ConfigEntryServiceDefaultsTransparentProxyArrayInput is an input type that accepts ConfigEntryServiceDefaultsTransparentProxyArray and ConfigEntryServiceDefaultsTransparentProxyArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsTransparentProxyArrayInput` via:

ConfigEntryServiceDefaultsTransparentProxyArray{ ConfigEntryServiceDefaultsTransparentProxyArgs{...} }

type ConfigEntryServiceDefaultsTransparentProxyArrayOutput

type ConfigEntryServiceDefaultsTransparentProxyArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsTransparentProxyArrayOutput) ElementType

func (ConfigEntryServiceDefaultsTransparentProxyArrayOutput) Index

func (ConfigEntryServiceDefaultsTransparentProxyArrayOutput) ToConfigEntryServiceDefaultsTransparentProxyArrayOutput

func (ConfigEntryServiceDefaultsTransparentProxyArrayOutput) ToConfigEntryServiceDefaultsTransparentProxyArrayOutputWithContext

func (o ConfigEntryServiceDefaultsTransparentProxyArrayOutput) ToConfigEntryServiceDefaultsTransparentProxyArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsTransparentProxyArrayOutput

type ConfigEntryServiceDefaultsTransparentProxyInput

type ConfigEntryServiceDefaultsTransparentProxyInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsTransparentProxyOutput() ConfigEntryServiceDefaultsTransparentProxyOutput
	ToConfigEntryServiceDefaultsTransparentProxyOutputWithContext(context.Context) ConfigEntryServiceDefaultsTransparentProxyOutput
}

ConfigEntryServiceDefaultsTransparentProxyInput is an input type that accepts ConfigEntryServiceDefaultsTransparentProxyArgs and ConfigEntryServiceDefaultsTransparentProxyOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsTransparentProxyInput` via:

ConfigEntryServiceDefaultsTransparentProxyArgs{...}

type ConfigEntryServiceDefaultsTransparentProxyOutput

type ConfigEntryServiceDefaultsTransparentProxyOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsTransparentProxyOutput) DialedDirectly

func (ConfigEntryServiceDefaultsTransparentProxyOutput) ElementType

func (ConfigEntryServiceDefaultsTransparentProxyOutput) OutboundListenerPort

func (ConfigEntryServiceDefaultsTransparentProxyOutput) ToConfigEntryServiceDefaultsTransparentProxyOutput

func (o ConfigEntryServiceDefaultsTransparentProxyOutput) ToConfigEntryServiceDefaultsTransparentProxyOutput() ConfigEntryServiceDefaultsTransparentProxyOutput

func (ConfigEntryServiceDefaultsTransparentProxyOutput) ToConfigEntryServiceDefaultsTransparentProxyOutputWithContext

func (o ConfigEntryServiceDefaultsTransparentProxyOutput) ToConfigEntryServiceDefaultsTransparentProxyOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsTransparentProxyOutput

type ConfigEntryServiceDefaultsUpstreamConfig

type ConfigEntryServiceDefaultsUpstreamConfig struct {
	// Specifies configurations that set default upstream settings. For information about overriding the default configurations for in for individual upstreams, refer to UpstreamConfig.Overrides.
	Defaults []ConfigEntryServiceDefaultsUpstreamConfigDefault `pulumi:"defaults"`
	// Specifies options that override the default upstream configurations for individual upstreams.
	Overrides []ConfigEntryServiceDefaultsUpstreamConfigOverride `pulumi:"overrides"`
}

type ConfigEntryServiceDefaultsUpstreamConfigArgs

type ConfigEntryServiceDefaultsUpstreamConfigArgs struct {
	// Specifies configurations that set default upstream settings. For information about overriding the default configurations for in for individual upstreams, refer to UpstreamConfig.Overrides.
	Defaults ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayInput `pulumi:"defaults"`
	// Specifies options that override the default upstream configurations for individual upstreams.
	Overrides ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayInput `pulumi:"overrides"`
}

func (ConfigEntryServiceDefaultsUpstreamConfigArgs) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigArgs) ToConfigEntryServiceDefaultsUpstreamConfigOutput

func (i ConfigEntryServiceDefaultsUpstreamConfigArgs) ToConfigEntryServiceDefaultsUpstreamConfigOutput() ConfigEntryServiceDefaultsUpstreamConfigOutput

func (ConfigEntryServiceDefaultsUpstreamConfigArgs) ToConfigEntryServiceDefaultsUpstreamConfigOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigArgs) ToConfigEntryServiceDefaultsUpstreamConfigOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOutput

type ConfigEntryServiceDefaultsUpstreamConfigArray

type ConfigEntryServiceDefaultsUpstreamConfigArray []ConfigEntryServiceDefaultsUpstreamConfigInput

func (ConfigEntryServiceDefaultsUpstreamConfigArray) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigArray) ToConfigEntryServiceDefaultsUpstreamConfigArrayOutput

func (i ConfigEntryServiceDefaultsUpstreamConfigArray) ToConfigEntryServiceDefaultsUpstreamConfigArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigArray) ToConfigEntryServiceDefaultsUpstreamConfigArrayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigArray) ToConfigEntryServiceDefaultsUpstreamConfigArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigArrayInput

type ConfigEntryServiceDefaultsUpstreamConfigArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigArrayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigArrayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigArrayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigArray and ConfigEntryServiceDefaultsUpstreamConfigArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigArrayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigArray{ ConfigEntryServiceDefaultsUpstreamConfigArgs{...} }

type ConfigEntryServiceDefaultsUpstreamConfigArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigArrayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigArrayOutput) Index

func (ConfigEntryServiceDefaultsUpstreamConfigArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigArrayOutput

func (o ConfigEntryServiceDefaultsUpstreamConfigArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigArrayOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefault

type ConfigEntryServiceDefaultsUpstreamConfigDefault struct {
	// Sets the strategy for allocating outbound connections from upstreams across Envoy proxy threads.
	BalanceOutboundConnections *string `pulumi:"balanceOutboundConnections"`
	ConnectTimeoutMs           *int    `pulumi:"connectTimeoutMs"`
	// Map that specifies a set of limits to apply to when connecting upstream services.
	Limits []ConfigEntryServiceDefaultsUpstreamConfigDefaultLimit `pulumi:"limits"`
	// Specifies the default mesh gateway mode field for all upstreams.
	MeshGateways []ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGateway `pulumi:"meshGateways"`
	// Map that specifies a set of rules that enable Consul to remove hosts from the upstream cluster that are unreachable or that return errors.
	PassiveHealthChecks []ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheck `pulumi:"passiveHealthChecks"`
	// Specifies the default protocol for the service.
	Protocol *string `pulumi:"protocol"`
}

type ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs

type ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs struct {
	// Sets the strategy for allocating outbound connections from upstreams across Envoy proxy threads.
	BalanceOutboundConnections pulumi.StringPtrInput `pulumi:"balanceOutboundConnections"`
	ConnectTimeoutMs           pulumi.IntPtrInput    `pulumi:"connectTimeoutMs"`
	// Map that specifies a set of limits to apply to when connecting upstream services.
	Limits ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayInput `pulumi:"limits"`
	// Specifies the default mesh gateway mode field for all upstreams.
	MeshGateways ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayInput `pulumi:"meshGateways"`
	// Map that specifies a set of rules that enable Consul to remove hosts from the upstream cluster that are unreachable or that return errors.
	PassiveHealthChecks ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayInput `pulumi:"passiveHealthChecks"`
	// Specifies the default protocol for the service.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
}

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultOutput

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultArray

type ConfigEntryServiceDefaultsUpstreamConfigDefaultArray []ConfigEntryServiceDefaultsUpstreamConfigDefaultInput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArray) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayInput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigDefaultArray and ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigDefaultArray{ ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs{...} }

type ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput) Index

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultInput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigDefaultOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput
	ToConfigEntryServiceDefaultsUpstreamConfigDefaultOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput
}

ConfigEntryServiceDefaultsUpstreamConfigDefaultInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs and ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigDefaultInput` via:

ConfigEntryServiceDefaultsUpstreamConfigDefaultArgs{...}

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimit

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimit struct {
	// Specifies the maximum number of concurrent requests.
	MaxConcurrentRequests *int `pulumi:"maxConcurrentRequests"`
	// Specifies the maximum number of connections a service instance can establish against the upstream.
	MaxConnections *int `pulumi:"maxConnections"`
	// Specifies the maximum number of requests that are queued while waiting for a connection to establish.
	MaxPendingRequests *int `pulumi:"maxPendingRequests"`
}

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArgs

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArgs struct {
	// Specifies the maximum number of concurrent requests.
	MaxConcurrentRequests pulumi.IntPtrInput `pulumi:"maxConcurrentRequests"`
	// Specifies the maximum number of connections a service instance can establish against the upstream.
	MaxConnections pulumi.IntPtrInput `pulumi:"maxConnections"`
	// Specifies the maximum number of requests that are queued while waiting for a connection to establish.
	MaxPendingRequests pulumi.IntPtrInput `pulumi:"maxPendingRequests"`
}

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArgs) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArray

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArray []ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitInput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArray) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayInput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArray and ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArray{ ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArgs{...} }

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput) Index

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitInput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput
	ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput
}

ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArgs and ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitInput` via:

ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitArgs{...}

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput) MaxConcurrentRequests

Specifies the maximum number of concurrent requests.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput) MaxConnections

Specifies the maximum number of connections a service instance can establish against the upstream.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput) MaxPendingRequests

Specifies the maximum number of requests that are queued while waiting for a connection to establish.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultLimitOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGateway

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGateway struct {
	Mode *string `pulumi:"mode"`
}

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArgs

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArgs struct {
	Mode pulumi.StringPtrInput `pulumi:"mode"`
}

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArgs) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArray

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArray []ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayInput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArray) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayInput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArray and ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArray{ ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArgs{...} }

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayInput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArgs and ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayArgs{...}

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput) Mode

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultMeshGatewayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) BalanceOutboundConnections

Sets the strategy for allocating outbound connections from upstreams across Envoy proxy threads.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) ConnectTimeoutMs

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) Limits

Map that specifies a set of limits to apply to when connecting upstream services.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) MeshGateways

Specifies the default mesh gateway mode field for all upstreams.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) PassiveHealthChecks

Map that specifies a set of rules that enable Consul to remove hosts from the upstream cluster that are unreachable or that return errors.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) Protocol

Specifies the default protocol for the service.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheck

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheck struct {
	// Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining.
	BaseEjectionTime *string `pulumi:"baseEjectionTime"`
	// Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status.
	EnforcingConsecutive5xx *int `pulumi:"enforcingConsecutive5xx"`
	// Specifies the time between checks.
	Interval *string `pulumi:"interval"`
	// Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier.
	MaxEjectionPercent *int `pulumi:"maxEjectionPercent"`
	// Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer.
	MaxFailures *int `pulumi:"maxFailures"`
}

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArgs

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArgs struct {
	// Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining.
	BaseEjectionTime pulumi.StringPtrInput `pulumi:"baseEjectionTime"`
	// Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status.
	EnforcingConsecutive5xx pulumi.IntPtrInput `pulumi:"enforcingConsecutive5xx"`
	// Specifies the time between checks.
	Interval pulumi.StringPtrInput `pulumi:"interval"`
	// Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier.
	MaxEjectionPercent pulumi.IntPtrInput `pulumi:"maxEjectionPercent"`
	// Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer.
	MaxFailures pulumi.IntPtrInput `pulumi:"maxFailures"`
}

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArgs) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArgs) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArray

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArray []ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckInput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArray) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArray) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayInput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArray and ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArray{ ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArgs{...} }

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArrayOutputWithContext

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckInput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput() ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput
	ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput
}

ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArgs and ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckInput` via:

ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckArgs{...}

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput

type ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput) BaseEjectionTime

Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput) EnforcingConsecutive5xx

Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput) Interval

Specifies the time between checks.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput) MaxEjectionPercent

Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput) MaxFailures

Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer.

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput

func (ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput) ToConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigDefaultPassiveHealthCheckOutput

type ConfigEntryServiceDefaultsUpstreamConfigInput

type ConfigEntryServiceDefaultsUpstreamConfigInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigOutput() ConfigEntryServiceDefaultsUpstreamConfigOutput
	ToConfigEntryServiceDefaultsUpstreamConfigOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigOutput
}

ConfigEntryServiceDefaultsUpstreamConfigInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigArgs and ConfigEntryServiceDefaultsUpstreamConfigOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigInput` via:

ConfigEntryServiceDefaultsUpstreamConfigArgs{...}

type ConfigEntryServiceDefaultsUpstreamConfigOutput

type ConfigEntryServiceDefaultsUpstreamConfigOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigOutput) Defaults

Specifies configurations that set default upstream settings. For information about overriding the default configurations for in for individual upstreams, refer to UpstreamConfig.Overrides.

func (ConfigEntryServiceDefaultsUpstreamConfigOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOutput) Overrides

Specifies options that override the default upstream configurations for individual upstreams.

func (ConfigEntryServiceDefaultsUpstreamConfigOutput) ToConfigEntryServiceDefaultsUpstreamConfigOutput

func (o ConfigEntryServiceDefaultsUpstreamConfigOutput) ToConfigEntryServiceDefaultsUpstreamConfigOutput() ConfigEntryServiceDefaultsUpstreamConfigOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOutput) ToConfigEntryServiceDefaultsUpstreamConfigOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigOutput) ToConfigEntryServiceDefaultsUpstreamConfigOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverride

type ConfigEntryServiceDefaultsUpstreamConfigOverride struct {
	// Sets the strategy for allocating outbound connections from upstreams across Envoy proxy threads.
	BalanceOutboundConnections *string `pulumi:"balanceOutboundConnections"`
	ConnectTimeoutMs           *int    `pulumi:"connectTimeoutMs"`
	EnvoyListenerJson          *string `pulumi:"envoyListenerJson"`
	// Map that specifies a set of limits to apply to when connecting upstream services.
	Limits []ConfigEntryServiceDefaultsUpstreamConfigOverrideLimit `pulumi:"limits"`
	// Specifies the default mesh gateway mode field for all upstreams.
	MeshGateways []ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGateway `pulumi:"meshGateways"`
	// Specifies the name of the service you are setting the defaults for.
	Name *string `pulumi:"name"`
	// Specifies the namespace containing the upstream service that the configuration applies to.
	Namespace *string `pulumi:"namespace"`
	// Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
	Partition *string `pulumi:"partition"`
	// Map that specifies a set of rules that enable Consul to remove hosts from the upstream cluster that are unreachable or that return errors.
	PassiveHealthChecks []ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheck `pulumi:"passiveHealthChecks"`
	// Specifies the peer name of the upstream service that the configuration applies to.
	Peer *string `pulumi:"peer"`
	// Specifies the default protocol for the service.
	Protocol *string `pulumi:"protocol"`
}

type ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs

type ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs struct {
	// Sets the strategy for allocating outbound connections from upstreams across Envoy proxy threads.
	BalanceOutboundConnections pulumi.StringPtrInput `pulumi:"balanceOutboundConnections"`
	ConnectTimeoutMs           pulumi.IntPtrInput    `pulumi:"connectTimeoutMs"`
	EnvoyListenerJson          pulumi.StringPtrInput `pulumi:"envoyListenerJson"`
	// Map that specifies a set of limits to apply to when connecting upstream services.
	Limits ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayInput `pulumi:"limits"`
	// Specifies the default mesh gateway mode field for all upstreams.
	MeshGateways ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayInput `pulumi:"meshGateways"`
	// Specifies the name of the service you are setting the defaults for.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies the namespace containing the upstream service that the configuration applies to.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// Map that specifies a set of rules that enable Consul to remove hosts from the upstream cluster that are unreachable or that return errors.
	PassiveHealthChecks ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayInput `pulumi:"passiveHealthChecks"`
	// Specifies the peer name of the upstream service that the configuration applies to.
	Peer pulumi.StringPtrInput `pulumi:"peer"`
	// Specifies the default protocol for the service.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
}

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideOutput

func (i ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideOutput() ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideArray

type ConfigEntryServiceDefaultsUpstreamConfigOverrideArray []ConfigEntryServiceDefaultsUpstreamConfigOverrideInput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArray) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput

func (i ConfigEntryServiceDefaultsUpstreamConfigOverrideArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigOverrideArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayInput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigOverrideArray and ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigOverrideArray{ ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs{...} }

type ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput) Index

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideInput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigOverrideOutput() ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput
	ToConfigEntryServiceDefaultsUpstreamConfigOverrideOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput
}

ConfigEntryServiceDefaultsUpstreamConfigOverrideInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs and ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigOverrideInput` via:

ConfigEntryServiceDefaultsUpstreamConfigOverrideArgs{...}

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimit

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimit struct {
	// Specifies the maximum number of concurrent requests.
	MaxConcurrentRequests *int `pulumi:"maxConcurrentRequests"`
	// Specifies the maximum number of connections a service instance can establish against the upstream.
	MaxConnections *int `pulumi:"maxConnections"`
	// Specifies the maximum number of requests that are queued while waiting for a connection to establish.
	MaxPendingRequests *int `pulumi:"maxPendingRequests"`
}

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArgs

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArgs struct {
	// Specifies the maximum number of concurrent requests.
	MaxConcurrentRequests pulumi.IntPtrInput `pulumi:"maxConcurrentRequests"`
	// Specifies the maximum number of connections a service instance can establish against the upstream.
	MaxConnections pulumi.IntPtrInput `pulumi:"maxConnections"`
	// Specifies the maximum number of requests that are queued while waiting for a connection to establish.
	MaxPendingRequests pulumi.IntPtrInput `pulumi:"maxPendingRequests"`
}

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArgs) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArray

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArray []ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitInput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArray) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayInput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArray and ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArray{ ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArgs{...} }

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput) Index

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitInput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput() ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput
	ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput
}

ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArgs and ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitInput` via:

ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitArgs{...}

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput) MaxConcurrentRequests

Specifies the maximum number of concurrent requests.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput) MaxConnections

Specifies the maximum number of connections a service instance can establish against the upstream.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput) MaxPendingRequests

Specifies the maximum number of requests that are queued while waiting for a connection to establish.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideLimitOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGateway

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGateway struct {
	Mode *string `pulumi:"mode"`
}

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArgs

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArgs struct {
	Mode pulumi.StringPtrInput `pulumi:"mode"`
}

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArgs) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArray

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArray []ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayInput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArray) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArray) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayInput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArray and ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArray{ ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArgs{...} }

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayInput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput() ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArgs and ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayArgs{...}

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput) Mode

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideMeshGatewayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) BalanceOutboundConnections

Sets the strategy for allocating outbound connections from upstreams across Envoy proxy threads.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) ConnectTimeoutMs

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) EnvoyListenerJson

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) Limits

Map that specifies a set of limits to apply to when connecting upstream services.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) MeshGateways

Specifies the default mesh gateway mode field for all upstreams.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) Name

Specifies the name of the service you are setting the defaults for.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) Namespace

Specifies the namespace containing the upstream service that the configuration applies to.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) Partition

Specifies the name of the name of the Consul admin partition that the configuration entry applies to.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) PassiveHealthChecks

Map that specifies a set of rules that enable Consul to remove hosts from the upstream cluster that are unreachable or that return errors.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) Peer

Specifies the peer name of the upstream service that the configuration applies to.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) Protocol

Specifies the default protocol for the service.

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideOutputWithContext

func (o ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverrideOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverrideOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheck

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheck struct {
	// Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining.
	BaseEjectionTime *string `pulumi:"baseEjectionTime"`
	// Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status.
	EnforcingConsecutive5xx *int `pulumi:"enforcingConsecutive5xx"`
	// Specifies the time between checks.
	Interval *string `pulumi:"interval"`
	// Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier.
	MaxEjectionPercent *int `pulumi:"maxEjectionPercent"`
	// Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer.
	MaxFailures *int `pulumi:"maxFailures"`
}

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArgs

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArgs struct {
	// Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining.
	BaseEjectionTime pulumi.StringPtrInput `pulumi:"baseEjectionTime"`
	// Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status.
	EnforcingConsecutive5xx pulumi.IntPtrInput `pulumi:"enforcingConsecutive5xx"`
	// Specifies the time between checks.
	Interval pulumi.StringPtrInput `pulumi:"interval"`
	// Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier.
	MaxEjectionPercent pulumi.IntPtrInput `pulumi:"maxEjectionPercent"`
	// Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer.
	MaxFailures pulumi.IntPtrInput `pulumi:"maxFailures"`
}

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArgs) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArgs) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArray

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArray []ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckInput

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArray) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArray) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArray) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutputWithContext

func (i ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArray) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutputWithContext(ctx context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayInput

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput() ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput
	ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput
}

ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArray and ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayInput` via:

ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArray{ ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArgs{...} }

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArrayOutputWithContext

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckInput

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckInput interface {
	pulumi.Input

	ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput() ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput
	ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutputWithContext(context.Context) ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput
}

ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckInput is an input type that accepts ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArgs and ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput values. You can construct a concrete instance of `ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckInput` via:

ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckArgs{...}

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput

type ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput) BaseEjectionTime

Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining.

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput) ElementType

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput) EnforcingConsecutive5xx

Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status.

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput) Interval

Specifies the time between checks.

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput) MaxEjectionPercent

Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier.

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput) MaxFailures

Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer.

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput

func (ConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutput) ToConfigEntryServiceDefaultsUpstreamConfigOverridePassiveHealthCheckOutputWithContext

type ConfigEntryServiceIntentions

type ConfigEntryServiceIntentions struct {
	pulumi.CustomResourceState

	// Specifies a JSON Web Token provider configured in a JWT provider configuration entry, as well as additional configurations for verifying a service's JWT before authorizing communication between services
	Jwts ConfigEntryServiceIntentionsJwtArrayOutput `pulumi:"jwts"`
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapOutput `pulumi:"meta"`
	// Specifies a name of the destination service for all intentions defined in the configuration entry.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the namespace to apply the configuration entry.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Specifies the admin partition to apply the configuration entry.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// List of configurations that define intention sources and the authorization granted to the sources.
	Sources ConfigEntryServiceIntentionsSourceArrayOutput `pulumi:"sources"`
}

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"ClockSkewSeconds": 30,
			"Issuer":           "test-issuer",
			"JSONWebKeySet": map[string]interface{}{
				"Remote": map[string]interface{}{
					"URI":                 "https://127.0.0.1:9091",
					"FetchAsynchronously": true,
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		jwtProvider, err := consul.NewConfigEntry(ctx, "jwt_provider", &consul.ConfigEntryArgs{
			Name:       pulumi.String("okta"),
			Kind:       pulumi.String("jwt-provider"),
			ConfigJson: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		_, err = consul.NewConfigEntryServiceIntentions(ctx, "web", &consul.ConfigEntryServiceIntentionsArgs{
			Name: pulumi.String("web"),
			Jwts: consul.ConfigEntryServiceIntentionsJwtArray{
				&consul.ConfigEntryServiceIntentionsJwtArgs{
					Providers: consul.ConfigEntryServiceIntentionsJwtProviderArray{
						&consul.ConfigEntryServiceIntentionsJwtProviderArgs{
							Name: jwtProvider.Name,
							VerifyClaims: consul.ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray{
								&consul.ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs{
									Paths: pulumi.StringArray{
										pulumi.String("perms"),
										pulumi.String("role"),
									},
									Value: pulumi.String("admin"),
								},
							},
						},
					},
				},
			},
			Sources: consul.ConfigEntryServiceIntentionsSourceArray{
				&consul.ConfigEntryServiceIntentionsSourceArgs{
					Name:   pulumi.String("frontend-webapp"),
					Type:   pulumi.String("consul"),
					Action: pulumi.String("allow"),
				},
				&consul.ConfigEntryServiceIntentionsSourceArgs{
					Name:   pulumi.String("nightly-cronjob"),
					Type:   pulumi.String("consul"),
					Action: pulumi.String("deny"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetConfigEntryServiceIntentions

func GetConfigEntryServiceIntentions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigEntryServiceIntentionsState, opts ...pulumi.ResourceOption) (*ConfigEntryServiceIntentions, error)

GetConfigEntryServiceIntentions gets an existing ConfigEntryServiceIntentions 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 NewConfigEntryServiceIntentions

func NewConfigEntryServiceIntentions(ctx *pulumi.Context,
	name string, args *ConfigEntryServiceIntentionsArgs, opts ...pulumi.ResourceOption) (*ConfigEntryServiceIntentions, error)

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

func (*ConfigEntryServiceIntentions) ElementType

func (*ConfigEntryServiceIntentions) ElementType() reflect.Type

func (*ConfigEntryServiceIntentions) ToConfigEntryServiceIntentionsOutput

func (i *ConfigEntryServiceIntentions) ToConfigEntryServiceIntentionsOutput() ConfigEntryServiceIntentionsOutput

func (*ConfigEntryServiceIntentions) ToConfigEntryServiceIntentionsOutputWithContext

func (i *ConfigEntryServiceIntentions) ToConfigEntryServiceIntentionsOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsOutput

type ConfigEntryServiceIntentionsArgs

type ConfigEntryServiceIntentionsArgs struct {
	// Specifies a JSON Web Token provider configured in a JWT provider configuration entry, as well as additional configurations for verifying a service's JWT before authorizing communication between services
	Jwts ConfigEntryServiceIntentionsJwtArrayInput
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapInput
	// Specifies a name of the destination service for all intentions defined in the configuration entry.
	Name pulumi.StringPtrInput
	// Specifies the namespace to apply the configuration entry.
	Namespace pulumi.StringPtrInput
	// Specifies the admin partition to apply the configuration entry.
	Partition pulumi.StringPtrInput
	// List of configurations that define intention sources and the authorization granted to the sources.
	Sources ConfigEntryServiceIntentionsSourceArrayInput
}

The set of arguments for constructing a ConfigEntryServiceIntentions resource.

func (ConfigEntryServiceIntentionsArgs) ElementType

type ConfigEntryServiceIntentionsArray

type ConfigEntryServiceIntentionsArray []ConfigEntryServiceIntentionsInput

func (ConfigEntryServiceIntentionsArray) ElementType

func (ConfigEntryServiceIntentionsArray) ToConfigEntryServiceIntentionsArrayOutput

func (i ConfigEntryServiceIntentionsArray) ToConfigEntryServiceIntentionsArrayOutput() ConfigEntryServiceIntentionsArrayOutput

func (ConfigEntryServiceIntentionsArray) ToConfigEntryServiceIntentionsArrayOutputWithContext

func (i ConfigEntryServiceIntentionsArray) ToConfigEntryServiceIntentionsArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsArrayOutput

type ConfigEntryServiceIntentionsArrayInput

type ConfigEntryServiceIntentionsArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsArrayOutput() ConfigEntryServiceIntentionsArrayOutput
	ToConfigEntryServiceIntentionsArrayOutputWithContext(context.Context) ConfigEntryServiceIntentionsArrayOutput
}

ConfigEntryServiceIntentionsArrayInput is an input type that accepts ConfigEntryServiceIntentionsArray and ConfigEntryServiceIntentionsArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsArrayInput` via:

ConfigEntryServiceIntentionsArray{ ConfigEntryServiceIntentionsArgs{...} }

type ConfigEntryServiceIntentionsArrayOutput

type ConfigEntryServiceIntentionsArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsArrayOutput) ElementType

func (ConfigEntryServiceIntentionsArrayOutput) Index

func (ConfigEntryServiceIntentionsArrayOutput) ToConfigEntryServiceIntentionsArrayOutput

func (o ConfigEntryServiceIntentionsArrayOutput) ToConfigEntryServiceIntentionsArrayOutput() ConfigEntryServiceIntentionsArrayOutput

func (ConfigEntryServiceIntentionsArrayOutput) ToConfigEntryServiceIntentionsArrayOutputWithContext

func (o ConfigEntryServiceIntentionsArrayOutput) ToConfigEntryServiceIntentionsArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsArrayOutput

type ConfigEntryServiceIntentionsInput

type ConfigEntryServiceIntentionsInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsOutput() ConfigEntryServiceIntentionsOutput
	ToConfigEntryServiceIntentionsOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsOutput
}

type ConfigEntryServiceIntentionsJwt

type ConfigEntryServiceIntentionsJwt struct {
	// Specifies the names of one or more previously configured JWT provider configuration entries, which include the information necessary to validate a JSON web token.
	Providers []ConfigEntryServiceIntentionsJwtProvider `pulumi:"providers"`
}

type ConfigEntryServiceIntentionsJwtArgs

type ConfigEntryServiceIntentionsJwtArgs struct {
	// Specifies the names of one or more previously configured JWT provider configuration entries, which include the information necessary to validate a JSON web token.
	Providers ConfigEntryServiceIntentionsJwtProviderArrayInput `pulumi:"providers"`
}

func (ConfigEntryServiceIntentionsJwtArgs) ElementType

func (ConfigEntryServiceIntentionsJwtArgs) ToConfigEntryServiceIntentionsJwtOutput

func (i ConfigEntryServiceIntentionsJwtArgs) ToConfigEntryServiceIntentionsJwtOutput() ConfigEntryServiceIntentionsJwtOutput

func (ConfigEntryServiceIntentionsJwtArgs) ToConfigEntryServiceIntentionsJwtOutputWithContext

func (i ConfigEntryServiceIntentionsJwtArgs) ToConfigEntryServiceIntentionsJwtOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtOutput

type ConfigEntryServiceIntentionsJwtArray

type ConfigEntryServiceIntentionsJwtArray []ConfigEntryServiceIntentionsJwtInput

func (ConfigEntryServiceIntentionsJwtArray) ElementType

func (ConfigEntryServiceIntentionsJwtArray) ToConfigEntryServiceIntentionsJwtArrayOutput

func (i ConfigEntryServiceIntentionsJwtArray) ToConfigEntryServiceIntentionsJwtArrayOutput() ConfigEntryServiceIntentionsJwtArrayOutput

func (ConfigEntryServiceIntentionsJwtArray) ToConfigEntryServiceIntentionsJwtArrayOutputWithContext

func (i ConfigEntryServiceIntentionsJwtArray) ToConfigEntryServiceIntentionsJwtArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtArrayOutput

type ConfigEntryServiceIntentionsJwtArrayInput

type ConfigEntryServiceIntentionsJwtArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsJwtArrayOutput() ConfigEntryServiceIntentionsJwtArrayOutput
	ToConfigEntryServiceIntentionsJwtArrayOutputWithContext(context.Context) ConfigEntryServiceIntentionsJwtArrayOutput
}

ConfigEntryServiceIntentionsJwtArrayInput is an input type that accepts ConfigEntryServiceIntentionsJwtArray and ConfigEntryServiceIntentionsJwtArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsJwtArrayInput` via:

ConfigEntryServiceIntentionsJwtArray{ ConfigEntryServiceIntentionsJwtArgs{...} }

type ConfigEntryServiceIntentionsJwtArrayOutput

type ConfigEntryServiceIntentionsJwtArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsJwtArrayOutput) ElementType

func (ConfigEntryServiceIntentionsJwtArrayOutput) Index

func (ConfigEntryServiceIntentionsJwtArrayOutput) ToConfigEntryServiceIntentionsJwtArrayOutput

func (o ConfigEntryServiceIntentionsJwtArrayOutput) ToConfigEntryServiceIntentionsJwtArrayOutput() ConfigEntryServiceIntentionsJwtArrayOutput

func (ConfigEntryServiceIntentionsJwtArrayOutput) ToConfigEntryServiceIntentionsJwtArrayOutputWithContext

func (o ConfigEntryServiceIntentionsJwtArrayOutput) ToConfigEntryServiceIntentionsJwtArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtArrayOutput

type ConfigEntryServiceIntentionsJwtInput

type ConfigEntryServiceIntentionsJwtInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsJwtOutput() ConfigEntryServiceIntentionsJwtOutput
	ToConfigEntryServiceIntentionsJwtOutputWithContext(context.Context) ConfigEntryServiceIntentionsJwtOutput
}

ConfigEntryServiceIntentionsJwtInput is an input type that accepts ConfigEntryServiceIntentionsJwtArgs and ConfigEntryServiceIntentionsJwtOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsJwtInput` via:

ConfigEntryServiceIntentionsJwtArgs{...}

type ConfigEntryServiceIntentionsJwtOutput

type ConfigEntryServiceIntentionsJwtOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsJwtOutput) ElementType

func (ConfigEntryServiceIntentionsJwtOutput) Providers

Specifies the names of one or more previously configured JWT provider configuration entries, which include the information necessary to validate a JSON web token.

func (ConfigEntryServiceIntentionsJwtOutput) ToConfigEntryServiceIntentionsJwtOutput

func (o ConfigEntryServiceIntentionsJwtOutput) ToConfigEntryServiceIntentionsJwtOutput() ConfigEntryServiceIntentionsJwtOutput

func (ConfigEntryServiceIntentionsJwtOutput) ToConfigEntryServiceIntentionsJwtOutputWithContext

func (o ConfigEntryServiceIntentionsJwtOutput) ToConfigEntryServiceIntentionsJwtOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtOutput

type ConfigEntryServiceIntentionsJwtProvider

type ConfigEntryServiceIntentionsJwtProvider struct {
	// Specifies the name of a JWT provider defined in the Name field of the jwt-provider configuration entry.
	Name *string `pulumi:"name"`
	// Specifies additional token information to verify beyond what is configured in the JWT provider configuration entry.
	VerifyClaims []ConfigEntryServiceIntentionsJwtProviderVerifyClaim `pulumi:"verifyClaims"`
}

type ConfigEntryServiceIntentionsJwtProviderArgs

type ConfigEntryServiceIntentionsJwtProviderArgs struct {
	// Specifies the name of a JWT provider defined in the Name field of the jwt-provider configuration entry.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies additional token information to verify beyond what is configured in the JWT provider configuration entry.
	VerifyClaims ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayInput `pulumi:"verifyClaims"`
}

func (ConfigEntryServiceIntentionsJwtProviderArgs) ElementType

func (ConfigEntryServiceIntentionsJwtProviderArgs) ToConfigEntryServiceIntentionsJwtProviderOutput

func (i ConfigEntryServiceIntentionsJwtProviderArgs) ToConfigEntryServiceIntentionsJwtProviderOutput() ConfigEntryServiceIntentionsJwtProviderOutput

func (ConfigEntryServiceIntentionsJwtProviderArgs) ToConfigEntryServiceIntentionsJwtProviderOutputWithContext

func (i ConfigEntryServiceIntentionsJwtProviderArgs) ToConfigEntryServiceIntentionsJwtProviderOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtProviderOutput

type ConfigEntryServiceIntentionsJwtProviderArray

type ConfigEntryServiceIntentionsJwtProviderArray []ConfigEntryServiceIntentionsJwtProviderInput

func (ConfigEntryServiceIntentionsJwtProviderArray) ElementType

func (ConfigEntryServiceIntentionsJwtProviderArray) ToConfigEntryServiceIntentionsJwtProviderArrayOutput

func (i ConfigEntryServiceIntentionsJwtProviderArray) ToConfigEntryServiceIntentionsJwtProviderArrayOutput() ConfigEntryServiceIntentionsJwtProviderArrayOutput

func (ConfigEntryServiceIntentionsJwtProviderArray) ToConfigEntryServiceIntentionsJwtProviderArrayOutputWithContext

func (i ConfigEntryServiceIntentionsJwtProviderArray) ToConfigEntryServiceIntentionsJwtProviderArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtProviderArrayOutput

type ConfigEntryServiceIntentionsJwtProviderArrayInput

type ConfigEntryServiceIntentionsJwtProviderArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsJwtProviderArrayOutput() ConfigEntryServiceIntentionsJwtProviderArrayOutput
	ToConfigEntryServiceIntentionsJwtProviderArrayOutputWithContext(context.Context) ConfigEntryServiceIntentionsJwtProviderArrayOutput
}

ConfigEntryServiceIntentionsJwtProviderArrayInput is an input type that accepts ConfigEntryServiceIntentionsJwtProviderArray and ConfigEntryServiceIntentionsJwtProviderArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsJwtProviderArrayInput` via:

ConfigEntryServiceIntentionsJwtProviderArray{ ConfigEntryServiceIntentionsJwtProviderArgs{...} }

type ConfigEntryServiceIntentionsJwtProviderArrayOutput

type ConfigEntryServiceIntentionsJwtProviderArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsJwtProviderArrayOutput) ElementType

func (ConfigEntryServiceIntentionsJwtProviderArrayOutput) Index

func (ConfigEntryServiceIntentionsJwtProviderArrayOutput) ToConfigEntryServiceIntentionsJwtProviderArrayOutput

func (o ConfigEntryServiceIntentionsJwtProviderArrayOutput) ToConfigEntryServiceIntentionsJwtProviderArrayOutput() ConfigEntryServiceIntentionsJwtProviderArrayOutput

func (ConfigEntryServiceIntentionsJwtProviderArrayOutput) ToConfigEntryServiceIntentionsJwtProviderArrayOutputWithContext

func (o ConfigEntryServiceIntentionsJwtProviderArrayOutput) ToConfigEntryServiceIntentionsJwtProviderArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtProviderArrayOutput

type ConfigEntryServiceIntentionsJwtProviderInput

type ConfigEntryServiceIntentionsJwtProviderInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsJwtProviderOutput() ConfigEntryServiceIntentionsJwtProviderOutput
	ToConfigEntryServiceIntentionsJwtProviderOutputWithContext(context.Context) ConfigEntryServiceIntentionsJwtProviderOutput
}

ConfigEntryServiceIntentionsJwtProviderInput is an input type that accepts ConfigEntryServiceIntentionsJwtProviderArgs and ConfigEntryServiceIntentionsJwtProviderOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsJwtProviderInput` via:

ConfigEntryServiceIntentionsJwtProviderArgs{...}

type ConfigEntryServiceIntentionsJwtProviderOutput

type ConfigEntryServiceIntentionsJwtProviderOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsJwtProviderOutput) ElementType

func (ConfigEntryServiceIntentionsJwtProviderOutput) Name

Specifies the name of a JWT provider defined in the Name field of the jwt-provider configuration entry.

func (ConfigEntryServiceIntentionsJwtProviderOutput) ToConfigEntryServiceIntentionsJwtProviderOutput

func (o ConfigEntryServiceIntentionsJwtProviderOutput) ToConfigEntryServiceIntentionsJwtProviderOutput() ConfigEntryServiceIntentionsJwtProviderOutput

func (ConfigEntryServiceIntentionsJwtProviderOutput) ToConfigEntryServiceIntentionsJwtProviderOutputWithContext

func (o ConfigEntryServiceIntentionsJwtProviderOutput) ToConfigEntryServiceIntentionsJwtProviderOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtProviderOutput

func (ConfigEntryServiceIntentionsJwtProviderOutput) VerifyClaims

Specifies additional token information to verify beyond what is configured in the JWT provider configuration entry.

type ConfigEntryServiceIntentionsJwtProviderVerifyClaim

type ConfigEntryServiceIntentionsJwtProviderVerifyClaim struct {
	// Specifies the path to the claim in the JSON web token.
	Paths []string `pulumi:"paths"`
	// Specifies the value to match on when verifying the the claim designated in path.
	Value *string `pulumi:"value"`
}

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs struct {
	// Specifies the path to the claim in the JSON web token.
	Paths pulumi.StringArrayInput `pulumi:"paths"`
	// Specifies the value to match on when verifying the the claim designated in path.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs) ElementType

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimOutputWithContext

func (i ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray []ConfigEntryServiceIntentionsJwtProviderVerifyClaimInput

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray) ElementType

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput

func (i ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput() ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutputWithContext

func (i ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayInput

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput() ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput
	ToConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutputWithContext(context.Context) ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput
}

ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayInput is an input type that accepts ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray and ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayInput` via:

ConfigEntryServiceIntentionsJwtProviderVerifyClaimArray{ ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs{...} }

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput) ElementType

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput) Index

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutputWithContext

func (o ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtProviderVerifyClaimArrayOutput

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimInput

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput() ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput
	ToConfigEntryServiceIntentionsJwtProviderVerifyClaimOutputWithContext(context.Context) ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput
}

ConfigEntryServiceIntentionsJwtProviderVerifyClaimInput is an input type that accepts ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs and ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsJwtProviderVerifyClaimInput` via:

ConfigEntryServiceIntentionsJwtProviderVerifyClaimArgs{...}

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput

type ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput) ElementType

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput) Paths

Specifies the path to the claim in the JSON web token.

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimOutputWithContext

func (o ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput) ToConfigEntryServiceIntentionsJwtProviderVerifyClaimOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput

func (ConfigEntryServiceIntentionsJwtProviderVerifyClaimOutput) Value

Specifies the value to match on when verifying the the claim designated in path.

type ConfigEntryServiceIntentionsMap

type ConfigEntryServiceIntentionsMap map[string]ConfigEntryServiceIntentionsInput

func (ConfigEntryServiceIntentionsMap) ElementType

func (ConfigEntryServiceIntentionsMap) ToConfigEntryServiceIntentionsMapOutput

func (i ConfigEntryServiceIntentionsMap) ToConfigEntryServiceIntentionsMapOutput() ConfigEntryServiceIntentionsMapOutput

func (ConfigEntryServiceIntentionsMap) ToConfigEntryServiceIntentionsMapOutputWithContext

func (i ConfigEntryServiceIntentionsMap) ToConfigEntryServiceIntentionsMapOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsMapOutput

type ConfigEntryServiceIntentionsMapInput

type ConfigEntryServiceIntentionsMapInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsMapOutput() ConfigEntryServiceIntentionsMapOutput
	ToConfigEntryServiceIntentionsMapOutputWithContext(context.Context) ConfigEntryServiceIntentionsMapOutput
}

ConfigEntryServiceIntentionsMapInput is an input type that accepts ConfigEntryServiceIntentionsMap and ConfigEntryServiceIntentionsMapOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsMapInput` via:

ConfigEntryServiceIntentionsMap{ "key": ConfigEntryServiceIntentionsArgs{...} }

type ConfigEntryServiceIntentionsMapOutput

type ConfigEntryServiceIntentionsMapOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsMapOutput) ElementType

func (ConfigEntryServiceIntentionsMapOutput) MapIndex

func (ConfigEntryServiceIntentionsMapOutput) ToConfigEntryServiceIntentionsMapOutput

func (o ConfigEntryServiceIntentionsMapOutput) ToConfigEntryServiceIntentionsMapOutput() ConfigEntryServiceIntentionsMapOutput

func (ConfigEntryServiceIntentionsMapOutput) ToConfigEntryServiceIntentionsMapOutputWithContext

func (o ConfigEntryServiceIntentionsMapOutput) ToConfigEntryServiceIntentionsMapOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsMapOutput

type ConfigEntryServiceIntentionsOutput

type ConfigEntryServiceIntentionsOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsOutput) ElementType

func (ConfigEntryServiceIntentionsOutput) Jwts

Specifies a JSON Web Token provider configured in a JWT provider configuration entry, as well as additional configurations for verifying a service's JWT before authorizing communication between services

func (ConfigEntryServiceIntentionsOutput) Meta

Specifies key-value pairs to add to the KV store.

func (ConfigEntryServiceIntentionsOutput) Name

Specifies a name of the destination service for all intentions defined in the configuration entry.

func (ConfigEntryServiceIntentionsOutput) Namespace

Specifies the namespace to apply the configuration entry.

func (ConfigEntryServiceIntentionsOutput) Partition

Specifies the admin partition to apply the configuration entry.

func (ConfigEntryServiceIntentionsOutput) Sources

List of configurations that define intention sources and the authorization granted to the sources.

func (ConfigEntryServiceIntentionsOutput) ToConfigEntryServiceIntentionsOutput

func (o ConfigEntryServiceIntentionsOutput) ToConfigEntryServiceIntentionsOutput() ConfigEntryServiceIntentionsOutput

func (ConfigEntryServiceIntentionsOutput) ToConfigEntryServiceIntentionsOutputWithContext

func (o ConfigEntryServiceIntentionsOutput) ToConfigEntryServiceIntentionsOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsOutput

type ConfigEntryServiceIntentionsSource

type ConfigEntryServiceIntentionsSource struct {
	// Specifies the action to take when the source sends traffic to the destination service.
	Action *string `pulumi:"action"`
	// Specifies a description of the intention.
	Description *string `pulumi:"description"`
	// Specifies the name of the source that the intention allows or denies traffic from.
	Name *string `pulumi:"name"`
	// Specifies the traffic source namespace that the intention allows or denies traffic from.
	Namespace *string `pulumi:"namespace"`
	// Specifies the name of an admin partition that the intention allows or denies traffic from.
	Partition *string `pulumi:"partition"`
	// Specifies the name of a peered Consul cluster that the intention allows or denies traffic from
	Peer *string `pulumi:"peer"`
	// Specifies a list of permissions for L7 traffic sources. The list contains one or more actions and a set of match criteria for each action.
	Permissions []ConfigEntryServiceIntentionsSourcePermission `pulumi:"permissions"`
	// The Precedence field contains a read-only integer. Consul generates the value based on name configurations for the source and destination services.
	Precedence *int `pulumi:"precedence"`
	// Specifies the name of a sameness group that the intention allows or denies traffic from.
	SamenessGroup *string `pulumi:"samenessGroup"`
	// Specifies the type of destination service that the configuration entry applies to.
	Type *string `pulumi:"type"`
}

type ConfigEntryServiceIntentionsSourceArgs

type ConfigEntryServiceIntentionsSourceArgs struct {
	// Specifies the action to take when the source sends traffic to the destination service.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// Specifies a description of the intention.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Specifies the name of the source that the intention allows or denies traffic from.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies the traffic source namespace that the intention allows or denies traffic from.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Specifies the name of an admin partition that the intention allows or denies traffic from.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// Specifies the name of a peered Consul cluster that the intention allows or denies traffic from
	Peer pulumi.StringPtrInput `pulumi:"peer"`
	// Specifies a list of permissions for L7 traffic sources. The list contains one or more actions and a set of match criteria for each action.
	Permissions ConfigEntryServiceIntentionsSourcePermissionArrayInput `pulumi:"permissions"`
	// The Precedence field contains a read-only integer. Consul generates the value based on name configurations for the source and destination services.
	Precedence pulumi.IntPtrInput `pulumi:"precedence"`
	// Specifies the name of a sameness group that the intention allows or denies traffic from.
	SamenessGroup pulumi.StringPtrInput `pulumi:"samenessGroup"`
	// Specifies the type of destination service that the configuration entry applies to.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ConfigEntryServiceIntentionsSourceArgs) ElementType

func (ConfigEntryServiceIntentionsSourceArgs) ToConfigEntryServiceIntentionsSourceOutput

func (i ConfigEntryServiceIntentionsSourceArgs) ToConfigEntryServiceIntentionsSourceOutput() ConfigEntryServiceIntentionsSourceOutput

func (ConfigEntryServiceIntentionsSourceArgs) ToConfigEntryServiceIntentionsSourceOutputWithContext

func (i ConfigEntryServiceIntentionsSourceArgs) ToConfigEntryServiceIntentionsSourceOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourceOutput

type ConfigEntryServiceIntentionsSourceArray

type ConfigEntryServiceIntentionsSourceArray []ConfigEntryServiceIntentionsSourceInput

func (ConfigEntryServiceIntentionsSourceArray) ElementType

func (ConfigEntryServiceIntentionsSourceArray) ToConfigEntryServiceIntentionsSourceArrayOutput

func (i ConfigEntryServiceIntentionsSourceArray) ToConfigEntryServiceIntentionsSourceArrayOutput() ConfigEntryServiceIntentionsSourceArrayOutput

func (ConfigEntryServiceIntentionsSourceArray) ToConfigEntryServiceIntentionsSourceArrayOutputWithContext

func (i ConfigEntryServiceIntentionsSourceArray) ToConfigEntryServiceIntentionsSourceArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourceArrayOutput

type ConfigEntryServiceIntentionsSourceArrayInput

type ConfigEntryServiceIntentionsSourceArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsSourceArrayOutput() ConfigEntryServiceIntentionsSourceArrayOutput
	ToConfigEntryServiceIntentionsSourceArrayOutputWithContext(context.Context) ConfigEntryServiceIntentionsSourceArrayOutput
}

ConfigEntryServiceIntentionsSourceArrayInput is an input type that accepts ConfigEntryServiceIntentionsSourceArray and ConfigEntryServiceIntentionsSourceArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsSourceArrayInput` via:

ConfigEntryServiceIntentionsSourceArray{ ConfigEntryServiceIntentionsSourceArgs{...} }

type ConfigEntryServiceIntentionsSourceArrayOutput

type ConfigEntryServiceIntentionsSourceArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsSourceArrayOutput) ElementType

func (ConfigEntryServiceIntentionsSourceArrayOutput) Index

func (ConfigEntryServiceIntentionsSourceArrayOutput) ToConfigEntryServiceIntentionsSourceArrayOutput

func (o ConfigEntryServiceIntentionsSourceArrayOutput) ToConfigEntryServiceIntentionsSourceArrayOutput() ConfigEntryServiceIntentionsSourceArrayOutput

func (ConfigEntryServiceIntentionsSourceArrayOutput) ToConfigEntryServiceIntentionsSourceArrayOutputWithContext

func (o ConfigEntryServiceIntentionsSourceArrayOutput) ToConfigEntryServiceIntentionsSourceArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourceArrayOutput

type ConfigEntryServiceIntentionsSourceInput

type ConfigEntryServiceIntentionsSourceInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsSourceOutput() ConfigEntryServiceIntentionsSourceOutput
	ToConfigEntryServiceIntentionsSourceOutputWithContext(context.Context) ConfigEntryServiceIntentionsSourceOutput
}

ConfigEntryServiceIntentionsSourceInput is an input type that accepts ConfigEntryServiceIntentionsSourceArgs and ConfigEntryServiceIntentionsSourceOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsSourceInput` via:

ConfigEntryServiceIntentionsSourceArgs{...}

type ConfigEntryServiceIntentionsSourceOutput

type ConfigEntryServiceIntentionsSourceOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsSourceOutput) Action

Specifies the action to take when the source sends traffic to the destination service.

func (ConfigEntryServiceIntentionsSourceOutput) Description

Specifies a description of the intention.

func (ConfigEntryServiceIntentionsSourceOutput) ElementType

func (ConfigEntryServiceIntentionsSourceOutput) Name

Specifies the name of the source that the intention allows or denies traffic from.

func (ConfigEntryServiceIntentionsSourceOutput) Namespace

Specifies the traffic source namespace that the intention allows or denies traffic from.

func (ConfigEntryServiceIntentionsSourceOutput) Partition

Specifies the name of an admin partition that the intention allows or denies traffic from.

func (ConfigEntryServiceIntentionsSourceOutput) Peer

Specifies the name of a peered Consul cluster that the intention allows or denies traffic from

func (ConfigEntryServiceIntentionsSourceOutput) Permissions

Specifies a list of permissions for L7 traffic sources. The list contains one or more actions and a set of match criteria for each action.

func (ConfigEntryServiceIntentionsSourceOutput) Precedence

The Precedence field contains a read-only integer. Consul generates the value based on name configurations for the source and destination services.

func (ConfigEntryServiceIntentionsSourceOutput) SamenessGroup

Specifies the name of a sameness group that the intention allows or denies traffic from.

func (ConfigEntryServiceIntentionsSourceOutput) ToConfigEntryServiceIntentionsSourceOutput

func (o ConfigEntryServiceIntentionsSourceOutput) ToConfigEntryServiceIntentionsSourceOutput() ConfigEntryServiceIntentionsSourceOutput

func (ConfigEntryServiceIntentionsSourceOutput) ToConfigEntryServiceIntentionsSourceOutputWithContext

func (o ConfigEntryServiceIntentionsSourceOutput) ToConfigEntryServiceIntentionsSourceOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourceOutput

func (ConfigEntryServiceIntentionsSourceOutput) Type

Specifies the type of destination service that the configuration entry applies to.

type ConfigEntryServiceIntentionsSourcePermission

type ConfigEntryServiceIntentionsSourcePermission struct {
	// Specifies the action to take when the source sends traffic to the destination service. The value is either allow or deny.
	Action string `pulumi:"action"`
	// Specifies a set of HTTP-specific match criteria.
	Https []ConfigEntryServiceIntentionsSourcePermissionHttp `pulumi:"https"`
}

type ConfigEntryServiceIntentionsSourcePermissionArgs

type ConfigEntryServiceIntentionsSourcePermissionArgs struct {
	// Specifies the action to take when the source sends traffic to the destination service. The value is either allow or deny.
	Action pulumi.StringInput `pulumi:"action"`
	// Specifies a set of HTTP-specific match criteria.
	Https ConfigEntryServiceIntentionsSourcePermissionHttpArrayInput `pulumi:"https"`
}

func (ConfigEntryServiceIntentionsSourcePermissionArgs) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionArgs) ToConfigEntryServiceIntentionsSourcePermissionOutput

func (i ConfigEntryServiceIntentionsSourcePermissionArgs) ToConfigEntryServiceIntentionsSourcePermissionOutput() ConfigEntryServiceIntentionsSourcePermissionOutput

func (ConfigEntryServiceIntentionsSourcePermissionArgs) ToConfigEntryServiceIntentionsSourcePermissionOutputWithContext

func (i ConfigEntryServiceIntentionsSourcePermissionArgs) ToConfigEntryServiceIntentionsSourcePermissionOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionOutput

type ConfigEntryServiceIntentionsSourcePermissionArray

type ConfigEntryServiceIntentionsSourcePermissionArray []ConfigEntryServiceIntentionsSourcePermissionInput

func (ConfigEntryServiceIntentionsSourcePermissionArray) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionArray) ToConfigEntryServiceIntentionsSourcePermissionArrayOutput

func (i ConfigEntryServiceIntentionsSourcePermissionArray) ToConfigEntryServiceIntentionsSourcePermissionArrayOutput() ConfigEntryServiceIntentionsSourcePermissionArrayOutput

func (ConfigEntryServiceIntentionsSourcePermissionArray) ToConfigEntryServiceIntentionsSourcePermissionArrayOutputWithContext

func (i ConfigEntryServiceIntentionsSourcePermissionArray) ToConfigEntryServiceIntentionsSourcePermissionArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionArrayOutput

type ConfigEntryServiceIntentionsSourcePermissionArrayInput

type ConfigEntryServiceIntentionsSourcePermissionArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsSourcePermissionArrayOutput() ConfigEntryServiceIntentionsSourcePermissionArrayOutput
	ToConfigEntryServiceIntentionsSourcePermissionArrayOutputWithContext(context.Context) ConfigEntryServiceIntentionsSourcePermissionArrayOutput
}

ConfigEntryServiceIntentionsSourcePermissionArrayInput is an input type that accepts ConfigEntryServiceIntentionsSourcePermissionArray and ConfigEntryServiceIntentionsSourcePermissionArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsSourcePermissionArrayInput` via:

ConfigEntryServiceIntentionsSourcePermissionArray{ ConfigEntryServiceIntentionsSourcePermissionArgs{...} }

type ConfigEntryServiceIntentionsSourcePermissionArrayOutput

type ConfigEntryServiceIntentionsSourcePermissionArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsSourcePermissionArrayOutput) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionArrayOutput) Index

func (ConfigEntryServiceIntentionsSourcePermissionArrayOutput) ToConfigEntryServiceIntentionsSourcePermissionArrayOutput

func (ConfigEntryServiceIntentionsSourcePermissionArrayOutput) ToConfigEntryServiceIntentionsSourcePermissionArrayOutputWithContext

func (o ConfigEntryServiceIntentionsSourcePermissionArrayOutput) ToConfigEntryServiceIntentionsSourcePermissionArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionArrayOutput

type ConfigEntryServiceIntentionsSourcePermissionHttp

type ConfigEntryServiceIntentionsSourcePermissionHttp struct {
	// Specifies a header name and matching criteria for HTTP request headers.
	Headers []ConfigEntryServiceIntentionsSourcePermissionHttpHeader `pulumi:"headers"`
	// Specifies a list of HTTP methods.
	Methods []string `pulumi:"methods"`
	// Specifies an exact path to match on the HTTP request path.
	PathExact *string `pulumi:"pathExact"`
	// Specifies a path prefix to match on the HTTP request path.
	PathPrefix *string `pulumi:"pathPrefix"`
	// Defines a regular expression to match on the HTTP request path.
	PathRegex *string `pulumi:"pathRegex"`
}

type ConfigEntryServiceIntentionsSourcePermissionHttpArgs

type ConfigEntryServiceIntentionsSourcePermissionHttpArgs struct {
	// Specifies a header name and matching criteria for HTTP request headers.
	Headers ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayInput `pulumi:"headers"`
	// Specifies a list of HTTP methods.
	Methods pulumi.StringArrayInput `pulumi:"methods"`
	// Specifies an exact path to match on the HTTP request path.
	PathExact pulumi.StringPtrInput `pulumi:"pathExact"`
	// Specifies a path prefix to match on the HTTP request path.
	PathPrefix pulumi.StringPtrInput `pulumi:"pathPrefix"`
	// Defines a regular expression to match on the HTTP request path.
	PathRegex pulumi.StringPtrInput `pulumi:"pathRegex"`
}

func (ConfigEntryServiceIntentionsSourcePermissionHttpArgs) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionHttpArgs) ToConfigEntryServiceIntentionsSourcePermissionHttpOutput

func (i ConfigEntryServiceIntentionsSourcePermissionHttpArgs) ToConfigEntryServiceIntentionsSourcePermissionHttpOutput() ConfigEntryServiceIntentionsSourcePermissionHttpOutput

func (ConfigEntryServiceIntentionsSourcePermissionHttpArgs) ToConfigEntryServiceIntentionsSourcePermissionHttpOutputWithContext

func (i ConfigEntryServiceIntentionsSourcePermissionHttpArgs) ToConfigEntryServiceIntentionsSourcePermissionHttpOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpArray

type ConfigEntryServiceIntentionsSourcePermissionHttpArray []ConfigEntryServiceIntentionsSourcePermissionHttpInput

func (ConfigEntryServiceIntentionsSourcePermissionHttpArray) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionHttpArray) ToConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput

func (i ConfigEntryServiceIntentionsSourcePermissionHttpArray) ToConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput() ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput

func (ConfigEntryServiceIntentionsSourcePermissionHttpArray) ToConfigEntryServiceIntentionsSourcePermissionHttpArrayOutputWithContext

func (i ConfigEntryServiceIntentionsSourcePermissionHttpArray) ToConfigEntryServiceIntentionsSourcePermissionHttpArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpArrayInput

type ConfigEntryServiceIntentionsSourcePermissionHttpArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput() ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput
	ToConfigEntryServiceIntentionsSourcePermissionHttpArrayOutputWithContext(context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput
}

ConfigEntryServiceIntentionsSourcePermissionHttpArrayInput is an input type that accepts ConfigEntryServiceIntentionsSourcePermissionHttpArray and ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsSourcePermissionHttpArrayInput` via:

ConfigEntryServiceIntentionsSourcePermissionHttpArray{ ConfigEntryServiceIntentionsSourcePermissionHttpArgs{...} }

type ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput) Index

func (ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput

func (ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpArrayOutputWithContext

func (o ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpArrayOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpHeader

type ConfigEntryServiceIntentionsSourcePermissionHttpHeader struct {
	// Specifies a value for the header key set in the Name field. If the request header value matches the Exact value, Consul applies the permission.
	Exact *string `pulumi:"exact"`
	// Inverts the matching logic configured in the Header.
	Invert *bool `pulumi:"invert"`
	// Specifies the name of the header to match.
	Name string `pulumi:"name"`
	// Specifies a prefix value for the header key set in the Name field.
	Prefix *string `pulumi:"prefix"`
	// Enables a match if the header configured in the Name field appears in the request. Consul matches on any value as long as the header key appears in the request.
	Present *bool `pulumi:"present"`
	// Specifies a regular expression pattern as the value for the header key set in the Name field.
	Regex *string `pulumi:"regex"`
	// Specifies a suffix value for the header key set in the Name field.
	Suffix *string `pulumi:"suffix"`
}

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArgs

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArgs struct {
	// Specifies a value for the header key set in the Name field. If the request header value matches the Exact value, Consul applies the permission.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// Inverts the matching logic configured in the Header.
	Invert pulumi.BoolPtrInput `pulumi:"invert"`
	// Specifies the name of the header to match.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies a prefix value for the header key set in the Name field.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// Enables a match if the header configured in the Name field appears in the request. Consul matches on any value as long as the header key appears in the request.
	Present pulumi.BoolPtrInput `pulumi:"present"`
	// Specifies a regular expression pattern as the value for the header key set in the Name field.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// Specifies a suffix value for the header key set in the Name field.
	Suffix pulumi.StringPtrInput `pulumi:"suffix"`
}

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArgs) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArgs) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArgs) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutputWithContext

func (i ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArgs) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArray

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArray []ConfigEntryServiceIntentionsSourcePermissionHttpHeaderInput

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArray) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArray) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArray) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutputWithContext

func (i ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArray) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayInput

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput() ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput
	ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutputWithContext(context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput
}

ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayInput is an input type that accepts ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArray and ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayInput` via:

ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArray{ ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArgs{...} }

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput) Index

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutputWithContext

func (o ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArrayOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderInput

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput() ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput
	ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutputWithContext(context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput
}

ConfigEntryServiceIntentionsSourcePermissionHttpHeaderInput is an input type that accepts ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArgs and ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsSourcePermissionHttpHeaderInput` via:

ConfigEntryServiceIntentionsSourcePermissionHttpHeaderArgs{...}

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) Exact

Specifies a value for the header key set in the Name field. If the request header value matches the Exact value, Consul applies the permission.

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) Invert

Inverts the matching logic configured in the Header.

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) Name

Specifies the name of the header to match.

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) Prefix

Specifies a prefix value for the header key set in the Name field.

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) Present

Enables a match if the header configured in the Name field appears in the request. Consul matches on any value as long as the header key appears in the request.

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) Regex

Specifies a regular expression pattern as the value for the header key set in the Name field.

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) Suffix

Specifies a suffix value for the header key set in the Name field.

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput

func (ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutputWithContext

func (o ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpHeaderOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpInput

type ConfigEntryServiceIntentionsSourcePermissionHttpInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsSourcePermissionHttpOutput() ConfigEntryServiceIntentionsSourcePermissionHttpOutput
	ToConfigEntryServiceIntentionsSourcePermissionHttpOutputWithContext(context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpOutput
}

ConfigEntryServiceIntentionsSourcePermissionHttpInput is an input type that accepts ConfigEntryServiceIntentionsSourcePermissionHttpArgs and ConfigEntryServiceIntentionsSourcePermissionHttpOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsSourcePermissionHttpInput` via:

ConfigEntryServiceIntentionsSourcePermissionHttpArgs{...}

type ConfigEntryServiceIntentionsSourcePermissionHttpOutput

type ConfigEntryServiceIntentionsSourcePermissionHttpOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsSourcePermissionHttpOutput) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionHttpOutput) Headers

Specifies a header name and matching criteria for HTTP request headers.

func (ConfigEntryServiceIntentionsSourcePermissionHttpOutput) Methods

Specifies a list of HTTP methods.

func (ConfigEntryServiceIntentionsSourcePermissionHttpOutput) PathExact

Specifies an exact path to match on the HTTP request path.

func (ConfigEntryServiceIntentionsSourcePermissionHttpOutput) PathPrefix

Specifies a path prefix to match on the HTTP request path.

func (ConfigEntryServiceIntentionsSourcePermissionHttpOutput) PathRegex

Defines a regular expression to match on the HTTP request path.

func (ConfigEntryServiceIntentionsSourcePermissionHttpOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpOutput

func (ConfigEntryServiceIntentionsSourcePermissionHttpOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpOutputWithContext

func (o ConfigEntryServiceIntentionsSourcePermissionHttpOutput) ToConfigEntryServiceIntentionsSourcePermissionHttpOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionHttpOutput

type ConfigEntryServiceIntentionsSourcePermissionInput

type ConfigEntryServiceIntentionsSourcePermissionInput interface {
	pulumi.Input

	ToConfigEntryServiceIntentionsSourcePermissionOutput() ConfigEntryServiceIntentionsSourcePermissionOutput
	ToConfigEntryServiceIntentionsSourcePermissionOutputWithContext(context.Context) ConfigEntryServiceIntentionsSourcePermissionOutput
}

ConfigEntryServiceIntentionsSourcePermissionInput is an input type that accepts ConfigEntryServiceIntentionsSourcePermissionArgs and ConfigEntryServiceIntentionsSourcePermissionOutput values. You can construct a concrete instance of `ConfigEntryServiceIntentionsSourcePermissionInput` via:

ConfigEntryServiceIntentionsSourcePermissionArgs{...}

type ConfigEntryServiceIntentionsSourcePermissionOutput

type ConfigEntryServiceIntentionsSourcePermissionOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceIntentionsSourcePermissionOutput) Action

Specifies the action to take when the source sends traffic to the destination service. The value is either allow or deny.

func (ConfigEntryServiceIntentionsSourcePermissionOutput) ElementType

func (ConfigEntryServiceIntentionsSourcePermissionOutput) Https

Specifies a set of HTTP-specific match criteria.

func (ConfigEntryServiceIntentionsSourcePermissionOutput) ToConfigEntryServiceIntentionsSourcePermissionOutput

func (o ConfigEntryServiceIntentionsSourcePermissionOutput) ToConfigEntryServiceIntentionsSourcePermissionOutput() ConfigEntryServiceIntentionsSourcePermissionOutput

func (ConfigEntryServiceIntentionsSourcePermissionOutput) ToConfigEntryServiceIntentionsSourcePermissionOutputWithContext

func (o ConfigEntryServiceIntentionsSourcePermissionOutput) ToConfigEntryServiceIntentionsSourcePermissionOutputWithContext(ctx context.Context) ConfigEntryServiceIntentionsSourcePermissionOutput

type ConfigEntryServiceIntentionsState

type ConfigEntryServiceIntentionsState struct {
	// Specifies a JSON Web Token provider configured in a JWT provider configuration entry, as well as additional configurations for verifying a service's JWT before authorizing communication between services
	Jwts ConfigEntryServiceIntentionsJwtArrayInput
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapInput
	// Specifies a name of the destination service for all intentions defined in the configuration entry.
	Name pulumi.StringPtrInput
	// Specifies the namespace to apply the configuration entry.
	Namespace pulumi.StringPtrInput
	// Specifies the admin partition to apply the configuration entry.
	Partition pulumi.StringPtrInput
	// List of configurations that define intention sources and the authorization granted to the sources.
	Sources ConfigEntryServiceIntentionsSourceArrayInput
}

func (ConfigEntryServiceIntentionsState) ElementType

type ConfigEntryServiceResolver

type ConfigEntryServiceResolver struct {
	pulumi.CustomResourceState

	// Specifies the timeout duration for establishing new network connections to this service.
	ConnectTimeout pulumi.StringPtrOutput `pulumi:"connectTimeout"`
	// Specifies a defined subset of service instances to use when no explicit subset is requested. If this parameter is not specified, Consul uses the unnamed default subset.
	DefaultSubset pulumi.StringPtrOutput `pulumi:"defaultSubset"`
	// Specifies controls for rerouting traffic to an alternate pool of service instances if the target service fails.
	Failovers ConfigEntryServiceResolverFailoverArrayOutput `pulumi:"failovers"`
	// Specifies the load balancing policy and configuration for services issuing requests to this upstream.
	LoadBalancers ConfigEntryServiceResolverLoadBalancerArrayOutput `pulumi:"loadBalancers"`
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapOutput `pulumi:"meta"`
	// Specifies a name for the configuration entry.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the namespace that the service resolver applies to.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Specifies the admin partition that the service resolver applies to.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// Specifies redirect instructions for local service traffic so that services deployed to a different network location resolve the upstream request instead.
	Redirects ConfigEntryServiceResolverRedirectArrayOutput `pulumi:"redirects"`
	// Specifies the timeout duration for receiving an HTTP response from this service.
	RequestTimeout pulumi.StringPtrOutput `pulumi:"requestTimeout"`
	// Specifies names for custom service subsets and the conditions under which service instances belong to each subset.
	Subsets ConfigEntryServiceResolverSubsetArrayOutput `pulumi:"subsets"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewConfigEntryServiceResolver(ctx, "web", &consul.ConfigEntryServiceResolverArgs{
			Name:           pulumi.String("web"),
			DefaultSubset:  pulumi.String("v1"),
			ConnectTimeout: pulumi.String("15s"),
			Subsets: consul.ConfigEntryServiceResolverSubsetArray{
				&consul.ConfigEntryServiceResolverSubsetArgs{
					Name:   pulumi.String("v1"),
					Filter: pulumi.String("Service.Meta.version == v1"),
				},
				&consul.ConfigEntryServiceResolverSubsetArgs{
					Name:   pulumi.String("v2"),
					Filter: pulumi.String("Service.Meta.version == v2"),
				},
			},
			Redirects: consul.ConfigEntryServiceResolverRedirectArray{
				&consul.ConfigEntryServiceResolverRedirectArgs{
					Service:    pulumi.String("web"),
					Datacenter: pulumi.String("dc2"),
				},
			},
			Failovers: consul.ConfigEntryServiceResolverFailoverArray{
				&consul.ConfigEntryServiceResolverFailoverArgs{
					SubsetName: pulumi.String("v2"),
					Datacenters: pulumi.StringArray{
						pulumi.String("dc2"),
					},
				},
				&consul.ConfigEntryServiceResolverFailoverArgs{
					SubsetName: pulumi.String("*"),
					Datacenters: pulumi.StringArray{
						pulumi.String("dc3"),
						pulumi.String("dc4"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetConfigEntryServiceResolver

func GetConfigEntryServiceResolver(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigEntryServiceResolverState, opts ...pulumi.ResourceOption) (*ConfigEntryServiceResolver, error)

GetConfigEntryServiceResolver gets an existing ConfigEntryServiceResolver 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 NewConfigEntryServiceResolver

func NewConfigEntryServiceResolver(ctx *pulumi.Context,
	name string, args *ConfigEntryServiceResolverArgs, opts ...pulumi.ResourceOption) (*ConfigEntryServiceResolver, error)

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

func (*ConfigEntryServiceResolver) ElementType

func (*ConfigEntryServiceResolver) ElementType() reflect.Type

func (*ConfigEntryServiceResolver) ToConfigEntryServiceResolverOutput

func (i *ConfigEntryServiceResolver) ToConfigEntryServiceResolverOutput() ConfigEntryServiceResolverOutput

func (*ConfigEntryServiceResolver) ToConfigEntryServiceResolverOutputWithContext

func (i *ConfigEntryServiceResolver) ToConfigEntryServiceResolverOutputWithContext(ctx context.Context) ConfigEntryServiceResolverOutput

type ConfigEntryServiceResolverArgs

type ConfigEntryServiceResolverArgs struct {
	// Specifies the timeout duration for establishing new network connections to this service.
	ConnectTimeout pulumi.StringPtrInput
	// Specifies a defined subset of service instances to use when no explicit subset is requested. If this parameter is not specified, Consul uses the unnamed default subset.
	DefaultSubset pulumi.StringPtrInput
	// Specifies controls for rerouting traffic to an alternate pool of service instances if the target service fails.
	Failovers ConfigEntryServiceResolverFailoverArrayInput
	// Specifies the load balancing policy and configuration for services issuing requests to this upstream.
	LoadBalancers ConfigEntryServiceResolverLoadBalancerArrayInput
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapInput
	// Specifies a name for the configuration entry.
	Name pulumi.StringPtrInput
	// Specifies the namespace that the service resolver applies to.
	Namespace pulumi.StringPtrInput
	// Specifies the admin partition that the service resolver applies to.
	Partition pulumi.StringPtrInput
	// Specifies redirect instructions for local service traffic so that services deployed to a different network location resolve the upstream request instead.
	Redirects ConfigEntryServiceResolverRedirectArrayInput
	// Specifies the timeout duration for receiving an HTTP response from this service.
	RequestTimeout pulumi.StringPtrInput
	// Specifies names for custom service subsets and the conditions under which service instances belong to each subset.
	Subsets ConfigEntryServiceResolverSubsetArrayInput
}

The set of arguments for constructing a ConfigEntryServiceResolver resource.

func (ConfigEntryServiceResolverArgs) ElementType

type ConfigEntryServiceResolverArray

type ConfigEntryServiceResolverArray []ConfigEntryServiceResolverInput

func (ConfigEntryServiceResolverArray) ElementType

func (ConfigEntryServiceResolverArray) ToConfigEntryServiceResolverArrayOutput

func (i ConfigEntryServiceResolverArray) ToConfigEntryServiceResolverArrayOutput() ConfigEntryServiceResolverArrayOutput

func (ConfigEntryServiceResolverArray) ToConfigEntryServiceResolverArrayOutputWithContext

func (i ConfigEntryServiceResolverArray) ToConfigEntryServiceResolverArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverArrayOutput

type ConfigEntryServiceResolverArrayInput

type ConfigEntryServiceResolverArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverArrayOutput() ConfigEntryServiceResolverArrayOutput
	ToConfigEntryServiceResolverArrayOutputWithContext(context.Context) ConfigEntryServiceResolverArrayOutput
}

ConfigEntryServiceResolverArrayInput is an input type that accepts ConfigEntryServiceResolverArray and ConfigEntryServiceResolverArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverArrayInput` via:

ConfigEntryServiceResolverArray{ ConfigEntryServiceResolverArgs{...} }

type ConfigEntryServiceResolverArrayOutput

type ConfigEntryServiceResolverArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverArrayOutput) ElementType

func (ConfigEntryServiceResolverArrayOutput) Index

func (ConfigEntryServiceResolverArrayOutput) ToConfigEntryServiceResolverArrayOutput

func (o ConfigEntryServiceResolverArrayOutput) ToConfigEntryServiceResolverArrayOutput() ConfigEntryServiceResolverArrayOutput

func (ConfigEntryServiceResolverArrayOutput) ToConfigEntryServiceResolverArrayOutputWithContext

func (o ConfigEntryServiceResolverArrayOutput) ToConfigEntryServiceResolverArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverArrayOutput

type ConfigEntryServiceResolverFailover

type ConfigEntryServiceResolverFailover struct {
	// Specifies an ordered list of datacenters at the failover location to attempt connections to during a failover scenario. When Consul cannot establish a connection with the first datacenter in the list, it proceeds sequentially until establishing a connection with another datacenter.
	Datacenters []string `pulumi:"datacenters"`
	// Specifies the namespace at the failover location where the failover services are deployed.
	Namespace *string `pulumi:"namespace"`
	// Specifies the sameness group at the failover location where the failover services are deployed.
	SamenessGroup *string `pulumi:"samenessGroup"`
	// Specifies the name of the service to resolve at the failover location during a failover scenario.
	Service *string `pulumi:"service"`
	// Specifies the name of a subset of service instances to resolve at the failover location during a failover scenario.
	ServiceSubset *string `pulumi:"serviceSubset"`
	// Name of subset.
	SubsetName string `pulumi:"subsetName"`
	// Specifies a fixed list of failover targets to try during failover. This list can express complicated failover scenarios.
	Targets []ConfigEntryServiceResolverFailoverTarget `pulumi:"targets"`
}

type ConfigEntryServiceResolverFailoverArgs

type ConfigEntryServiceResolverFailoverArgs struct {
	// Specifies an ordered list of datacenters at the failover location to attempt connections to during a failover scenario. When Consul cannot establish a connection with the first datacenter in the list, it proceeds sequentially until establishing a connection with another datacenter.
	Datacenters pulumi.StringArrayInput `pulumi:"datacenters"`
	// Specifies the namespace at the failover location where the failover services are deployed.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Specifies the sameness group at the failover location where the failover services are deployed.
	SamenessGroup pulumi.StringPtrInput `pulumi:"samenessGroup"`
	// Specifies the name of the service to resolve at the failover location during a failover scenario.
	Service pulumi.StringPtrInput `pulumi:"service"`
	// Specifies the name of a subset of service instances to resolve at the failover location during a failover scenario.
	ServiceSubset pulumi.StringPtrInput `pulumi:"serviceSubset"`
	// Name of subset.
	SubsetName pulumi.StringInput `pulumi:"subsetName"`
	// Specifies a fixed list of failover targets to try during failover. This list can express complicated failover scenarios.
	Targets ConfigEntryServiceResolverFailoverTargetArrayInput `pulumi:"targets"`
}

func (ConfigEntryServiceResolverFailoverArgs) ElementType

func (ConfigEntryServiceResolverFailoverArgs) ToConfigEntryServiceResolverFailoverOutput

func (i ConfigEntryServiceResolverFailoverArgs) ToConfigEntryServiceResolverFailoverOutput() ConfigEntryServiceResolverFailoverOutput

func (ConfigEntryServiceResolverFailoverArgs) ToConfigEntryServiceResolverFailoverOutputWithContext

func (i ConfigEntryServiceResolverFailoverArgs) ToConfigEntryServiceResolverFailoverOutputWithContext(ctx context.Context) ConfigEntryServiceResolverFailoverOutput

type ConfigEntryServiceResolverFailoverArray

type ConfigEntryServiceResolverFailoverArray []ConfigEntryServiceResolverFailoverInput

func (ConfigEntryServiceResolverFailoverArray) ElementType

func (ConfigEntryServiceResolverFailoverArray) ToConfigEntryServiceResolverFailoverArrayOutput

func (i ConfigEntryServiceResolverFailoverArray) ToConfigEntryServiceResolverFailoverArrayOutput() ConfigEntryServiceResolverFailoverArrayOutput

func (ConfigEntryServiceResolverFailoverArray) ToConfigEntryServiceResolverFailoverArrayOutputWithContext

func (i ConfigEntryServiceResolverFailoverArray) ToConfigEntryServiceResolverFailoverArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverFailoverArrayOutput

type ConfigEntryServiceResolverFailoverArrayInput

type ConfigEntryServiceResolverFailoverArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverFailoverArrayOutput() ConfigEntryServiceResolverFailoverArrayOutput
	ToConfigEntryServiceResolverFailoverArrayOutputWithContext(context.Context) ConfigEntryServiceResolverFailoverArrayOutput
}

ConfigEntryServiceResolverFailoverArrayInput is an input type that accepts ConfigEntryServiceResolverFailoverArray and ConfigEntryServiceResolverFailoverArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverFailoverArrayInput` via:

ConfigEntryServiceResolverFailoverArray{ ConfigEntryServiceResolverFailoverArgs{...} }

type ConfigEntryServiceResolverFailoverArrayOutput

type ConfigEntryServiceResolverFailoverArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverFailoverArrayOutput) ElementType

func (ConfigEntryServiceResolverFailoverArrayOutput) Index

func (ConfigEntryServiceResolverFailoverArrayOutput) ToConfigEntryServiceResolverFailoverArrayOutput

func (o ConfigEntryServiceResolverFailoverArrayOutput) ToConfigEntryServiceResolverFailoverArrayOutput() ConfigEntryServiceResolverFailoverArrayOutput

func (ConfigEntryServiceResolverFailoverArrayOutput) ToConfigEntryServiceResolverFailoverArrayOutputWithContext

func (o ConfigEntryServiceResolverFailoverArrayOutput) ToConfigEntryServiceResolverFailoverArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverFailoverArrayOutput

type ConfigEntryServiceResolverFailoverInput

type ConfigEntryServiceResolverFailoverInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverFailoverOutput() ConfigEntryServiceResolverFailoverOutput
	ToConfigEntryServiceResolverFailoverOutputWithContext(context.Context) ConfigEntryServiceResolverFailoverOutput
}

ConfigEntryServiceResolverFailoverInput is an input type that accepts ConfigEntryServiceResolverFailoverArgs and ConfigEntryServiceResolverFailoverOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverFailoverInput` via:

ConfigEntryServiceResolverFailoverArgs{...}

type ConfigEntryServiceResolverFailoverOutput

type ConfigEntryServiceResolverFailoverOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverFailoverOutput) Datacenters

Specifies an ordered list of datacenters at the failover location to attempt connections to during a failover scenario. When Consul cannot establish a connection with the first datacenter in the list, it proceeds sequentially until establishing a connection with another datacenter.

func (ConfigEntryServiceResolverFailoverOutput) ElementType

func (ConfigEntryServiceResolverFailoverOutput) Namespace

Specifies the namespace at the failover location where the failover services are deployed.

func (ConfigEntryServiceResolverFailoverOutput) SamenessGroup

Specifies the sameness group at the failover location where the failover services are deployed.

func (ConfigEntryServiceResolverFailoverOutput) Service

Specifies the name of the service to resolve at the failover location during a failover scenario.

func (ConfigEntryServiceResolverFailoverOutput) ServiceSubset

Specifies the name of a subset of service instances to resolve at the failover location during a failover scenario.

func (ConfigEntryServiceResolverFailoverOutput) SubsetName

Name of subset.

func (ConfigEntryServiceResolverFailoverOutput) Targets

Specifies a fixed list of failover targets to try during failover. This list can express complicated failover scenarios.

func (ConfigEntryServiceResolverFailoverOutput) ToConfigEntryServiceResolverFailoverOutput

func (o ConfigEntryServiceResolverFailoverOutput) ToConfigEntryServiceResolverFailoverOutput() ConfigEntryServiceResolverFailoverOutput

func (ConfigEntryServiceResolverFailoverOutput) ToConfigEntryServiceResolverFailoverOutputWithContext

func (o ConfigEntryServiceResolverFailoverOutput) ToConfigEntryServiceResolverFailoverOutputWithContext(ctx context.Context) ConfigEntryServiceResolverFailoverOutput

type ConfigEntryServiceResolverFailoverTarget

type ConfigEntryServiceResolverFailoverTarget struct {
	// Specifies the WAN federated datacenter to use for the failover target. If empty, the current datacenter is used.
	Datacenter *string `pulumi:"datacenter"`
	// Specifies the namespace to use for the failover target. If empty, the default namespace is used.
	Namespace *string `pulumi:"namespace"`
	// Specifies the admin partition within the same datacenter to use for the failover target. If empty, the default partition is used.
	Partition *string `pulumi:"partition"`
	// Specifies the destination cluster peer to resolve the target service name from.
	Peer *string `pulumi:"peer"`
	// Specifies the service name to use for the failover target. If empty, the current service name is used.
	Service *string `pulumi:"service"`
	// Specifies the named subset to use for the failover target. If empty, the default subset for the requested service name is used.
	ServiceSubset *string `pulumi:"serviceSubset"`
}

type ConfigEntryServiceResolverFailoverTargetArgs

type ConfigEntryServiceResolverFailoverTargetArgs struct {
	// Specifies the WAN federated datacenter to use for the failover target. If empty, the current datacenter is used.
	Datacenter pulumi.StringPtrInput `pulumi:"datacenter"`
	// Specifies the namespace to use for the failover target. If empty, the default namespace is used.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Specifies the admin partition within the same datacenter to use for the failover target. If empty, the default partition is used.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// Specifies the destination cluster peer to resolve the target service name from.
	Peer pulumi.StringPtrInput `pulumi:"peer"`
	// Specifies the service name to use for the failover target. If empty, the current service name is used.
	Service pulumi.StringPtrInput `pulumi:"service"`
	// Specifies the named subset to use for the failover target. If empty, the default subset for the requested service name is used.
	ServiceSubset pulumi.StringPtrInput `pulumi:"serviceSubset"`
}

func (ConfigEntryServiceResolverFailoverTargetArgs) ElementType

func (ConfigEntryServiceResolverFailoverTargetArgs) ToConfigEntryServiceResolverFailoverTargetOutput

func (i ConfigEntryServiceResolverFailoverTargetArgs) ToConfigEntryServiceResolverFailoverTargetOutput() ConfigEntryServiceResolverFailoverTargetOutput

func (ConfigEntryServiceResolverFailoverTargetArgs) ToConfigEntryServiceResolverFailoverTargetOutputWithContext

func (i ConfigEntryServiceResolverFailoverTargetArgs) ToConfigEntryServiceResolverFailoverTargetOutputWithContext(ctx context.Context) ConfigEntryServiceResolverFailoverTargetOutput

type ConfigEntryServiceResolverFailoverTargetArray

type ConfigEntryServiceResolverFailoverTargetArray []ConfigEntryServiceResolverFailoverTargetInput

func (ConfigEntryServiceResolverFailoverTargetArray) ElementType

func (ConfigEntryServiceResolverFailoverTargetArray) ToConfigEntryServiceResolverFailoverTargetArrayOutput

func (i ConfigEntryServiceResolverFailoverTargetArray) ToConfigEntryServiceResolverFailoverTargetArrayOutput() ConfigEntryServiceResolverFailoverTargetArrayOutput

func (ConfigEntryServiceResolverFailoverTargetArray) ToConfigEntryServiceResolverFailoverTargetArrayOutputWithContext

func (i ConfigEntryServiceResolverFailoverTargetArray) ToConfigEntryServiceResolverFailoverTargetArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverFailoverTargetArrayOutput

type ConfigEntryServiceResolverFailoverTargetArrayInput

type ConfigEntryServiceResolverFailoverTargetArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverFailoverTargetArrayOutput() ConfigEntryServiceResolverFailoverTargetArrayOutput
	ToConfigEntryServiceResolverFailoverTargetArrayOutputWithContext(context.Context) ConfigEntryServiceResolverFailoverTargetArrayOutput
}

ConfigEntryServiceResolverFailoverTargetArrayInput is an input type that accepts ConfigEntryServiceResolverFailoverTargetArray and ConfigEntryServiceResolverFailoverTargetArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverFailoverTargetArrayInput` via:

ConfigEntryServiceResolverFailoverTargetArray{ ConfigEntryServiceResolverFailoverTargetArgs{...} }

type ConfigEntryServiceResolverFailoverTargetArrayOutput

type ConfigEntryServiceResolverFailoverTargetArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverFailoverTargetArrayOutput) ElementType

func (ConfigEntryServiceResolverFailoverTargetArrayOutput) Index

func (ConfigEntryServiceResolverFailoverTargetArrayOutput) ToConfigEntryServiceResolverFailoverTargetArrayOutput

func (o ConfigEntryServiceResolverFailoverTargetArrayOutput) ToConfigEntryServiceResolverFailoverTargetArrayOutput() ConfigEntryServiceResolverFailoverTargetArrayOutput

func (ConfigEntryServiceResolverFailoverTargetArrayOutput) ToConfigEntryServiceResolverFailoverTargetArrayOutputWithContext

func (o ConfigEntryServiceResolverFailoverTargetArrayOutput) ToConfigEntryServiceResolverFailoverTargetArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverFailoverTargetArrayOutput

type ConfigEntryServiceResolverFailoverTargetInput

type ConfigEntryServiceResolverFailoverTargetInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverFailoverTargetOutput() ConfigEntryServiceResolverFailoverTargetOutput
	ToConfigEntryServiceResolverFailoverTargetOutputWithContext(context.Context) ConfigEntryServiceResolverFailoverTargetOutput
}

ConfigEntryServiceResolverFailoverTargetInput is an input type that accepts ConfigEntryServiceResolverFailoverTargetArgs and ConfigEntryServiceResolverFailoverTargetOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverFailoverTargetInput` via:

ConfigEntryServiceResolverFailoverTargetArgs{...}

type ConfigEntryServiceResolverFailoverTargetOutput

type ConfigEntryServiceResolverFailoverTargetOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverFailoverTargetOutput) Datacenter

Specifies the WAN federated datacenter to use for the failover target. If empty, the current datacenter is used.

func (ConfigEntryServiceResolverFailoverTargetOutput) ElementType

func (ConfigEntryServiceResolverFailoverTargetOutput) Namespace

Specifies the namespace to use for the failover target. If empty, the default namespace is used.

func (ConfigEntryServiceResolverFailoverTargetOutput) Partition

Specifies the admin partition within the same datacenter to use for the failover target. If empty, the default partition is used.

func (ConfigEntryServiceResolverFailoverTargetOutput) Peer

Specifies the destination cluster peer to resolve the target service name from.

func (ConfigEntryServiceResolverFailoverTargetOutput) Service

Specifies the service name to use for the failover target. If empty, the current service name is used.

func (ConfigEntryServiceResolverFailoverTargetOutput) ServiceSubset

Specifies the named subset to use for the failover target. If empty, the default subset for the requested service name is used.

func (ConfigEntryServiceResolverFailoverTargetOutput) ToConfigEntryServiceResolverFailoverTargetOutput

func (o ConfigEntryServiceResolverFailoverTargetOutput) ToConfigEntryServiceResolverFailoverTargetOutput() ConfigEntryServiceResolverFailoverTargetOutput

func (ConfigEntryServiceResolverFailoverTargetOutput) ToConfigEntryServiceResolverFailoverTargetOutputWithContext

func (o ConfigEntryServiceResolverFailoverTargetOutput) ToConfigEntryServiceResolverFailoverTargetOutputWithContext(ctx context.Context) ConfigEntryServiceResolverFailoverTargetOutput

type ConfigEntryServiceResolverInput

type ConfigEntryServiceResolverInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverOutput() ConfigEntryServiceResolverOutput
	ToConfigEntryServiceResolverOutputWithContext(ctx context.Context) ConfigEntryServiceResolverOutput
}

type ConfigEntryServiceResolverLoadBalancer

type ConfigEntryServiceResolverLoadBalancer struct {
	// Specifies a list of hash policies to use for hashing load balancing algorithms. Consul evaluates hash policies individually and combines them so that identical lists result in the same hash.
	HashPolicies []ConfigEntryServiceResolverLoadBalancerHashPolicy `pulumi:"hashPolicies"`
	// Specifies configuration for the least*request policy type.
	LeastRequestConfigs []ConfigEntryServiceResolverLoadBalancerLeastRequestConfig `pulumi:"leastRequestConfigs"`
	// Specifies the type of load balancing policy for selecting a host.
	Policy *string `pulumi:"policy"`
	// Specifies configuration for the ring*hash policy type.
	RingHashConfigs []ConfigEntryServiceResolverLoadBalancerRingHashConfig `pulumi:"ringHashConfigs"`
}

type ConfigEntryServiceResolverLoadBalancerArgs

type ConfigEntryServiceResolverLoadBalancerArgs struct {
	// Specifies a list of hash policies to use for hashing load balancing algorithms. Consul evaluates hash policies individually and combines them so that identical lists result in the same hash.
	HashPolicies ConfigEntryServiceResolverLoadBalancerHashPolicyArrayInput `pulumi:"hashPolicies"`
	// Specifies configuration for the least*request policy type.
	LeastRequestConfigs ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayInput `pulumi:"leastRequestConfigs"`
	// Specifies the type of load balancing policy for selecting a host.
	Policy pulumi.StringPtrInput `pulumi:"policy"`
	// Specifies configuration for the ring*hash policy type.
	RingHashConfigs ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayInput `pulumi:"ringHashConfigs"`
}

func (ConfigEntryServiceResolverLoadBalancerArgs) ElementType

func (ConfigEntryServiceResolverLoadBalancerArgs) ToConfigEntryServiceResolverLoadBalancerOutput

func (i ConfigEntryServiceResolverLoadBalancerArgs) ToConfigEntryServiceResolverLoadBalancerOutput() ConfigEntryServiceResolverLoadBalancerOutput

func (ConfigEntryServiceResolverLoadBalancerArgs) ToConfigEntryServiceResolverLoadBalancerOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerArgs) ToConfigEntryServiceResolverLoadBalancerOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerOutput

type ConfigEntryServiceResolverLoadBalancerArray

type ConfigEntryServiceResolverLoadBalancerArray []ConfigEntryServiceResolverLoadBalancerInput

func (ConfigEntryServiceResolverLoadBalancerArray) ElementType

func (ConfigEntryServiceResolverLoadBalancerArray) ToConfigEntryServiceResolverLoadBalancerArrayOutput

func (i ConfigEntryServiceResolverLoadBalancerArray) ToConfigEntryServiceResolverLoadBalancerArrayOutput() ConfigEntryServiceResolverLoadBalancerArrayOutput

func (ConfigEntryServiceResolverLoadBalancerArray) ToConfigEntryServiceResolverLoadBalancerArrayOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerArray) ToConfigEntryServiceResolverLoadBalancerArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerArrayOutput

type ConfigEntryServiceResolverLoadBalancerArrayInput

type ConfigEntryServiceResolverLoadBalancerArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerArrayOutput() ConfigEntryServiceResolverLoadBalancerArrayOutput
	ToConfigEntryServiceResolverLoadBalancerArrayOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerArrayOutput
}

ConfigEntryServiceResolverLoadBalancerArrayInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerArray and ConfigEntryServiceResolverLoadBalancerArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerArrayInput` via:

ConfigEntryServiceResolverLoadBalancerArray{ ConfigEntryServiceResolverLoadBalancerArgs{...} }

type ConfigEntryServiceResolverLoadBalancerArrayOutput

type ConfigEntryServiceResolverLoadBalancerArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerArrayOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerArrayOutput) Index

func (ConfigEntryServiceResolverLoadBalancerArrayOutput) ToConfigEntryServiceResolverLoadBalancerArrayOutput

func (o ConfigEntryServiceResolverLoadBalancerArrayOutput) ToConfigEntryServiceResolverLoadBalancerArrayOutput() ConfigEntryServiceResolverLoadBalancerArrayOutput

func (ConfigEntryServiceResolverLoadBalancerArrayOutput) ToConfigEntryServiceResolverLoadBalancerArrayOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerArrayOutput) ToConfigEntryServiceResolverLoadBalancerArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerArrayOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicy

type ConfigEntryServiceResolverLoadBalancerHashPolicy struct {
	// Specifies additional configuration options for the cookie hash policy type.
	CookieConfigs []ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfig `pulumi:"cookieConfigs"`
	// Specifies the attribute type to hash on. You cannot specify the Field parameter if SourceIP is also configured.
	Field *string `pulumi:"field"`
	// Specifies the value to hash, such as a header name, cookie name, or a URL query parameter name.
	FieldValue *string `pulumi:"fieldValue"`
	// Determines if the hash type should be source IP address.
	SourceIp *bool `pulumi:"sourceIp"`
	// Determines if Consul should stop computing the hash when multiple hash policies are present.
	Terminal *bool `pulumi:"terminal"`
}

type ConfigEntryServiceResolverLoadBalancerHashPolicyArgs

type ConfigEntryServiceResolverLoadBalancerHashPolicyArgs struct {
	// Specifies additional configuration options for the cookie hash policy type.
	CookieConfigs ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayInput `pulumi:"cookieConfigs"`
	// Specifies the attribute type to hash on. You cannot specify the Field parameter if SourceIP is also configured.
	Field pulumi.StringPtrInput `pulumi:"field"`
	// Specifies the value to hash, such as a header name, cookie name, or a URL query parameter name.
	FieldValue pulumi.StringPtrInput `pulumi:"fieldValue"`
	// Determines if the hash type should be source IP address.
	SourceIp pulumi.BoolPtrInput `pulumi:"sourceIp"`
	// Determines if Consul should stop computing the hash when multiple hash policies are present.
	Terminal pulumi.BoolPtrInput `pulumi:"terminal"`
}

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArgs) ElementType

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArgs) ToConfigEntryServiceResolverLoadBalancerHashPolicyOutput

func (i ConfigEntryServiceResolverLoadBalancerHashPolicyArgs) ToConfigEntryServiceResolverLoadBalancerHashPolicyOutput() ConfigEntryServiceResolverLoadBalancerHashPolicyOutput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArgs) ToConfigEntryServiceResolverLoadBalancerHashPolicyOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerHashPolicyArgs) ToConfigEntryServiceResolverLoadBalancerHashPolicyOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyArray

type ConfigEntryServiceResolverLoadBalancerHashPolicyArray []ConfigEntryServiceResolverLoadBalancerHashPolicyInput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArray) ElementType

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArray) ToConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput

func (i ConfigEntryServiceResolverLoadBalancerHashPolicyArray) ToConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput() ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArray) ToConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerHashPolicyArray) ToConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyArrayInput

type ConfigEntryServiceResolverLoadBalancerHashPolicyArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput() ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput
	ToConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput
}

ConfigEntryServiceResolverLoadBalancerHashPolicyArrayInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerHashPolicyArray and ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerHashPolicyArrayInput` via:

ConfigEntryServiceResolverLoadBalancerHashPolicyArray{ ConfigEntryServiceResolverLoadBalancerHashPolicyArgs{...} }

type ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput) Index

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyArrayOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfig

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfig struct {
	// Specifies the path to set for the cookie.
	Path *string `pulumi:"path"`
	// Directs Consul to generate a session cookie with no expiration.
	Session *bool `pulumi:"session"`
	// Specifies the TTL for generated cookies. Cannot be specified for session cookies.
	Ttl *string `pulumi:"ttl"`
}

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArgs

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArgs struct {
	// Specifies the path to set for the cookie.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Directs Consul to generate a session cookie with no expiration.
	Session pulumi.BoolPtrInput `pulumi:"session"`
	// Specifies the TTL for generated cookies. Cannot be specified for session cookies.
	Ttl pulumi.StringPtrInput `pulumi:"ttl"`
}

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArgs) ElementType

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArgs) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArgs) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArgs) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArray

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArray []ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigInput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArray) ElementType

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArray) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArray) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArray) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayInput

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput() ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput
	ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput
}

ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArray and ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayInput` via:

ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArray{ ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArgs{...} }

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArrayOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigInput

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput() ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput
	ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput
}

ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArgs and ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigInput` via:

ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigArgs{...}

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput) Path

Specifies the path to set for the cookie.

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput) Session

Directs Consul to generate a session cookie with no expiration.

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyCookieConfigOutput) Ttl

Specifies the TTL for generated cookies. Cannot be specified for session cookies.

type ConfigEntryServiceResolverLoadBalancerHashPolicyInput

type ConfigEntryServiceResolverLoadBalancerHashPolicyInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerHashPolicyOutput() ConfigEntryServiceResolverLoadBalancerHashPolicyOutput
	ToConfigEntryServiceResolverLoadBalancerHashPolicyOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyOutput
}

ConfigEntryServiceResolverLoadBalancerHashPolicyInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerHashPolicyArgs and ConfigEntryServiceResolverLoadBalancerHashPolicyOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerHashPolicyInput` via:

ConfigEntryServiceResolverLoadBalancerHashPolicyArgs{...}

type ConfigEntryServiceResolverLoadBalancerHashPolicyOutput

type ConfigEntryServiceResolverLoadBalancerHashPolicyOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerHashPolicyOutput) CookieConfigs

Specifies additional configuration options for the cookie hash policy type.

func (ConfigEntryServiceResolverLoadBalancerHashPolicyOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerHashPolicyOutput) Field

Specifies the attribute type to hash on. You cannot specify the Field parameter if SourceIP is also configured.

func (ConfigEntryServiceResolverLoadBalancerHashPolicyOutput) FieldValue

Specifies the value to hash, such as a header name, cookie name, or a URL query parameter name.

func (ConfigEntryServiceResolverLoadBalancerHashPolicyOutput) SourceIp

Determines if the hash type should be source IP address.

func (ConfigEntryServiceResolverLoadBalancerHashPolicyOutput) Terminal

Determines if Consul should stop computing the hash when multiple hash policies are present.

func (ConfigEntryServiceResolverLoadBalancerHashPolicyOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyOutput

func (ConfigEntryServiceResolverLoadBalancerHashPolicyOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerHashPolicyOutput) ToConfigEntryServiceResolverLoadBalancerHashPolicyOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerHashPolicyOutput

type ConfigEntryServiceResolverLoadBalancerInput

type ConfigEntryServiceResolverLoadBalancerInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerOutput() ConfigEntryServiceResolverLoadBalancerOutput
	ToConfigEntryServiceResolverLoadBalancerOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerOutput
}

ConfigEntryServiceResolverLoadBalancerInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerArgs and ConfigEntryServiceResolverLoadBalancerOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerInput` via:

ConfigEntryServiceResolverLoadBalancerArgs{...}

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfig

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfig struct {
	ChoiceCount *int `pulumi:"choiceCount"`
}

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArgs

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArgs struct {
	ChoiceCount pulumi.IntPtrInput `pulumi:"choiceCount"`
}

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArgs) ElementType

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArgs) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArgs) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArgs) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArray

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArray []ConfigEntryServiceResolverLoadBalancerLeastRequestConfigInput

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArray) ElementType

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArray) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArray) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArray) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayInput

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput() ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput
	ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput
}

ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArray and ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayInput` via:

ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArray{ ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArgs{...} }

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput) Index

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArrayOutput

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigInput

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput() ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput
	ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput
}

ConfigEntryServiceResolverLoadBalancerLeastRequestConfigInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArgs and ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerLeastRequestConfigInput` via:

ConfigEntryServiceResolverLoadBalancerLeastRequestConfigArgs{...}

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput

type ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput) ChoiceCount

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput

func (ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput) ToConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerLeastRequestConfigOutput

type ConfigEntryServiceResolverLoadBalancerOutput

type ConfigEntryServiceResolverLoadBalancerOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerOutput) HashPolicies

Specifies a list of hash policies to use for hashing load balancing algorithms. Consul evaluates hash policies individually and combines them so that identical lists result in the same hash.

func (ConfigEntryServiceResolverLoadBalancerOutput) LeastRequestConfigs

Specifies configuration for the least*request policy type.

func (ConfigEntryServiceResolverLoadBalancerOutput) Policy

Specifies the type of load balancing policy for selecting a host.

func (ConfigEntryServiceResolverLoadBalancerOutput) RingHashConfigs

Specifies configuration for the ring*hash policy type.

func (ConfigEntryServiceResolverLoadBalancerOutput) ToConfigEntryServiceResolverLoadBalancerOutput

func (o ConfigEntryServiceResolverLoadBalancerOutput) ToConfigEntryServiceResolverLoadBalancerOutput() ConfigEntryServiceResolverLoadBalancerOutput

func (ConfigEntryServiceResolverLoadBalancerOutput) ToConfigEntryServiceResolverLoadBalancerOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerOutput) ToConfigEntryServiceResolverLoadBalancerOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerOutput

type ConfigEntryServiceResolverLoadBalancerRingHashConfig

type ConfigEntryServiceResolverLoadBalancerRingHashConfig struct {
	// Determines the maximum number of entries in the hash ring.
	MaximumRingSize *int `pulumi:"maximumRingSize"`
	// Determines the minimum number of entries in the hash ring.
	MinimumRingSize *int `pulumi:"minimumRingSize"`
}

type ConfigEntryServiceResolverLoadBalancerRingHashConfigArgs

type ConfigEntryServiceResolverLoadBalancerRingHashConfigArgs struct {
	// Determines the maximum number of entries in the hash ring.
	MaximumRingSize pulumi.IntPtrInput `pulumi:"maximumRingSize"`
	// Determines the minimum number of entries in the hash ring.
	MinimumRingSize pulumi.IntPtrInput `pulumi:"minimumRingSize"`
}

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArgs) ElementType

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArgs) ToConfigEntryServiceResolverLoadBalancerRingHashConfigOutput

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArgs) ToConfigEntryServiceResolverLoadBalancerRingHashConfigOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerRingHashConfigArgs) ToConfigEntryServiceResolverLoadBalancerRingHashConfigOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput

type ConfigEntryServiceResolverLoadBalancerRingHashConfigArray

type ConfigEntryServiceResolverLoadBalancerRingHashConfigArray []ConfigEntryServiceResolverLoadBalancerRingHashConfigInput

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArray) ElementType

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArray) ToConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput

func (i ConfigEntryServiceResolverLoadBalancerRingHashConfigArray) ToConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput() ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArray) ToConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutputWithContext

func (i ConfigEntryServiceResolverLoadBalancerRingHashConfigArray) ToConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput

type ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayInput

type ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput() ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput
	ToConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput
}

ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerRingHashConfigArray and ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayInput` via:

ConfigEntryServiceResolverLoadBalancerRingHashConfigArray{ ConfigEntryServiceResolverLoadBalancerRingHashConfigArgs{...} }

type ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput

type ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput) Index

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput) ToConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput) ToConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput) ToConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerRingHashConfigArrayOutput

type ConfigEntryServiceResolverLoadBalancerRingHashConfigInput

type ConfigEntryServiceResolverLoadBalancerRingHashConfigInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverLoadBalancerRingHashConfigOutput() ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput
	ToConfigEntryServiceResolverLoadBalancerRingHashConfigOutputWithContext(context.Context) ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput
}

ConfigEntryServiceResolverLoadBalancerRingHashConfigInput is an input type that accepts ConfigEntryServiceResolverLoadBalancerRingHashConfigArgs and ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverLoadBalancerRingHashConfigInput` via:

ConfigEntryServiceResolverLoadBalancerRingHashConfigArgs{...}

type ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput

type ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput) ElementType

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput) MaximumRingSize

Determines the maximum number of entries in the hash ring.

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput) MinimumRingSize

Determines the minimum number of entries in the hash ring.

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput) ToConfigEntryServiceResolverLoadBalancerRingHashConfigOutput

func (ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput) ToConfigEntryServiceResolverLoadBalancerRingHashConfigOutputWithContext

func (o ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput) ToConfigEntryServiceResolverLoadBalancerRingHashConfigOutputWithContext(ctx context.Context) ConfigEntryServiceResolverLoadBalancerRingHashConfigOutput

type ConfigEntryServiceResolverMap

type ConfigEntryServiceResolverMap map[string]ConfigEntryServiceResolverInput

func (ConfigEntryServiceResolverMap) ElementType

func (ConfigEntryServiceResolverMap) ToConfigEntryServiceResolverMapOutput

func (i ConfigEntryServiceResolverMap) ToConfigEntryServiceResolverMapOutput() ConfigEntryServiceResolverMapOutput

func (ConfigEntryServiceResolverMap) ToConfigEntryServiceResolverMapOutputWithContext

func (i ConfigEntryServiceResolverMap) ToConfigEntryServiceResolverMapOutputWithContext(ctx context.Context) ConfigEntryServiceResolverMapOutput

type ConfigEntryServiceResolverMapInput

type ConfigEntryServiceResolverMapInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverMapOutput() ConfigEntryServiceResolverMapOutput
	ToConfigEntryServiceResolverMapOutputWithContext(context.Context) ConfigEntryServiceResolverMapOutput
}

ConfigEntryServiceResolverMapInput is an input type that accepts ConfigEntryServiceResolverMap and ConfigEntryServiceResolverMapOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverMapInput` via:

ConfigEntryServiceResolverMap{ "key": ConfigEntryServiceResolverArgs{...} }

type ConfigEntryServiceResolverMapOutput

type ConfigEntryServiceResolverMapOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverMapOutput) ElementType

func (ConfigEntryServiceResolverMapOutput) MapIndex

func (ConfigEntryServiceResolverMapOutput) ToConfigEntryServiceResolverMapOutput

func (o ConfigEntryServiceResolverMapOutput) ToConfigEntryServiceResolverMapOutput() ConfigEntryServiceResolverMapOutput

func (ConfigEntryServiceResolverMapOutput) ToConfigEntryServiceResolverMapOutputWithContext

func (o ConfigEntryServiceResolverMapOutput) ToConfigEntryServiceResolverMapOutputWithContext(ctx context.Context) ConfigEntryServiceResolverMapOutput

type ConfigEntryServiceResolverOutput

type ConfigEntryServiceResolverOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverOutput) ConnectTimeout

Specifies the timeout duration for establishing new network connections to this service.

func (ConfigEntryServiceResolverOutput) DefaultSubset

Specifies a defined subset of service instances to use when no explicit subset is requested. If this parameter is not specified, Consul uses the unnamed default subset.

func (ConfigEntryServiceResolverOutput) ElementType

func (ConfigEntryServiceResolverOutput) Failovers

Specifies controls for rerouting traffic to an alternate pool of service instances if the target service fails.

func (ConfigEntryServiceResolverOutput) LoadBalancers

Specifies the load balancing policy and configuration for services issuing requests to this upstream.

func (ConfigEntryServiceResolverOutput) Meta

Specifies key-value pairs to add to the KV store.

func (ConfigEntryServiceResolverOutput) Name

Specifies a name for the configuration entry.

func (ConfigEntryServiceResolverOutput) Namespace

Specifies the namespace that the service resolver applies to.

func (ConfigEntryServiceResolverOutput) Partition

Specifies the admin partition that the service resolver applies to.

func (ConfigEntryServiceResolverOutput) Redirects

Specifies redirect instructions for local service traffic so that services deployed to a different network location resolve the upstream request instead.

func (ConfigEntryServiceResolverOutput) RequestTimeout

Specifies the timeout duration for receiving an HTTP response from this service.

func (ConfigEntryServiceResolverOutput) Subsets

Specifies names for custom service subsets and the conditions under which service instances belong to each subset.

func (ConfigEntryServiceResolverOutput) ToConfigEntryServiceResolverOutput

func (o ConfigEntryServiceResolverOutput) ToConfigEntryServiceResolverOutput() ConfigEntryServiceResolverOutput

func (ConfigEntryServiceResolverOutput) ToConfigEntryServiceResolverOutputWithContext

func (o ConfigEntryServiceResolverOutput) ToConfigEntryServiceResolverOutputWithContext(ctx context.Context) ConfigEntryServiceResolverOutput

type ConfigEntryServiceResolverRedirect

type ConfigEntryServiceResolverRedirect struct {
	// Specifies the datacenter at the redirect’s destination that resolves local upstream requests.
	Datacenter *string `pulumi:"datacenter"`
	// Specifies the namespace at the redirect’s destination that resolves local upstream requests.
	Namespace *string `pulumi:"namespace"`
	// Specifies the admin partition at the redirect’s destination that resolves local upstream requests.
	Partition *string `pulumi:"partition"`
	// Specifies the cluster with an active cluster peering connection at the redirect’s destination that resolves local upstream requests.
	Peer *string `pulumi:"peer"`
	// Specifies the sameness group at the redirect’s destination that resolves local upstream requests.
	SamenessGroup *string `pulumi:"samenessGroup"`
	// Specifies the name of a service at the redirect’s destination that resolves local upstream requests.
	Service *string `pulumi:"service"`
	// Specifies the name of a subset of services at the redirect’s destination that resolves local upstream requests. If empty, the default subset is used. If specified, you must also specify at least one of the following in the same Redirect map: Service, Namespace, andDatacenter.
	ServiceSubset *string `pulumi:"serviceSubset"`
}

type ConfigEntryServiceResolverRedirectArgs

type ConfigEntryServiceResolverRedirectArgs struct {
	// Specifies the datacenter at the redirect’s destination that resolves local upstream requests.
	Datacenter pulumi.StringPtrInput `pulumi:"datacenter"`
	// Specifies the namespace at the redirect’s destination that resolves local upstream requests.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Specifies the admin partition at the redirect’s destination that resolves local upstream requests.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// Specifies the cluster with an active cluster peering connection at the redirect’s destination that resolves local upstream requests.
	Peer pulumi.StringPtrInput `pulumi:"peer"`
	// Specifies the sameness group at the redirect’s destination that resolves local upstream requests.
	SamenessGroup pulumi.StringPtrInput `pulumi:"samenessGroup"`
	// Specifies the name of a service at the redirect’s destination that resolves local upstream requests.
	Service pulumi.StringPtrInput `pulumi:"service"`
	// Specifies the name of a subset of services at the redirect’s destination that resolves local upstream requests. If empty, the default subset is used. If specified, you must also specify at least one of the following in the same Redirect map: Service, Namespace, andDatacenter.
	ServiceSubset pulumi.StringPtrInput `pulumi:"serviceSubset"`
}

func (ConfigEntryServiceResolverRedirectArgs) ElementType

func (ConfigEntryServiceResolverRedirectArgs) ToConfigEntryServiceResolverRedirectOutput

func (i ConfigEntryServiceResolverRedirectArgs) ToConfigEntryServiceResolverRedirectOutput() ConfigEntryServiceResolverRedirectOutput

func (ConfigEntryServiceResolverRedirectArgs) ToConfigEntryServiceResolverRedirectOutputWithContext

func (i ConfigEntryServiceResolverRedirectArgs) ToConfigEntryServiceResolverRedirectOutputWithContext(ctx context.Context) ConfigEntryServiceResolverRedirectOutput

type ConfigEntryServiceResolverRedirectArray

type ConfigEntryServiceResolverRedirectArray []ConfigEntryServiceResolverRedirectInput

func (ConfigEntryServiceResolverRedirectArray) ElementType

func (ConfigEntryServiceResolverRedirectArray) ToConfigEntryServiceResolverRedirectArrayOutput

func (i ConfigEntryServiceResolverRedirectArray) ToConfigEntryServiceResolverRedirectArrayOutput() ConfigEntryServiceResolverRedirectArrayOutput

func (ConfigEntryServiceResolverRedirectArray) ToConfigEntryServiceResolverRedirectArrayOutputWithContext

func (i ConfigEntryServiceResolverRedirectArray) ToConfigEntryServiceResolverRedirectArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverRedirectArrayOutput

type ConfigEntryServiceResolverRedirectArrayInput

type ConfigEntryServiceResolverRedirectArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverRedirectArrayOutput() ConfigEntryServiceResolverRedirectArrayOutput
	ToConfigEntryServiceResolverRedirectArrayOutputWithContext(context.Context) ConfigEntryServiceResolverRedirectArrayOutput
}

ConfigEntryServiceResolverRedirectArrayInput is an input type that accepts ConfigEntryServiceResolverRedirectArray and ConfigEntryServiceResolverRedirectArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverRedirectArrayInput` via:

ConfigEntryServiceResolverRedirectArray{ ConfigEntryServiceResolverRedirectArgs{...} }

type ConfigEntryServiceResolverRedirectArrayOutput

type ConfigEntryServiceResolverRedirectArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverRedirectArrayOutput) ElementType

func (ConfigEntryServiceResolverRedirectArrayOutput) Index

func (ConfigEntryServiceResolverRedirectArrayOutput) ToConfigEntryServiceResolverRedirectArrayOutput

func (o ConfigEntryServiceResolverRedirectArrayOutput) ToConfigEntryServiceResolverRedirectArrayOutput() ConfigEntryServiceResolverRedirectArrayOutput

func (ConfigEntryServiceResolverRedirectArrayOutput) ToConfigEntryServiceResolverRedirectArrayOutputWithContext

func (o ConfigEntryServiceResolverRedirectArrayOutput) ToConfigEntryServiceResolverRedirectArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverRedirectArrayOutput

type ConfigEntryServiceResolverRedirectInput

type ConfigEntryServiceResolverRedirectInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverRedirectOutput() ConfigEntryServiceResolverRedirectOutput
	ToConfigEntryServiceResolverRedirectOutputWithContext(context.Context) ConfigEntryServiceResolverRedirectOutput
}

ConfigEntryServiceResolverRedirectInput is an input type that accepts ConfigEntryServiceResolverRedirectArgs and ConfigEntryServiceResolverRedirectOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverRedirectInput` via:

ConfigEntryServiceResolverRedirectArgs{...}

type ConfigEntryServiceResolverRedirectOutput

type ConfigEntryServiceResolverRedirectOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverRedirectOutput) Datacenter

Specifies the datacenter at the redirect’s destination that resolves local upstream requests.

func (ConfigEntryServiceResolverRedirectOutput) ElementType

func (ConfigEntryServiceResolverRedirectOutput) Namespace

Specifies the namespace at the redirect’s destination that resolves local upstream requests.

func (ConfigEntryServiceResolverRedirectOutput) Partition

Specifies the admin partition at the redirect’s destination that resolves local upstream requests.

func (ConfigEntryServiceResolverRedirectOutput) Peer

Specifies the cluster with an active cluster peering connection at the redirect’s destination that resolves local upstream requests.

func (ConfigEntryServiceResolverRedirectOutput) SamenessGroup

Specifies the sameness group at the redirect’s destination that resolves local upstream requests.

func (ConfigEntryServiceResolverRedirectOutput) Service

Specifies the name of a service at the redirect’s destination that resolves local upstream requests.

func (ConfigEntryServiceResolverRedirectOutput) ServiceSubset

Specifies the name of a subset of services at the redirect’s destination that resolves local upstream requests. If empty, the default subset is used. If specified, you must also specify at least one of the following in the same Redirect map: Service, Namespace, andDatacenter.

func (ConfigEntryServiceResolverRedirectOutput) ToConfigEntryServiceResolverRedirectOutput

func (o ConfigEntryServiceResolverRedirectOutput) ToConfigEntryServiceResolverRedirectOutput() ConfigEntryServiceResolverRedirectOutput

func (ConfigEntryServiceResolverRedirectOutput) ToConfigEntryServiceResolverRedirectOutputWithContext

func (o ConfigEntryServiceResolverRedirectOutput) ToConfigEntryServiceResolverRedirectOutputWithContext(ctx context.Context) ConfigEntryServiceResolverRedirectOutput

type ConfigEntryServiceResolverState

type ConfigEntryServiceResolverState struct {
	// Specifies the timeout duration for establishing new network connections to this service.
	ConnectTimeout pulumi.StringPtrInput
	// Specifies a defined subset of service instances to use when no explicit subset is requested. If this parameter is not specified, Consul uses the unnamed default subset.
	DefaultSubset pulumi.StringPtrInput
	// Specifies controls for rerouting traffic to an alternate pool of service instances if the target service fails.
	Failovers ConfigEntryServiceResolverFailoverArrayInput
	// Specifies the load balancing policy and configuration for services issuing requests to this upstream.
	LoadBalancers ConfigEntryServiceResolverLoadBalancerArrayInput
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapInput
	// Specifies a name for the configuration entry.
	Name pulumi.StringPtrInput
	// Specifies the namespace that the service resolver applies to.
	Namespace pulumi.StringPtrInput
	// Specifies the admin partition that the service resolver applies to.
	Partition pulumi.StringPtrInput
	// Specifies redirect instructions for local service traffic so that services deployed to a different network location resolve the upstream request instead.
	Redirects ConfigEntryServiceResolverRedirectArrayInput
	// Specifies the timeout duration for receiving an HTTP response from this service.
	RequestTimeout pulumi.StringPtrInput
	// Specifies names for custom service subsets and the conditions under which service instances belong to each subset.
	Subsets ConfigEntryServiceResolverSubsetArrayInput
}

func (ConfigEntryServiceResolverState) ElementType

type ConfigEntryServiceResolverSubset

type ConfigEntryServiceResolverSubset struct {
	// Specifies an expression that filters the DNS elements of service instances that belong to the subset. If empty, all healthy instances of a service are returned.
	Filter string `pulumi:"filter"`
	// Name of subset.
	Name string `pulumi:"name"`
	// Determines if instances that return a warning from a health check are allowed to resolve a request. When set to false, instances with passing and warning states are considered healthy. When set to true, only instances with a passing health check state are considered healthy.
	OnlyPassing bool `pulumi:"onlyPassing"`
}

type ConfigEntryServiceResolverSubsetArgs

type ConfigEntryServiceResolverSubsetArgs struct {
	// Specifies an expression that filters the DNS elements of service instances that belong to the subset. If empty, all healthy instances of a service are returned.
	Filter pulumi.StringInput `pulumi:"filter"`
	// Name of subset.
	Name pulumi.StringInput `pulumi:"name"`
	// Determines if instances that return a warning from a health check are allowed to resolve a request. When set to false, instances with passing and warning states are considered healthy. When set to true, only instances with a passing health check state are considered healthy.
	OnlyPassing pulumi.BoolInput `pulumi:"onlyPassing"`
}

func (ConfigEntryServiceResolverSubsetArgs) ElementType

func (ConfigEntryServiceResolverSubsetArgs) ToConfigEntryServiceResolverSubsetOutput

func (i ConfigEntryServiceResolverSubsetArgs) ToConfigEntryServiceResolverSubsetOutput() ConfigEntryServiceResolverSubsetOutput

func (ConfigEntryServiceResolverSubsetArgs) ToConfigEntryServiceResolverSubsetOutputWithContext

func (i ConfigEntryServiceResolverSubsetArgs) ToConfigEntryServiceResolverSubsetOutputWithContext(ctx context.Context) ConfigEntryServiceResolverSubsetOutput

type ConfigEntryServiceResolverSubsetArray

type ConfigEntryServiceResolverSubsetArray []ConfigEntryServiceResolverSubsetInput

func (ConfigEntryServiceResolverSubsetArray) ElementType

func (ConfigEntryServiceResolverSubsetArray) ToConfigEntryServiceResolverSubsetArrayOutput

func (i ConfigEntryServiceResolverSubsetArray) ToConfigEntryServiceResolverSubsetArrayOutput() ConfigEntryServiceResolverSubsetArrayOutput

func (ConfigEntryServiceResolverSubsetArray) ToConfigEntryServiceResolverSubsetArrayOutputWithContext

func (i ConfigEntryServiceResolverSubsetArray) ToConfigEntryServiceResolverSubsetArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverSubsetArrayOutput

type ConfigEntryServiceResolverSubsetArrayInput

type ConfigEntryServiceResolverSubsetArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverSubsetArrayOutput() ConfigEntryServiceResolverSubsetArrayOutput
	ToConfigEntryServiceResolverSubsetArrayOutputWithContext(context.Context) ConfigEntryServiceResolverSubsetArrayOutput
}

ConfigEntryServiceResolverSubsetArrayInput is an input type that accepts ConfigEntryServiceResolverSubsetArray and ConfigEntryServiceResolverSubsetArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverSubsetArrayInput` via:

ConfigEntryServiceResolverSubsetArray{ ConfigEntryServiceResolverSubsetArgs{...} }

type ConfigEntryServiceResolverSubsetArrayOutput

type ConfigEntryServiceResolverSubsetArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverSubsetArrayOutput) ElementType

func (ConfigEntryServiceResolverSubsetArrayOutput) Index

func (ConfigEntryServiceResolverSubsetArrayOutput) ToConfigEntryServiceResolverSubsetArrayOutput

func (o ConfigEntryServiceResolverSubsetArrayOutput) ToConfigEntryServiceResolverSubsetArrayOutput() ConfigEntryServiceResolverSubsetArrayOutput

func (ConfigEntryServiceResolverSubsetArrayOutput) ToConfigEntryServiceResolverSubsetArrayOutputWithContext

func (o ConfigEntryServiceResolverSubsetArrayOutput) ToConfigEntryServiceResolverSubsetArrayOutputWithContext(ctx context.Context) ConfigEntryServiceResolverSubsetArrayOutput

type ConfigEntryServiceResolverSubsetInput

type ConfigEntryServiceResolverSubsetInput interface {
	pulumi.Input

	ToConfigEntryServiceResolverSubsetOutput() ConfigEntryServiceResolverSubsetOutput
	ToConfigEntryServiceResolverSubsetOutputWithContext(context.Context) ConfigEntryServiceResolverSubsetOutput
}

ConfigEntryServiceResolverSubsetInput is an input type that accepts ConfigEntryServiceResolverSubsetArgs and ConfigEntryServiceResolverSubsetOutput values. You can construct a concrete instance of `ConfigEntryServiceResolverSubsetInput` via:

ConfigEntryServiceResolverSubsetArgs{...}

type ConfigEntryServiceResolverSubsetOutput

type ConfigEntryServiceResolverSubsetOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceResolverSubsetOutput) ElementType

func (ConfigEntryServiceResolverSubsetOutput) Filter

Specifies an expression that filters the DNS elements of service instances that belong to the subset. If empty, all healthy instances of a service are returned.

func (ConfigEntryServiceResolverSubsetOutput) Name

Name of subset.

func (ConfigEntryServiceResolverSubsetOutput) OnlyPassing

Determines if instances that return a warning from a health check are allowed to resolve a request. When set to false, instances with passing and warning states are considered healthy. When set to true, only instances with a passing health check state are considered healthy.

func (ConfigEntryServiceResolverSubsetOutput) ToConfigEntryServiceResolverSubsetOutput

func (o ConfigEntryServiceResolverSubsetOutput) ToConfigEntryServiceResolverSubsetOutput() ConfigEntryServiceResolverSubsetOutput

func (ConfigEntryServiceResolverSubsetOutput) ToConfigEntryServiceResolverSubsetOutputWithContext

func (o ConfigEntryServiceResolverSubsetOutput) ToConfigEntryServiceResolverSubsetOutputWithContext(ctx context.Context) ConfigEntryServiceResolverSubsetOutput

type ConfigEntryServiceRouter

type ConfigEntryServiceRouter struct {
	pulumi.CustomResourceState

	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapOutput `pulumi:"meta"`
	// Specifies a name for the configuration entry.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the namespace to apply the configuration entry.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Specifies the admin partition to apply the configuration entry.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// Defines the possible routes for L7 requests.
	Routes ConfigEntryServiceRouterRouteArrayOutput `pulumi:"routes"`
}

## Example Usage

func GetConfigEntryServiceRouter

func GetConfigEntryServiceRouter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigEntryServiceRouterState, opts ...pulumi.ResourceOption) (*ConfigEntryServiceRouter, error)

GetConfigEntryServiceRouter gets an existing ConfigEntryServiceRouter 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 NewConfigEntryServiceRouter

func NewConfigEntryServiceRouter(ctx *pulumi.Context,
	name string, args *ConfigEntryServiceRouterArgs, opts ...pulumi.ResourceOption) (*ConfigEntryServiceRouter, error)

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

func (*ConfigEntryServiceRouter) ElementType

func (*ConfigEntryServiceRouter) ElementType() reflect.Type

func (*ConfigEntryServiceRouter) ToConfigEntryServiceRouterOutput

func (i *ConfigEntryServiceRouter) ToConfigEntryServiceRouterOutput() ConfigEntryServiceRouterOutput

func (*ConfigEntryServiceRouter) ToConfigEntryServiceRouterOutputWithContext

func (i *ConfigEntryServiceRouter) ToConfigEntryServiceRouterOutputWithContext(ctx context.Context) ConfigEntryServiceRouterOutput

type ConfigEntryServiceRouterArgs

type ConfigEntryServiceRouterArgs struct {
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapInput
	// Specifies a name for the configuration entry.
	Name pulumi.StringPtrInput
	// Specifies the namespace to apply the configuration entry.
	Namespace pulumi.StringPtrInput
	// Specifies the admin partition to apply the configuration entry.
	Partition pulumi.StringPtrInput
	// Defines the possible routes for L7 requests.
	Routes ConfigEntryServiceRouterRouteArrayInput
}

The set of arguments for constructing a ConfigEntryServiceRouter resource.

func (ConfigEntryServiceRouterArgs) ElementType

type ConfigEntryServiceRouterArray

type ConfigEntryServiceRouterArray []ConfigEntryServiceRouterInput

func (ConfigEntryServiceRouterArray) ElementType

func (ConfigEntryServiceRouterArray) ToConfigEntryServiceRouterArrayOutput

func (i ConfigEntryServiceRouterArray) ToConfigEntryServiceRouterArrayOutput() ConfigEntryServiceRouterArrayOutput

func (ConfigEntryServiceRouterArray) ToConfigEntryServiceRouterArrayOutputWithContext

func (i ConfigEntryServiceRouterArray) ToConfigEntryServiceRouterArrayOutputWithContext(ctx context.Context) ConfigEntryServiceRouterArrayOutput

type ConfigEntryServiceRouterArrayInput

type ConfigEntryServiceRouterArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterArrayOutput() ConfigEntryServiceRouterArrayOutput
	ToConfigEntryServiceRouterArrayOutputWithContext(context.Context) ConfigEntryServiceRouterArrayOutput
}

ConfigEntryServiceRouterArrayInput is an input type that accepts ConfigEntryServiceRouterArray and ConfigEntryServiceRouterArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterArrayInput` via:

ConfigEntryServiceRouterArray{ ConfigEntryServiceRouterArgs{...} }

type ConfigEntryServiceRouterArrayOutput

type ConfigEntryServiceRouterArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterArrayOutput) ElementType

func (ConfigEntryServiceRouterArrayOutput) Index

func (ConfigEntryServiceRouterArrayOutput) ToConfigEntryServiceRouterArrayOutput

func (o ConfigEntryServiceRouterArrayOutput) ToConfigEntryServiceRouterArrayOutput() ConfigEntryServiceRouterArrayOutput

func (ConfigEntryServiceRouterArrayOutput) ToConfigEntryServiceRouterArrayOutputWithContext

func (o ConfigEntryServiceRouterArrayOutput) ToConfigEntryServiceRouterArrayOutputWithContext(ctx context.Context) ConfigEntryServiceRouterArrayOutput

type ConfigEntryServiceRouterInput

type ConfigEntryServiceRouterInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterOutput() ConfigEntryServiceRouterOutput
	ToConfigEntryServiceRouterOutputWithContext(ctx context.Context) ConfigEntryServiceRouterOutput
}

type ConfigEntryServiceRouterMap

type ConfigEntryServiceRouterMap map[string]ConfigEntryServiceRouterInput

func (ConfigEntryServiceRouterMap) ElementType

func (ConfigEntryServiceRouterMap) ToConfigEntryServiceRouterMapOutput

func (i ConfigEntryServiceRouterMap) ToConfigEntryServiceRouterMapOutput() ConfigEntryServiceRouterMapOutput

func (ConfigEntryServiceRouterMap) ToConfigEntryServiceRouterMapOutputWithContext

func (i ConfigEntryServiceRouterMap) ToConfigEntryServiceRouterMapOutputWithContext(ctx context.Context) ConfigEntryServiceRouterMapOutput

type ConfigEntryServiceRouterMapInput

type ConfigEntryServiceRouterMapInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterMapOutput() ConfigEntryServiceRouterMapOutput
	ToConfigEntryServiceRouterMapOutputWithContext(context.Context) ConfigEntryServiceRouterMapOutput
}

ConfigEntryServiceRouterMapInput is an input type that accepts ConfigEntryServiceRouterMap and ConfigEntryServiceRouterMapOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterMapInput` via:

ConfigEntryServiceRouterMap{ "key": ConfigEntryServiceRouterArgs{...} }

type ConfigEntryServiceRouterMapOutput

type ConfigEntryServiceRouterMapOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterMapOutput) ElementType

func (ConfigEntryServiceRouterMapOutput) MapIndex

func (ConfigEntryServiceRouterMapOutput) ToConfigEntryServiceRouterMapOutput

func (o ConfigEntryServiceRouterMapOutput) ToConfigEntryServiceRouterMapOutput() ConfigEntryServiceRouterMapOutput

func (ConfigEntryServiceRouterMapOutput) ToConfigEntryServiceRouterMapOutputWithContext

func (o ConfigEntryServiceRouterMapOutput) ToConfigEntryServiceRouterMapOutputWithContext(ctx context.Context) ConfigEntryServiceRouterMapOutput

type ConfigEntryServiceRouterOutput

type ConfigEntryServiceRouterOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterOutput) ElementType

func (ConfigEntryServiceRouterOutput) Meta

Specifies key-value pairs to add to the KV store.

func (ConfigEntryServiceRouterOutput) Name

Specifies a name for the configuration entry.

func (ConfigEntryServiceRouterOutput) Namespace

Specifies the namespace to apply the configuration entry.

func (ConfigEntryServiceRouterOutput) Partition

Specifies the admin partition to apply the configuration entry.

func (ConfigEntryServiceRouterOutput) Routes

Defines the possible routes for L7 requests.

func (ConfigEntryServiceRouterOutput) ToConfigEntryServiceRouterOutput

func (o ConfigEntryServiceRouterOutput) ToConfigEntryServiceRouterOutput() ConfigEntryServiceRouterOutput

func (ConfigEntryServiceRouterOutput) ToConfigEntryServiceRouterOutputWithContext

func (o ConfigEntryServiceRouterOutput) ToConfigEntryServiceRouterOutputWithContext(ctx context.Context) ConfigEntryServiceRouterOutput

type ConfigEntryServiceRouterRoute

type ConfigEntryServiceRouterRoute struct {
	// Specifies the target service to route matching requests to, as well as behavior for the request to follow when routed.
	Destination *ConfigEntryServiceRouterRouteDestination `pulumi:"destination"`
	// Describes a set of criteria that Consul compares incoming L7 traffic with.
	Match *ConfigEntryServiceRouterRouteMatch `pulumi:"match"`
}

type ConfigEntryServiceRouterRouteArgs

type ConfigEntryServiceRouterRouteArgs struct {
	// Specifies the target service to route matching requests to, as well as behavior for the request to follow when routed.
	Destination ConfigEntryServiceRouterRouteDestinationPtrInput `pulumi:"destination"`
	// Describes a set of criteria that Consul compares incoming L7 traffic with.
	Match ConfigEntryServiceRouterRouteMatchPtrInput `pulumi:"match"`
}

func (ConfigEntryServiceRouterRouteArgs) ElementType

func (ConfigEntryServiceRouterRouteArgs) ToConfigEntryServiceRouterRouteOutput

func (i ConfigEntryServiceRouterRouteArgs) ToConfigEntryServiceRouterRouteOutput() ConfigEntryServiceRouterRouteOutput

func (ConfigEntryServiceRouterRouteArgs) ToConfigEntryServiceRouterRouteOutputWithContext

func (i ConfigEntryServiceRouterRouteArgs) ToConfigEntryServiceRouterRouteOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteOutput

type ConfigEntryServiceRouterRouteArray

type ConfigEntryServiceRouterRouteArray []ConfigEntryServiceRouterRouteInput

func (ConfigEntryServiceRouterRouteArray) ElementType

func (ConfigEntryServiceRouterRouteArray) ToConfigEntryServiceRouterRouteArrayOutput

func (i ConfigEntryServiceRouterRouteArray) ToConfigEntryServiceRouterRouteArrayOutput() ConfigEntryServiceRouterRouteArrayOutput

func (ConfigEntryServiceRouterRouteArray) ToConfigEntryServiceRouterRouteArrayOutputWithContext

func (i ConfigEntryServiceRouterRouteArray) ToConfigEntryServiceRouterRouteArrayOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteArrayOutput

type ConfigEntryServiceRouterRouteArrayInput

type ConfigEntryServiceRouterRouteArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteArrayOutput() ConfigEntryServiceRouterRouteArrayOutput
	ToConfigEntryServiceRouterRouteArrayOutputWithContext(context.Context) ConfigEntryServiceRouterRouteArrayOutput
}

ConfigEntryServiceRouterRouteArrayInput is an input type that accepts ConfigEntryServiceRouterRouteArray and ConfigEntryServiceRouterRouteArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteArrayInput` via:

ConfigEntryServiceRouterRouteArray{ ConfigEntryServiceRouterRouteArgs{...} }

type ConfigEntryServiceRouterRouteArrayOutput

type ConfigEntryServiceRouterRouteArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteArrayOutput) ElementType

func (ConfigEntryServiceRouterRouteArrayOutput) Index

func (ConfigEntryServiceRouterRouteArrayOutput) ToConfigEntryServiceRouterRouteArrayOutput

func (o ConfigEntryServiceRouterRouteArrayOutput) ToConfigEntryServiceRouterRouteArrayOutput() ConfigEntryServiceRouterRouteArrayOutput

func (ConfigEntryServiceRouterRouteArrayOutput) ToConfigEntryServiceRouterRouteArrayOutputWithContext

func (o ConfigEntryServiceRouterRouteArrayOutput) ToConfigEntryServiceRouterRouteArrayOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteArrayOutput

type ConfigEntryServiceRouterRouteDestination

type ConfigEntryServiceRouterRouteDestination struct {
	// Specifies the total amount of time permitted for the request stream to be idle.
	IdleTimeout *string `pulumi:"idleTimeout"`
	// Specifies the Consul namespace to resolve the service from instead of the current namespace.
	Namespace *string `pulumi:"namespace"`
	// Specifies the number of times to retry the request when a retry condition occurs.
	NumRetries *int `pulumi:"numRetries"`
	// Specifies the Consul admin partition to resolve the service from instead of the current partition.
	Partition *string `pulumi:"partition"`
	// Specifies rewrites to the HTTP request path before proxying it to its final destination.
	PrefixRewrite *string `pulumi:"prefixRewrite"`
	// Specifies a set of HTTP-specific header modification rules applied to requests routed with the service router.
	RequestHeaders *ConfigEntryServiceRouterRouteDestinationRequestHeaders `pulumi:"requestHeaders"`
	// Specifies the total amount of time permitted for the entire downstream request to be processed, including retry attempts.
	RequestTimeout *string `pulumi:"requestTimeout"`
	// Specifies a set of HTTP-specific header modification rules applied to responses routed with the service router.
	ResponseHeaders *ConfigEntryServiceRouterRouteDestinationResponseHeaders `pulumi:"responseHeaders"`
	// Specifies that connection failure errors that trigger a retry request.
	RetryOnConnectFailure *bool `pulumi:"retryOnConnectFailure"`
	// Specifies a list of integers for HTTP response status codes that trigger a retry request.
	RetryOnStatusCodes []int `pulumi:"retryOnStatusCodes"`
	// Specifies a list of conditions for Consul to retry requests based on the response from an upstream service.
	RetryOns []string `pulumi:"retryOns"`
	// Specifies the name of the service to resolve.
	Service *string `pulumi:"service"`
	// Specifies a named subset of the given service to resolve instead of the one defined as that service's `defaultSubset` in the service resolver configuration entry.
	ServiceSubset *string `pulumi:"serviceSubset"`
}

type ConfigEntryServiceRouterRouteDestinationArgs

type ConfigEntryServiceRouterRouteDestinationArgs struct {
	// Specifies the total amount of time permitted for the request stream to be idle.
	IdleTimeout pulumi.StringPtrInput `pulumi:"idleTimeout"`
	// Specifies the Consul namespace to resolve the service from instead of the current namespace.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Specifies the number of times to retry the request when a retry condition occurs.
	NumRetries pulumi.IntPtrInput `pulumi:"numRetries"`
	// Specifies the Consul admin partition to resolve the service from instead of the current partition.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// Specifies rewrites to the HTTP request path before proxying it to its final destination.
	PrefixRewrite pulumi.StringPtrInput `pulumi:"prefixRewrite"`
	// Specifies a set of HTTP-specific header modification rules applied to requests routed with the service router.
	RequestHeaders ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrInput `pulumi:"requestHeaders"`
	// Specifies the total amount of time permitted for the entire downstream request to be processed, including retry attempts.
	RequestTimeout pulumi.StringPtrInput `pulumi:"requestTimeout"`
	// Specifies a set of HTTP-specific header modification rules applied to responses routed with the service router.
	ResponseHeaders ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrInput `pulumi:"responseHeaders"`
	// Specifies that connection failure errors that trigger a retry request.
	RetryOnConnectFailure pulumi.BoolPtrInput `pulumi:"retryOnConnectFailure"`
	// Specifies a list of integers for HTTP response status codes that trigger a retry request.
	RetryOnStatusCodes pulumi.IntArrayInput `pulumi:"retryOnStatusCodes"`
	// Specifies a list of conditions for Consul to retry requests based on the response from an upstream service.
	RetryOns pulumi.StringArrayInput `pulumi:"retryOns"`
	// Specifies the name of the service to resolve.
	Service pulumi.StringPtrInput `pulumi:"service"`
	// Specifies a named subset of the given service to resolve instead of the one defined as that service's `defaultSubset` in the service resolver configuration entry.
	ServiceSubset pulumi.StringPtrInput `pulumi:"serviceSubset"`
}

func (ConfigEntryServiceRouterRouteDestinationArgs) ElementType

func (ConfigEntryServiceRouterRouteDestinationArgs) ToConfigEntryServiceRouterRouteDestinationOutput

func (i ConfigEntryServiceRouterRouteDestinationArgs) ToConfigEntryServiceRouterRouteDestinationOutput() ConfigEntryServiceRouterRouteDestinationOutput

func (ConfigEntryServiceRouterRouteDestinationArgs) ToConfigEntryServiceRouterRouteDestinationOutputWithContext

func (i ConfigEntryServiceRouterRouteDestinationArgs) ToConfigEntryServiceRouterRouteDestinationOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationOutput

func (ConfigEntryServiceRouterRouteDestinationArgs) ToConfigEntryServiceRouterRouteDestinationPtrOutput

func (i ConfigEntryServiceRouterRouteDestinationArgs) ToConfigEntryServiceRouterRouteDestinationPtrOutput() ConfigEntryServiceRouterRouteDestinationPtrOutput

func (ConfigEntryServiceRouterRouteDestinationArgs) ToConfigEntryServiceRouterRouteDestinationPtrOutputWithContext

func (i ConfigEntryServiceRouterRouteDestinationArgs) ToConfigEntryServiceRouterRouteDestinationPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationPtrOutput

type ConfigEntryServiceRouterRouteDestinationInput

type ConfigEntryServiceRouterRouteDestinationInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteDestinationOutput() ConfigEntryServiceRouterRouteDestinationOutput
	ToConfigEntryServiceRouterRouteDestinationOutputWithContext(context.Context) ConfigEntryServiceRouterRouteDestinationOutput
}

ConfigEntryServiceRouterRouteDestinationInput is an input type that accepts ConfigEntryServiceRouterRouteDestinationArgs and ConfigEntryServiceRouterRouteDestinationOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteDestinationInput` via:

ConfigEntryServiceRouterRouteDestinationArgs{...}

type ConfigEntryServiceRouterRouteDestinationOutput

type ConfigEntryServiceRouterRouteDestinationOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteDestinationOutput) ElementType

func (ConfigEntryServiceRouterRouteDestinationOutput) IdleTimeout

Specifies the total amount of time permitted for the request stream to be idle.

func (ConfigEntryServiceRouterRouteDestinationOutput) Namespace

Specifies the Consul namespace to resolve the service from instead of the current namespace.

func (ConfigEntryServiceRouterRouteDestinationOutput) NumRetries

Specifies the number of times to retry the request when a retry condition occurs.

func (ConfigEntryServiceRouterRouteDestinationOutput) Partition

Specifies the Consul admin partition to resolve the service from instead of the current partition.

func (ConfigEntryServiceRouterRouteDestinationOutput) PrefixRewrite

Specifies rewrites to the HTTP request path before proxying it to its final destination.

func (ConfigEntryServiceRouterRouteDestinationOutput) RequestHeaders

Specifies a set of HTTP-specific header modification rules applied to requests routed with the service router.

func (ConfigEntryServiceRouterRouteDestinationOutput) RequestTimeout

Specifies the total amount of time permitted for the entire downstream request to be processed, including retry attempts.

func (ConfigEntryServiceRouterRouteDestinationOutput) ResponseHeaders

Specifies a set of HTTP-specific header modification rules applied to responses routed with the service router.

func (ConfigEntryServiceRouterRouteDestinationOutput) RetryOnConnectFailure

Specifies that connection failure errors that trigger a retry request.

func (ConfigEntryServiceRouterRouteDestinationOutput) RetryOnStatusCodes

Specifies a list of integers for HTTP response status codes that trigger a retry request.

func (ConfigEntryServiceRouterRouteDestinationOutput) RetryOns

Specifies a list of conditions for Consul to retry requests based on the response from an upstream service.

func (ConfigEntryServiceRouterRouteDestinationOutput) Service

Specifies the name of the service to resolve.

func (ConfigEntryServiceRouterRouteDestinationOutput) ServiceSubset

Specifies a named subset of the given service to resolve instead of the one defined as that service's `defaultSubset` in the service resolver configuration entry.

func (ConfigEntryServiceRouterRouteDestinationOutput) ToConfigEntryServiceRouterRouteDestinationOutput

func (o ConfigEntryServiceRouterRouteDestinationOutput) ToConfigEntryServiceRouterRouteDestinationOutput() ConfigEntryServiceRouterRouteDestinationOutput

func (ConfigEntryServiceRouterRouteDestinationOutput) ToConfigEntryServiceRouterRouteDestinationOutputWithContext

func (o ConfigEntryServiceRouterRouteDestinationOutput) ToConfigEntryServiceRouterRouteDestinationOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationOutput

func (ConfigEntryServiceRouterRouteDestinationOutput) ToConfigEntryServiceRouterRouteDestinationPtrOutput

func (o ConfigEntryServiceRouterRouteDestinationOutput) ToConfigEntryServiceRouterRouteDestinationPtrOutput() ConfigEntryServiceRouterRouteDestinationPtrOutput

func (ConfigEntryServiceRouterRouteDestinationOutput) ToConfigEntryServiceRouterRouteDestinationPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteDestinationOutput) ToConfigEntryServiceRouterRouteDestinationPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationPtrOutput

type ConfigEntryServiceRouterRouteDestinationPtrInput

type ConfigEntryServiceRouterRouteDestinationPtrInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteDestinationPtrOutput() ConfigEntryServiceRouterRouteDestinationPtrOutput
	ToConfigEntryServiceRouterRouteDestinationPtrOutputWithContext(context.Context) ConfigEntryServiceRouterRouteDestinationPtrOutput
}

ConfigEntryServiceRouterRouteDestinationPtrInput is an input type that accepts ConfigEntryServiceRouterRouteDestinationArgs, ConfigEntryServiceRouterRouteDestinationPtr and ConfigEntryServiceRouterRouteDestinationPtrOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteDestinationPtrInput` via:

        ConfigEntryServiceRouterRouteDestinationArgs{...}

or:

        nil

type ConfigEntryServiceRouterRouteDestinationPtrOutput

type ConfigEntryServiceRouterRouteDestinationPtrOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) Elem

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) ElementType

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) IdleTimeout

Specifies the total amount of time permitted for the request stream to be idle.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) Namespace

Specifies the Consul namespace to resolve the service from instead of the current namespace.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) NumRetries

Specifies the number of times to retry the request when a retry condition occurs.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) Partition

Specifies the Consul admin partition to resolve the service from instead of the current partition.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) PrefixRewrite

Specifies rewrites to the HTTP request path before proxying it to its final destination.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) RequestHeaders

Specifies a set of HTTP-specific header modification rules applied to requests routed with the service router.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) RequestTimeout

Specifies the total amount of time permitted for the entire downstream request to be processed, including retry attempts.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) ResponseHeaders

Specifies a set of HTTP-specific header modification rules applied to responses routed with the service router.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) RetryOnConnectFailure

Specifies that connection failure errors that trigger a retry request.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) RetryOnStatusCodes

Specifies a list of integers for HTTP response status codes that trigger a retry request.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) RetryOns

Specifies a list of conditions for Consul to retry requests based on the response from an upstream service.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) Service

Specifies the name of the service to resolve.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) ServiceSubset

Specifies a named subset of the given service to resolve instead of the one defined as that service's `defaultSubset` in the service resolver configuration entry.

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) ToConfigEntryServiceRouterRouteDestinationPtrOutput

func (o ConfigEntryServiceRouterRouteDestinationPtrOutput) ToConfigEntryServiceRouterRouteDestinationPtrOutput() ConfigEntryServiceRouterRouteDestinationPtrOutput

func (ConfigEntryServiceRouterRouteDestinationPtrOutput) ToConfigEntryServiceRouterRouteDestinationPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteDestinationPtrOutput) ToConfigEntryServiceRouterRouteDestinationPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationPtrOutput

type ConfigEntryServiceRouterRouteDestinationRequestHeaders

type ConfigEntryServiceRouterRouteDestinationRequestHeaders struct {
	// Defines a set of key-value pairs to add to the header. Use header names as the keys.
	Add map[string]string `pulumi:"add"`
	// Defines a list of headers to remove.
	Removes []string `pulumi:"removes"`
	// Defines a set of key-value pairs to add to the request header or to replace existing header values with.
	Set map[string]string `pulumi:"set"`
}

type ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs

type ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs struct {
	// Defines a set of key-value pairs to add to the header. Use header names as the keys.
	Add pulumi.StringMapInput `pulumi:"add"`
	// Defines a list of headers to remove.
	Removes pulumi.StringArrayInput `pulumi:"removes"`
	// Defines a set of key-value pairs to add to the request header or to replace existing header values with.
	Set pulumi.StringMapInput `pulumi:"set"`
}

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs) ElementType

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs) ToConfigEntryServiceRouterRouteDestinationRequestHeadersOutput

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs) ToConfigEntryServiceRouterRouteDestinationRequestHeadersOutputWithContext

func (i ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs) ToConfigEntryServiceRouterRouteDestinationRequestHeadersOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs) ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs) ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutputWithContext

func (i ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs) ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput

type ConfigEntryServiceRouterRouteDestinationRequestHeadersInput

type ConfigEntryServiceRouterRouteDestinationRequestHeadersInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteDestinationRequestHeadersOutput() ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput
	ToConfigEntryServiceRouterRouteDestinationRequestHeadersOutputWithContext(context.Context) ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput
}

ConfigEntryServiceRouterRouteDestinationRequestHeadersInput is an input type that accepts ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs and ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteDestinationRequestHeadersInput` via:

ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs{...}

type ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput

type ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) Add

Defines a set of key-value pairs to add to the header. Use header names as the keys.

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) ElementType

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) Removes

Defines a list of headers to remove.

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) Set

Defines a set of key-value pairs to add to the request header or to replace existing header values with.

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) ToConfigEntryServiceRouterRouteDestinationRequestHeadersOutput

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) ToConfigEntryServiceRouterRouteDestinationRequestHeadersOutputWithContext

func (o ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) ToConfigEntryServiceRouterRouteDestinationRequestHeadersOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteDestinationRequestHeadersOutput) ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput

type ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrInput

type ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput() ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput
	ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutputWithContext(context.Context) ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput
}

ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrInput is an input type that accepts ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs, ConfigEntryServiceRouterRouteDestinationRequestHeadersPtr and ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrInput` via:

        ConfigEntryServiceRouterRouteDestinationRequestHeadersArgs{...}

or:

        nil

type ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput

type ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput) Add

Defines a set of key-value pairs to add to the header. Use header names as the keys.

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput) Elem

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput) ElementType

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput) Removes

Defines a list of headers to remove.

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput) Set

Defines a set of key-value pairs to add to the request header or to replace existing header values with.

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput) ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput

func (ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput) ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput) ToConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationRequestHeadersPtrOutput

type ConfigEntryServiceRouterRouteDestinationResponseHeaders

type ConfigEntryServiceRouterRouteDestinationResponseHeaders struct {
	// Defines a set of key-value pairs to add to the header. Use header names as the keys
	Add map[string]string `pulumi:"add"`
	// Defines a list of headers to remove.
	Removes []string `pulumi:"removes"`
	// Defines a set of key-value pairs to add to the response header or to replace existing header values with
	Set map[string]string `pulumi:"set"`
}

type ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs

type ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs struct {
	// Defines a set of key-value pairs to add to the header. Use header names as the keys
	Add pulumi.StringMapInput `pulumi:"add"`
	// Defines a list of headers to remove.
	Removes pulumi.StringArrayInput `pulumi:"removes"`
	// Defines a set of key-value pairs to add to the response header or to replace existing header values with
	Set pulumi.StringMapInput `pulumi:"set"`
}

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs) ElementType

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs) ToConfigEntryServiceRouterRouteDestinationResponseHeadersOutput

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs) ToConfigEntryServiceRouterRouteDestinationResponseHeadersOutputWithContext

func (i ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs) ToConfigEntryServiceRouterRouteDestinationResponseHeadersOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs) ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs) ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutputWithContext

func (i ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs) ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput

type ConfigEntryServiceRouterRouteDestinationResponseHeadersInput

type ConfigEntryServiceRouterRouteDestinationResponseHeadersInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteDestinationResponseHeadersOutput() ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput
	ToConfigEntryServiceRouterRouteDestinationResponseHeadersOutputWithContext(context.Context) ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput
}

ConfigEntryServiceRouterRouteDestinationResponseHeadersInput is an input type that accepts ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs and ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteDestinationResponseHeadersInput` via:

ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs{...}

type ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput

type ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) Add

Defines a set of key-value pairs to add to the header. Use header names as the keys

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) ElementType

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) Removes

Defines a list of headers to remove.

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) Set

Defines a set of key-value pairs to add to the response header or to replace existing header values with

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) ToConfigEntryServiceRouterRouteDestinationResponseHeadersOutput

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) ToConfigEntryServiceRouterRouteDestinationResponseHeadersOutputWithContext

func (o ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) ToConfigEntryServiceRouterRouteDestinationResponseHeadersOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteDestinationResponseHeadersOutput) ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput

type ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrInput

type ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput() ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput
	ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutputWithContext(context.Context) ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput
}

ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrInput is an input type that accepts ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs, ConfigEntryServiceRouterRouteDestinationResponseHeadersPtr and ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrInput` via:

        ConfigEntryServiceRouterRouteDestinationResponseHeadersArgs{...}

or:

        nil

type ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput

type ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput) Add

Defines a set of key-value pairs to add to the header. Use header names as the keys

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput) Elem

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput) ElementType

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput) Removes

Defines a list of headers to remove.

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput) Set

Defines a set of key-value pairs to add to the response header or to replace existing header values with

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput) ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput

func (ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput) ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput) ToConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteDestinationResponseHeadersPtrOutput

type ConfigEntryServiceRouterRouteInput

type ConfigEntryServiceRouterRouteInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteOutput() ConfigEntryServiceRouterRouteOutput
	ToConfigEntryServiceRouterRouteOutputWithContext(context.Context) ConfigEntryServiceRouterRouteOutput
}

ConfigEntryServiceRouterRouteInput is an input type that accepts ConfigEntryServiceRouterRouteArgs and ConfigEntryServiceRouterRouteOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteInput` via:

ConfigEntryServiceRouterRouteArgs{...}

type ConfigEntryServiceRouterRouteMatch

type ConfigEntryServiceRouterRouteMatch struct {
	// Specifies a set of HTTP criteria used to evaluate incoming L7 traffic for matches.
	Http *ConfigEntryServiceRouterRouteMatchHttp `pulumi:"http"`
}

type ConfigEntryServiceRouterRouteMatchArgs

type ConfigEntryServiceRouterRouteMatchArgs struct {
	// Specifies a set of HTTP criteria used to evaluate incoming L7 traffic for matches.
	Http ConfigEntryServiceRouterRouteMatchHttpPtrInput `pulumi:"http"`
}

func (ConfigEntryServiceRouterRouteMatchArgs) ElementType

func (ConfigEntryServiceRouterRouteMatchArgs) ToConfigEntryServiceRouterRouteMatchOutput

func (i ConfigEntryServiceRouterRouteMatchArgs) ToConfigEntryServiceRouterRouteMatchOutput() ConfigEntryServiceRouterRouteMatchOutput

func (ConfigEntryServiceRouterRouteMatchArgs) ToConfigEntryServiceRouterRouteMatchOutputWithContext

func (i ConfigEntryServiceRouterRouteMatchArgs) ToConfigEntryServiceRouterRouteMatchOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchOutput

func (ConfigEntryServiceRouterRouteMatchArgs) ToConfigEntryServiceRouterRouteMatchPtrOutput

func (i ConfigEntryServiceRouterRouteMatchArgs) ToConfigEntryServiceRouterRouteMatchPtrOutput() ConfigEntryServiceRouterRouteMatchPtrOutput

func (ConfigEntryServiceRouterRouteMatchArgs) ToConfigEntryServiceRouterRouteMatchPtrOutputWithContext

func (i ConfigEntryServiceRouterRouteMatchArgs) ToConfigEntryServiceRouterRouteMatchPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchPtrOutput

type ConfigEntryServiceRouterRouteMatchHttp

type ConfigEntryServiceRouterRouteMatchHttp struct {
	// Specifies information in the HTTP request header to match with.
	Headers []ConfigEntryServiceRouterRouteMatchHttpHeader `pulumi:"headers"`
	// Specifies HTTP methods that the match applies to.
	Methods []string `pulumi:"methods"`
	// Specifies the exact path to match on the HTTP request path.
	PathExact *string `pulumi:"pathExact"`
	// Specifies the path prefix to match on the HTTP request path.
	PathPrefix *string `pulumi:"pathPrefix"`
	// Specifies a regular expression to match on the HTTP request path.
	PathRegex *string `pulumi:"pathRegex"`
	// Specifies information to match to on HTTP query parameters.
	QueryParams []ConfigEntryServiceRouterRouteMatchHttpQueryParam `pulumi:"queryParams"`
}

type ConfigEntryServiceRouterRouteMatchHttpArgs

type ConfigEntryServiceRouterRouteMatchHttpArgs struct {
	// Specifies information in the HTTP request header to match with.
	Headers ConfigEntryServiceRouterRouteMatchHttpHeaderArrayInput `pulumi:"headers"`
	// Specifies HTTP methods that the match applies to.
	Methods pulumi.StringArrayInput `pulumi:"methods"`
	// Specifies the exact path to match on the HTTP request path.
	PathExact pulumi.StringPtrInput `pulumi:"pathExact"`
	// Specifies the path prefix to match on the HTTP request path.
	PathPrefix pulumi.StringPtrInput `pulumi:"pathPrefix"`
	// Specifies a regular expression to match on the HTTP request path.
	PathRegex pulumi.StringPtrInput `pulumi:"pathRegex"`
	// Specifies information to match to on HTTP query parameters.
	QueryParams ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayInput `pulumi:"queryParams"`
}

func (ConfigEntryServiceRouterRouteMatchHttpArgs) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpArgs) ToConfigEntryServiceRouterRouteMatchHttpOutput

func (i ConfigEntryServiceRouterRouteMatchHttpArgs) ToConfigEntryServiceRouterRouteMatchHttpOutput() ConfigEntryServiceRouterRouteMatchHttpOutput

func (ConfigEntryServiceRouterRouteMatchHttpArgs) ToConfigEntryServiceRouterRouteMatchHttpOutputWithContext

func (i ConfigEntryServiceRouterRouteMatchHttpArgs) ToConfigEntryServiceRouterRouteMatchHttpOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpOutput

func (ConfigEntryServiceRouterRouteMatchHttpArgs) ToConfigEntryServiceRouterRouteMatchHttpPtrOutput

func (i ConfigEntryServiceRouterRouteMatchHttpArgs) ToConfigEntryServiceRouterRouteMatchHttpPtrOutput() ConfigEntryServiceRouterRouteMatchHttpPtrOutput

func (ConfigEntryServiceRouterRouteMatchHttpArgs) ToConfigEntryServiceRouterRouteMatchHttpPtrOutputWithContext

func (i ConfigEntryServiceRouterRouteMatchHttpArgs) ToConfigEntryServiceRouterRouteMatchHttpPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpPtrOutput

type ConfigEntryServiceRouterRouteMatchHttpHeader

type ConfigEntryServiceRouterRouteMatchHttpHeader struct {
	// Specifies that a request matches when the header with the given name is this exact value.
	Exact *string `pulumi:"exact"`
	// Specifies that the logic for the HTTP header match should be inverted.
	Invert *bool `pulumi:"invert"`
	// Specifies the name of the HTTP header to match.
	Name *string `pulumi:"name"`
	// Specifies that a request matches when the header with the given name has this prefix.
	Prefix *string `pulumi:"prefix"`
	// Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP header.
	Present *bool `pulumi:"present"`
	// Specifies that a request matches when the header with the given name matches this regular expression.
	Regex *string `pulumi:"regex"`
	// Specifies that a request matches when the header with the given name has this suffix.
	Suffix *string `pulumi:"suffix"`
}

type ConfigEntryServiceRouterRouteMatchHttpHeaderArgs

type ConfigEntryServiceRouterRouteMatchHttpHeaderArgs struct {
	// Specifies that a request matches when the header with the given name is this exact value.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// Specifies that the logic for the HTTP header match should be inverted.
	Invert pulumi.BoolPtrInput `pulumi:"invert"`
	// Specifies the name of the HTTP header to match.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies that a request matches when the header with the given name has this prefix.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP header.
	Present pulumi.BoolPtrInput `pulumi:"present"`
	// Specifies that a request matches when the header with the given name matches this regular expression.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
	// Specifies that a request matches when the header with the given name has this suffix.
	Suffix pulumi.StringPtrInput `pulumi:"suffix"`
}

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArgs) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArgs) ToConfigEntryServiceRouterRouteMatchHttpHeaderOutput

func (i ConfigEntryServiceRouterRouteMatchHttpHeaderArgs) ToConfigEntryServiceRouterRouteMatchHttpHeaderOutput() ConfigEntryServiceRouterRouteMatchHttpHeaderOutput

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArgs) ToConfigEntryServiceRouterRouteMatchHttpHeaderOutputWithContext

func (i ConfigEntryServiceRouterRouteMatchHttpHeaderArgs) ToConfigEntryServiceRouterRouteMatchHttpHeaderOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpHeaderOutput

type ConfigEntryServiceRouterRouteMatchHttpHeaderArray

type ConfigEntryServiceRouterRouteMatchHttpHeaderArray []ConfigEntryServiceRouterRouteMatchHttpHeaderInput

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArray) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArray) ToConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput

func (i ConfigEntryServiceRouterRouteMatchHttpHeaderArray) ToConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput() ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArray) ToConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutputWithContext

func (i ConfigEntryServiceRouterRouteMatchHttpHeaderArray) ToConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput

type ConfigEntryServiceRouterRouteMatchHttpHeaderArrayInput

type ConfigEntryServiceRouterRouteMatchHttpHeaderArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput() ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput
	ToConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutputWithContext(context.Context) ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput
}

ConfigEntryServiceRouterRouteMatchHttpHeaderArrayInput is an input type that accepts ConfigEntryServiceRouterRouteMatchHttpHeaderArray and ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteMatchHttpHeaderArrayInput` via:

ConfigEntryServiceRouterRouteMatchHttpHeaderArray{ ConfigEntryServiceRouterRouteMatchHttpHeaderArgs{...} }

type ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput

type ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput) Index

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput) ToConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput

func (ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput) ToConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput) ToConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpHeaderArrayOutput

type ConfigEntryServiceRouterRouteMatchHttpHeaderInput

type ConfigEntryServiceRouterRouteMatchHttpHeaderInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteMatchHttpHeaderOutput() ConfigEntryServiceRouterRouteMatchHttpHeaderOutput
	ToConfigEntryServiceRouterRouteMatchHttpHeaderOutputWithContext(context.Context) ConfigEntryServiceRouterRouteMatchHttpHeaderOutput
}

ConfigEntryServiceRouterRouteMatchHttpHeaderInput is an input type that accepts ConfigEntryServiceRouterRouteMatchHttpHeaderArgs and ConfigEntryServiceRouterRouteMatchHttpHeaderOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteMatchHttpHeaderInput` via:

ConfigEntryServiceRouterRouteMatchHttpHeaderArgs{...}

type ConfigEntryServiceRouterRouteMatchHttpHeaderOutput

type ConfigEntryServiceRouterRouteMatchHttpHeaderOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) Exact

Specifies that a request matches when the header with the given name is this exact value.

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) Invert

Specifies that the logic for the HTTP header match should be inverted.

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) Name

Specifies the name of the HTTP header to match.

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) Prefix

Specifies that a request matches when the header with the given name has this prefix.

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) Present

Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP header.

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) Regex

Specifies that a request matches when the header with the given name matches this regular expression.

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) Suffix

Specifies that a request matches when the header with the given name has this suffix.

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) ToConfigEntryServiceRouterRouteMatchHttpHeaderOutput

func (o ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) ToConfigEntryServiceRouterRouteMatchHttpHeaderOutput() ConfigEntryServiceRouterRouteMatchHttpHeaderOutput

func (ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) ToConfigEntryServiceRouterRouteMatchHttpHeaderOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchHttpHeaderOutput) ToConfigEntryServiceRouterRouteMatchHttpHeaderOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpHeaderOutput

type ConfigEntryServiceRouterRouteMatchHttpInput

type ConfigEntryServiceRouterRouteMatchHttpInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteMatchHttpOutput() ConfigEntryServiceRouterRouteMatchHttpOutput
	ToConfigEntryServiceRouterRouteMatchHttpOutputWithContext(context.Context) ConfigEntryServiceRouterRouteMatchHttpOutput
}

ConfigEntryServiceRouterRouteMatchHttpInput is an input type that accepts ConfigEntryServiceRouterRouteMatchHttpArgs and ConfigEntryServiceRouterRouteMatchHttpOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteMatchHttpInput` via:

ConfigEntryServiceRouterRouteMatchHttpArgs{...}

type ConfigEntryServiceRouterRouteMatchHttpOutput

type ConfigEntryServiceRouterRouteMatchHttpOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteMatchHttpOutput) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpOutput) Headers

Specifies information in the HTTP request header to match with.

func (ConfigEntryServiceRouterRouteMatchHttpOutput) Methods

Specifies HTTP methods that the match applies to.

func (ConfigEntryServiceRouterRouteMatchHttpOutput) PathExact

Specifies the exact path to match on the HTTP request path.

func (ConfigEntryServiceRouterRouteMatchHttpOutput) PathPrefix

Specifies the path prefix to match on the HTTP request path.

func (ConfigEntryServiceRouterRouteMatchHttpOutput) PathRegex

Specifies a regular expression to match on the HTTP request path.

func (ConfigEntryServiceRouterRouteMatchHttpOutput) QueryParams

Specifies information to match to on HTTP query parameters.

func (ConfigEntryServiceRouterRouteMatchHttpOutput) ToConfigEntryServiceRouterRouteMatchHttpOutput

func (o ConfigEntryServiceRouterRouteMatchHttpOutput) ToConfigEntryServiceRouterRouteMatchHttpOutput() ConfigEntryServiceRouterRouteMatchHttpOutput

func (ConfigEntryServiceRouterRouteMatchHttpOutput) ToConfigEntryServiceRouterRouteMatchHttpOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchHttpOutput) ToConfigEntryServiceRouterRouteMatchHttpOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpOutput

func (ConfigEntryServiceRouterRouteMatchHttpOutput) ToConfigEntryServiceRouterRouteMatchHttpPtrOutput

func (o ConfigEntryServiceRouterRouteMatchHttpOutput) ToConfigEntryServiceRouterRouteMatchHttpPtrOutput() ConfigEntryServiceRouterRouteMatchHttpPtrOutput

func (ConfigEntryServiceRouterRouteMatchHttpOutput) ToConfigEntryServiceRouterRouteMatchHttpPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchHttpOutput) ToConfigEntryServiceRouterRouteMatchHttpPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpPtrOutput

type ConfigEntryServiceRouterRouteMatchHttpPtrInput

type ConfigEntryServiceRouterRouteMatchHttpPtrInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteMatchHttpPtrOutput() ConfigEntryServiceRouterRouteMatchHttpPtrOutput
	ToConfigEntryServiceRouterRouteMatchHttpPtrOutputWithContext(context.Context) ConfigEntryServiceRouterRouteMatchHttpPtrOutput
}

ConfigEntryServiceRouterRouteMatchHttpPtrInput is an input type that accepts ConfigEntryServiceRouterRouteMatchHttpArgs, ConfigEntryServiceRouterRouteMatchHttpPtr and ConfigEntryServiceRouterRouteMatchHttpPtrOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteMatchHttpPtrInput` via:

        ConfigEntryServiceRouterRouteMatchHttpArgs{...}

or:

        nil

type ConfigEntryServiceRouterRouteMatchHttpPtrOutput

type ConfigEntryServiceRouterRouteMatchHttpPtrOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) Elem

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) Headers

Specifies information in the HTTP request header to match with.

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) Methods

Specifies HTTP methods that the match applies to.

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) PathExact

Specifies the exact path to match on the HTTP request path.

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) PathPrefix

Specifies the path prefix to match on the HTTP request path.

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) PathRegex

Specifies a regular expression to match on the HTTP request path.

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) QueryParams

Specifies information to match to on HTTP query parameters.

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) ToConfigEntryServiceRouterRouteMatchHttpPtrOutput

func (o ConfigEntryServiceRouterRouteMatchHttpPtrOutput) ToConfigEntryServiceRouterRouteMatchHttpPtrOutput() ConfigEntryServiceRouterRouteMatchHttpPtrOutput

func (ConfigEntryServiceRouterRouteMatchHttpPtrOutput) ToConfigEntryServiceRouterRouteMatchHttpPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchHttpPtrOutput) ToConfigEntryServiceRouterRouteMatchHttpPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpPtrOutput

type ConfigEntryServiceRouterRouteMatchHttpQueryParam

type ConfigEntryServiceRouterRouteMatchHttpQueryParam struct {
	// Specifies that a request matches when the query parameter with the given name is this exact value.
	Exact *string `pulumi:"exact"`
	// Specifies the name of the HTTP query parameter to match.
	Name *string `pulumi:"name"`
	// Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP query parameter.
	Present *bool `pulumi:"present"`
	// Specifies that a request matches when the query parameter with the given name matches this regular expression.
	Regex *string `pulumi:"regex"`
}

type ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs

type ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs struct {
	// Specifies that a request matches when the query parameter with the given name is this exact value.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// Specifies the name of the HTTP query parameter to match.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP query parameter.
	Present pulumi.BoolPtrInput `pulumi:"present"`
	// Specifies that a request matches when the query parameter with the given name matches this regular expression.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs) ToConfigEntryServiceRouterRouteMatchHttpQueryParamOutput

func (i ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs) ToConfigEntryServiceRouterRouteMatchHttpQueryParamOutput() ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs) ToConfigEntryServiceRouterRouteMatchHttpQueryParamOutputWithContext

func (i ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs) ToConfigEntryServiceRouterRouteMatchHttpQueryParamOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput

type ConfigEntryServiceRouterRouteMatchHttpQueryParamArray

type ConfigEntryServiceRouterRouteMatchHttpQueryParamArray []ConfigEntryServiceRouterRouteMatchHttpQueryParamInput

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArray) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArray) ToConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput

func (i ConfigEntryServiceRouterRouteMatchHttpQueryParamArray) ToConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput() ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArray) ToConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutputWithContext

func (i ConfigEntryServiceRouterRouteMatchHttpQueryParamArray) ToConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput

type ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayInput

type ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput() ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput
	ToConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutputWithContext(context.Context) ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput
}

ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayInput is an input type that accepts ConfigEntryServiceRouterRouteMatchHttpQueryParamArray and ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayInput` via:

ConfigEntryServiceRouterRouteMatchHttpQueryParamArray{ ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs{...} }

type ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput

type ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput) Index

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput) ToConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput) ToConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput) ToConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpQueryParamArrayOutput

type ConfigEntryServiceRouterRouteMatchHttpQueryParamInput

type ConfigEntryServiceRouterRouteMatchHttpQueryParamInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteMatchHttpQueryParamOutput() ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput
	ToConfigEntryServiceRouterRouteMatchHttpQueryParamOutputWithContext(context.Context) ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput
}

ConfigEntryServiceRouterRouteMatchHttpQueryParamInput is an input type that accepts ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs and ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteMatchHttpQueryParamInput` via:

ConfigEntryServiceRouterRouteMatchHttpQueryParamArgs{...}

type ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput

type ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput) ElementType

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput) Exact

Specifies that a request matches when the query parameter with the given name is this exact value.

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput) Name

Specifies the name of the HTTP query parameter to match.

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput) Present

Specifies that a request matches when the value in the `name` argument is present anywhere in the HTTP query parameter.

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput) Regex

Specifies that a request matches when the query parameter with the given name matches this regular expression.

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput) ToConfigEntryServiceRouterRouteMatchHttpQueryParamOutput

func (ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput) ToConfigEntryServiceRouterRouteMatchHttpQueryParamOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput) ToConfigEntryServiceRouterRouteMatchHttpQueryParamOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchHttpQueryParamOutput

type ConfigEntryServiceRouterRouteMatchInput

type ConfigEntryServiceRouterRouteMatchInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteMatchOutput() ConfigEntryServiceRouterRouteMatchOutput
	ToConfigEntryServiceRouterRouteMatchOutputWithContext(context.Context) ConfigEntryServiceRouterRouteMatchOutput
}

ConfigEntryServiceRouterRouteMatchInput is an input type that accepts ConfigEntryServiceRouterRouteMatchArgs and ConfigEntryServiceRouterRouteMatchOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteMatchInput` via:

ConfigEntryServiceRouterRouteMatchArgs{...}

type ConfigEntryServiceRouterRouteMatchOutput

type ConfigEntryServiceRouterRouteMatchOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteMatchOutput) ElementType

func (ConfigEntryServiceRouterRouteMatchOutput) Http

Specifies a set of HTTP criteria used to evaluate incoming L7 traffic for matches.

func (ConfigEntryServiceRouterRouteMatchOutput) ToConfigEntryServiceRouterRouteMatchOutput

func (o ConfigEntryServiceRouterRouteMatchOutput) ToConfigEntryServiceRouterRouteMatchOutput() ConfigEntryServiceRouterRouteMatchOutput

func (ConfigEntryServiceRouterRouteMatchOutput) ToConfigEntryServiceRouterRouteMatchOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchOutput) ToConfigEntryServiceRouterRouteMatchOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchOutput

func (ConfigEntryServiceRouterRouteMatchOutput) ToConfigEntryServiceRouterRouteMatchPtrOutput

func (o ConfigEntryServiceRouterRouteMatchOutput) ToConfigEntryServiceRouterRouteMatchPtrOutput() ConfigEntryServiceRouterRouteMatchPtrOutput

func (ConfigEntryServiceRouterRouteMatchOutput) ToConfigEntryServiceRouterRouteMatchPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchOutput) ToConfigEntryServiceRouterRouteMatchPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchPtrOutput

type ConfigEntryServiceRouterRouteMatchPtrInput

type ConfigEntryServiceRouterRouteMatchPtrInput interface {
	pulumi.Input

	ToConfigEntryServiceRouterRouteMatchPtrOutput() ConfigEntryServiceRouterRouteMatchPtrOutput
	ToConfigEntryServiceRouterRouteMatchPtrOutputWithContext(context.Context) ConfigEntryServiceRouterRouteMatchPtrOutput
}

ConfigEntryServiceRouterRouteMatchPtrInput is an input type that accepts ConfigEntryServiceRouterRouteMatchArgs, ConfigEntryServiceRouterRouteMatchPtr and ConfigEntryServiceRouterRouteMatchPtrOutput values. You can construct a concrete instance of `ConfigEntryServiceRouterRouteMatchPtrInput` via:

        ConfigEntryServiceRouterRouteMatchArgs{...}

or:

        nil

type ConfigEntryServiceRouterRouteMatchPtrOutput

type ConfigEntryServiceRouterRouteMatchPtrOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteMatchPtrOutput) Elem

func (ConfigEntryServiceRouterRouteMatchPtrOutput) ElementType

func (ConfigEntryServiceRouterRouteMatchPtrOutput) Http

Specifies a set of HTTP criteria used to evaluate incoming L7 traffic for matches.

func (ConfigEntryServiceRouterRouteMatchPtrOutput) ToConfigEntryServiceRouterRouteMatchPtrOutput

func (o ConfigEntryServiceRouterRouteMatchPtrOutput) ToConfigEntryServiceRouterRouteMatchPtrOutput() ConfigEntryServiceRouterRouteMatchPtrOutput

func (ConfigEntryServiceRouterRouteMatchPtrOutput) ToConfigEntryServiceRouterRouteMatchPtrOutputWithContext

func (o ConfigEntryServiceRouterRouteMatchPtrOutput) ToConfigEntryServiceRouterRouteMatchPtrOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteMatchPtrOutput

type ConfigEntryServiceRouterRouteOutput

type ConfigEntryServiceRouterRouteOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceRouterRouteOutput) Destination

Specifies the target service to route matching requests to, as well as behavior for the request to follow when routed.

func (ConfigEntryServiceRouterRouteOutput) ElementType

func (ConfigEntryServiceRouterRouteOutput) Match

Describes a set of criteria that Consul compares incoming L7 traffic with.

func (ConfigEntryServiceRouterRouteOutput) ToConfigEntryServiceRouterRouteOutput

func (o ConfigEntryServiceRouterRouteOutput) ToConfigEntryServiceRouterRouteOutput() ConfigEntryServiceRouterRouteOutput

func (ConfigEntryServiceRouterRouteOutput) ToConfigEntryServiceRouterRouteOutputWithContext

func (o ConfigEntryServiceRouterRouteOutput) ToConfigEntryServiceRouterRouteOutputWithContext(ctx context.Context) ConfigEntryServiceRouterRouteOutput

type ConfigEntryServiceRouterState

type ConfigEntryServiceRouterState struct {
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapInput
	// Specifies a name for the configuration entry.
	Name pulumi.StringPtrInput
	// Specifies the namespace to apply the configuration entry.
	Namespace pulumi.StringPtrInput
	// Specifies the admin partition to apply the configuration entry.
	Partition pulumi.StringPtrInput
	// Defines the possible routes for L7 requests.
	Routes ConfigEntryServiceRouterRouteArrayInput
}

func (ConfigEntryServiceRouterState) ElementType

type ConfigEntryServiceSplitter

type ConfigEntryServiceSplitter struct {
	pulumi.CustomResourceState

	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapOutput `pulumi:"meta"`
	// Specifies a name for the configuration entry.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the namespace to apply the configuration entry.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Specifies the admin partition to apply the configuration entry.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// Defines how much traffic to send to sets of service instances during a traffic split.
	Splits ConfigEntryServiceSplitterSplitArrayOutput `pulumi:"splits"`
}

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Protocol":         "http",
			"Expose":           nil,
			"MeshGateway":      nil,
			"TransparentProxy": nil,
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = consul.NewConfigEntry(ctx, "web", &consul.ConfigEntryArgs{
			Name:       pulumi.String("web"),
			Kind:       pulumi.String("service-defaults"),
			ConfigJson: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		serviceResolver, err := consul.NewConfigEntryServiceResolver(ctx, "service_resolver", &consul.ConfigEntryServiceResolverArgs{
			Name:          pulumi.String("service-resolver"),
			DefaultSubset: pulumi.String("v1"),
			Subsets: consul.ConfigEntryServiceResolverSubsetArray{
				&consul.ConfigEntryServiceResolverSubsetArgs{
					Name:   pulumi.String("v1"),
					Filter: pulumi.String("Service.Meta.version == v1"),
				},
				&consul.ConfigEntryServiceResolverSubsetArgs{
					Name:   pulumi.String("v2"),
					Filter: pulumi.String("Service.Meta.version == v2"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = consul.NewConfigEntryServiceSplitter(ctx, "foo", &consul.ConfigEntryServiceSplitterArgs{
			Name: serviceResolver.Name,
			Meta: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
			Splits: consul.ConfigEntryServiceSplitterSplitArray{
				&consul.ConfigEntryServiceSplitterSplitArgs{
					Weight:        pulumi.Float64(80),
					Service:       pulumi.String("web"),
					ServiceSubset: pulumi.String("v1"),
					RequestHeaders: &consul.ConfigEntryServiceSplitterSplitRequestHeadersArgs{
						Set: pulumi.StringMap{
							"x-web-version": pulumi.String("from-v1"),
						},
					},
					ResponseHeaders: &consul.ConfigEntryServiceSplitterSplitResponseHeadersArgs{
						Set: pulumi.StringMap{
							"x-web-version": pulumi.String("to-v1"),
						},
					},
				},
				&consul.ConfigEntryServiceSplitterSplitArgs{
					Weight:        pulumi.Float64(10),
					Service:       pulumi.String("web"),
					ServiceSubset: pulumi.String("v2"),
					RequestHeaders: &consul.ConfigEntryServiceSplitterSplitRequestHeadersArgs{
						Set: pulumi.StringMap{
							"x-web-version": pulumi.String("from-v2"),
						},
					},
					ResponseHeaders: &consul.ConfigEntryServiceSplitterSplitResponseHeadersArgs{
						Set: pulumi.StringMap{
							"x-web-version": pulumi.String("to-v2"),
						},
					},
				},
				&consul.ConfigEntryServiceSplitterSplitArgs{
					Weight:        pulumi.Float64(10),
					Service:       pulumi.String("web"),
					ServiceSubset: pulumi.String("v2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import consul:index/configEntryServiceSplitter:ConfigEntryServiceSplitter foo web ```

func GetConfigEntryServiceSplitter

func GetConfigEntryServiceSplitter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigEntryServiceSplitterState, opts ...pulumi.ResourceOption) (*ConfigEntryServiceSplitter, error)

GetConfigEntryServiceSplitter gets an existing ConfigEntryServiceSplitter 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 NewConfigEntryServiceSplitter

func NewConfigEntryServiceSplitter(ctx *pulumi.Context,
	name string, args *ConfigEntryServiceSplitterArgs, opts ...pulumi.ResourceOption) (*ConfigEntryServiceSplitter, error)

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

func (*ConfigEntryServiceSplitter) ElementType

func (*ConfigEntryServiceSplitter) ElementType() reflect.Type

func (*ConfigEntryServiceSplitter) ToConfigEntryServiceSplitterOutput

func (i *ConfigEntryServiceSplitter) ToConfigEntryServiceSplitterOutput() ConfigEntryServiceSplitterOutput

func (*ConfigEntryServiceSplitter) ToConfigEntryServiceSplitterOutputWithContext

func (i *ConfigEntryServiceSplitter) ToConfigEntryServiceSplitterOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterOutput

type ConfigEntryServiceSplitterArgs

type ConfigEntryServiceSplitterArgs struct {
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapInput
	// Specifies a name for the configuration entry.
	Name pulumi.StringPtrInput
	// Specifies the namespace to apply the configuration entry.
	Namespace pulumi.StringPtrInput
	// Specifies the admin partition to apply the configuration entry.
	Partition pulumi.StringPtrInput
	// Defines how much traffic to send to sets of service instances during a traffic split.
	Splits ConfigEntryServiceSplitterSplitArrayInput
}

The set of arguments for constructing a ConfigEntryServiceSplitter resource.

func (ConfigEntryServiceSplitterArgs) ElementType

type ConfigEntryServiceSplitterArray

type ConfigEntryServiceSplitterArray []ConfigEntryServiceSplitterInput

func (ConfigEntryServiceSplitterArray) ElementType

func (ConfigEntryServiceSplitterArray) ToConfigEntryServiceSplitterArrayOutput

func (i ConfigEntryServiceSplitterArray) ToConfigEntryServiceSplitterArrayOutput() ConfigEntryServiceSplitterArrayOutput

func (ConfigEntryServiceSplitterArray) ToConfigEntryServiceSplitterArrayOutputWithContext

func (i ConfigEntryServiceSplitterArray) ToConfigEntryServiceSplitterArrayOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterArrayOutput

type ConfigEntryServiceSplitterArrayInput

type ConfigEntryServiceSplitterArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceSplitterArrayOutput() ConfigEntryServiceSplitterArrayOutput
	ToConfigEntryServiceSplitterArrayOutputWithContext(context.Context) ConfigEntryServiceSplitterArrayOutput
}

ConfigEntryServiceSplitterArrayInput is an input type that accepts ConfigEntryServiceSplitterArray and ConfigEntryServiceSplitterArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceSplitterArrayInput` via:

ConfigEntryServiceSplitterArray{ ConfigEntryServiceSplitterArgs{...} }

type ConfigEntryServiceSplitterArrayOutput

type ConfigEntryServiceSplitterArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceSplitterArrayOutput) ElementType

func (ConfigEntryServiceSplitterArrayOutput) Index

func (ConfigEntryServiceSplitterArrayOutput) ToConfigEntryServiceSplitterArrayOutput

func (o ConfigEntryServiceSplitterArrayOutput) ToConfigEntryServiceSplitterArrayOutput() ConfigEntryServiceSplitterArrayOutput

func (ConfigEntryServiceSplitterArrayOutput) ToConfigEntryServiceSplitterArrayOutputWithContext

func (o ConfigEntryServiceSplitterArrayOutput) ToConfigEntryServiceSplitterArrayOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterArrayOutput

type ConfigEntryServiceSplitterInput

type ConfigEntryServiceSplitterInput interface {
	pulumi.Input

	ToConfigEntryServiceSplitterOutput() ConfigEntryServiceSplitterOutput
	ToConfigEntryServiceSplitterOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterOutput
}

type ConfigEntryServiceSplitterMap

type ConfigEntryServiceSplitterMap map[string]ConfigEntryServiceSplitterInput

func (ConfigEntryServiceSplitterMap) ElementType

func (ConfigEntryServiceSplitterMap) ToConfigEntryServiceSplitterMapOutput

func (i ConfigEntryServiceSplitterMap) ToConfigEntryServiceSplitterMapOutput() ConfigEntryServiceSplitterMapOutput

func (ConfigEntryServiceSplitterMap) ToConfigEntryServiceSplitterMapOutputWithContext

func (i ConfigEntryServiceSplitterMap) ToConfigEntryServiceSplitterMapOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterMapOutput

type ConfigEntryServiceSplitterMapInput

type ConfigEntryServiceSplitterMapInput interface {
	pulumi.Input

	ToConfigEntryServiceSplitterMapOutput() ConfigEntryServiceSplitterMapOutput
	ToConfigEntryServiceSplitterMapOutputWithContext(context.Context) ConfigEntryServiceSplitterMapOutput
}

ConfigEntryServiceSplitterMapInput is an input type that accepts ConfigEntryServiceSplitterMap and ConfigEntryServiceSplitterMapOutput values. You can construct a concrete instance of `ConfigEntryServiceSplitterMapInput` via:

ConfigEntryServiceSplitterMap{ "key": ConfigEntryServiceSplitterArgs{...} }

type ConfigEntryServiceSplitterMapOutput

type ConfigEntryServiceSplitterMapOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceSplitterMapOutput) ElementType

func (ConfigEntryServiceSplitterMapOutput) MapIndex

func (ConfigEntryServiceSplitterMapOutput) ToConfigEntryServiceSplitterMapOutput

func (o ConfigEntryServiceSplitterMapOutput) ToConfigEntryServiceSplitterMapOutput() ConfigEntryServiceSplitterMapOutput

func (ConfigEntryServiceSplitterMapOutput) ToConfigEntryServiceSplitterMapOutputWithContext

func (o ConfigEntryServiceSplitterMapOutput) ToConfigEntryServiceSplitterMapOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterMapOutput

type ConfigEntryServiceSplitterOutput

type ConfigEntryServiceSplitterOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceSplitterOutput) ElementType

func (ConfigEntryServiceSplitterOutput) Meta

Specifies key-value pairs to add to the KV store.

func (ConfigEntryServiceSplitterOutput) Name

Specifies a name for the configuration entry.

func (ConfigEntryServiceSplitterOutput) Namespace

Specifies the namespace to apply the configuration entry.

func (ConfigEntryServiceSplitterOutput) Partition

Specifies the admin partition to apply the configuration entry.

func (ConfigEntryServiceSplitterOutput) Splits

Defines how much traffic to send to sets of service instances during a traffic split.

func (ConfigEntryServiceSplitterOutput) ToConfigEntryServiceSplitterOutput

func (o ConfigEntryServiceSplitterOutput) ToConfigEntryServiceSplitterOutput() ConfigEntryServiceSplitterOutput

func (ConfigEntryServiceSplitterOutput) ToConfigEntryServiceSplitterOutputWithContext

func (o ConfigEntryServiceSplitterOutput) ToConfigEntryServiceSplitterOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterOutput

type ConfigEntryServiceSplitterSplit

type ConfigEntryServiceSplitterSplit struct {
	// Specifies the namespace to use in the FQDN when resolving the service.
	Namespace *string `pulumi:"namespace"`
	// Specifies the admin partition to use in the FQDN when resolving the service.
	Partition *string `pulumi:"partition"`
	// Specifies a set of HTTP-specific header modification rules applied to requests routed with the service split. You cannot configure request headers if the listener protocol is set to `tcp`.
	RequestHeaders *ConfigEntryServiceSplitterSplitRequestHeaders `pulumi:"requestHeaders"`
	// Specifies a set of HTTP-specific header modification rules applied to responses routed with the service split. You cannot configure request headers if the listener protocol is set to `tcp`.
	ResponseHeaders *ConfigEntryServiceSplitterSplitResponseHeaders `pulumi:"responseHeaders"`
	// Specifies the name of the service to resolve.
	Service string `pulumi:"service"`
	// Specifies a subset of the service to resolve. A service subset assigns a name to a specific subset of discoverable service instances within a datacenter, such as `version2` or `canary`. All services have an unnamed default subset that returns all healthy instances.
	ServiceSubset *string `pulumi:"serviceSubset"`
	// Specifies the percentage of traffic sent to the set of service instances specified in the `service` field. Each weight must be a floating integer between `0` and `100`. The smallest representable value is `.01`. The sum of weights across all splits must add up to `100`.
	Weight float64 `pulumi:"weight"`
}

type ConfigEntryServiceSplitterSplitArgs

type ConfigEntryServiceSplitterSplitArgs struct {
	// Specifies the namespace to use in the FQDN when resolving the service.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Specifies the admin partition to use in the FQDN when resolving the service.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// Specifies a set of HTTP-specific header modification rules applied to requests routed with the service split. You cannot configure request headers if the listener protocol is set to `tcp`.
	RequestHeaders ConfigEntryServiceSplitterSplitRequestHeadersPtrInput `pulumi:"requestHeaders"`
	// Specifies a set of HTTP-specific header modification rules applied to responses routed with the service split. You cannot configure request headers if the listener protocol is set to `tcp`.
	ResponseHeaders ConfigEntryServiceSplitterSplitResponseHeadersPtrInput `pulumi:"responseHeaders"`
	// Specifies the name of the service to resolve.
	Service pulumi.StringInput `pulumi:"service"`
	// Specifies a subset of the service to resolve. A service subset assigns a name to a specific subset of discoverable service instances within a datacenter, such as `version2` or `canary`. All services have an unnamed default subset that returns all healthy instances.
	ServiceSubset pulumi.StringPtrInput `pulumi:"serviceSubset"`
	// Specifies the percentage of traffic sent to the set of service instances specified in the `service` field. Each weight must be a floating integer between `0` and `100`. The smallest representable value is `.01`. The sum of weights across all splits must add up to `100`.
	Weight pulumi.Float64Input `pulumi:"weight"`
}

func (ConfigEntryServiceSplitterSplitArgs) ElementType

func (ConfigEntryServiceSplitterSplitArgs) ToConfigEntryServiceSplitterSplitOutput

func (i ConfigEntryServiceSplitterSplitArgs) ToConfigEntryServiceSplitterSplitOutput() ConfigEntryServiceSplitterSplitOutput

func (ConfigEntryServiceSplitterSplitArgs) ToConfigEntryServiceSplitterSplitOutputWithContext

func (i ConfigEntryServiceSplitterSplitArgs) ToConfigEntryServiceSplitterSplitOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitOutput

type ConfigEntryServiceSplitterSplitArray

type ConfigEntryServiceSplitterSplitArray []ConfigEntryServiceSplitterSplitInput

func (ConfigEntryServiceSplitterSplitArray) ElementType

func (ConfigEntryServiceSplitterSplitArray) ToConfigEntryServiceSplitterSplitArrayOutput

func (i ConfigEntryServiceSplitterSplitArray) ToConfigEntryServiceSplitterSplitArrayOutput() ConfigEntryServiceSplitterSplitArrayOutput

func (ConfigEntryServiceSplitterSplitArray) ToConfigEntryServiceSplitterSplitArrayOutputWithContext

func (i ConfigEntryServiceSplitterSplitArray) ToConfigEntryServiceSplitterSplitArrayOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitArrayOutput

type ConfigEntryServiceSplitterSplitArrayInput

type ConfigEntryServiceSplitterSplitArrayInput interface {
	pulumi.Input

	ToConfigEntryServiceSplitterSplitArrayOutput() ConfigEntryServiceSplitterSplitArrayOutput
	ToConfigEntryServiceSplitterSplitArrayOutputWithContext(context.Context) ConfigEntryServiceSplitterSplitArrayOutput
}

ConfigEntryServiceSplitterSplitArrayInput is an input type that accepts ConfigEntryServiceSplitterSplitArray and ConfigEntryServiceSplitterSplitArrayOutput values. You can construct a concrete instance of `ConfigEntryServiceSplitterSplitArrayInput` via:

ConfigEntryServiceSplitterSplitArray{ ConfigEntryServiceSplitterSplitArgs{...} }

type ConfigEntryServiceSplitterSplitArrayOutput

type ConfigEntryServiceSplitterSplitArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceSplitterSplitArrayOutput) ElementType

func (ConfigEntryServiceSplitterSplitArrayOutput) Index

func (ConfigEntryServiceSplitterSplitArrayOutput) ToConfigEntryServiceSplitterSplitArrayOutput

func (o ConfigEntryServiceSplitterSplitArrayOutput) ToConfigEntryServiceSplitterSplitArrayOutput() ConfigEntryServiceSplitterSplitArrayOutput

func (ConfigEntryServiceSplitterSplitArrayOutput) ToConfigEntryServiceSplitterSplitArrayOutputWithContext

func (o ConfigEntryServiceSplitterSplitArrayOutput) ToConfigEntryServiceSplitterSplitArrayOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitArrayOutput

type ConfigEntryServiceSplitterSplitInput

type ConfigEntryServiceSplitterSplitInput interface {
	pulumi.Input

	ToConfigEntryServiceSplitterSplitOutput() ConfigEntryServiceSplitterSplitOutput
	ToConfigEntryServiceSplitterSplitOutputWithContext(context.Context) ConfigEntryServiceSplitterSplitOutput
}

ConfigEntryServiceSplitterSplitInput is an input type that accepts ConfigEntryServiceSplitterSplitArgs and ConfigEntryServiceSplitterSplitOutput values. You can construct a concrete instance of `ConfigEntryServiceSplitterSplitInput` via:

ConfigEntryServiceSplitterSplitArgs{...}

type ConfigEntryServiceSplitterSplitOutput

type ConfigEntryServiceSplitterSplitOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceSplitterSplitOutput) ElementType

func (ConfigEntryServiceSplitterSplitOutput) Namespace

Specifies the namespace to use in the FQDN when resolving the service.

func (ConfigEntryServiceSplitterSplitOutput) Partition

Specifies the admin partition to use in the FQDN when resolving the service.

func (ConfigEntryServiceSplitterSplitOutput) RequestHeaders

Specifies a set of HTTP-specific header modification rules applied to requests routed with the service split. You cannot configure request headers if the listener protocol is set to `tcp`.

func (ConfigEntryServiceSplitterSplitOutput) ResponseHeaders

Specifies a set of HTTP-specific header modification rules applied to responses routed with the service split. You cannot configure request headers if the listener protocol is set to `tcp`.

func (ConfigEntryServiceSplitterSplitOutput) Service

Specifies the name of the service to resolve.

func (ConfigEntryServiceSplitterSplitOutput) ServiceSubset

Specifies a subset of the service to resolve. A service subset assigns a name to a specific subset of discoverable service instances within a datacenter, such as `version2` or `canary`. All services have an unnamed default subset that returns all healthy instances.

func (ConfigEntryServiceSplitterSplitOutput) ToConfigEntryServiceSplitterSplitOutput

func (o ConfigEntryServiceSplitterSplitOutput) ToConfigEntryServiceSplitterSplitOutput() ConfigEntryServiceSplitterSplitOutput

func (ConfigEntryServiceSplitterSplitOutput) ToConfigEntryServiceSplitterSplitOutputWithContext

func (o ConfigEntryServiceSplitterSplitOutput) ToConfigEntryServiceSplitterSplitOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitOutput

func (ConfigEntryServiceSplitterSplitOutput) Weight

Specifies the percentage of traffic sent to the set of service instances specified in the `service` field. Each weight must be a floating integer between `0` and `100`. The smallest representable value is `.01`. The sum of weights across all splits must add up to `100`.

type ConfigEntryServiceSplitterSplitRequestHeaders

type ConfigEntryServiceSplitterSplitRequestHeaders struct {
	// Map of one or more key-value pairs. Defines a set of key-value pairs to add to the header. Use header names as the keys. Header names are not case-sensitive. If header values with the same name already exist, the value is appended and Consul applies both headers.
	Add map[string]string `pulumi:"add"`
	// Defines an list of headers to remove. Consul removes only headers containing exact matches. Header names are not case-sensitive.
	Removes []string `pulumi:"removes"`
	// Map of one or more key-value pairs. Defines a set of key-value pairs to add to the request header or to replace existing header values with. Use header names as the keys. Header names are not case-sensitive. If header values with the same names already exist, Consul replaces the header values.
	Set map[string]string `pulumi:"set"`
}

type ConfigEntryServiceSplitterSplitRequestHeadersArgs

type ConfigEntryServiceSplitterSplitRequestHeadersArgs struct {
	// Map of one or more key-value pairs. Defines a set of key-value pairs to add to the header. Use header names as the keys. Header names are not case-sensitive. If header values with the same name already exist, the value is appended and Consul applies both headers.
	Add pulumi.StringMapInput `pulumi:"add"`
	// Defines an list of headers to remove. Consul removes only headers containing exact matches. Header names are not case-sensitive.
	Removes pulumi.StringArrayInput `pulumi:"removes"`
	// Map of one or more key-value pairs. Defines a set of key-value pairs to add to the request header or to replace existing header values with. Use header names as the keys. Header names are not case-sensitive. If header values with the same names already exist, Consul replaces the header values.
	Set pulumi.StringMapInput `pulumi:"set"`
}

func (ConfigEntryServiceSplitterSplitRequestHeadersArgs) ElementType

func (ConfigEntryServiceSplitterSplitRequestHeadersArgs) ToConfigEntryServiceSplitterSplitRequestHeadersOutput

func (i ConfigEntryServiceSplitterSplitRequestHeadersArgs) ToConfigEntryServiceSplitterSplitRequestHeadersOutput() ConfigEntryServiceSplitterSplitRequestHeadersOutput

func (ConfigEntryServiceSplitterSplitRequestHeadersArgs) ToConfigEntryServiceSplitterSplitRequestHeadersOutputWithContext

func (i ConfigEntryServiceSplitterSplitRequestHeadersArgs) ToConfigEntryServiceSplitterSplitRequestHeadersOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitRequestHeadersOutput

func (ConfigEntryServiceSplitterSplitRequestHeadersArgs) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutput

func (i ConfigEntryServiceSplitterSplitRequestHeadersArgs) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutput() ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput

func (ConfigEntryServiceSplitterSplitRequestHeadersArgs) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutputWithContext

func (i ConfigEntryServiceSplitterSplitRequestHeadersArgs) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput

type ConfigEntryServiceSplitterSplitRequestHeadersInput

type ConfigEntryServiceSplitterSplitRequestHeadersInput interface {
	pulumi.Input

	ToConfigEntryServiceSplitterSplitRequestHeadersOutput() ConfigEntryServiceSplitterSplitRequestHeadersOutput
	ToConfigEntryServiceSplitterSplitRequestHeadersOutputWithContext(context.Context) ConfigEntryServiceSplitterSplitRequestHeadersOutput
}

ConfigEntryServiceSplitterSplitRequestHeadersInput is an input type that accepts ConfigEntryServiceSplitterSplitRequestHeadersArgs and ConfigEntryServiceSplitterSplitRequestHeadersOutput values. You can construct a concrete instance of `ConfigEntryServiceSplitterSplitRequestHeadersInput` via:

ConfigEntryServiceSplitterSplitRequestHeadersArgs{...}

type ConfigEntryServiceSplitterSplitRequestHeadersOutput

type ConfigEntryServiceSplitterSplitRequestHeadersOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceSplitterSplitRequestHeadersOutput) Add

Map of one or more key-value pairs. Defines a set of key-value pairs to add to the header. Use header names as the keys. Header names are not case-sensitive. If header values with the same name already exist, the value is appended and Consul applies both headers.

func (ConfigEntryServiceSplitterSplitRequestHeadersOutput) ElementType

func (ConfigEntryServiceSplitterSplitRequestHeadersOutput) Removes

Defines an list of headers to remove. Consul removes only headers containing exact matches. Header names are not case-sensitive.

func (ConfigEntryServiceSplitterSplitRequestHeadersOutput) Set

Map of one or more key-value pairs. Defines a set of key-value pairs to add to the request header or to replace existing header values with. Use header names as the keys. Header names are not case-sensitive. If header values with the same names already exist, Consul replaces the header values.

func (ConfigEntryServiceSplitterSplitRequestHeadersOutput) ToConfigEntryServiceSplitterSplitRequestHeadersOutput

func (o ConfigEntryServiceSplitterSplitRequestHeadersOutput) ToConfigEntryServiceSplitterSplitRequestHeadersOutput() ConfigEntryServiceSplitterSplitRequestHeadersOutput

func (ConfigEntryServiceSplitterSplitRequestHeadersOutput) ToConfigEntryServiceSplitterSplitRequestHeadersOutputWithContext

func (o ConfigEntryServiceSplitterSplitRequestHeadersOutput) ToConfigEntryServiceSplitterSplitRequestHeadersOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitRequestHeadersOutput

func (ConfigEntryServiceSplitterSplitRequestHeadersOutput) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutput

func (o ConfigEntryServiceSplitterSplitRequestHeadersOutput) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutput() ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput

func (ConfigEntryServiceSplitterSplitRequestHeadersOutput) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutputWithContext

func (o ConfigEntryServiceSplitterSplitRequestHeadersOutput) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput

type ConfigEntryServiceSplitterSplitRequestHeadersPtrInput

type ConfigEntryServiceSplitterSplitRequestHeadersPtrInput interface {
	pulumi.Input

	ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutput() ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput
	ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutputWithContext(context.Context) ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput
}

ConfigEntryServiceSplitterSplitRequestHeadersPtrInput is an input type that accepts ConfigEntryServiceSplitterSplitRequestHeadersArgs, ConfigEntryServiceSplitterSplitRequestHeadersPtr and ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput values. You can construct a concrete instance of `ConfigEntryServiceSplitterSplitRequestHeadersPtrInput` via:

        ConfigEntryServiceSplitterSplitRequestHeadersArgs{...}

or:

        nil

type ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput

type ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput) Add

Map of one or more key-value pairs. Defines a set of key-value pairs to add to the header. Use header names as the keys. Header names are not case-sensitive. If header values with the same name already exist, the value is appended and Consul applies both headers.

func (ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput) Elem

func (ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput) ElementType

func (ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput) Removes

Defines an list of headers to remove. Consul removes only headers containing exact matches. Header names are not case-sensitive.

func (ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput) Set

Map of one or more key-value pairs. Defines a set of key-value pairs to add to the request header or to replace existing header values with. Use header names as the keys. Header names are not case-sensitive. If header values with the same names already exist, Consul replaces the header values.

func (ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutput

func (ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutputWithContext

func (o ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput) ToConfigEntryServiceSplitterSplitRequestHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitRequestHeadersPtrOutput

type ConfigEntryServiceSplitterSplitResponseHeaders

type ConfigEntryServiceSplitterSplitResponseHeaders struct {
	// Map of one or more key-value pairs. Defines a set of key-value pairs to add to the header. Use header names as the keys. Header names are not case-sensitive. If header values with the same name already exist, the value is appended and Consul applies both headers.
	Add map[string]string `pulumi:"add"`
	// Defines an list of headers to remove. Consul removes only headers containing exact matches. Header names are not case-sensitive.
	Removes []string `pulumi:"removes"`
	// Map of one or more key-value pairs. Defines a set of key-value pairs to add to the request header or to replace existing header values with. Use header names as the keys. Header names are not case-sensitive. If header values with the same names already exist, Consul replaces the header values.
	Set map[string]string `pulumi:"set"`
}

type ConfigEntryServiceSplitterSplitResponseHeadersArgs

type ConfigEntryServiceSplitterSplitResponseHeadersArgs struct {
	// Map of one or more key-value pairs. Defines a set of key-value pairs to add to the header. Use header names as the keys. Header names are not case-sensitive. If header values with the same name already exist, the value is appended and Consul applies both headers.
	Add pulumi.StringMapInput `pulumi:"add"`
	// Defines an list of headers to remove. Consul removes only headers containing exact matches. Header names are not case-sensitive.
	Removes pulumi.StringArrayInput `pulumi:"removes"`
	// Map of one or more key-value pairs. Defines a set of key-value pairs to add to the request header or to replace existing header values with. Use header names as the keys. Header names are not case-sensitive. If header values with the same names already exist, Consul replaces the header values.
	Set pulumi.StringMapInput `pulumi:"set"`
}

func (ConfigEntryServiceSplitterSplitResponseHeadersArgs) ElementType

func (ConfigEntryServiceSplitterSplitResponseHeadersArgs) ToConfigEntryServiceSplitterSplitResponseHeadersOutput

func (i ConfigEntryServiceSplitterSplitResponseHeadersArgs) ToConfigEntryServiceSplitterSplitResponseHeadersOutput() ConfigEntryServiceSplitterSplitResponseHeadersOutput

func (ConfigEntryServiceSplitterSplitResponseHeadersArgs) ToConfigEntryServiceSplitterSplitResponseHeadersOutputWithContext

func (i ConfigEntryServiceSplitterSplitResponseHeadersArgs) ToConfigEntryServiceSplitterSplitResponseHeadersOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitResponseHeadersOutput

func (ConfigEntryServiceSplitterSplitResponseHeadersArgs) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutput

func (i ConfigEntryServiceSplitterSplitResponseHeadersArgs) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutput() ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput

func (ConfigEntryServiceSplitterSplitResponseHeadersArgs) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutputWithContext

func (i ConfigEntryServiceSplitterSplitResponseHeadersArgs) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput

type ConfigEntryServiceSplitterSplitResponseHeadersInput

type ConfigEntryServiceSplitterSplitResponseHeadersInput interface {
	pulumi.Input

	ToConfigEntryServiceSplitterSplitResponseHeadersOutput() ConfigEntryServiceSplitterSplitResponseHeadersOutput
	ToConfigEntryServiceSplitterSplitResponseHeadersOutputWithContext(context.Context) ConfigEntryServiceSplitterSplitResponseHeadersOutput
}

ConfigEntryServiceSplitterSplitResponseHeadersInput is an input type that accepts ConfigEntryServiceSplitterSplitResponseHeadersArgs and ConfigEntryServiceSplitterSplitResponseHeadersOutput values. You can construct a concrete instance of `ConfigEntryServiceSplitterSplitResponseHeadersInput` via:

ConfigEntryServiceSplitterSplitResponseHeadersArgs{...}

type ConfigEntryServiceSplitterSplitResponseHeadersOutput

type ConfigEntryServiceSplitterSplitResponseHeadersOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceSplitterSplitResponseHeadersOutput) Add

Map of one or more key-value pairs. Defines a set of key-value pairs to add to the header. Use header names as the keys. Header names are not case-sensitive. If header values with the same name already exist, the value is appended and Consul applies both headers.

func (ConfigEntryServiceSplitterSplitResponseHeadersOutput) ElementType

func (ConfigEntryServiceSplitterSplitResponseHeadersOutput) Removes

Defines an list of headers to remove. Consul removes only headers containing exact matches. Header names are not case-sensitive.

func (ConfigEntryServiceSplitterSplitResponseHeadersOutput) Set

Map of one or more key-value pairs. Defines a set of key-value pairs to add to the request header or to replace existing header values with. Use header names as the keys. Header names are not case-sensitive. If header values with the same names already exist, Consul replaces the header values.

func (ConfigEntryServiceSplitterSplitResponseHeadersOutput) ToConfigEntryServiceSplitterSplitResponseHeadersOutput

func (ConfigEntryServiceSplitterSplitResponseHeadersOutput) ToConfigEntryServiceSplitterSplitResponseHeadersOutputWithContext

func (o ConfigEntryServiceSplitterSplitResponseHeadersOutput) ToConfigEntryServiceSplitterSplitResponseHeadersOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitResponseHeadersOutput

func (ConfigEntryServiceSplitterSplitResponseHeadersOutput) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutput

func (o ConfigEntryServiceSplitterSplitResponseHeadersOutput) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutput() ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput

func (ConfigEntryServiceSplitterSplitResponseHeadersOutput) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutputWithContext

func (o ConfigEntryServiceSplitterSplitResponseHeadersOutput) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput

type ConfigEntryServiceSplitterSplitResponseHeadersPtrInput

type ConfigEntryServiceSplitterSplitResponseHeadersPtrInput interface {
	pulumi.Input

	ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutput() ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput
	ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutputWithContext(context.Context) ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput
}

ConfigEntryServiceSplitterSplitResponseHeadersPtrInput is an input type that accepts ConfigEntryServiceSplitterSplitResponseHeadersArgs, ConfigEntryServiceSplitterSplitResponseHeadersPtr and ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput values. You can construct a concrete instance of `ConfigEntryServiceSplitterSplitResponseHeadersPtrInput` via:

        ConfigEntryServiceSplitterSplitResponseHeadersArgs{...}

or:

        nil

type ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput

type ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput struct{ *pulumi.OutputState }

func (ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput) Add

Map of one or more key-value pairs. Defines a set of key-value pairs to add to the header. Use header names as the keys. Header names are not case-sensitive. If header values with the same name already exist, the value is appended and Consul applies both headers.

func (ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput) Elem

func (ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput) ElementType

func (ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput) Removes

Defines an list of headers to remove. Consul removes only headers containing exact matches. Header names are not case-sensitive.

func (ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput) Set

Map of one or more key-value pairs. Defines a set of key-value pairs to add to the request header or to replace existing header values with. Use header names as the keys. Header names are not case-sensitive. If header values with the same names already exist, Consul replaces the header values.

func (ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutput

func (ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutputWithContext

func (o ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput) ToConfigEntryServiceSplitterSplitResponseHeadersPtrOutputWithContext(ctx context.Context) ConfigEntryServiceSplitterSplitResponseHeadersPtrOutput

type ConfigEntryServiceSplitterState

type ConfigEntryServiceSplitterState struct {
	// Specifies key-value pairs to add to the KV store.
	Meta pulumi.StringMapInput
	// Specifies a name for the configuration entry.
	Name pulumi.StringPtrInput
	// Specifies the namespace to apply the configuration entry.
	Namespace pulumi.StringPtrInput
	// Specifies the admin partition to apply the configuration entry.
	Partition pulumi.StringPtrInput
	// Defines how much traffic to send to sets of service instances during a traffic split.
	Splits ConfigEntryServiceSplitterSplitArrayInput
}

func (ConfigEntryServiceSplitterState) ElementType

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 registered.
	Name pulumi.StringPtrInput
	// The namespace to create the config entry within.
	Namespace pulumi.StringPtrInput
	// The partition the config entry is associated with.
	Partition pulumi.StringPtrInput
}

func (ConfigEntryState) ElementType

func (ConfigEntryState) ElementType() reflect.Type

type ConfigEntryV2ExportedServices added in v3.12.0

type ConfigEntryV2ExportedServices struct {
	pulumi.CustomResourceState

	// The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The name of the config entry to read.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace the config entry is associated with.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The partition the config entry is associated with.
	Partition pulumi.StringOutput `pulumi:"partition"`
	// The exported service partition consumers.
	PartitionConsumers pulumi.StringArrayOutput `pulumi:"partitionConsumers"`
	// The exported service peer consumers.
	PeerConsumers pulumi.StringArrayOutput `pulumi:"peerConsumers"`
	// The exported service sameness group consumers.
	SamenessGroupConsumers pulumi.StringArrayOutput `pulumi:"samenessGroupConsumers"`
	// The exported services.
	Services pulumi.StringArrayOutput `pulumi:"services"`
}

func GetConfigEntryV2ExportedServices added in v3.12.0

func GetConfigEntryV2ExportedServices(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigEntryV2ExportedServicesState, opts ...pulumi.ResourceOption) (*ConfigEntryV2ExportedServices, error)

GetConfigEntryV2ExportedServices gets an existing ConfigEntryV2ExportedServices 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 NewConfigEntryV2ExportedServices added in v3.12.0

func NewConfigEntryV2ExportedServices(ctx *pulumi.Context,
	name string, args *ConfigEntryV2ExportedServicesArgs, opts ...pulumi.ResourceOption) (*ConfigEntryV2ExportedServices, error)

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

func (*ConfigEntryV2ExportedServices) ElementType added in v3.12.0

func (*ConfigEntryV2ExportedServices) ToConfigEntryV2ExportedServicesOutput added in v3.12.0

func (i *ConfigEntryV2ExportedServices) ToConfigEntryV2ExportedServicesOutput() ConfigEntryV2ExportedServicesOutput

func (*ConfigEntryV2ExportedServices) ToConfigEntryV2ExportedServicesOutputWithContext added in v3.12.0

func (i *ConfigEntryV2ExportedServices) ToConfigEntryV2ExportedServicesOutputWithContext(ctx context.Context) ConfigEntryV2ExportedServicesOutput

type ConfigEntryV2ExportedServicesArgs added in v3.12.0

type ConfigEntryV2ExportedServicesArgs struct {
	// The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
	Kind pulumi.StringInput
	// The name of the config entry to read.
	Name pulumi.StringPtrInput
	// The namespace the config entry is associated with.
	Namespace pulumi.StringPtrInput
	// The partition the config entry is associated with.
	Partition pulumi.StringInput
	// The exported service partition consumers.
	PartitionConsumers pulumi.StringArrayInput
	// The exported service peer consumers.
	PeerConsumers pulumi.StringArrayInput
	// The exported service sameness group consumers.
	SamenessGroupConsumers pulumi.StringArrayInput
	// The exported services.
	Services pulumi.StringArrayInput
}

The set of arguments for constructing a ConfigEntryV2ExportedServices resource.

func (ConfigEntryV2ExportedServicesArgs) ElementType added in v3.12.0

type ConfigEntryV2ExportedServicesArray added in v3.12.0

type ConfigEntryV2ExportedServicesArray []ConfigEntryV2ExportedServicesInput

func (ConfigEntryV2ExportedServicesArray) ElementType added in v3.12.0

func (ConfigEntryV2ExportedServicesArray) ToConfigEntryV2ExportedServicesArrayOutput added in v3.12.0

func (i ConfigEntryV2ExportedServicesArray) ToConfigEntryV2ExportedServicesArrayOutput() ConfigEntryV2ExportedServicesArrayOutput

func (ConfigEntryV2ExportedServicesArray) ToConfigEntryV2ExportedServicesArrayOutputWithContext added in v3.12.0

func (i ConfigEntryV2ExportedServicesArray) ToConfigEntryV2ExportedServicesArrayOutputWithContext(ctx context.Context) ConfigEntryV2ExportedServicesArrayOutput

type ConfigEntryV2ExportedServicesArrayInput added in v3.12.0

type ConfigEntryV2ExportedServicesArrayInput interface {
	pulumi.Input

	ToConfigEntryV2ExportedServicesArrayOutput() ConfigEntryV2ExportedServicesArrayOutput
	ToConfigEntryV2ExportedServicesArrayOutputWithContext(context.Context) ConfigEntryV2ExportedServicesArrayOutput
}

ConfigEntryV2ExportedServicesArrayInput is an input type that accepts ConfigEntryV2ExportedServicesArray and ConfigEntryV2ExportedServicesArrayOutput values. You can construct a concrete instance of `ConfigEntryV2ExportedServicesArrayInput` via:

ConfigEntryV2ExportedServicesArray{ ConfigEntryV2ExportedServicesArgs{...} }

type ConfigEntryV2ExportedServicesArrayOutput added in v3.12.0

type ConfigEntryV2ExportedServicesArrayOutput struct{ *pulumi.OutputState }

func (ConfigEntryV2ExportedServicesArrayOutput) ElementType added in v3.12.0

func (ConfigEntryV2ExportedServicesArrayOutput) Index added in v3.12.0

func (ConfigEntryV2ExportedServicesArrayOutput) ToConfigEntryV2ExportedServicesArrayOutput added in v3.12.0

func (o ConfigEntryV2ExportedServicesArrayOutput) ToConfigEntryV2ExportedServicesArrayOutput() ConfigEntryV2ExportedServicesArrayOutput

func (ConfigEntryV2ExportedServicesArrayOutput) ToConfigEntryV2ExportedServicesArrayOutputWithContext added in v3.12.0

func (o ConfigEntryV2ExportedServicesArrayOutput) ToConfigEntryV2ExportedServicesArrayOutputWithContext(ctx context.Context) ConfigEntryV2ExportedServicesArrayOutput

type ConfigEntryV2ExportedServicesInput added in v3.12.0

type ConfigEntryV2ExportedServicesInput interface {
	pulumi.Input

	ToConfigEntryV2ExportedServicesOutput() ConfigEntryV2ExportedServicesOutput
	ToConfigEntryV2ExportedServicesOutputWithContext(ctx context.Context) ConfigEntryV2ExportedServicesOutput
}

type ConfigEntryV2ExportedServicesMap added in v3.12.0

type ConfigEntryV2ExportedServicesMap map[string]ConfigEntryV2ExportedServicesInput

func (ConfigEntryV2ExportedServicesMap) ElementType added in v3.12.0

func (ConfigEntryV2ExportedServicesMap) ToConfigEntryV2ExportedServicesMapOutput added in v3.12.0

func (i ConfigEntryV2ExportedServicesMap) ToConfigEntryV2ExportedServicesMapOutput() ConfigEntryV2ExportedServicesMapOutput

func (ConfigEntryV2ExportedServicesMap) ToConfigEntryV2ExportedServicesMapOutputWithContext added in v3.12.0

func (i ConfigEntryV2ExportedServicesMap) ToConfigEntryV2ExportedServicesMapOutputWithContext(ctx context.Context) ConfigEntryV2ExportedServicesMapOutput

type ConfigEntryV2ExportedServicesMapInput added in v3.12.0

type ConfigEntryV2ExportedServicesMapInput interface {
	pulumi.Input

	ToConfigEntryV2ExportedServicesMapOutput() ConfigEntryV2ExportedServicesMapOutput
	ToConfigEntryV2ExportedServicesMapOutputWithContext(context.Context) ConfigEntryV2ExportedServicesMapOutput
}

ConfigEntryV2ExportedServicesMapInput is an input type that accepts ConfigEntryV2ExportedServicesMap and ConfigEntryV2ExportedServicesMapOutput values. You can construct a concrete instance of `ConfigEntryV2ExportedServicesMapInput` via:

ConfigEntryV2ExportedServicesMap{ "key": ConfigEntryV2ExportedServicesArgs{...} }

type ConfigEntryV2ExportedServicesMapOutput added in v3.12.0

type ConfigEntryV2ExportedServicesMapOutput struct{ *pulumi.OutputState }

func (ConfigEntryV2ExportedServicesMapOutput) ElementType added in v3.12.0

func (ConfigEntryV2ExportedServicesMapOutput) MapIndex added in v3.12.0

func (ConfigEntryV2ExportedServicesMapOutput) ToConfigEntryV2ExportedServicesMapOutput added in v3.12.0

func (o ConfigEntryV2ExportedServicesMapOutput) ToConfigEntryV2ExportedServicesMapOutput() ConfigEntryV2ExportedServicesMapOutput

func (ConfigEntryV2ExportedServicesMapOutput) ToConfigEntryV2ExportedServicesMapOutputWithContext added in v3.12.0

func (o ConfigEntryV2ExportedServicesMapOutput) ToConfigEntryV2ExportedServicesMapOutputWithContext(ctx context.Context) ConfigEntryV2ExportedServicesMapOutput

type ConfigEntryV2ExportedServicesOutput added in v3.12.0

type ConfigEntryV2ExportedServicesOutput struct{ *pulumi.OutputState }

func (ConfigEntryV2ExportedServicesOutput) ElementType added in v3.12.0

func (ConfigEntryV2ExportedServicesOutput) Kind added in v3.12.0

The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).

func (ConfigEntryV2ExportedServicesOutput) Name added in v3.12.0

The name of the config entry to read.

func (ConfigEntryV2ExportedServicesOutput) Namespace added in v3.12.0

The namespace the config entry is associated with.

func (ConfigEntryV2ExportedServicesOutput) Partition added in v3.12.0

The partition the config entry is associated with.

func (ConfigEntryV2ExportedServicesOutput) PartitionConsumers added in v3.12.0

The exported service partition consumers.

func (ConfigEntryV2ExportedServicesOutput) PeerConsumers added in v3.12.0

The exported service peer consumers.

func (ConfigEntryV2ExportedServicesOutput) SamenessGroupConsumers added in v3.12.0

The exported service sameness group consumers.

func (ConfigEntryV2ExportedServicesOutput) Services added in v3.12.0

The exported services.

func (ConfigEntryV2ExportedServicesOutput) ToConfigEntryV2ExportedServicesOutput added in v3.12.0

func (o ConfigEntryV2ExportedServicesOutput) ToConfigEntryV2ExportedServicesOutput() ConfigEntryV2ExportedServicesOutput

func (ConfigEntryV2ExportedServicesOutput) ToConfigEntryV2ExportedServicesOutputWithContext added in v3.12.0

func (o ConfigEntryV2ExportedServicesOutput) ToConfigEntryV2ExportedServicesOutputWithContext(ctx context.Context) ConfigEntryV2ExportedServicesOutput

type ConfigEntryV2ExportedServicesState added in v3.12.0

type ConfigEntryV2ExportedServicesState struct {
	// The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
	Kind pulumi.StringPtrInput
	// The name of the config entry to read.
	Name pulumi.StringPtrInput
	// The namespace the config entry is associated with.
	Namespace pulumi.StringPtrInput
	// The partition the config entry is associated with.
	Partition pulumi.StringPtrInput
	// The exported service partition consumers.
	PartitionConsumers pulumi.StringArrayInput
	// The exported service peer consumers.
	PeerConsumers pulumi.StringArrayInput
	// The exported service sameness group consumers.
	SamenessGroupConsumers pulumi.StringArrayInput
	// The exported services.
	Services pulumi.StringArrayInput
}

func (ConfigEntryV2ExportedServicesState) ElementType added in v3.12.0

type GetAclAuthMethodNamespaceRule

type GetAclAuthMethodNamespaceRule struct {
	BindNamespace string `pulumi:"bindNamespace"`
	Selector      string `pulumi:"selector"`
}

type GetAclAuthMethodNamespaceRuleArgs

type GetAclAuthMethodNamespaceRuleArgs struct {
	BindNamespace pulumi.StringInput `pulumi:"bindNamespace"`
	Selector      pulumi.StringInput `pulumi:"selector"`
}

func (GetAclAuthMethodNamespaceRuleArgs) ElementType

func (GetAclAuthMethodNamespaceRuleArgs) ToGetAclAuthMethodNamespaceRuleOutput

func (i GetAclAuthMethodNamespaceRuleArgs) ToGetAclAuthMethodNamespaceRuleOutput() GetAclAuthMethodNamespaceRuleOutput

func (GetAclAuthMethodNamespaceRuleArgs) ToGetAclAuthMethodNamespaceRuleOutputWithContext

func (i GetAclAuthMethodNamespaceRuleArgs) ToGetAclAuthMethodNamespaceRuleOutputWithContext(ctx context.Context) GetAclAuthMethodNamespaceRuleOutput

type GetAclAuthMethodNamespaceRuleArray

type GetAclAuthMethodNamespaceRuleArray []GetAclAuthMethodNamespaceRuleInput

func (GetAclAuthMethodNamespaceRuleArray) ElementType

func (GetAclAuthMethodNamespaceRuleArray) ToGetAclAuthMethodNamespaceRuleArrayOutput

func (i GetAclAuthMethodNamespaceRuleArray) ToGetAclAuthMethodNamespaceRuleArrayOutput() GetAclAuthMethodNamespaceRuleArrayOutput

func (GetAclAuthMethodNamespaceRuleArray) ToGetAclAuthMethodNamespaceRuleArrayOutputWithContext

func (i GetAclAuthMethodNamespaceRuleArray) ToGetAclAuthMethodNamespaceRuleArrayOutputWithContext(ctx context.Context) GetAclAuthMethodNamespaceRuleArrayOutput

type GetAclAuthMethodNamespaceRuleArrayInput

type GetAclAuthMethodNamespaceRuleArrayInput interface {
	pulumi.Input

	ToGetAclAuthMethodNamespaceRuleArrayOutput() GetAclAuthMethodNamespaceRuleArrayOutput
	ToGetAclAuthMethodNamespaceRuleArrayOutputWithContext(context.Context) GetAclAuthMethodNamespaceRuleArrayOutput
}

GetAclAuthMethodNamespaceRuleArrayInput is an input type that accepts GetAclAuthMethodNamespaceRuleArray and GetAclAuthMethodNamespaceRuleArrayOutput values. You can construct a concrete instance of `GetAclAuthMethodNamespaceRuleArrayInput` via:

GetAclAuthMethodNamespaceRuleArray{ GetAclAuthMethodNamespaceRuleArgs{...} }

type GetAclAuthMethodNamespaceRuleArrayOutput

type GetAclAuthMethodNamespaceRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAclAuthMethodNamespaceRuleArrayOutput) ElementType

func (GetAclAuthMethodNamespaceRuleArrayOutput) Index

func (GetAclAuthMethodNamespaceRuleArrayOutput) ToGetAclAuthMethodNamespaceRuleArrayOutput

func (o GetAclAuthMethodNamespaceRuleArrayOutput) ToGetAclAuthMethodNamespaceRuleArrayOutput() GetAclAuthMethodNamespaceRuleArrayOutput

func (GetAclAuthMethodNamespaceRuleArrayOutput) ToGetAclAuthMethodNamespaceRuleArrayOutputWithContext

func (o GetAclAuthMethodNamespaceRuleArrayOutput) ToGetAclAuthMethodNamespaceRuleArrayOutputWithContext(ctx context.Context) GetAclAuthMethodNamespaceRuleArrayOutput

type GetAclAuthMethodNamespaceRuleInput

type GetAclAuthMethodNamespaceRuleInput interface {
	pulumi.Input

	ToGetAclAuthMethodNamespaceRuleOutput() GetAclAuthMethodNamespaceRuleOutput
	ToGetAclAuthMethodNamespaceRuleOutputWithContext(context.Context) GetAclAuthMethodNamespaceRuleOutput
}

GetAclAuthMethodNamespaceRuleInput is an input type that accepts GetAclAuthMethodNamespaceRuleArgs and GetAclAuthMethodNamespaceRuleOutput values. You can construct a concrete instance of `GetAclAuthMethodNamespaceRuleInput` via:

GetAclAuthMethodNamespaceRuleArgs{...}

type GetAclAuthMethodNamespaceRuleOutput

type GetAclAuthMethodNamespaceRuleOutput struct{ *pulumi.OutputState }

func (GetAclAuthMethodNamespaceRuleOutput) BindNamespace

func (GetAclAuthMethodNamespaceRuleOutput) ElementType

func (GetAclAuthMethodNamespaceRuleOutput) Selector

func (GetAclAuthMethodNamespaceRuleOutput) ToGetAclAuthMethodNamespaceRuleOutput

func (o GetAclAuthMethodNamespaceRuleOutput) ToGetAclAuthMethodNamespaceRuleOutput() GetAclAuthMethodNamespaceRuleOutput

func (GetAclAuthMethodNamespaceRuleOutput) ToGetAclAuthMethodNamespaceRuleOutputWithContext

func (o GetAclAuthMethodNamespaceRuleOutput) ToGetAclAuthMethodNamespaceRuleOutputWithContext(ctx context.Context) GetAclAuthMethodNamespaceRuleOutput

type GetAclRoleNodeIdentity

type GetAclRoleNodeIdentity struct {
	// Specifies the nodes datacenter. This will result in effective policy only being valid in that datacenter.
	Datacenter string `pulumi:"datacenter"`
	// The name of the node.
	NodeName string `pulumi:"nodeName"`
}

type GetAclRoleNodeIdentityArgs

type GetAclRoleNodeIdentityArgs struct {
	// Specifies the nodes datacenter. This will result in effective policy only being valid in that datacenter.
	Datacenter pulumi.StringInput `pulumi:"datacenter"`
	// The name of the node.
	NodeName pulumi.StringInput `pulumi:"nodeName"`
}

func (GetAclRoleNodeIdentityArgs) ElementType

func (GetAclRoleNodeIdentityArgs) ElementType() reflect.Type

func (GetAclRoleNodeIdentityArgs) ToGetAclRoleNodeIdentityOutput

func (i GetAclRoleNodeIdentityArgs) ToGetAclRoleNodeIdentityOutput() GetAclRoleNodeIdentityOutput

func (GetAclRoleNodeIdentityArgs) ToGetAclRoleNodeIdentityOutputWithContext

func (i GetAclRoleNodeIdentityArgs) ToGetAclRoleNodeIdentityOutputWithContext(ctx context.Context) GetAclRoleNodeIdentityOutput

type GetAclRoleNodeIdentityArray

type GetAclRoleNodeIdentityArray []GetAclRoleNodeIdentityInput

func (GetAclRoleNodeIdentityArray) ElementType

func (GetAclRoleNodeIdentityArray) ToGetAclRoleNodeIdentityArrayOutput

func (i GetAclRoleNodeIdentityArray) ToGetAclRoleNodeIdentityArrayOutput() GetAclRoleNodeIdentityArrayOutput

func (GetAclRoleNodeIdentityArray) ToGetAclRoleNodeIdentityArrayOutputWithContext

func (i GetAclRoleNodeIdentityArray) ToGetAclRoleNodeIdentityArrayOutputWithContext(ctx context.Context) GetAclRoleNodeIdentityArrayOutput

type GetAclRoleNodeIdentityArrayInput

type GetAclRoleNodeIdentityArrayInput interface {
	pulumi.Input

	ToGetAclRoleNodeIdentityArrayOutput() GetAclRoleNodeIdentityArrayOutput
	ToGetAclRoleNodeIdentityArrayOutputWithContext(context.Context) GetAclRoleNodeIdentityArrayOutput
}

GetAclRoleNodeIdentityArrayInput is an input type that accepts GetAclRoleNodeIdentityArray and GetAclRoleNodeIdentityArrayOutput values. You can construct a concrete instance of `GetAclRoleNodeIdentityArrayInput` via:

GetAclRoleNodeIdentityArray{ GetAclRoleNodeIdentityArgs{...} }

type GetAclRoleNodeIdentityArrayOutput

type GetAclRoleNodeIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetAclRoleNodeIdentityArrayOutput) ElementType

func (GetAclRoleNodeIdentityArrayOutput) Index

func (GetAclRoleNodeIdentityArrayOutput) ToGetAclRoleNodeIdentityArrayOutput

func (o GetAclRoleNodeIdentityArrayOutput) ToGetAclRoleNodeIdentityArrayOutput() GetAclRoleNodeIdentityArrayOutput

func (GetAclRoleNodeIdentityArrayOutput) ToGetAclRoleNodeIdentityArrayOutputWithContext

func (o GetAclRoleNodeIdentityArrayOutput) ToGetAclRoleNodeIdentityArrayOutputWithContext(ctx context.Context) GetAclRoleNodeIdentityArrayOutput

type GetAclRoleNodeIdentityInput

type GetAclRoleNodeIdentityInput interface {
	pulumi.Input

	ToGetAclRoleNodeIdentityOutput() GetAclRoleNodeIdentityOutput
	ToGetAclRoleNodeIdentityOutputWithContext(context.Context) GetAclRoleNodeIdentityOutput
}

GetAclRoleNodeIdentityInput is an input type that accepts GetAclRoleNodeIdentityArgs and GetAclRoleNodeIdentityOutput values. You can construct a concrete instance of `GetAclRoleNodeIdentityInput` via:

GetAclRoleNodeIdentityArgs{...}

type GetAclRoleNodeIdentityOutput

type GetAclRoleNodeIdentityOutput struct{ *pulumi.OutputState }

func (GetAclRoleNodeIdentityOutput) Datacenter

Specifies the nodes datacenter. This will result in effective policy only being valid in that datacenter.

func (GetAclRoleNodeIdentityOutput) ElementType

func (GetAclRoleNodeIdentityOutput) NodeName

The name of the node.

func (GetAclRoleNodeIdentityOutput) ToGetAclRoleNodeIdentityOutput

func (o GetAclRoleNodeIdentityOutput) ToGetAclRoleNodeIdentityOutput() GetAclRoleNodeIdentityOutput

func (GetAclRoleNodeIdentityOutput) ToGetAclRoleNodeIdentityOutputWithContext

func (o GetAclRoleNodeIdentityOutput) ToGetAclRoleNodeIdentityOutputWithContext(ctx context.Context) GetAclRoleNodeIdentityOutput

type GetAclRolePolicy

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

type GetAclRolePolicyArgs

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

func (GetAclRolePolicyArgs) ElementType

func (GetAclRolePolicyArgs) ElementType() reflect.Type

func (GetAclRolePolicyArgs) ToGetAclRolePolicyOutput

func (i GetAclRolePolicyArgs) ToGetAclRolePolicyOutput() GetAclRolePolicyOutput

func (GetAclRolePolicyArgs) ToGetAclRolePolicyOutputWithContext

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

type GetAclRolePolicyArray

type GetAclRolePolicyArray []GetAclRolePolicyInput

func (GetAclRolePolicyArray) ElementType

func (GetAclRolePolicyArray) ElementType() reflect.Type

func (GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutput

func (i GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutput() GetAclRolePolicyArrayOutput

func (GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutputWithContext

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

type GetAclRolePolicyArrayInput

type GetAclRolePolicyArrayInput interface {
	pulumi.Input

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

GetAclRolePolicyArrayInput is an input type that accepts GetAclRolePolicyArray and GetAclRolePolicyArrayOutput values. You can construct a concrete instance of `GetAclRolePolicyArrayInput` via:

GetAclRolePolicyArray{ GetAclRolePolicyArgs{...} }

type GetAclRolePolicyArrayOutput

type GetAclRolePolicyArrayOutput struct{ *pulumi.OutputState }

func (GetAclRolePolicyArrayOutput) ElementType

func (GetAclRolePolicyArrayOutput) Index

func (GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutput

func (o GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutput() GetAclRolePolicyArrayOutput

func (GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutputWithContext

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

type GetAclRolePolicyInput

type GetAclRolePolicyInput interface {
	pulumi.Input

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

GetAclRolePolicyInput is an input type that accepts GetAclRolePolicyArgs and GetAclRolePolicyOutput values. You can construct a concrete instance of `GetAclRolePolicyInput` via:

GetAclRolePolicyArgs{...}

type GetAclRolePolicyOutput

type GetAclRolePolicyOutput struct{ *pulumi.OutputState }

func (GetAclRolePolicyOutput) ElementType

func (GetAclRolePolicyOutput) ElementType() reflect.Type

func (GetAclRolePolicyOutput) Id

The ID of the policy.

func (GetAclRolePolicyOutput) Name

The name of the policy.

func (GetAclRolePolicyOutput) ToGetAclRolePolicyOutput

func (o GetAclRolePolicyOutput) ToGetAclRolePolicyOutput() GetAclRolePolicyOutput

func (GetAclRolePolicyOutput) ToGetAclRolePolicyOutputWithContext

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

type GetAclRoleServiceIdentity

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

type GetAclRoleServiceIdentityArgs

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

func (GetAclRoleServiceIdentityArgs) ElementType

func (GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutput

func (i GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput

func (GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutputWithContext

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

type GetAclRoleServiceIdentityArray

type GetAclRoleServiceIdentityArray []GetAclRoleServiceIdentityInput

func (GetAclRoleServiceIdentityArray) ElementType

func (GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutput

func (i GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput

func (GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutputWithContext

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

type GetAclRoleServiceIdentityArrayInput

type GetAclRoleServiceIdentityArrayInput interface {
	pulumi.Input

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

GetAclRoleServiceIdentityArrayInput is an input type that accepts GetAclRoleServiceIdentityArray and GetAclRoleServiceIdentityArrayOutput values. You can construct a concrete instance of `GetAclRoleServiceIdentityArrayInput` via:

GetAclRoleServiceIdentityArray{ GetAclRoleServiceIdentityArgs{...} }

type GetAclRoleServiceIdentityArrayOutput

type GetAclRoleServiceIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetAclRoleServiceIdentityArrayOutput) ElementType

func (GetAclRoleServiceIdentityArrayOutput) Index

func (GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutput

func (o GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput

func (GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutputWithContext

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

type GetAclRoleServiceIdentityInput

type GetAclRoleServiceIdentityInput interface {
	pulumi.Input

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

GetAclRoleServiceIdentityInput is an input type that accepts GetAclRoleServiceIdentityArgs and GetAclRoleServiceIdentityOutput values. You can construct a concrete instance of `GetAclRoleServiceIdentityInput` via:

GetAclRoleServiceIdentityArgs{...}

type GetAclRoleServiceIdentityOutput

type GetAclRoleServiceIdentityOutput struct{ *pulumi.OutputState }

func (GetAclRoleServiceIdentityOutput) Datacenters

Specifies the datacenters the effective policy is valid within.

func (GetAclRoleServiceIdentityOutput) ElementType

func (GetAclRoleServiceIdentityOutput) ServiceName

The name of the service.

func (GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutput

func (o GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput

func (GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutputWithContext

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

type GetAclRoleTemplatedPolicy

type GetAclRoleTemplatedPolicy struct {
	// Specifies the datacenters the effective policy is valid within.
	Datacenters []string `pulumi:"datacenters"`
	// The name of the templated policies.
	TemplateName string `pulumi:"templateName"`
	// The templated policy variables.
	TemplateVariables []GetAclRoleTemplatedPolicyTemplateVariable `pulumi:"templateVariables"`
}

type GetAclRoleTemplatedPolicyArgs

type GetAclRoleTemplatedPolicyArgs struct {
	// Specifies the datacenters the effective policy is valid within.
	Datacenters pulumi.StringArrayInput `pulumi:"datacenters"`
	// The name of the templated policies.
	TemplateName pulumi.StringInput `pulumi:"templateName"`
	// The templated policy variables.
	TemplateVariables GetAclRoleTemplatedPolicyTemplateVariableArrayInput `pulumi:"templateVariables"`
}

func (GetAclRoleTemplatedPolicyArgs) ElementType

func (GetAclRoleTemplatedPolicyArgs) ToGetAclRoleTemplatedPolicyOutput

func (i GetAclRoleTemplatedPolicyArgs) ToGetAclRoleTemplatedPolicyOutput() GetAclRoleTemplatedPolicyOutput

func (GetAclRoleTemplatedPolicyArgs) ToGetAclRoleTemplatedPolicyOutputWithContext

func (i GetAclRoleTemplatedPolicyArgs) ToGetAclRoleTemplatedPolicyOutputWithContext(ctx context.Context) GetAclRoleTemplatedPolicyOutput

type GetAclRoleTemplatedPolicyArray

type GetAclRoleTemplatedPolicyArray []GetAclRoleTemplatedPolicyInput

func (GetAclRoleTemplatedPolicyArray) ElementType

func (GetAclRoleTemplatedPolicyArray) ToGetAclRoleTemplatedPolicyArrayOutput

func (i GetAclRoleTemplatedPolicyArray) ToGetAclRoleTemplatedPolicyArrayOutput() GetAclRoleTemplatedPolicyArrayOutput

func (GetAclRoleTemplatedPolicyArray) ToGetAclRoleTemplatedPolicyArrayOutputWithContext

func (i GetAclRoleTemplatedPolicyArray) ToGetAclRoleTemplatedPolicyArrayOutputWithContext(ctx context.Context) GetAclRoleTemplatedPolicyArrayOutput

type GetAclRoleTemplatedPolicyArrayInput

type GetAclRoleTemplatedPolicyArrayInput interface {
	pulumi.Input

	ToGetAclRoleTemplatedPolicyArrayOutput() GetAclRoleTemplatedPolicyArrayOutput
	ToGetAclRoleTemplatedPolicyArrayOutputWithContext(context.Context) GetAclRoleTemplatedPolicyArrayOutput
}

GetAclRoleTemplatedPolicyArrayInput is an input type that accepts GetAclRoleTemplatedPolicyArray and GetAclRoleTemplatedPolicyArrayOutput values. You can construct a concrete instance of `GetAclRoleTemplatedPolicyArrayInput` via:

GetAclRoleTemplatedPolicyArray{ GetAclRoleTemplatedPolicyArgs{...} }

type GetAclRoleTemplatedPolicyArrayOutput

type GetAclRoleTemplatedPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetAclRoleTemplatedPolicyArrayOutput) ElementType

func (GetAclRoleTemplatedPolicyArrayOutput) Index

func (GetAclRoleTemplatedPolicyArrayOutput) ToGetAclRoleTemplatedPolicyArrayOutput

func (o GetAclRoleTemplatedPolicyArrayOutput) ToGetAclRoleTemplatedPolicyArrayOutput() GetAclRoleTemplatedPolicyArrayOutput

func (GetAclRoleTemplatedPolicyArrayOutput) ToGetAclRoleTemplatedPolicyArrayOutputWithContext

func (o GetAclRoleTemplatedPolicyArrayOutput) ToGetAclRoleTemplatedPolicyArrayOutputWithContext(ctx context.Context) GetAclRoleTemplatedPolicyArrayOutput

type GetAclRoleTemplatedPolicyInput

type GetAclRoleTemplatedPolicyInput interface {
	pulumi.Input

	ToGetAclRoleTemplatedPolicyOutput() GetAclRoleTemplatedPolicyOutput
	ToGetAclRoleTemplatedPolicyOutputWithContext(context.Context) GetAclRoleTemplatedPolicyOutput
}

GetAclRoleTemplatedPolicyInput is an input type that accepts GetAclRoleTemplatedPolicyArgs and GetAclRoleTemplatedPolicyOutput values. You can construct a concrete instance of `GetAclRoleTemplatedPolicyInput` via:

GetAclRoleTemplatedPolicyArgs{...}

type GetAclRoleTemplatedPolicyOutput

type GetAclRoleTemplatedPolicyOutput struct{ *pulumi.OutputState }

func (GetAclRoleTemplatedPolicyOutput) Datacenters

Specifies the datacenters the effective policy is valid within.

func (GetAclRoleTemplatedPolicyOutput) ElementType

func (GetAclRoleTemplatedPolicyOutput) TemplateName

The name of the templated policies.

func (GetAclRoleTemplatedPolicyOutput) TemplateVariables

The templated policy variables.

func (GetAclRoleTemplatedPolicyOutput) ToGetAclRoleTemplatedPolicyOutput

func (o GetAclRoleTemplatedPolicyOutput) ToGetAclRoleTemplatedPolicyOutput() GetAclRoleTemplatedPolicyOutput

func (GetAclRoleTemplatedPolicyOutput) ToGetAclRoleTemplatedPolicyOutputWithContext

func (o GetAclRoleTemplatedPolicyOutput) ToGetAclRoleTemplatedPolicyOutputWithContext(ctx context.Context) GetAclRoleTemplatedPolicyOutput

type GetAclRoleTemplatedPolicyTemplateVariable

type GetAclRoleTemplatedPolicyTemplateVariable struct {
	// The name of node, workload identity or service.
	Name string `pulumi:"name"`
}

type GetAclRoleTemplatedPolicyTemplateVariableArgs

type GetAclRoleTemplatedPolicyTemplateVariableArgs struct {
	// The name of node, workload identity or service.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetAclRoleTemplatedPolicyTemplateVariableArgs) ElementType

func (GetAclRoleTemplatedPolicyTemplateVariableArgs) ToGetAclRoleTemplatedPolicyTemplateVariableOutput

func (i GetAclRoleTemplatedPolicyTemplateVariableArgs) ToGetAclRoleTemplatedPolicyTemplateVariableOutput() GetAclRoleTemplatedPolicyTemplateVariableOutput

func (GetAclRoleTemplatedPolicyTemplateVariableArgs) ToGetAclRoleTemplatedPolicyTemplateVariableOutputWithContext

func (i GetAclRoleTemplatedPolicyTemplateVariableArgs) ToGetAclRoleTemplatedPolicyTemplateVariableOutputWithContext(ctx context.Context) GetAclRoleTemplatedPolicyTemplateVariableOutput

type GetAclRoleTemplatedPolicyTemplateVariableArray

type GetAclRoleTemplatedPolicyTemplateVariableArray []GetAclRoleTemplatedPolicyTemplateVariableInput

func (GetAclRoleTemplatedPolicyTemplateVariableArray) ElementType

func (GetAclRoleTemplatedPolicyTemplateVariableArray) ToGetAclRoleTemplatedPolicyTemplateVariableArrayOutput

func (i GetAclRoleTemplatedPolicyTemplateVariableArray) ToGetAclRoleTemplatedPolicyTemplateVariableArrayOutput() GetAclRoleTemplatedPolicyTemplateVariableArrayOutput

func (GetAclRoleTemplatedPolicyTemplateVariableArray) ToGetAclRoleTemplatedPolicyTemplateVariableArrayOutputWithContext

func (i GetAclRoleTemplatedPolicyTemplateVariableArray) ToGetAclRoleTemplatedPolicyTemplateVariableArrayOutputWithContext(ctx context.Context) GetAclRoleTemplatedPolicyTemplateVariableArrayOutput

type GetAclRoleTemplatedPolicyTemplateVariableArrayInput

type GetAclRoleTemplatedPolicyTemplateVariableArrayInput interface {
	pulumi.Input

	ToGetAclRoleTemplatedPolicyTemplateVariableArrayOutput() GetAclRoleTemplatedPolicyTemplateVariableArrayOutput
	ToGetAclRoleTemplatedPolicyTemplateVariableArrayOutputWithContext(context.Context) GetAclRoleTemplatedPolicyTemplateVariableArrayOutput
}

GetAclRoleTemplatedPolicyTemplateVariableArrayInput is an input type that accepts GetAclRoleTemplatedPolicyTemplateVariableArray and GetAclRoleTemplatedPolicyTemplateVariableArrayOutput values. You can construct a concrete instance of `GetAclRoleTemplatedPolicyTemplateVariableArrayInput` via:

GetAclRoleTemplatedPolicyTemplateVariableArray{ GetAclRoleTemplatedPolicyTemplateVariableArgs{...} }

type GetAclRoleTemplatedPolicyTemplateVariableArrayOutput

type GetAclRoleTemplatedPolicyTemplateVariableArrayOutput struct{ *pulumi.OutputState }

func (GetAclRoleTemplatedPolicyTemplateVariableArrayOutput) ElementType

func (GetAclRoleTemplatedPolicyTemplateVariableArrayOutput) Index

func (GetAclRoleTemplatedPolicyTemplateVariableArrayOutput) ToGetAclRoleTemplatedPolicyTemplateVariableArrayOutput

func (GetAclRoleTemplatedPolicyTemplateVariableArrayOutput) ToGetAclRoleTemplatedPolicyTemplateVariableArrayOutputWithContext

func (o GetAclRoleTemplatedPolicyTemplateVariableArrayOutput) ToGetAclRoleTemplatedPolicyTemplateVariableArrayOutputWithContext(ctx context.Context) GetAclRoleTemplatedPolicyTemplateVariableArrayOutput

type GetAclRoleTemplatedPolicyTemplateVariableInput

type GetAclRoleTemplatedPolicyTemplateVariableInput interface {
	pulumi.Input

	ToGetAclRoleTemplatedPolicyTemplateVariableOutput() GetAclRoleTemplatedPolicyTemplateVariableOutput
	ToGetAclRoleTemplatedPolicyTemplateVariableOutputWithContext(context.Context) GetAclRoleTemplatedPolicyTemplateVariableOutput
}

GetAclRoleTemplatedPolicyTemplateVariableInput is an input type that accepts GetAclRoleTemplatedPolicyTemplateVariableArgs and GetAclRoleTemplatedPolicyTemplateVariableOutput values. You can construct a concrete instance of `GetAclRoleTemplatedPolicyTemplateVariableInput` via:

GetAclRoleTemplatedPolicyTemplateVariableArgs{...}

type GetAclRoleTemplatedPolicyTemplateVariableOutput

type GetAclRoleTemplatedPolicyTemplateVariableOutput struct{ *pulumi.OutputState }

func (GetAclRoleTemplatedPolicyTemplateVariableOutput) ElementType

func (GetAclRoleTemplatedPolicyTemplateVariableOutput) Name

The name of node, workload identity or service.

func (GetAclRoleTemplatedPolicyTemplateVariableOutput) ToGetAclRoleTemplatedPolicyTemplateVariableOutput

func (o GetAclRoleTemplatedPolicyTemplateVariableOutput) ToGetAclRoleTemplatedPolicyTemplateVariableOutput() GetAclRoleTemplatedPolicyTemplateVariableOutput

func (GetAclRoleTemplatedPolicyTemplateVariableOutput) ToGetAclRoleTemplatedPolicyTemplateVariableOutputWithContext

func (o GetAclRoleTemplatedPolicyTemplateVariableOutput) ToGetAclRoleTemplatedPolicyTemplateVariableOutputWithContext(ctx context.Context) GetAclRoleTemplatedPolicyTemplateVariableOutput

type GetAclTokenNodeIdentity

type GetAclTokenNodeIdentity struct {
	// Specifies the node's datacenter.
	Datacenter string `pulumi:"datacenter"`
	// The list of node identities that should be applied to the token.
	NodeName string `pulumi:"nodeName"`
}

type GetAclTokenNodeIdentityArgs

type GetAclTokenNodeIdentityArgs struct {
	// Specifies the node's datacenter.
	Datacenter pulumi.StringInput `pulumi:"datacenter"`
	// The list of node identities that should be applied to the token.
	NodeName pulumi.StringInput `pulumi:"nodeName"`
}

func (GetAclTokenNodeIdentityArgs) ElementType

func (GetAclTokenNodeIdentityArgs) ToGetAclTokenNodeIdentityOutput

func (i GetAclTokenNodeIdentityArgs) ToGetAclTokenNodeIdentityOutput() GetAclTokenNodeIdentityOutput

func (GetAclTokenNodeIdentityArgs) ToGetAclTokenNodeIdentityOutputWithContext

func (i GetAclTokenNodeIdentityArgs) ToGetAclTokenNodeIdentityOutputWithContext(ctx context.Context) GetAclTokenNodeIdentityOutput

type GetAclTokenNodeIdentityArray

type GetAclTokenNodeIdentityArray []GetAclTokenNodeIdentityInput

func (GetAclTokenNodeIdentityArray) ElementType

func (GetAclTokenNodeIdentityArray) ToGetAclTokenNodeIdentityArrayOutput

func (i GetAclTokenNodeIdentityArray) ToGetAclTokenNodeIdentityArrayOutput() GetAclTokenNodeIdentityArrayOutput

func (GetAclTokenNodeIdentityArray) ToGetAclTokenNodeIdentityArrayOutputWithContext

func (i GetAclTokenNodeIdentityArray) ToGetAclTokenNodeIdentityArrayOutputWithContext(ctx context.Context) GetAclTokenNodeIdentityArrayOutput

type GetAclTokenNodeIdentityArrayInput

type GetAclTokenNodeIdentityArrayInput interface {
	pulumi.Input

	ToGetAclTokenNodeIdentityArrayOutput() GetAclTokenNodeIdentityArrayOutput
	ToGetAclTokenNodeIdentityArrayOutputWithContext(context.Context) GetAclTokenNodeIdentityArrayOutput
}

GetAclTokenNodeIdentityArrayInput is an input type that accepts GetAclTokenNodeIdentityArray and GetAclTokenNodeIdentityArrayOutput values. You can construct a concrete instance of `GetAclTokenNodeIdentityArrayInput` via:

GetAclTokenNodeIdentityArray{ GetAclTokenNodeIdentityArgs{...} }

type GetAclTokenNodeIdentityArrayOutput

type GetAclTokenNodeIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetAclTokenNodeIdentityArrayOutput) ElementType

func (GetAclTokenNodeIdentityArrayOutput) Index

func (GetAclTokenNodeIdentityArrayOutput) ToGetAclTokenNodeIdentityArrayOutput

func (o GetAclTokenNodeIdentityArrayOutput) ToGetAclTokenNodeIdentityArrayOutput() GetAclTokenNodeIdentityArrayOutput

func (GetAclTokenNodeIdentityArrayOutput) ToGetAclTokenNodeIdentityArrayOutputWithContext

func (o GetAclTokenNodeIdentityArrayOutput) ToGetAclTokenNodeIdentityArrayOutputWithContext(ctx context.Context) GetAclTokenNodeIdentityArrayOutput

type GetAclTokenNodeIdentityInput

type GetAclTokenNodeIdentityInput interface {
	pulumi.Input

	ToGetAclTokenNodeIdentityOutput() GetAclTokenNodeIdentityOutput
	ToGetAclTokenNodeIdentityOutputWithContext(context.Context) GetAclTokenNodeIdentityOutput
}

GetAclTokenNodeIdentityInput is an input type that accepts GetAclTokenNodeIdentityArgs and GetAclTokenNodeIdentityOutput values. You can construct a concrete instance of `GetAclTokenNodeIdentityInput` via:

GetAclTokenNodeIdentityArgs{...}

type GetAclTokenNodeIdentityOutput

type GetAclTokenNodeIdentityOutput struct{ *pulumi.OutputState }

func (GetAclTokenNodeIdentityOutput) Datacenter

Specifies the node's datacenter.

func (GetAclTokenNodeIdentityOutput) ElementType

func (GetAclTokenNodeIdentityOutput) NodeName

The list of node identities that should be applied to the token.

func (GetAclTokenNodeIdentityOutput) ToGetAclTokenNodeIdentityOutput

func (o GetAclTokenNodeIdentityOutput) ToGetAclTokenNodeIdentityOutput() GetAclTokenNodeIdentityOutput

func (GetAclTokenNodeIdentityOutput) ToGetAclTokenNodeIdentityOutputWithContext

func (o GetAclTokenNodeIdentityOutput) ToGetAclTokenNodeIdentityOutputWithContext(ctx context.Context) GetAclTokenNodeIdentityOutput

type GetAclTokenPolicy

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

type GetAclTokenPolicyArgs

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

func (GetAclTokenPolicyArgs) ElementType

func (GetAclTokenPolicyArgs) ElementType() reflect.Type

func (GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutput

func (i GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutput() GetAclTokenPolicyOutput

func (GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutputWithContext

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

type GetAclTokenPolicyArray

type GetAclTokenPolicyArray []GetAclTokenPolicyInput

func (GetAclTokenPolicyArray) ElementType

func (GetAclTokenPolicyArray) ElementType() reflect.Type

func (GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutput

func (i GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutput() GetAclTokenPolicyArrayOutput

func (GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutputWithContext

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

type GetAclTokenPolicyArrayInput

type GetAclTokenPolicyArrayInput interface {
	pulumi.Input

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

GetAclTokenPolicyArrayInput is an input type that accepts GetAclTokenPolicyArray and GetAclTokenPolicyArrayOutput values. You can construct a concrete instance of `GetAclTokenPolicyArrayInput` via:

GetAclTokenPolicyArray{ GetAclTokenPolicyArgs{...} }

type GetAclTokenPolicyArrayOutput

type GetAclTokenPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetAclTokenPolicyArrayOutput) ElementType

func (GetAclTokenPolicyArrayOutput) Index

func (GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutput

func (o GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutput() GetAclTokenPolicyArrayOutput

func (GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutputWithContext

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

type GetAclTokenPolicyInput

type GetAclTokenPolicyInput interface {
	pulumi.Input

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

GetAclTokenPolicyInput is an input type that accepts GetAclTokenPolicyArgs and GetAclTokenPolicyOutput values. You can construct a concrete instance of `GetAclTokenPolicyInput` via:

GetAclTokenPolicyArgs{...}

type GetAclTokenPolicyOutput

type GetAclTokenPolicyOutput struct{ *pulumi.OutputState }

func (GetAclTokenPolicyOutput) ElementType

func (GetAclTokenPolicyOutput) ElementType() reflect.Type

func (GetAclTokenPolicyOutput) Id

func (GetAclTokenPolicyOutput) Name

func (GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutput

func (o GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutput() GetAclTokenPolicyOutput

func (GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutputWithContext

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

type GetAclTokenRole

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

type GetAclTokenRoleArgs

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

func (GetAclTokenRoleArgs) ElementType

func (GetAclTokenRoleArgs) ElementType() reflect.Type

func (GetAclTokenRoleArgs) ToGetAclTokenRoleOutput

func (i GetAclTokenRoleArgs) ToGetAclTokenRoleOutput() GetAclTokenRoleOutput

func (GetAclTokenRoleArgs) ToGetAclTokenRoleOutputWithContext

func (i GetAclTokenRoleArgs) ToGetAclTokenRoleOutputWithContext(ctx context.Context) GetAclTokenRoleOutput

type GetAclTokenRoleArray

type GetAclTokenRoleArray []GetAclTokenRoleInput

func (GetAclTokenRoleArray) ElementType

func (GetAclTokenRoleArray) ElementType() reflect.Type

func (GetAclTokenRoleArray) ToGetAclTokenRoleArrayOutput

func (i GetAclTokenRoleArray) ToGetAclTokenRoleArrayOutput() GetAclTokenRoleArrayOutput

func (GetAclTokenRoleArray) ToGetAclTokenRoleArrayOutputWithContext

func (i GetAclTokenRoleArray) ToGetAclTokenRoleArrayOutputWithContext(ctx context.Context) GetAclTokenRoleArrayOutput

type GetAclTokenRoleArrayInput

type GetAclTokenRoleArrayInput interface {
	pulumi.Input

	ToGetAclTokenRoleArrayOutput() GetAclTokenRoleArrayOutput
	ToGetAclTokenRoleArrayOutputWithContext(context.Context) GetAclTokenRoleArrayOutput
}

GetAclTokenRoleArrayInput is an input type that accepts GetAclTokenRoleArray and GetAclTokenRoleArrayOutput values. You can construct a concrete instance of `GetAclTokenRoleArrayInput` via:

GetAclTokenRoleArray{ GetAclTokenRoleArgs{...} }

type GetAclTokenRoleArrayOutput

type GetAclTokenRoleArrayOutput struct{ *pulumi.OutputState }

func (GetAclTokenRoleArrayOutput) ElementType

func (GetAclTokenRoleArrayOutput) ElementType() reflect.Type

func (GetAclTokenRoleArrayOutput) Index

func (GetAclTokenRoleArrayOutput) ToGetAclTokenRoleArrayOutput

func (o GetAclTokenRoleArrayOutput) ToGetAclTokenRoleArrayOutput() GetAclTokenRoleArrayOutput

func (GetAclTokenRoleArrayOutput) ToGetAclTokenRoleArrayOutputWithContext

func (o GetAclTokenRoleArrayOutput) ToGetAclTokenRoleArrayOutputWithContext(ctx context.Context) GetAclTokenRoleArrayOutput

type GetAclTokenRoleInput

type GetAclTokenRoleInput interface {
	pulumi.Input

	ToGetAclTokenRoleOutput() GetAclTokenRoleOutput
	ToGetAclTokenRoleOutputWithContext(context.Context) GetAclTokenRoleOutput
}

GetAclTokenRoleInput is an input type that accepts GetAclTokenRoleArgs and GetAclTokenRoleOutput values. You can construct a concrete instance of `GetAclTokenRoleInput` via:

GetAclTokenRoleArgs{...}

type GetAclTokenRoleOutput

type GetAclTokenRoleOutput struct{ *pulumi.OutputState }

func (GetAclTokenRoleOutput) ElementType

func (GetAclTokenRoleOutput) ElementType() reflect.Type

func (GetAclTokenRoleOutput) Id

func (GetAclTokenRoleOutput) Name

func (GetAclTokenRoleOutput) ToGetAclTokenRoleOutput

func (o GetAclTokenRoleOutput) ToGetAclTokenRoleOutput() GetAclTokenRoleOutput

func (GetAclTokenRoleOutput) ToGetAclTokenRoleOutputWithContext

func (o GetAclTokenRoleOutput) ToGetAclTokenRoleOutputWithContext(ctx context.Context) GetAclTokenRoleOutput

type GetAclTokenSecretIdArgs

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

A collection of arguments for invoking getAclTokenSecretId.

type GetAclTokenSecretIdOutputArgs

type GetAclTokenSecretIdOutputArgs struct {
	// The accessor ID of the ACL token.
	AccessorId pulumi.StringInput `pulumi:"accessorId"`
	// The namespace to lookup the token.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The partition to lookup the token.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	PgpKey    pulumi.StringPtrInput `pulumi:"pgpKey"`
}

A collection of arguments for invoking getAclTokenSecretId.

func (GetAclTokenSecretIdOutputArgs) ElementType

type GetAclTokenSecretIdResult

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

A collection of values returned by getAclTokenSecretId.

func GetAclTokenSecretId

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := consul.NewAclPolicy(ctx, "test", &consul.AclPolicyArgs{
			Name:  pulumi.String("test"),
			Rules: pulumi.String("node \"\" { policy = \"read\" }"),
			Datacenters: pulumi.StringArray{
				pulumi.String("dc1"),
			},
		})
		if err != nil {
			return err
		}
		testAclToken, err := consul.NewAclToken(ctx, "test", &consul.AclTokenArgs{
			Description: pulumi.String("test"),
			Policies: pulumi.StringArray{
				test.Name,
			},
			Local: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		read := consul.GetAclTokenSecretIdOutput(ctx, consul.GetAclTokenSecretIdOutputArgs{
			AccessorId: testAclToken.ID(),
			PgpKey:     pulumi.String("keybase:my_username"),
		}, nil)
		ctx.Export("consulAclTokenSecretId", read.ApplyT(func(read consul.GetAclTokenSecretIdResult) (*string, error) {
			return &read.EncryptedSecretId, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}

```

type GetAclTokenSecretIdResultOutput

type GetAclTokenSecretIdResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAclTokenSecretId.

func (GetAclTokenSecretIdResultOutput) AccessorId

func (GetAclTokenSecretIdResultOutput) ElementType

func (GetAclTokenSecretIdResultOutput) EncryptedSecretId

func (o GetAclTokenSecretIdResultOutput) EncryptedSecretId() pulumi.StringOutput

func (GetAclTokenSecretIdResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAclTokenSecretIdResultOutput) Namespace

func (GetAclTokenSecretIdResultOutput) Partition

func (GetAclTokenSecretIdResultOutput) PgpKey

func (GetAclTokenSecretIdResultOutput) SecretId

The secret ID of the ACL token if `pgpKey` has not been set.

func (GetAclTokenSecretIdResultOutput) ToGetAclTokenSecretIdResultOutput

func (o GetAclTokenSecretIdResultOutput) ToGetAclTokenSecretIdResultOutput() GetAclTokenSecretIdResultOutput

func (GetAclTokenSecretIdResultOutput) ToGetAclTokenSecretIdResultOutputWithContext

func (o GetAclTokenSecretIdResultOutput) ToGetAclTokenSecretIdResultOutputWithContext(ctx context.Context) GetAclTokenSecretIdResultOutput

type GetAclTokenServiceIdentity

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

type GetAclTokenServiceIdentityArgs

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

func (GetAclTokenServiceIdentityArgs) ElementType

func (GetAclTokenServiceIdentityArgs) ToGetAclTokenServiceIdentityOutput

func (i GetAclTokenServiceIdentityArgs) ToGetAclTokenServiceIdentityOutput() GetAclTokenServiceIdentityOutput

func (GetAclTokenServiceIdentityArgs) ToGetAclTokenServiceIdentityOutputWithContext

func (i GetAclTokenServiceIdentityArgs) ToGetAclTokenServiceIdentityOutputWithContext(ctx context.Context) GetAclTokenServiceIdentityOutput

type GetAclTokenServiceIdentityArray

type GetAclTokenServiceIdentityArray []GetAclTokenServiceIdentityInput

func (GetAclTokenServiceIdentityArray) ElementType

func (GetAclTokenServiceIdentityArray) ToGetAclTokenServiceIdentityArrayOutput

func (i GetAclTokenServiceIdentityArray) ToGetAclTokenServiceIdentityArrayOutput() GetAclTokenServiceIdentityArrayOutput

func (GetAclTokenServiceIdentityArray) ToGetAclTokenServiceIdentityArrayOutputWithContext

func (i GetAclTokenServiceIdentityArray) ToGetAclTokenServiceIdentityArrayOutputWithContext(ctx context.Context) GetAclTokenServiceIdentityArrayOutput

type GetAclTokenServiceIdentityArrayInput

type GetAclTokenServiceIdentityArrayInput interface {
	pulumi.Input

	ToGetAclTokenServiceIdentityArrayOutput() GetAclTokenServiceIdentityArrayOutput
	ToGetAclTokenServiceIdentityArrayOutputWithContext(context.Context) GetAclTokenServiceIdentityArrayOutput
}

GetAclTokenServiceIdentityArrayInput is an input type that accepts GetAclTokenServiceIdentityArray and GetAclTokenServiceIdentityArrayOutput values. You can construct a concrete instance of `GetAclTokenServiceIdentityArrayInput` via:

GetAclTokenServiceIdentityArray{ GetAclTokenServiceIdentityArgs{...} }

type GetAclTokenServiceIdentityArrayOutput

type GetAclTokenServiceIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetAclTokenServiceIdentityArrayOutput) ElementType

func (GetAclTokenServiceIdentityArrayOutput) Index

func (GetAclTokenServiceIdentityArrayOutput) ToGetAclTokenServiceIdentityArrayOutput

func (o GetAclTokenServiceIdentityArrayOutput) ToGetAclTokenServiceIdentityArrayOutput() GetAclTokenServiceIdentityArrayOutput

func (GetAclTokenServiceIdentityArrayOutput) ToGetAclTokenServiceIdentityArrayOutputWithContext

func (o GetAclTokenServiceIdentityArrayOutput) ToGetAclTokenServiceIdentityArrayOutputWithContext(ctx context.Context) GetAclTokenServiceIdentityArrayOutput

type GetAclTokenServiceIdentityInput

type GetAclTokenServiceIdentityInput interface {
	pulumi.Input

	ToGetAclTokenServiceIdentityOutput() GetAclTokenServiceIdentityOutput
	ToGetAclTokenServiceIdentityOutputWithContext(context.Context) GetAclTokenServiceIdentityOutput
}

GetAclTokenServiceIdentityInput is an input type that accepts GetAclTokenServiceIdentityArgs and GetAclTokenServiceIdentityOutput values. You can construct a concrete instance of `GetAclTokenServiceIdentityInput` via:

GetAclTokenServiceIdentityArgs{...}

type GetAclTokenServiceIdentityOutput

type GetAclTokenServiceIdentityOutput struct{ *pulumi.OutputState }

func (GetAclTokenServiceIdentityOutput) Datacenters

Specifies the datacenters the effective policy is valid within.

func (GetAclTokenServiceIdentityOutput) ElementType

func (GetAclTokenServiceIdentityOutput) ServiceName

The name of the service.

func (GetAclTokenServiceIdentityOutput) ToGetAclTokenServiceIdentityOutput

func (o GetAclTokenServiceIdentityOutput) ToGetAclTokenServiceIdentityOutput() GetAclTokenServiceIdentityOutput

func (GetAclTokenServiceIdentityOutput) ToGetAclTokenServiceIdentityOutputWithContext

func (o GetAclTokenServiceIdentityOutput) ToGetAclTokenServiceIdentityOutputWithContext(ctx context.Context) GetAclTokenServiceIdentityOutput

type GetAclTokenTemplatedPolicy

type GetAclTokenTemplatedPolicy struct {
	// Specifies the datacenters the effective policy is valid within.
	Datacenters []string `pulumi:"datacenters"`
	// The name of the templated policies.
	TemplateName string `pulumi:"templateName"`
	// The templated policy variables.
	TemplateVariables []GetAclTokenTemplatedPolicyTemplateVariable `pulumi:"templateVariables"`
}

type GetAclTokenTemplatedPolicyArgs

type GetAclTokenTemplatedPolicyArgs struct {
	// Specifies the datacenters the effective policy is valid within.
	Datacenters pulumi.StringArrayInput `pulumi:"datacenters"`
	// The name of the templated policies.
	TemplateName pulumi.StringInput `pulumi:"templateName"`
	// The templated policy variables.
	TemplateVariables GetAclTokenTemplatedPolicyTemplateVariableArrayInput `pulumi:"templateVariables"`
}

func (GetAclTokenTemplatedPolicyArgs) ElementType

func (GetAclTokenTemplatedPolicyArgs) ToGetAclTokenTemplatedPolicyOutput

func (i GetAclTokenTemplatedPolicyArgs) ToGetAclTokenTemplatedPolicyOutput() GetAclTokenTemplatedPolicyOutput

func (GetAclTokenTemplatedPolicyArgs) ToGetAclTokenTemplatedPolicyOutputWithContext

func (i GetAclTokenTemplatedPolicyArgs) ToGetAclTokenTemplatedPolicyOutputWithContext(ctx context.Context) GetAclTokenTemplatedPolicyOutput

type GetAclTokenTemplatedPolicyArray

type GetAclTokenTemplatedPolicyArray []GetAclTokenTemplatedPolicyInput

func (GetAclTokenTemplatedPolicyArray) ElementType

func (GetAclTokenTemplatedPolicyArray) ToGetAclTokenTemplatedPolicyArrayOutput

func (i GetAclTokenTemplatedPolicyArray) ToGetAclTokenTemplatedPolicyArrayOutput() GetAclTokenTemplatedPolicyArrayOutput

func (GetAclTokenTemplatedPolicyArray) ToGetAclTokenTemplatedPolicyArrayOutputWithContext

func (i GetAclTokenTemplatedPolicyArray) ToGetAclTokenTemplatedPolicyArrayOutputWithContext(ctx context.Context) GetAclTokenTemplatedPolicyArrayOutput

type GetAclTokenTemplatedPolicyArrayInput

type GetAclTokenTemplatedPolicyArrayInput interface {
	pulumi.Input

	ToGetAclTokenTemplatedPolicyArrayOutput() GetAclTokenTemplatedPolicyArrayOutput
	ToGetAclTokenTemplatedPolicyArrayOutputWithContext(context.Context) GetAclTokenTemplatedPolicyArrayOutput
}

GetAclTokenTemplatedPolicyArrayInput is an input type that accepts GetAclTokenTemplatedPolicyArray and GetAclTokenTemplatedPolicyArrayOutput values. You can construct a concrete instance of `GetAclTokenTemplatedPolicyArrayInput` via:

GetAclTokenTemplatedPolicyArray{ GetAclTokenTemplatedPolicyArgs{...} }

type GetAclTokenTemplatedPolicyArrayOutput

type GetAclTokenTemplatedPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetAclTokenTemplatedPolicyArrayOutput) ElementType

func (GetAclTokenTemplatedPolicyArrayOutput) Index

func (GetAclTokenTemplatedPolicyArrayOutput) ToGetAclTokenTemplatedPolicyArrayOutput

func (o GetAclTokenTemplatedPolicyArrayOutput) ToGetAclTokenTemplatedPolicyArrayOutput() GetAclTokenTemplatedPolicyArrayOutput

func (GetAclTokenTemplatedPolicyArrayOutput) ToGetAclTokenTemplatedPolicyArrayOutputWithContext

func (o GetAclTokenTemplatedPolicyArrayOutput) ToGetAclTokenTemplatedPolicyArrayOutputWithContext(ctx context.Context) GetAclTokenTemplatedPolicyArrayOutput

type GetAclTokenTemplatedPolicyInput

type GetAclTokenTemplatedPolicyInput interface {
	pulumi.Input

	ToGetAclTokenTemplatedPolicyOutput() GetAclTokenTemplatedPolicyOutput
	ToGetAclTokenTemplatedPolicyOutputWithContext(context.Context) GetAclTokenTemplatedPolicyOutput
}

GetAclTokenTemplatedPolicyInput is an input type that accepts GetAclTokenTemplatedPolicyArgs and GetAclTokenTemplatedPolicyOutput values. You can construct a concrete instance of `GetAclTokenTemplatedPolicyInput` via:

GetAclTokenTemplatedPolicyArgs{...}

type GetAclTokenTemplatedPolicyOutput

type GetAclTokenTemplatedPolicyOutput struct{ *pulumi.OutputState }

func (GetAclTokenTemplatedPolicyOutput) Datacenters

Specifies the datacenters the effective policy is valid within.

func (GetAclTokenTemplatedPolicyOutput) ElementType

func (GetAclTokenTemplatedPolicyOutput) TemplateName

The name of the templated policies.

func (GetAclTokenTemplatedPolicyOutput) TemplateVariables

The templated policy variables.

func (GetAclTokenTemplatedPolicyOutput) ToGetAclTokenTemplatedPolicyOutput

func (o GetAclTokenTemplatedPolicyOutput) ToGetAclTokenTemplatedPolicyOutput() GetAclTokenTemplatedPolicyOutput

func (GetAclTokenTemplatedPolicyOutput) ToGetAclTokenTemplatedPolicyOutputWithContext

func (o GetAclTokenTemplatedPolicyOutput) ToGetAclTokenTemplatedPolicyOutputWithContext(ctx context.Context) GetAclTokenTemplatedPolicyOutput

type GetAclTokenTemplatedPolicyTemplateVariable

type GetAclTokenTemplatedPolicyTemplateVariable struct {
	// The name of node, workload identity or service.
	Name string `pulumi:"name"`
}

type GetAclTokenTemplatedPolicyTemplateVariableArgs

type GetAclTokenTemplatedPolicyTemplateVariableArgs struct {
	// The name of node, workload identity or service.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetAclTokenTemplatedPolicyTemplateVariableArgs) ElementType

func (GetAclTokenTemplatedPolicyTemplateVariableArgs) ToGetAclTokenTemplatedPolicyTemplateVariableOutput

func (i GetAclTokenTemplatedPolicyTemplateVariableArgs) ToGetAclTokenTemplatedPolicyTemplateVariableOutput() GetAclTokenTemplatedPolicyTemplateVariableOutput

func (GetAclTokenTemplatedPolicyTemplateVariableArgs) ToGetAclTokenTemplatedPolicyTemplateVariableOutputWithContext

func (i GetAclTokenTemplatedPolicyTemplateVariableArgs) ToGetAclTokenTemplatedPolicyTemplateVariableOutputWithContext(ctx context.Context) GetAclTokenTemplatedPolicyTemplateVariableOutput

type GetAclTokenTemplatedPolicyTemplateVariableArray

type GetAclTokenTemplatedPolicyTemplateVariableArray []GetAclTokenTemplatedPolicyTemplateVariableInput

func (GetAclTokenTemplatedPolicyTemplateVariableArray) ElementType

func (GetAclTokenTemplatedPolicyTemplateVariableArray) ToGetAclTokenTemplatedPolicyTemplateVariableArrayOutput

func (i GetAclTokenTemplatedPolicyTemplateVariableArray) ToGetAclTokenTemplatedPolicyTemplateVariableArrayOutput() GetAclTokenTemplatedPolicyTemplateVariableArrayOutput

func (GetAclTokenTemplatedPolicyTemplateVariableArray) ToGetAclTokenTemplatedPolicyTemplateVariableArrayOutputWithContext

func (i GetAclTokenTemplatedPolicyTemplateVariableArray) ToGetAclTokenTemplatedPolicyTemplateVariableArrayOutputWithContext(ctx context.Context) GetAclTokenTemplatedPolicyTemplateVariableArrayOutput

type GetAclTokenTemplatedPolicyTemplateVariableArrayInput

type GetAclTokenTemplatedPolicyTemplateVariableArrayInput interface {
	pulumi.Input

	ToGetAclTokenTemplatedPolicyTemplateVariableArrayOutput() GetAclTokenTemplatedPolicyTemplateVariableArrayOutput
	ToGetAclTokenTemplatedPolicyTemplateVariableArrayOutputWithContext(context.Context) GetAclTokenTemplatedPolicyTemplateVariableArrayOutput
}

GetAclTokenTemplatedPolicyTemplateVariableArrayInput is an input type that accepts GetAclTokenTemplatedPolicyTemplateVariableArray and GetAclTokenTemplatedPolicyTemplateVariableArrayOutput values. You can construct a concrete instance of `GetAclTokenTemplatedPolicyTemplateVariableArrayInput` via:

GetAclTokenTemplatedPolicyTemplateVariableArray{ GetAclTokenTemplatedPolicyTemplateVariableArgs{...} }

type GetAclTokenTemplatedPolicyTemplateVariableArrayOutput

type GetAclTokenTemplatedPolicyTemplateVariableArrayOutput struct{ *pulumi.OutputState }

func (GetAclTokenTemplatedPolicyTemplateVariableArrayOutput) ElementType

func (GetAclTokenTemplatedPolicyTemplateVariableArrayOutput) Index

func (GetAclTokenTemplatedPolicyTemplateVariableArrayOutput) ToGetAclTokenTemplatedPolicyTemplateVariableArrayOutput

func (GetAclTokenTemplatedPolicyTemplateVariableArrayOutput) ToGetAclTokenTemplatedPolicyTemplateVariableArrayOutputWithContext

func (o GetAclTokenTemplatedPolicyTemplateVariableArrayOutput) ToGetAclTokenTemplatedPolicyTemplateVariableArrayOutputWithContext(ctx context.Context) GetAclTokenTemplatedPolicyTemplateVariableArrayOutput

type GetAclTokenTemplatedPolicyTemplateVariableInput

type GetAclTokenTemplatedPolicyTemplateVariableInput interface {
	pulumi.Input

	ToGetAclTokenTemplatedPolicyTemplateVariableOutput() GetAclTokenTemplatedPolicyTemplateVariableOutput
	ToGetAclTokenTemplatedPolicyTemplateVariableOutputWithContext(context.Context) GetAclTokenTemplatedPolicyTemplateVariableOutput
}

GetAclTokenTemplatedPolicyTemplateVariableInput is an input type that accepts GetAclTokenTemplatedPolicyTemplateVariableArgs and GetAclTokenTemplatedPolicyTemplateVariableOutput values. You can construct a concrete instance of `GetAclTokenTemplatedPolicyTemplateVariableInput` via:

GetAclTokenTemplatedPolicyTemplateVariableArgs{...}

type GetAclTokenTemplatedPolicyTemplateVariableOutput

type GetAclTokenTemplatedPolicyTemplateVariableOutput struct{ *pulumi.OutputState }

func (GetAclTokenTemplatedPolicyTemplateVariableOutput) ElementType

func (GetAclTokenTemplatedPolicyTemplateVariableOutput) Name

The name of node, workload identity or service.

func (GetAclTokenTemplatedPolicyTemplateVariableOutput) ToGetAclTokenTemplatedPolicyTemplateVariableOutput

func (o GetAclTokenTemplatedPolicyTemplateVariableOutput) ToGetAclTokenTemplatedPolicyTemplateVariableOutput() GetAclTokenTemplatedPolicyTemplateVariableOutput

func (GetAclTokenTemplatedPolicyTemplateVariableOutput) ToGetAclTokenTemplatedPolicyTemplateVariableOutputWithContext

func (o GetAclTokenTemplatedPolicyTemplateVariableOutput) ToGetAclTokenTemplatedPolicyTemplateVariableOutputWithContext(ctx context.Context) GetAclTokenTemplatedPolicyTemplateVariableOutput

type GetAgentConfigResult

type GetAgentConfigResult struct {
	// The datacenter the agent is running in
	Datacenter string `pulumi:"datacenter"`
	// 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

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`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		remoteAgent, err := consul.GetAgentConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("consulVersion", remoteAgent.Version)
		return nil
	})
}

```

type GetAgentConfigResultOutput

type GetAgentConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAgentConfig.

func GetAgentConfigOutput

func GetAgentConfigOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAgentConfigResultOutput

func (GetAgentConfigResultOutput) Datacenter

The datacenter the agent is running in

func (GetAgentConfigResultOutput) ElementType

func (GetAgentConfigResultOutput) ElementType() reflect.Type

func (GetAgentConfigResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAgentConfigResultOutput) NodeId

The ID of the node the agent is running on

func (GetAgentConfigResultOutput) NodeName

The name of the node the agent is running on

func (GetAgentConfigResultOutput) Revision

The first 9 characters of the VCS revision of the build of Consul that is running

func (GetAgentConfigResultOutput) Server

Boolean if the agent is a server or not

func (GetAgentConfigResultOutput) ToGetAgentConfigResultOutput

func (o GetAgentConfigResultOutput) ToGetAgentConfigResultOutput() GetAgentConfigResultOutput

func (GetAgentConfigResultOutput) ToGetAgentConfigResultOutputWithContext

func (o GetAgentConfigResultOutput) ToGetAgentConfigResultOutputWithContext(ctx context.Context) GetAgentConfigResultOutput

func (GetAgentConfigResultOutput) Version

The version of the build of Consul that is running

type GetAgentSelfResult

type GetAgentSelfResult struct {
	AclDatacenter    string `pulumi:"aclDatacenter"`
	AclDefaultPolicy string `pulumi:"aclDefaultPolicy"`
	// * [`aclDownPolicy`](https://www.consul.io/docs/agent/options.html#acl_down_policy)
	// * [`aclEnforce08Semantics`](https://www.consul.io/docs/agent/options.html#acl_enforce_version_8)
	// * [`aclTtl`](https://www.consul.io/docs/agent/options.html#acl_ttl)
	// * [`addresses`](https://www.consul.io/docs/agent/options.html#addresses)
	// * [`advertiseAddr`](https://www.consul.io/docs/agent/options.html#_advertise)
	// * [`advertiseAddrWan`](https://www.consul.io/docs/agent/options.html#_advertise-wan)
	// * [`advertiseAddrs`](https://www.consul.io/docs/agent/options.html#advertise_addrs)
	// * [`atlasJoin`](https://www.consul.io/docs/agent/options.html#_atlas_join)
	// * [`bindAddr`](https://www.consul.io/docs/agent/options.html#_bind)
	// * [`bootstrapExpect`](https://www.consul.io/docs/agent/options.html#_bootstrap_expect)
	// * [`bootstrapMode`](https://www.consul.io/docs/agent/options.html#_bootstrap)
	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"`
	// * [`checkUpdateInterval`](https://www.consul.io/docs/agent/options.html#check_update_interval)
	// * [`clientAddr`](https://www.consul.io/docs/agent/options.html#_client)
	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)
	Dns                      map[string]string `pulumi:"dns"`
	DnsRecursors             []string          `pulumi:"dnsRecursors"`
	Domain                   string            `pulumi:"domain"`
	EnableAnonymousSignature bool              `pulumi:"enableAnonymousSignature"`
	// * [`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)
	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.
	Version           string `pulumi:"version"`
	VersionPrerelease string `pulumi:"versionPrerelease"`
	VersionRevision   string `pulumi:"versionRevision"`
}

A collection of values returned by getAgentSelf.

func GetAgentSelf

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`.

type GetAgentSelfResultOutput

type GetAgentSelfResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAgentSelf.

func GetAgentSelfOutput

func GetAgentSelfOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAgentSelfResultOutput

func (GetAgentSelfResultOutput) AclDatacenter

func (o GetAgentSelfResultOutput) AclDatacenter() pulumi.StringOutput

func (GetAgentSelfResultOutput) AclDefaultPolicy

func (o GetAgentSelfResultOutput) AclDefaultPolicy() pulumi.StringOutput

func (GetAgentSelfResultOutput) AclDownPolicy

func (o GetAgentSelfResultOutput) AclDownPolicy() pulumi.StringOutput

func (GetAgentSelfResultOutput) AclEnforce08Semantics

func (o GetAgentSelfResultOutput) AclEnforce08Semantics() pulumi.BoolOutput

func (GetAgentSelfResultOutput) AclTtl

func (GetAgentSelfResultOutput) Addresses

func (GetAgentSelfResultOutput) AdvertiseAddr

func (o GetAgentSelfResultOutput) AdvertiseAddr() pulumi.StringOutput

func (GetAgentSelfResultOutput) AdvertiseAddrWan

func (o GetAgentSelfResultOutput) AdvertiseAddrWan() pulumi.StringOutput

func (GetAgentSelfResultOutput) AdvertiseAddrs

func (o GetAgentSelfResultOutput) AdvertiseAddrs() pulumi.StringMapOutput

func (GetAgentSelfResultOutput) AtlasJoin

func (GetAgentSelfResultOutput) BindAddr

func (GetAgentSelfResultOutput) BootstrapExpect

func (o GetAgentSelfResultOutput) BootstrapExpect() pulumi.IntOutput

func (GetAgentSelfResultOutput) BootstrapMode

func (o GetAgentSelfResultOutput) BootstrapMode() pulumi.BoolOutput

func (GetAgentSelfResultOutput) CheckDeregisterIntervalMin

func (o GetAgentSelfResultOutput) CheckDeregisterIntervalMin() pulumi.StringOutput

func (GetAgentSelfResultOutput) CheckUpdateInterval

func (o GetAgentSelfResultOutput) CheckUpdateInterval() pulumi.StringOutput

func (GetAgentSelfResultOutput) ClientAddr

func (GetAgentSelfResultOutput) DataDir

func (GetAgentSelfResultOutput) Datacenter

func (GetAgentSelfResultOutput) DevMode

func (GetAgentSelfResultOutput) Dns

A map of DNS configuration attributes. See below for details on the contents of the `dns` attribute.

func (GetAgentSelfResultOutput) DnsRecursors

func (GetAgentSelfResultOutput) Domain

func (GetAgentSelfResultOutput) ElementType

func (GetAgentSelfResultOutput) ElementType() reflect.Type

func (GetAgentSelfResultOutput) EnableAnonymousSignature

func (o GetAgentSelfResultOutput) EnableAnonymousSignature() pulumi.BoolOutput

func (GetAgentSelfResultOutput) EnableCoordinates

func (o GetAgentSelfResultOutput) EnableCoordinates() pulumi.BoolOutput

func (GetAgentSelfResultOutput) EnableDebug

func (o GetAgentSelfResultOutput) EnableDebug() pulumi.BoolOutput

func (GetAgentSelfResultOutput) EnableRemoteExec

func (o GetAgentSelfResultOutput) EnableRemoteExec() pulumi.BoolOutput

func (GetAgentSelfResultOutput) EnableSyslog

func (o GetAgentSelfResultOutput) EnableSyslog() pulumi.BoolOutput

func (GetAgentSelfResultOutput) EnableUi

func (GetAgentSelfResultOutput) EnableUpdateCheck

func (o GetAgentSelfResultOutput) EnableUpdateCheck() pulumi.BoolOutput

func (GetAgentSelfResultOutput) Id

func (GetAgentSelfResultOutput) LeaveOnInt

func (GetAgentSelfResultOutput) LeaveOnTerm

func (o GetAgentSelfResultOutput) LeaveOnTerm() pulumi.BoolOutput

func (GetAgentSelfResultOutput) LogLevel

func (GetAgentSelfResultOutput) Name

func (GetAgentSelfResultOutput) Performance

func (GetAgentSelfResultOutput) PidFile

func (GetAgentSelfResultOutput) Ports

func (GetAgentSelfResultOutput) ProtocolVersion

func (o GetAgentSelfResultOutput) ProtocolVersion() pulumi.IntOutput

func (GetAgentSelfResultOutput) ReconnectTimeoutLan

func (o GetAgentSelfResultOutput) ReconnectTimeoutLan() pulumi.StringOutput

func (GetAgentSelfResultOutput) ReconnectTimeoutWan

func (o GetAgentSelfResultOutput) ReconnectTimeoutWan() pulumi.StringOutput

func (GetAgentSelfResultOutput) RejoinAfterLeave

func (o GetAgentSelfResultOutput) RejoinAfterLeave() pulumi.BoolOutput

func (GetAgentSelfResultOutput) RetryJoinEc2

func (GetAgentSelfResultOutput) RetryJoinGce

func (GetAgentSelfResultOutput) RetryJoinWans

func (GetAgentSelfResultOutput) RetryJoins

func (GetAgentSelfResultOutput) RetryMaxAttempts

func (o GetAgentSelfResultOutput) RetryMaxAttempts() pulumi.IntOutput

func (GetAgentSelfResultOutput) RetryMaxAttemptsWan

func (o GetAgentSelfResultOutput) RetryMaxAttemptsWan() pulumi.IntOutput

func (GetAgentSelfResultOutput) SerfLanBindAddr

func (o GetAgentSelfResultOutput) SerfLanBindAddr() pulumi.StringOutput

func (GetAgentSelfResultOutput) SerfWanBindAddr

func (o GetAgentSelfResultOutput) SerfWanBindAddr() pulumi.StringOutput

func (GetAgentSelfResultOutput) ServerMode

func (GetAgentSelfResultOutput) ServerName

func (GetAgentSelfResultOutput) SessionTtlMin

func (o GetAgentSelfResultOutput) SessionTtlMin() pulumi.StringOutput

func (GetAgentSelfResultOutput) StartJoinWans

func (GetAgentSelfResultOutput) StartJoins

func (GetAgentSelfResultOutput) SyslogFacility

func (o GetAgentSelfResultOutput) SyslogFacility() pulumi.StringOutput

func (GetAgentSelfResultOutput) TaggedAddresses

func (o GetAgentSelfResultOutput) TaggedAddresses() pulumi.StringMapOutput

func (GetAgentSelfResultOutput) Telemetry

func (GetAgentSelfResultOutput) TlsCaFile

func (GetAgentSelfResultOutput) TlsCertFile

func (GetAgentSelfResultOutput) TlsKeyFile

func (GetAgentSelfResultOutput) TlsMinVersion

func (o GetAgentSelfResultOutput) TlsMinVersion() pulumi.StringOutput

func (GetAgentSelfResultOutput) TlsVerifyIncoming

func (o GetAgentSelfResultOutput) TlsVerifyIncoming() pulumi.BoolOutput

func (GetAgentSelfResultOutput) TlsVerifyOutgoing

func (o GetAgentSelfResultOutput) TlsVerifyOutgoing() pulumi.BoolOutput

func (GetAgentSelfResultOutput) TlsVerifyServerHostname

func (o GetAgentSelfResultOutput) TlsVerifyServerHostname() pulumi.BoolOutput

func (GetAgentSelfResultOutput) ToGetAgentSelfResultOutput

func (o GetAgentSelfResultOutput) ToGetAgentSelfResultOutput() GetAgentSelfResultOutput

func (GetAgentSelfResultOutput) ToGetAgentSelfResultOutputWithContext

func (o GetAgentSelfResultOutput) ToGetAgentSelfResultOutputWithContext(ctx context.Context) GetAgentSelfResultOutput

func (GetAgentSelfResultOutput) TranslateWanAddrs

func (o GetAgentSelfResultOutput) TranslateWanAddrs() pulumi.BoolOutput

func (GetAgentSelfResultOutput) UiDir

func (GetAgentSelfResultOutput) UnixSockets

func (GetAgentSelfResultOutput) Version

The version of the Consul agent.

func (GetAgentSelfResultOutput) VersionPrerelease

func (o GetAgentSelfResultOutput) VersionPrerelease() pulumi.StringOutput

func (GetAgentSelfResultOutput) VersionRevision

func (o GetAgentSelfResultOutput) VersionRevision() pulumi.StringOutput

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 GetAutopilotHealthOutputArgs

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

A collection of arguments for invoking getAutopilotHealth.

func (GetAutopilotHealthOutputArgs) ElementType

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"`
	// 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

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		read, err := consul.GetAutopilotHealth(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("health", read.Healthy)
		return nil
	})
}

```

type GetAutopilotHealthResultOutput

type GetAutopilotHealthResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAutopilotHealth.

func (GetAutopilotHealthResultOutput) Datacenter

func (GetAutopilotHealthResultOutput) ElementType

func (GetAutopilotHealthResultOutput) FailureTolerance

func (o GetAutopilotHealthResultOutput) FailureTolerance() pulumi.IntOutput

The number of redundant healthy servers that could fail without causing an outage

func (GetAutopilotHealthResultOutput) Healthy

Whether the server is healthy according to the current Autopilot configuration

func (GetAutopilotHealthResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAutopilotHealthResultOutput) Servers

A list of server health information. See below for details on the available information.

func (GetAutopilotHealthResultOutput) ToGetAutopilotHealthResultOutput

func (o GetAutopilotHealthResultOutput) ToGetAutopilotHealthResultOutput() GetAutopilotHealthResultOutput

func (GetAutopilotHealthResultOutput) ToGetAutopilotHealthResultOutputWithContext

func (o GetAutopilotHealthResultOutput) ToGetAutopilotHealthResultOutputWithContext(ctx context.Context) GetAutopilotHealthResultOutput

type GetAutopilotHealthServer

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

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

func (GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutput

func (i GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput

func (GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutputWithContext

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

type GetAutopilotHealthServerArray

type GetAutopilotHealthServerArray []GetAutopilotHealthServerInput

func (GetAutopilotHealthServerArray) ElementType

func (GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutput

func (i GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput

func (GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutputWithContext

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

type GetAutopilotHealthServerArrayInput

type GetAutopilotHealthServerArrayInput interface {
	pulumi.Input

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

GetAutopilotHealthServerArrayInput is an input type that accepts GetAutopilotHealthServerArray and GetAutopilotHealthServerArrayOutput values. You can construct a concrete instance of `GetAutopilotHealthServerArrayInput` via:

GetAutopilotHealthServerArray{ GetAutopilotHealthServerArgs{...} }

type GetAutopilotHealthServerArrayOutput

type GetAutopilotHealthServerArrayOutput struct{ *pulumi.OutputState }

func (GetAutopilotHealthServerArrayOutput) ElementType

func (GetAutopilotHealthServerArrayOutput) Index

func (GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutput

func (o GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput

func (GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutputWithContext

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

type GetAutopilotHealthServerInput

type GetAutopilotHealthServerInput interface {
	pulumi.Input

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

GetAutopilotHealthServerInput is an input type that accepts GetAutopilotHealthServerArgs and GetAutopilotHealthServerOutput values. You can construct a concrete instance of `GetAutopilotHealthServerInput` via:

GetAutopilotHealthServerArgs{...}

type GetAutopilotHealthServerOutput

type GetAutopilotHealthServerOutput struct{ *pulumi.OutputState }

func (GetAutopilotHealthServerOutput) Address

The address of the server

func (GetAutopilotHealthServerOutput) ElementType

func (GetAutopilotHealthServerOutput) Healthy

Whether the server is healthy according to the current Autopilot configuration

func (GetAutopilotHealthServerOutput) Id

The Raft ID of the server

func (GetAutopilotHealthServerOutput) LastContact

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

func (GetAutopilotHealthServerOutput) LastIndex

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

func (GetAutopilotHealthServerOutput) LastTerm

The server's last known Raft leader term

func (GetAutopilotHealthServerOutput) Leader

Whether the server is currently leader

func (GetAutopilotHealthServerOutput) Name

The node name of the server

func (GetAutopilotHealthServerOutput) SerfStatus

The status of the SerfHealth check of the server

func (GetAutopilotHealthServerOutput) StableSince

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

func (GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutput

func (o GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput

func (GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutputWithContext

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

func (GetAutopilotHealthServerOutput) Version

The Consul version of the server

func (GetAutopilotHealthServerOutput) Voter

Whether the server is a voting member of the Raft cluster

type GetCatalogNodesArgs

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

A collection of arguments for invoking getCatalogNodes.

type GetCatalogNodesNode

type GetCatalogNodesNode 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 GetCatalogNodesNodeArgs

type GetCatalogNodesNodeArgs 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 (GetCatalogNodesNodeArgs) ElementType

func (GetCatalogNodesNodeArgs) ElementType() reflect.Type

func (GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutput

func (i GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutput() GetCatalogNodesNodeOutput

func (GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutputWithContext

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

type GetCatalogNodesNodeArray

type GetCatalogNodesNodeArray []GetCatalogNodesNodeInput

func (GetCatalogNodesNodeArray) ElementType

func (GetCatalogNodesNodeArray) ElementType() reflect.Type

func (GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutput

func (i GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutput() GetCatalogNodesNodeArrayOutput

func (GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutputWithContext

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

type GetCatalogNodesNodeArrayInput

type GetCatalogNodesNodeArrayInput interface {
	pulumi.Input

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

GetCatalogNodesNodeArrayInput is an input type that accepts GetCatalogNodesNodeArray and GetCatalogNodesNodeArrayOutput values. You can construct a concrete instance of `GetCatalogNodesNodeArrayInput` via:

GetCatalogNodesNodeArray{ GetCatalogNodesNodeArgs{...} }

type GetCatalogNodesNodeArrayOutput

type GetCatalogNodesNodeArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogNodesNodeArrayOutput) ElementType

func (GetCatalogNodesNodeArrayOutput) Index

func (GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutput

func (o GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutput() GetCatalogNodesNodeArrayOutput

func (GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutputWithContext

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

type GetCatalogNodesNodeInput

type GetCatalogNodesNodeInput interface {
	pulumi.Input

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

GetCatalogNodesNodeInput is an input type that accepts GetCatalogNodesNodeArgs and GetCatalogNodesNodeOutput values. You can construct a concrete instance of `GetCatalogNodesNodeInput` via:

GetCatalogNodesNodeArgs{...}

type GetCatalogNodesNodeOutput

type GetCatalogNodesNodeOutput struct{ *pulumi.OutputState }

func (GetCatalogNodesNodeOutput) Address

func (GetCatalogNodesNodeOutput) ElementType

func (GetCatalogNodesNodeOutput) ElementType() reflect.Type

func (GetCatalogNodesNodeOutput) Id

The Node ID of the Consul agent.

func (GetCatalogNodesNodeOutput) Meta

func (GetCatalogNodesNodeOutput) Name

func (GetCatalogNodesNodeOutput) TaggedAddresses

func (o GetCatalogNodesNodeOutput) TaggedAddresses() pulumi.StringMapOutput

func (GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutput

func (o GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutput() GetCatalogNodesNodeOutput

func (GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutputWithContext

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

type GetCatalogNodesOutputArgs

type GetCatalogNodesOutputArgs struct {
	// See below.
	QueryOptions GetCatalogNodesQueryOptionArrayInput `pulumi:"queryOptions"`
}

A collection of arguments for invoking getCatalogNodes.

func (GetCatalogNodesOutputArgs) ElementType

func (GetCatalogNodesOutputArgs) ElementType() reflect.Type

type GetCatalogNodesQueryOption

type GetCatalogNodesQueryOption struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	Partition  *string           `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent *bool `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token *string `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex *int `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime *string `pulumi:"waitTime"`
}

type GetCatalogNodesQueryOptionArgs

type GetCatalogNodesQueryOptionArgs struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	Partition  pulumi.StringPtrInput `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token pulumi.StringPtrInput `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetCatalogNodesQueryOptionArgs) ElementType

func (GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutput

func (i GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput

func (GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutputWithContext

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

type GetCatalogNodesQueryOptionArray

type GetCatalogNodesQueryOptionArray []GetCatalogNodesQueryOptionInput

func (GetCatalogNodesQueryOptionArray) ElementType

func (GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutput

func (i GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput

func (GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutputWithContext

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

type GetCatalogNodesQueryOptionArrayInput

type GetCatalogNodesQueryOptionArrayInput interface {
	pulumi.Input

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

GetCatalogNodesQueryOptionArrayInput is an input type that accepts GetCatalogNodesQueryOptionArray and GetCatalogNodesQueryOptionArrayOutput values. You can construct a concrete instance of `GetCatalogNodesQueryOptionArrayInput` via:

GetCatalogNodesQueryOptionArray{ GetCatalogNodesQueryOptionArgs{...} }

type GetCatalogNodesQueryOptionArrayOutput

type GetCatalogNodesQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogNodesQueryOptionArrayOutput) ElementType

func (GetCatalogNodesQueryOptionArrayOutput) Index

func (GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutput

func (o GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput

func (GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutputWithContext

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

type GetCatalogNodesQueryOptionInput

type GetCatalogNodesQueryOptionInput interface {
	pulumi.Input

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

GetCatalogNodesQueryOptionInput is an input type that accepts GetCatalogNodesQueryOptionArgs and GetCatalogNodesQueryOptionOutput values. You can construct a concrete instance of `GetCatalogNodesQueryOptionInput` via:

GetCatalogNodesQueryOptionArgs{...}

type GetCatalogNodesQueryOptionOutput

type GetCatalogNodesQueryOptionOutput struct{ *pulumi.OutputState }

func (GetCatalogNodesQueryOptionOutput) AllowStale

When `true`, the default, allow responses from Consul servers that are followers.

func (GetCatalogNodesQueryOptionOutput) Datacenter

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 (GetCatalogNodesQueryOptionOutput) ElementType

func (GetCatalogNodesQueryOptionOutput) Near

func (GetCatalogNodesQueryOptionOutput) NodeMeta

func (GetCatalogNodesQueryOptionOutput) Partition

func (GetCatalogNodesQueryOptionOutput) RequireConsistent

When `true` force the client to perform a read on at least quorum servers and verify the result is the same. Defaults to `false`.

func (GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutput

func (o GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput

func (GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutputWithContext

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

func (GetCatalogNodesQueryOptionOutput) Token

Specify the Consul ACL token to use when performing the request. This defaults to the same API token configured by the `consul` provider but may be overridden if necessary.

func (GetCatalogNodesQueryOptionOutput) WaitIndex

Index number used to enable blocking queries.

func (GetCatalogNodesQueryOptionOutput) WaitTime

Max time the client should wait for a blocking query to return.

type GetCatalogNodesResult

type GetCatalogNodesResult struct {
	// The datacenter the keys are being read from to.
	Datacenter string `pulumi:"datacenter"`
	// 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        []GetCatalogNodesNode        `pulumi:"nodes"`
	QueryOptions []GetCatalogNodesQueryOption `pulumi:"queryOptions"`
}

A collection of values returned by getCatalogNodes.

func GetCatalogNodes deprecated

func GetCatalogNodes(ctx *pulumi.Context, args *GetCatalogNodesArgs, opts ...pulumi.InvokeOption) (*GetCatalogNodesResult, 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.

Deprecated: getCatalogNodes has been deprecated in favor of getNodes

type GetCatalogNodesResultOutput

type GetCatalogNodesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCatalogNodes.

func (GetCatalogNodesResultOutput) Datacenter

The datacenter the keys are being read from to.

func (GetCatalogNodesResultOutput) ElementType

func (GetCatalogNodesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCatalogNodesResultOutput) NodeIds

A list of the Consul node IDs.

func (GetCatalogNodesResultOutput) NodeNames

A list of the Consul node names.

func (GetCatalogNodesResultOutput) Nodes

A list of nodes and details about each Consul agent. The list of per-node attributes is detailed below.

func (GetCatalogNodesResultOutput) QueryOptions

func (GetCatalogNodesResultOutput) ToGetCatalogNodesResultOutput

func (o GetCatalogNodesResultOutput) ToGetCatalogNodesResultOutput() GetCatalogNodesResultOutput

func (GetCatalogNodesResultOutput) ToGetCatalogNodesResultOutputWithContext

func (o GetCatalogNodesResultOutput) ToGetCatalogNodesResultOutputWithContext(ctx context.Context) GetCatalogNodesResultOutput

type GetCatalogServiceArgs

type GetCatalogServiceArgs 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"`
	Filter     *string `pulumi:"filter"`
	// The service name to select.
	Name string `pulumi:"name"`
	// See below.
	QueryOptions []GetCatalogServiceQueryOption `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 getCatalogService.

type GetCatalogServiceOutputArgs

type GetCatalogServiceOutputArgs 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 pulumi.StringPtrInput `pulumi:"datacenter"`
	Filter     pulumi.StringPtrInput `pulumi:"filter"`
	// The service name to select.
	Name pulumi.StringInput `pulumi:"name"`
	// See below.
	QueryOptions GetCatalogServiceQueryOptionArrayInput `pulumi:"queryOptions"`
	// A single tag that can be used to filter the list of nodes
	// to return based on a single matching tag..
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

A collection of arguments for invoking getCatalogService.

func (GetCatalogServiceOutputArgs) ElementType

type GetCatalogServiceQueryOption

type GetCatalogServiceQueryOption struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	// The namespace to lookup the service.
	Namespace *string           `pulumi:"namespace"`
	Near      *string           `pulumi:"near"`
	NodeMeta  map[string]string `pulumi:"nodeMeta"`
	Partition *string           `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent *bool `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token *string `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex *int `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime *string `pulumi:"waitTime"`
}

type GetCatalogServiceQueryOptionArgs

type GetCatalogServiceQueryOptionArgs struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	// The namespace to lookup the service.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	Near      pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta  pulumi.StringMapInput `pulumi:"nodeMeta"`
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token pulumi.StringPtrInput `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetCatalogServiceQueryOptionArgs) ElementType

func (GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutput

func (i GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput

func (GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutputWithContext

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

type GetCatalogServiceQueryOptionArray

type GetCatalogServiceQueryOptionArray []GetCatalogServiceQueryOptionInput

func (GetCatalogServiceQueryOptionArray) ElementType

func (GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutput

func (i GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput

func (GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutputWithContext

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

type GetCatalogServiceQueryOptionArrayInput

type GetCatalogServiceQueryOptionArrayInput interface {
	pulumi.Input

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

GetCatalogServiceQueryOptionArrayInput is an input type that accepts GetCatalogServiceQueryOptionArray and GetCatalogServiceQueryOptionArrayOutput values. You can construct a concrete instance of `GetCatalogServiceQueryOptionArrayInput` via:

GetCatalogServiceQueryOptionArray{ GetCatalogServiceQueryOptionArgs{...} }

type GetCatalogServiceQueryOptionArrayOutput

type GetCatalogServiceQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogServiceQueryOptionArrayOutput) ElementType

func (GetCatalogServiceQueryOptionArrayOutput) Index

func (GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutput

func (o GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput

func (GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutputWithContext

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

type GetCatalogServiceQueryOptionInput

type GetCatalogServiceQueryOptionInput interface {
	pulumi.Input

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

GetCatalogServiceQueryOptionInput is an input type that accepts GetCatalogServiceQueryOptionArgs and GetCatalogServiceQueryOptionOutput values. You can construct a concrete instance of `GetCatalogServiceQueryOptionInput` via:

GetCatalogServiceQueryOptionArgs{...}

type GetCatalogServiceQueryOptionOutput

type GetCatalogServiceQueryOptionOutput struct{ *pulumi.OutputState }

func (GetCatalogServiceQueryOptionOutput) AllowStale

When `true`, the default, allow responses from Consul servers that are followers.

func (GetCatalogServiceQueryOptionOutput) Datacenter

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 (GetCatalogServiceQueryOptionOutput) ElementType

func (GetCatalogServiceQueryOptionOutput) Namespace

The namespace to lookup the service.

func (GetCatalogServiceQueryOptionOutput) Near

func (GetCatalogServiceQueryOptionOutput) NodeMeta

func (GetCatalogServiceQueryOptionOutput) Partition

func (GetCatalogServiceQueryOptionOutput) RequireConsistent

When `true` force the client to perform a read on at least quorum servers and verify the result is the same. Defaults to `false`.

func (GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutput

func (o GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput

func (GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutputWithContext

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

func (GetCatalogServiceQueryOptionOutput) Token

Specify the Consul ACL token to use when performing the request. This defaults to the same API token configured by the `consul` provider but may be overridden if necessary.

func (GetCatalogServiceQueryOptionOutput) WaitIndex

Index number used to enable blocking queries.

func (GetCatalogServiceQueryOptionOutput) WaitTime

Max time the client should wait for a blocking query to return.

type GetCatalogServiceResult

type GetCatalogServiceResult struct {
	// The datacenter the keys are being read from to.
	Datacenter *string `pulumi:"datacenter"`
	Filter     *string `pulumi:"filter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the service
	Name         string                         `pulumi:"name"`
	QueryOptions []GetCatalogServiceQueryOption `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 []GetCatalogServiceService `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 getCatalogService.

func GetCatalogService deprecated

func GetCatalogService(ctx *pulumi.Context, args *GetCatalogServiceArgs, opts ...pulumi.InvokeOption) (*GetCatalogServiceResult, 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi-example/sdk/go/example"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.LookupService(ctx, &consul.LookupServiceArgs{
			Name:       "consul",
			Datacenter: pulumi.StringRef("dc1"),
		}, nil)
		if err != nil {
			return err
		}
		// Set the description to a whitespace delimited list of the node names
		_, err = example.NewResource(ctx, "app", &example.ResourceArgs{
			Description: std.Join(ctx, &std.JoinArgs{
				Separator: " ",
				Input:     nodes,
			}, nil).Result,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: getCatalogService has been deprecated in favor of getService

type GetCatalogServiceResultOutput

type GetCatalogServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCatalogService.

func (GetCatalogServiceResultOutput) Datacenter

The datacenter the keys are being read from to.

func (GetCatalogServiceResultOutput) ElementType

func (GetCatalogServiceResultOutput) Filter

func (GetCatalogServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCatalogServiceResultOutput) Name

The name of the service

func (GetCatalogServiceResultOutput) QueryOptions

func (GetCatalogServiceResultOutput) Services

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.

func (GetCatalogServiceResultOutput) Tag

The name of the tag used to filter the list of nodes in `service`.

func (GetCatalogServiceResultOutput) ToGetCatalogServiceResultOutput

func (o GetCatalogServiceResultOutput) ToGetCatalogServiceResultOutput() GetCatalogServiceResultOutput

func (GetCatalogServiceResultOutput) ToGetCatalogServiceResultOutputWithContext

func (o GetCatalogServiceResultOutput) ToGetCatalogServiceResultOutputWithContext(ctx context.Context) GetCatalogServiceResultOutput

type GetCatalogServiceService

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"`
	// 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 GetCatalogServiceServiceArgs

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"`
	// 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 (GetCatalogServiceServiceArgs) ElementType

func (GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutput

func (i GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput

func (GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutputWithContext

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

type GetCatalogServiceServiceArray

type GetCatalogServiceServiceArray []GetCatalogServiceServiceInput

func (GetCatalogServiceServiceArray) ElementType

func (GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutput

func (i GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput

func (GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutputWithContext

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

type GetCatalogServiceServiceArrayInput

type GetCatalogServiceServiceArrayInput interface {
	pulumi.Input

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

GetCatalogServiceServiceArrayInput is an input type that accepts GetCatalogServiceServiceArray and GetCatalogServiceServiceArrayOutput values. You can construct a concrete instance of `GetCatalogServiceServiceArrayInput` via:

GetCatalogServiceServiceArray{ GetCatalogServiceServiceArgs{...} }

type GetCatalogServiceServiceArrayOutput

type GetCatalogServiceServiceArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogServiceServiceArrayOutput) ElementType

func (GetCatalogServiceServiceArrayOutput) Index

func (GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutput

func (o GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput

func (GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutputWithContext

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

type GetCatalogServiceServiceInput

type GetCatalogServiceServiceInput interface {
	pulumi.Input

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

GetCatalogServiceServiceInput is an input type that accepts GetCatalogServiceServiceArgs and GetCatalogServiceServiceOutput values. You can construct a concrete instance of `GetCatalogServiceServiceInput` via:

GetCatalogServiceServiceArgs{...}

type GetCatalogServiceServiceOutput

type GetCatalogServiceServiceOutput struct{ *pulumi.OutputState }

func (GetCatalogServiceServiceOutput) Address

func (GetCatalogServiceServiceOutput) CreateIndex

func (GetCatalogServiceServiceOutput) ElementType

func (GetCatalogServiceServiceOutput) EnableTagOverride

func (o GetCatalogServiceServiceOutput) EnableTagOverride() pulumi.StringOutput

func (GetCatalogServiceServiceOutput) Id

func (GetCatalogServiceServiceOutput) Meta

func (GetCatalogServiceServiceOutput) ModifyIndex

func (GetCatalogServiceServiceOutput) Name

The service name to select.

func (GetCatalogServiceServiceOutput) NodeAddress

func (GetCatalogServiceServiceOutput) NodeId

The Node ID of the Consul agent advertising the service.

func (GetCatalogServiceServiceOutput) NodeMeta

func (GetCatalogServiceServiceOutput) NodeName

func (GetCatalogServiceServiceOutput) Port

func (GetCatalogServiceServiceOutput) TaggedAddresses

func (GetCatalogServiceServiceOutput) Tags

func (GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutput

func (o GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput

func (GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutputWithContext

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

type GetCatalogServicesArgs

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

A collection of arguments for invoking getCatalogServices.

type GetCatalogServicesOutputArgs

type GetCatalogServicesOutputArgs struct {
	// See below.
	QueryOptions GetCatalogServicesQueryOptionArrayInput `pulumi:"queryOptions"`
}

A collection of arguments for invoking getCatalogServices.

func (GetCatalogServicesOutputArgs) ElementType

type GetCatalogServicesQueryOption

type GetCatalogServicesQueryOption struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	// The namespace to lookup the services.
	Namespace *string           `pulumi:"namespace"`
	Near      *string           `pulumi:"near"`
	NodeMeta  map[string]string `pulumi:"nodeMeta"`
	Partition *string           `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent *bool `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token *string `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex *int `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime *string `pulumi:"waitTime"`
}

type GetCatalogServicesQueryOptionArgs

type GetCatalogServicesQueryOptionArgs struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	// The namespace to lookup the services.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	Near      pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta  pulumi.StringMapInput `pulumi:"nodeMeta"`
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token pulumi.StringPtrInput `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetCatalogServicesQueryOptionArgs) ElementType

func (GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutput

func (i GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput

func (GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutputWithContext

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

type GetCatalogServicesQueryOptionArray

type GetCatalogServicesQueryOptionArray []GetCatalogServicesQueryOptionInput

func (GetCatalogServicesQueryOptionArray) ElementType

func (GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutput

func (i GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput

func (GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutputWithContext

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

type GetCatalogServicesQueryOptionArrayInput

type GetCatalogServicesQueryOptionArrayInput interface {
	pulumi.Input

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

GetCatalogServicesQueryOptionArrayInput is an input type that accepts GetCatalogServicesQueryOptionArray and GetCatalogServicesQueryOptionArrayOutput values. You can construct a concrete instance of `GetCatalogServicesQueryOptionArrayInput` via:

GetCatalogServicesQueryOptionArray{ GetCatalogServicesQueryOptionArgs{...} }

type GetCatalogServicesQueryOptionArrayOutput

type GetCatalogServicesQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogServicesQueryOptionArrayOutput) ElementType

func (GetCatalogServicesQueryOptionArrayOutput) Index

func (GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutput

func (o GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput

func (GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutputWithContext

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

type GetCatalogServicesQueryOptionInput

type GetCatalogServicesQueryOptionInput interface {
	pulumi.Input

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

GetCatalogServicesQueryOptionInput is an input type that accepts GetCatalogServicesQueryOptionArgs and GetCatalogServicesQueryOptionOutput values. You can construct a concrete instance of `GetCatalogServicesQueryOptionInput` via:

GetCatalogServicesQueryOptionArgs{...}

type GetCatalogServicesQueryOptionOutput

type GetCatalogServicesQueryOptionOutput struct{ *pulumi.OutputState }

func (GetCatalogServicesQueryOptionOutput) AllowStale

When `true`, the default, allow responses from Consul servers that are followers.

func (GetCatalogServicesQueryOptionOutput) Datacenter

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 (GetCatalogServicesQueryOptionOutput) ElementType

func (GetCatalogServicesQueryOptionOutput) Namespace

The namespace to lookup the services.

func (GetCatalogServicesQueryOptionOutput) Near

func (GetCatalogServicesQueryOptionOutput) NodeMeta

func (GetCatalogServicesQueryOptionOutput) Partition

func (GetCatalogServicesQueryOptionOutput) RequireConsistent

When `true` force the client to perform a read on at least quorum servers and verify the result is the same. Defaults to `false`.

func (GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutput

func (o GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput

func (GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutputWithContext

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

func (GetCatalogServicesQueryOptionOutput) Token

Specify the Consul ACL token to use when performing the request. This defaults to the same API token configured by the `consul` provider but may be overridden if necessary.

func (GetCatalogServicesQueryOptionOutput) WaitIndex

Index number used to enable blocking queries.

func (GetCatalogServicesQueryOptionOutput) WaitTime

Max time the client should wait for a blocking query to return.

type GetCatalogServicesResult

type GetCatalogServicesResult struct {
	// The datacenter the keys are being read from to.
	Datacenter string `pulumi:"datacenter"`
	// 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 map of the tags found for each service.  If more than one service
	// shares the same tag, unique service names will be joined by whitespace (this
	// is the inverse of `services` and can be used to lookup the services that match
	// a single tag).
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getCatalogServices.

func GetCatalogServices deprecated

func GetCatalogServices(ctx *pulumi.Context, args *GetCatalogServicesArgs, opts ...pulumi.InvokeOption) (*GetCatalogServicesResult, 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi-example/sdk/go/example"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.GetServices(ctx, &consul.GetServicesArgs{
			QueryOptions: []consul.GetServicesQueryOption{
				{
					Datacenter: pulumi.StringRef("dc1"),
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		// Set the description to a whitespace delimited list of the services
		_, err = example.NewResource(ctx, "app", &example.ResourceArgs{
			Description: std.Join(ctx, &std.JoinArgs{
				Separator: " ",
				Input:     names,
			}, nil).Result,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: getCatalogServices has been deprecated in favor of getServices

type GetCatalogServicesResultOutput

type GetCatalogServicesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCatalogServices.

func (GetCatalogServicesResultOutput) Datacenter

The datacenter the keys are being read from to.

func (GetCatalogServicesResultOutput) ElementType

func (GetCatalogServicesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCatalogServicesResultOutput) Names

func (GetCatalogServicesResultOutput) QueryOptions

func (GetCatalogServicesResultOutput) Services

func (GetCatalogServicesResultOutput) Tags

A map of the tags found for each service. If more than one service shares the same tag, unique service names will be joined by whitespace (this is the inverse of `services` and can be used to lookup the services that match a single tag).

func (GetCatalogServicesResultOutput) ToGetCatalogServicesResultOutput

func (o GetCatalogServicesResultOutput) ToGetCatalogServicesResultOutput() GetCatalogServicesResultOutput

func (GetCatalogServicesResultOutput) ToGetCatalogServicesResultOutputWithContext

func (o GetCatalogServicesResultOutput) ToGetCatalogServicesResultOutputWithContext(ctx context.Context) GetCatalogServicesResultOutput

type GetDatacentersResult

type GetDatacentersResult struct {
	// The list of datacenters known. The datacenters will be sorted
	// in ascending order based on the estimated median round trip time from the server
	// to the servers in that datacenter.
	Datacenters []string `pulumi:"datacenters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getDatacenters.

func GetDatacenters

func GetDatacenters(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetDatacentersResult, error)

The `getDatacenters` data source returns the list of all knwown Consul datacenters.

type GetDatacentersResultOutput

type GetDatacentersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatacenters.

func GetDatacentersOutput

func GetDatacentersOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetDatacentersResultOutput

func (GetDatacentersResultOutput) Datacenters

The list of datacenters known. The datacenters will be sorted in ascending order based on the estimated median round trip time from the server to the servers in that datacenter.

func (GetDatacentersResultOutput) ElementType

func (GetDatacentersResultOutput) ElementType() reflect.Type

func (GetDatacentersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDatacentersResultOutput) ToGetDatacentersResultOutput

func (o GetDatacentersResultOutput) ToGetDatacentersResultOutput() GetDatacentersResultOutput

func (GetDatacentersResultOutput) ToGetDatacentersResultOutputWithContext

func (o GetDatacentersResultOutput) ToGetDatacentersResultOutputWithContext(ctx context.Context) GetDatacentersResultOutput

type GetKeyPrefixSubkeyCollection

type GetKeyPrefixSubkeyCollection struct {
	// This is the default value to set for `var.<name>`
	// if the key does not exist in Consul. Defaults to an empty string.
	Default *string `pulumi:"default"`
	// This is the name of the key. This value of the
	// key is exposed as `var.<name>`. This is not the path of the subkey
	// in Consul.
	Name string `pulumi:"name"`
	// This is the subkey path in Consul (which will be appended
	// to the given `pathPrefix`) to construct the full key that will be used
	// to read the value.
	Path string `pulumi:"path"`
}

type GetKeyPrefixSubkeyCollectionArgs

type GetKeyPrefixSubkeyCollectionArgs struct {
	// This is the default value to set for `var.<name>`
	// if the key does not exist in Consul. Defaults to an empty string.
	Default pulumi.StringPtrInput `pulumi:"default"`
	// This is the name of the key. This value of the
	// key is exposed as `var.<name>`. This is not the path of the subkey
	// in Consul.
	Name pulumi.StringInput `pulumi:"name"`
	// This is the subkey path in Consul (which will be appended
	// to the given `pathPrefix`) to construct the full key that will be used
	// to read the value.
	Path pulumi.StringInput `pulumi:"path"`
}

func (GetKeyPrefixSubkeyCollectionArgs) ElementType

func (GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutput

func (i GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput

func (GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutputWithContext

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

type GetKeyPrefixSubkeyCollectionArray

type GetKeyPrefixSubkeyCollectionArray []GetKeyPrefixSubkeyCollectionInput

func (GetKeyPrefixSubkeyCollectionArray) ElementType

func (GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutput

func (i GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput

func (GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext

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

type GetKeyPrefixSubkeyCollectionArrayInput

type GetKeyPrefixSubkeyCollectionArrayInput interface {
	pulumi.Input

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

GetKeyPrefixSubkeyCollectionArrayInput is an input type that accepts GetKeyPrefixSubkeyCollectionArray and GetKeyPrefixSubkeyCollectionArrayOutput values. You can construct a concrete instance of `GetKeyPrefixSubkeyCollectionArrayInput` via:

GetKeyPrefixSubkeyCollectionArray{ GetKeyPrefixSubkeyCollectionArgs{...} }

type GetKeyPrefixSubkeyCollectionArrayOutput

type GetKeyPrefixSubkeyCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetKeyPrefixSubkeyCollectionArrayOutput) ElementType

func (GetKeyPrefixSubkeyCollectionArrayOutput) Index

func (GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutput

func (o GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput

func (GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext

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

type GetKeyPrefixSubkeyCollectionInput

type GetKeyPrefixSubkeyCollectionInput interface {
	pulumi.Input

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

GetKeyPrefixSubkeyCollectionInput is an input type that accepts GetKeyPrefixSubkeyCollectionArgs and GetKeyPrefixSubkeyCollectionOutput values. You can construct a concrete instance of `GetKeyPrefixSubkeyCollectionInput` via:

GetKeyPrefixSubkeyCollectionArgs{...}

type GetKeyPrefixSubkeyCollectionOutput

type GetKeyPrefixSubkeyCollectionOutput struct{ *pulumi.OutputState }

func (GetKeyPrefixSubkeyCollectionOutput) Default

This is the default value to set for `var.<name>` if the key does not exist in Consul. Defaults to an empty string.

func (GetKeyPrefixSubkeyCollectionOutput) ElementType

func (GetKeyPrefixSubkeyCollectionOutput) Name

This is the name of the key. This value of the key is exposed as `var.<name>`. This is not the path of the subkey in Consul.

func (GetKeyPrefixSubkeyCollectionOutput) Path

This is the subkey path in Consul (which will be appended to the given `pathPrefix`) to construct the full key that will be used to read the value.

func (GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutput

func (o GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput

func (GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutputWithContext

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

type GetKeysKey

type GetKeysKey struct {
	// This is the default value to set for `var.<name>` if the key does not exist in Consul. Defaults to an empty string.
	Default *string `pulumi:"default"`
	// This is the name of the key. This value of the key is exposed as `var.<name>`. This is not the path of the key in Consul.
	Name string `pulumi:"name"`
	// This is the path in Consul that should be read or written to.
	Path string `pulumi:"path"`
}

type GetKeysKeyArgs

type GetKeysKeyArgs struct {
	// This is the default value to set for `var.<name>` if the key does not exist in Consul. Defaults to an empty string.
	Default pulumi.StringPtrInput `pulumi:"default"`
	// This is the name of the key. This value of the key is exposed as `var.<name>`. This is not the path of the key in Consul.
	Name pulumi.StringInput `pulumi:"name"`
	// This is the path in Consul that should be read or written to.
	Path pulumi.StringInput `pulumi:"path"`
}

func (GetKeysKeyArgs) ElementType

func (GetKeysKeyArgs) ElementType() reflect.Type

func (GetKeysKeyArgs) ToGetKeysKeyOutput

func (i GetKeysKeyArgs) ToGetKeysKeyOutput() GetKeysKeyOutput

func (GetKeysKeyArgs) ToGetKeysKeyOutputWithContext

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

type GetKeysKeyArray

type GetKeysKeyArray []GetKeysKeyInput

func (GetKeysKeyArray) ElementType

func (GetKeysKeyArray) ElementType() reflect.Type

func (GetKeysKeyArray) ToGetKeysKeyArrayOutput

func (i GetKeysKeyArray) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput

func (GetKeysKeyArray) ToGetKeysKeyArrayOutputWithContext

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

type GetKeysKeyArrayInput

type GetKeysKeyArrayInput interface {
	pulumi.Input

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

GetKeysKeyArrayInput is an input type that accepts GetKeysKeyArray and GetKeysKeyArrayOutput values. You can construct a concrete instance of `GetKeysKeyArrayInput` via:

GetKeysKeyArray{ GetKeysKeyArgs{...} }

type GetKeysKeyArrayOutput

type GetKeysKeyArrayOutput struct{ *pulumi.OutputState }

func (GetKeysKeyArrayOutput) ElementType

func (GetKeysKeyArrayOutput) ElementType() reflect.Type

func (GetKeysKeyArrayOutput) Index

func (GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput

func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput

func (GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext

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

type GetKeysKeyInput

type GetKeysKeyInput interface {
	pulumi.Input

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

GetKeysKeyInput is an input type that accepts GetKeysKeyArgs and GetKeysKeyOutput values. You can construct a concrete instance of `GetKeysKeyInput` via:

GetKeysKeyArgs{...}

type GetKeysKeyOutput

type GetKeysKeyOutput struct{ *pulumi.OutputState }

func (GetKeysKeyOutput) Default

This is the default value to set for `var.<name>` if the key does not exist in Consul. Defaults to an empty string.

func (GetKeysKeyOutput) ElementType

func (GetKeysKeyOutput) ElementType() reflect.Type

func (GetKeysKeyOutput) Name

This is the name of the key. This value of the key is exposed as `var.<name>`. This is not the path of the key in Consul.

func (GetKeysKeyOutput) Path

This is the path in Consul that should be read or written to.

func (GetKeysKeyOutput) ToGetKeysKeyOutput

func (o GetKeysKeyOutput) ToGetKeysKeyOutput() GetKeysKeyOutput

func (GetKeysKeyOutput) ToGetKeysKeyOutputWithContext

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

type GetNetworkAreaMembersArgs

type GetNetworkAreaMembersArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter *string `pulumi:"datacenter"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token *string `pulumi:"token"`
	// The UUID of the area to list.
	Uuid string `pulumi:"uuid"`
}

A collection of arguments for invoking getNetworkAreaMembers.

type GetNetworkAreaMembersMember

type GetNetworkAreaMembersMember struct {
	// The IP address of the server.
	Address string `pulumi:"address"`
	// The Consul version running on the node.
	Build string `pulumi:"build"`
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter string `pulumi:"datacenter"`
	// The node ID of the server.
	Id string `pulumi:"id"`
	// The node name of the server, with its datacenter appended.
	Name string `pulumi:"name"`
	// The server RPC port the node.
	Port int `pulumi:"port"`
	// The protocol version being spoken by the node.
	Protocol int `pulumi:"protocol"`
	// Role is always `"server"` since only Consul servers can participate
	// in network areas.
	Role string `pulumi:"role"`
	// An estimated network round trip time from the server answering the
	// query to the given server, in nanoseconds. This is computed using network
	// coordinates.
	Rtt int `pulumi:"rtt"`
	// The current health status of the node, as determined by the
	// network area distributed failure detector. This will be `"alive"`, `"leaving"`,
	// or `"failed"`. A `"failed"` status means that other servers are not able to
	// probe this server over its server RPC interface.
	Status string `pulumi:"status"`
}

type GetNetworkAreaMembersMemberArgs

type GetNetworkAreaMembersMemberArgs struct {
	// The IP address of the server.
	Address pulumi.StringInput `pulumi:"address"`
	// The Consul version running on the node.
	Build pulumi.StringInput `pulumi:"build"`
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringInput `pulumi:"datacenter"`
	// The node ID of the server.
	Id pulumi.StringInput `pulumi:"id"`
	// The node name of the server, with its datacenter appended.
	Name pulumi.StringInput `pulumi:"name"`
	// The server RPC port the node.
	Port pulumi.IntInput `pulumi:"port"`
	// The protocol version being spoken by the node.
	Protocol pulumi.IntInput `pulumi:"protocol"`
	// Role is always `"server"` since only Consul servers can participate
	// in network areas.
	Role pulumi.StringInput `pulumi:"role"`
	// An estimated network round trip time from the server answering the
	// query to the given server, in nanoseconds. This is computed using network
	// coordinates.
	Rtt pulumi.IntInput `pulumi:"rtt"`
	// The current health status of the node, as determined by the
	// network area distributed failure detector. This will be `"alive"`, `"leaving"`,
	// or `"failed"`. A `"failed"` status means that other servers are not able to
	// probe this server over its server RPC interface.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetNetworkAreaMembersMemberArgs) ElementType

func (GetNetworkAreaMembersMemberArgs) ToGetNetworkAreaMembersMemberOutput

func (i GetNetworkAreaMembersMemberArgs) ToGetNetworkAreaMembersMemberOutput() GetNetworkAreaMembersMemberOutput

func (GetNetworkAreaMembersMemberArgs) ToGetNetworkAreaMembersMemberOutputWithContext

func (i GetNetworkAreaMembersMemberArgs) ToGetNetworkAreaMembersMemberOutputWithContext(ctx context.Context) GetNetworkAreaMembersMemberOutput

type GetNetworkAreaMembersMemberArray

type GetNetworkAreaMembersMemberArray []GetNetworkAreaMembersMemberInput

func (GetNetworkAreaMembersMemberArray) ElementType

func (GetNetworkAreaMembersMemberArray) ToGetNetworkAreaMembersMemberArrayOutput

func (i GetNetworkAreaMembersMemberArray) ToGetNetworkAreaMembersMemberArrayOutput() GetNetworkAreaMembersMemberArrayOutput

func (GetNetworkAreaMembersMemberArray) ToGetNetworkAreaMembersMemberArrayOutputWithContext

func (i GetNetworkAreaMembersMemberArray) ToGetNetworkAreaMembersMemberArrayOutputWithContext(ctx context.Context) GetNetworkAreaMembersMemberArrayOutput

type GetNetworkAreaMembersMemberArrayInput

type GetNetworkAreaMembersMemberArrayInput interface {
	pulumi.Input

	ToGetNetworkAreaMembersMemberArrayOutput() GetNetworkAreaMembersMemberArrayOutput
	ToGetNetworkAreaMembersMemberArrayOutputWithContext(context.Context) GetNetworkAreaMembersMemberArrayOutput
}

GetNetworkAreaMembersMemberArrayInput is an input type that accepts GetNetworkAreaMembersMemberArray and GetNetworkAreaMembersMemberArrayOutput values. You can construct a concrete instance of `GetNetworkAreaMembersMemberArrayInput` via:

GetNetworkAreaMembersMemberArray{ GetNetworkAreaMembersMemberArgs{...} }

type GetNetworkAreaMembersMemberArrayOutput

type GetNetworkAreaMembersMemberArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkAreaMembersMemberArrayOutput) ElementType

func (GetNetworkAreaMembersMemberArrayOutput) Index

func (GetNetworkAreaMembersMemberArrayOutput) ToGetNetworkAreaMembersMemberArrayOutput

func (o GetNetworkAreaMembersMemberArrayOutput) ToGetNetworkAreaMembersMemberArrayOutput() GetNetworkAreaMembersMemberArrayOutput

func (GetNetworkAreaMembersMemberArrayOutput) ToGetNetworkAreaMembersMemberArrayOutputWithContext

func (o GetNetworkAreaMembersMemberArrayOutput) ToGetNetworkAreaMembersMemberArrayOutputWithContext(ctx context.Context) GetNetworkAreaMembersMemberArrayOutput

type GetNetworkAreaMembersMemberInput

type GetNetworkAreaMembersMemberInput interface {
	pulumi.Input

	ToGetNetworkAreaMembersMemberOutput() GetNetworkAreaMembersMemberOutput
	ToGetNetworkAreaMembersMemberOutputWithContext(context.Context) GetNetworkAreaMembersMemberOutput
}

GetNetworkAreaMembersMemberInput is an input type that accepts GetNetworkAreaMembersMemberArgs and GetNetworkAreaMembersMemberOutput values. You can construct a concrete instance of `GetNetworkAreaMembersMemberInput` via:

GetNetworkAreaMembersMemberArgs{...}

type GetNetworkAreaMembersMemberOutput

type GetNetworkAreaMembersMemberOutput struct{ *pulumi.OutputState }

func (GetNetworkAreaMembersMemberOutput) Address

The IP address of the server.

func (GetNetworkAreaMembersMemberOutput) Build

The Consul version running on the node.

func (GetNetworkAreaMembersMemberOutput) Datacenter

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (GetNetworkAreaMembersMemberOutput) ElementType

func (GetNetworkAreaMembersMemberOutput) Id

The node ID of the server.

func (GetNetworkAreaMembersMemberOutput) Name

The node name of the server, with its datacenter appended.

func (GetNetworkAreaMembersMemberOutput) Port

The server RPC port the node.

func (GetNetworkAreaMembersMemberOutput) Protocol

The protocol version being spoken by the node.

func (GetNetworkAreaMembersMemberOutput) Role

Role is always `"server"` since only Consul servers can participate in network areas.

func (GetNetworkAreaMembersMemberOutput) Rtt

An estimated network round trip time from the server answering the query to the given server, in nanoseconds. This is computed using network coordinates.

func (GetNetworkAreaMembersMemberOutput) Status

The current health status of the node, as determined by the network area distributed failure detector. This will be `"alive"`, `"leaving"`, or `"failed"`. A `"failed"` status means that other servers are not able to probe this server over its server RPC interface.

func (GetNetworkAreaMembersMemberOutput) ToGetNetworkAreaMembersMemberOutput

func (o GetNetworkAreaMembersMemberOutput) ToGetNetworkAreaMembersMemberOutput() GetNetworkAreaMembersMemberOutput

func (GetNetworkAreaMembersMemberOutput) ToGetNetworkAreaMembersMemberOutputWithContext

func (o GetNetworkAreaMembersMemberOutput) ToGetNetworkAreaMembersMemberOutputWithContext(ctx context.Context) GetNetworkAreaMembersMemberOutput

type GetNetworkAreaMembersOutputArgs

type GetNetworkAreaMembersOutputArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput `pulumi:"datacenter"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput `pulumi:"token"`
	// The UUID of the area to list.
	Uuid pulumi.StringInput `pulumi:"uuid"`
}

A collection of arguments for invoking getNetworkAreaMembers.

func (GetNetworkAreaMembersOutputArgs) ElementType

type GetNetworkAreaMembersResult

type GetNetworkAreaMembersResult struct {
	// The node's Consul datacenter.
	Datacenter string `pulumi:"datacenter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of Consul servers in this network area
	Members []GetNetworkAreaMembersMember `pulumi:"members"`
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token *string `pulumi:"token"`
	// The UUID of the Network Area being queried.
	Uuid string `pulumi:"uuid"`
}

A collection of values returned by getNetworkAreaMembers.

func GetNetworkAreaMembers

func GetNetworkAreaMembers(ctx *pulumi.Context, args *GetNetworkAreaMembersArgs, opts ...pulumi.InvokeOption) (*GetNetworkAreaMembersResult, error)

> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).

The `getNetworkAreaMembers` data source provides a list of the Consul servers present in a specific network area.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dc2NetworkArea, err := consul.NewNetworkArea(ctx, "dc2", &consul.NetworkAreaArgs{
			PeerDatacenter: pulumi.String("dc2"),
			RetryJoins: pulumi.StringArray{
				pulumi.String("1.2.3.4"),
			},
			UseTls: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		dc2 := consul.GetNetworkAreaMembersOutput(ctx, consul.GetNetworkAreaMembersOutputArgs{
			Uuid: dc2NetworkArea.ID(),
		}, nil)
		ctx.Export("members", dc2.ApplyT(func(dc2 consul.GetNetworkAreaMembersResult) ([]consul.GetNetworkAreaMembersMember, error) {
			return []consul.GetNetworkAreaMembersMember(dc2.Members), nil
		}).([]consul.GetNetworkAreaMembersMemberOutput))
		return nil
	})
}

```

type GetNetworkAreaMembersResultOutput

type GetNetworkAreaMembersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNetworkAreaMembers.

func (GetNetworkAreaMembersResultOutput) Datacenter

The node's Consul datacenter.

func (GetNetworkAreaMembersResultOutput) ElementType

func (GetNetworkAreaMembersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNetworkAreaMembersResultOutput) Members

The list of Consul servers in this network area

func (GetNetworkAreaMembersResultOutput) ToGetNetworkAreaMembersResultOutput

func (o GetNetworkAreaMembersResultOutput) ToGetNetworkAreaMembersResultOutput() GetNetworkAreaMembersResultOutput

func (GetNetworkAreaMembersResultOutput) ToGetNetworkAreaMembersResultOutputWithContext

func (o GetNetworkAreaMembersResultOutput) ToGetNetworkAreaMembersResultOutputWithContext(ctx context.Context) GetNetworkAreaMembersResultOutput

func (GetNetworkAreaMembersResultOutput) Token deprecated

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

func (GetNetworkAreaMembersResultOutput) Uuid

The UUID of the Network Area being queried.

type GetNetworkSegmentsArgs

type GetNetworkSegmentsArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter *string `pulumi:"datacenter"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token *string `pulumi:"token"`
}

A collection of arguments for invoking getNetworkSegments.

type GetNetworkSegmentsOutputArgs

type GetNetworkSegmentsOutputArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput `pulumi:"datacenter"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput `pulumi:"token"`
}

A collection of arguments for invoking getNetworkSegments.

func (GetNetworkSegmentsOutputArgs) ElementType

type GetNetworkSegmentsResult

type GetNetworkSegmentsResult struct {
	// The datacenter the segments are being read from.
	Datacenter string `pulumi:"datacenter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of network segments.
	Segments []string `pulumi:"segments"`
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token *string `pulumi:"token"`
}

A collection of values returned by getNetworkSegments.

func GetNetworkSegments

func GetNetworkSegments(ctx *pulumi.Context, args *GetNetworkSegmentsArgs, opts ...pulumi.InvokeOption) (*GetNetworkSegmentsResult, error)

> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).

The `consulNetworkSegment` data source can be used to retrieve the network segments defined in the configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		segments, err := consul.GetNetworkSegments(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("segments", segments.Segments)
		return nil
	})
}

```

type GetNetworkSegmentsResultOutput

type GetNetworkSegmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNetworkSegments.

func (GetNetworkSegmentsResultOutput) Datacenter

The datacenter the segments are being read from.

func (GetNetworkSegmentsResultOutput) ElementType

func (GetNetworkSegmentsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNetworkSegmentsResultOutput) Segments

The list of network segments.

func (GetNetworkSegmentsResultOutput) ToGetNetworkSegmentsResultOutput

func (o GetNetworkSegmentsResultOutput) ToGetNetworkSegmentsResultOutput() GetNetworkSegmentsResultOutput

func (GetNetworkSegmentsResultOutput) ToGetNetworkSegmentsResultOutputWithContext

func (o GetNetworkSegmentsResultOutput) ToGetNetworkSegmentsResultOutputWithContext(ctx context.Context) GetNetworkSegmentsResultOutput

func (GetNetworkSegmentsResultOutput) Token deprecated

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

type GetNodesArgs

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

A collection of arguments for invoking getNodes.

type GetNodesNode

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

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

func (GetNodesNodeArgs) ElementType() reflect.Type

func (GetNodesNodeArgs) ToGetNodesNodeOutput

func (i GetNodesNodeArgs) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeArgs) ToGetNodesNodeOutputWithContext

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

type GetNodesNodeArray

type GetNodesNodeArray []GetNodesNodeInput

func (GetNodesNodeArray) ElementType

func (GetNodesNodeArray) ElementType() reflect.Type

func (GetNodesNodeArray) ToGetNodesNodeArrayOutput

func (i GetNodesNodeArray) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext

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

type GetNodesNodeArrayInput

type GetNodesNodeArrayInput interface {
	pulumi.Input

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

GetNodesNodeArrayInput is an input type that accepts GetNodesNodeArray and GetNodesNodeArrayOutput values. You can construct a concrete instance of `GetNodesNodeArrayInput` via:

GetNodesNodeArray{ GetNodesNodeArgs{...} }

type GetNodesNodeArrayOutput

type GetNodesNodeArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeArrayOutput) ElementType

func (GetNodesNodeArrayOutput) ElementType() reflect.Type

func (GetNodesNodeArrayOutput) Index

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput

func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext

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

type GetNodesNodeInput

type GetNodesNodeInput interface {
	pulumi.Input

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

GetNodesNodeInput is an input type that accepts GetNodesNodeArgs and GetNodesNodeOutput values. You can construct a concrete instance of `GetNodesNodeInput` via:

GetNodesNodeArgs{...}

type GetNodesNodeOutput

type GetNodesNodeOutput struct{ *pulumi.OutputState }

func (GetNodesNodeOutput) Address

func (GetNodesNodeOutput) ElementType

func (GetNodesNodeOutput) ElementType() reflect.Type

func (GetNodesNodeOutput) Id

The Node ID of the Consul agent.

func (GetNodesNodeOutput) Meta

func (GetNodesNodeOutput) Name

func (GetNodesNodeOutput) TaggedAddresses

func (o GetNodesNodeOutput) TaggedAddresses() pulumi.StringMapOutput

func (GetNodesNodeOutput) ToGetNodesNodeOutput

func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeOutput) ToGetNodesNodeOutputWithContext

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

type GetNodesOutputArgs

type GetNodesOutputArgs struct {
	// See below.
	QueryOptions GetNodesQueryOptionArrayInput `pulumi:"queryOptions"`
}

A collection of arguments for invoking getNodes.

func (GetNodesOutputArgs) ElementType

func (GetNodesOutputArgs) ElementType() reflect.Type

type GetNodesQueryOption

type GetNodesQueryOption struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	Partition  *string           `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent *bool `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token *string `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex *int `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime *string `pulumi:"waitTime"`
}

type GetNodesQueryOptionArgs

type GetNodesQueryOptionArgs struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	Partition  pulumi.StringPtrInput `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token pulumi.StringPtrInput `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetNodesQueryOptionArgs) ElementType

func (GetNodesQueryOptionArgs) ElementType() reflect.Type

func (GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutput

func (i GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutput() GetNodesQueryOptionOutput

func (GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutputWithContext

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

type GetNodesQueryOptionArray

type GetNodesQueryOptionArray []GetNodesQueryOptionInput

func (GetNodesQueryOptionArray) ElementType

func (GetNodesQueryOptionArray) ElementType() reflect.Type

func (GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutput

func (i GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutput() GetNodesQueryOptionArrayOutput

func (GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutputWithContext

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

type GetNodesQueryOptionArrayInput

type GetNodesQueryOptionArrayInput interface {
	pulumi.Input

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

GetNodesQueryOptionArrayInput is an input type that accepts GetNodesQueryOptionArray and GetNodesQueryOptionArrayOutput values. You can construct a concrete instance of `GetNodesQueryOptionArrayInput` via:

GetNodesQueryOptionArray{ GetNodesQueryOptionArgs{...} }

type GetNodesQueryOptionArrayOutput

type GetNodesQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetNodesQueryOptionArrayOutput) ElementType

func (GetNodesQueryOptionArrayOutput) Index

func (GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutput

func (o GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutput() GetNodesQueryOptionArrayOutput

func (GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutputWithContext

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

type GetNodesQueryOptionInput

type GetNodesQueryOptionInput interface {
	pulumi.Input

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

GetNodesQueryOptionInput is an input type that accepts GetNodesQueryOptionArgs and GetNodesQueryOptionOutput values. You can construct a concrete instance of `GetNodesQueryOptionInput` via:

GetNodesQueryOptionArgs{...}

type GetNodesQueryOptionOutput

type GetNodesQueryOptionOutput struct{ *pulumi.OutputState }

func (GetNodesQueryOptionOutput) AllowStale

When `true`, the default, allow responses from Consul servers that are followers.

func (GetNodesQueryOptionOutput) Datacenter

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

func (GetNodesQueryOptionOutput) ElementType() reflect.Type

func (GetNodesQueryOptionOutput) Near

func (GetNodesQueryOptionOutput) NodeMeta

func (GetNodesQueryOptionOutput) Partition

func (GetNodesQueryOptionOutput) RequireConsistent

func (o GetNodesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput

When `true` force the client to perform a read on at least quorum servers and verify the result is the same. Defaults to `false`.

func (GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutput

func (o GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutput() GetNodesQueryOptionOutput

func (GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutputWithContext

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

func (GetNodesQueryOptionOutput) Token

Specify the Consul ACL token to use when performing the request. This defaults to the same API token configured by the `consul` provider but may be overridden if necessary.

func (GetNodesQueryOptionOutput) WaitIndex

Index number used to enable blocking queries.

func (GetNodesQueryOptionOutput) WaitTime

Max time the client should wait for a blocking query to return.

type GetNodesResult

type GetNodesResult struct {
	// The datacenter the keys are being read from to.
	Datacenter string `pulumi:"datacenter"`
	// 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

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.

type GetNodesResultOutput

type GetNodesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNodes.

func (GetNodesResultOutput) Datacenter

func (o GetNodesResultOutput) Datacenter() pulumi.StringOutput

The datacenter the keys are being read from to.

func (GetNodesResultOutput) ElementType

func (GetNodesResultOutput) ElementType() reflect.Type

func (GetNodesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNodesResultOutput) NodeIds

A list of the Consul node IDs.

func (GetNodesResultOutput) NodeNames

A list of the Consul node names.

func (GetNodesResultOutput) Nodes

A list of nodes and details about each Consul agent. The list of per-node attributes is detailed below.

func (GetNodesResultOutput) QueryOptions

func (GetNodesResultOutput) ToGetNodesResultOutput

func (o GetNodesResultOutput) ToGetNodesResultOutput() GetNodesResultOutput

func (GetNodesResultOutput) ToGetNodesResultOutputWithContext

func (o GetNodesResultOutput) ToGetNodesResultOutputWithContext(ctx context.Context) GetNodesResultOutput

type GetPeeringsArgs

type GetPeeringsArgs struct {
	Partition *string `pulumi:"partition"`
}

A collection of arguments for invoking getPeerings.

type GetPeeringsOutputArgs

type GetPeeringsOutputArgs struct {
	Partition pulumi.StringPtrInput `pulumi:"partition"`
}

A collection of arguments for invoking getPeerings.

func (GetPeeringsOutputArgs) ElementType

func (GetPeeringsOutputArgs) ElementType() reflect.Type

type GetPeeringsPeer

type GetPeeringsPeer struct {
	DeletedAt           string            `pulumi:"deletedAt"`
	Id                  string            `pulumi:"id"`
	Meta                map[string]string `pulumi:"meta"`
	Name                string            `pulumi:"name"`
	Partition           string            `pulumi:"partition"`
	PeerCaPems          []string          `pulumi:"peerCaPems"`
	PeerId              string            `pulumi:"peerId"`
	PeerServerAddresses []string          `pulumi:"peerServerAddresses"`
	PeerServerName      string            `pulumi:"peerServerName"`
	State               string            `pulumi:"state"`
}

type GetPeeringsPeerArgs

type GetPeeringsPeerArgs struct {
	DeletedAt           pulumi.StringInput      `pulumi:"deletedAt"`
	Id                  pulumi.StringInput      `pulumi:"id"`
	Meta                pulumi.StringMapInput   `pulumi:"meta"`
	Name                pulumi.StringInput      `pulumi:"name"`
	Partition           pulumi.StringInput      `pulumi:"partition"`
	PeerCaPems          pulumi.StringArrayInput `pulumi:"peerCaPems"`
	PeerId              pulumi.StringInput      `pulumi:"peerId"`
	PeerServerAddresses pulumi.StringArrayInput `pulumi:"peerServerAddresses"`
	PeerServerName      pulumi.StringInput      `pulumi:"peerServerName"`
	State               pulumi.StringInput      `pulumi:"state"`
}

func (GetPeeringsPeerArgs) ElementType

func (GetPeeringsPeerArgs) ElementType() reflect.Type

func (GetPeeringsPeerArgs) ToGetPeeringsPeerOutput

func (i GetPeeringsPeerArgs) ToGetPeeringsPeerOutput() GetPeeringsPeerOutput

func (GetPeeringsPeerArgs) ToGetPeeringsPeerOutputWithContext

func (i GetPeeringsPeerArgs) ToGetPeeringsPeerOutputWithContext(ctx context.Context) GetPeeringsPeerOutput

type GetPeeringsPeerArray

type GetPeeringsPeerArray []GetPeeringsPeerInput

func (GetPeeringsPeerArray) ElementType

func (GetPeeringsPeerArray) ElementType() reflect.Type

func (GetPeeringsPeerArray) ToGetPeeringsPeerArrayOutput

func (i GetPeeringsPeerArray) ToGetPeeringsPeerArrayOutput() GetPeeringsPeerArrayOutput

func (GetPeeringsPeerArray) ToGetPeeringsPeerArrayOutputWithContext

func (i GetPeeringsPeerArray) ToGetPeeringsPeerArrayOutputWithContext(ctx context.Context) GetPeeringsPeerArrayOutput

type GetPeeringsPeerArrayInput

type GetPeeringsPeerArrayInput interface {
	pulumi.Input

	ToGetPeeringsPeerArrayOutput() GetPeeringsPeerArrayOutput
	ToGetPeeringsPeerArrayOutputWithContext(context.Context) GetPeeringsPeerArrayOutput
}

GetPeeringsPeerArrayInput is an input type that accepts GetPeeringsPeerArray and GetPeeringsPeerArrayOutput values. You can construct a concrete instance of `GetPeeringsPeerArrayInput` via:

GetPeeringsPeerArray{ GetPeeringsPeerArgs{...} }

type GetPeeringsPeerArrayOutput

type GetPeeringsPeerArrayOutput struct{ *pulumi.OutputState }

func (GetPeeringsPeerArrayOutput) ElementType

func (GetPeeringsPeerArrayOutput) ElementType() reflect.Type

func (GetPeeringsPeerArrayOutput) Index

func (GetPeeringsPeerArrayOutput) ToGetPeeringsPeerArrayOutput

func (o GetPeeringsPeerArrayOutput) ToGetPeeringsPeerArrayOutput() GetPeeringsPeerArrayOutput

func (GetPeeringsPeerArrayOutput) ToGetPeeringsPeerArrayOutputWithContext

func (o GetPeeringsPeerArrayOutput) ToGetPeeringsPeerArrayOutputWithContext(ctx context.Context) GetPeeringsPeerArrayOutput

type GetPeeringsPeerInput

type GetPeeringsPeerInput interface {
	pulumi.Input

	ToGetPeeringsPeerOutput() GetPeeringsPeerOutput
	ToGetPeeringsPeerOutputWithContext(context.Context) GetPeeringsPeerOutput
}

GetPeeringsPeerInput is an input type that accepts GetPeeringsPeerArgs and GetPeeringsPeerOutput values. You can construct a concrete instance of `GetPeeringsPeerInput` via:

GetPeeringsPeerArgs{...}

type GetPeeringsPeerOutput

type GetPeeringsPeerOutput struct{ *pulumi.OutputState }

func (GetPeeringsPeerOutput) DeletedAt

func (GetPeeringsPeerOutput) ElementType

func (GetPeeringsPeerOutput) ElementType() reflect.Type

func (GetPeeringsPeerOutput) Id

func (GetPeeringsPeerOutput) Meta

func (GetPeeringsPeerOutput) Name

func (GetPeeringsPeerOutput) Partition

func (GetPeeringsPeerOutput) PeerCaPems

func (GetPeeringsPeerOutput) PeerId

func (GetPeeringsPeerOutput) PeerServerAddresses

func (o GetPeeringsPeerOutput) PeerServerAddresses() pulumi.StringArrayOutput

func (GetPeeringsPeerOutput) PeerServerName

func (o GetPeeringsPeerOutput) PeerServerName() pulumi.StringOutput

func (GetPeeringsPeerOutput) State

func (GetPeeringsPeerOutput) ToGetPeeringsPeerOutput

func (o GetPeeringsPeerOutput) ToGetPeeringsPeerOutput() GetPeeringsPeerOutput

func (GetPeeringsPeerOutput) ToGetPeeringsPeerOutputWithContext

func (o GetPeeringsPeerOutput) ToGetPeeringsPeerOutputWithContext(ctx context.Context) GetPeeringsPeerOutput

type GetPeeringsResult

type GetPeeringsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id        string            `pulumi:"id"`
	Partition *string           `pulumi:"partition"`
	Peers     []GetPeeringsPeer `pulumi:"peers"`
}

A collection of values returned by getPeerings.

func GetPeerings

func GetPeerings(ctx *pulumi.Context, args *GetPeeringsArgs, opts ...pulumi.InvokeOption) (*GetPeeringsResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type GetPeeringsResultOutput

type GetPeeringsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPeerings.

func (GetPeeringsResultOutput) ElementType

func (GetPeeringsResultOutput) ElementType() reflect.Type

func (GetPeeringsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPeeringsResultOutput) Partition

func (GetPeeringsResultOutput) Peers

func (GetPeeringsResultOutput) ToGetPeeringsResultOutput

func (o GetPeeringsResultOutput) ToGetPeeringsResultOutput() GetPeeringsResultOutput

func (GetPeeringsResultOutput) ToGetPeeringsResultOutputWithContext

func (o GetPeeringsResultOutput) ToGetPeeringsResultOutputWithContext(ctx context.Context) GetPeeringsResultOutput

type GetServiceHealthResult

type GetServiceHealthResult struct {
	Checks []GetServiceHealthResultCheck `pulumi:"checks"`
	// The name of the node associated with this health-check.
	Nodes    []GetServiceHealthResultNode    `pulumi:"nodes"`
	Services []GetServiceHealthResultService `pulumi:"services"`
}

type GetServiceHealthResultArgs

type GetServiceHealthResultArgs struct {
	Checks GetServiceHealthResultCheckArrayInput `pulumi:"checks"`
	// The name of the node associated with this health-check.
	Nodes    GetServiceHealthResultNodeArrayInput    `pulumi:"nodes"`
	Services GetServiceHealthResultServiceArrayInput `pulumi:"services"`
}

func (GetServiceHealthResultArgs) ElementType

func (GetServiceHealthResultArgs) ElementType() reflect.Type

func (GetServiceHealthResultArgs) ToGetServiceHealthResultOutput

func (i GetServiceHealthResultArgs) ToGetServiceHealthResultOutput() GetServiceHealthResultOutput

func (GetServiceHealthResultArgs) ToGetServiceHealthResultOutputWithContext

func (i GetServiceHealthResultArgs) ToGetServiceHealthResultOutputWithContext(ctx context.Context) GetServiceHealthResultOutput

type GetServiceHealthResultArray

type GetServiceHealthResultArray []GetServiceHealthResultInput

func (GetServiceHealthResultArray) ElementType

func (GetServiceHealthResultArray) ToGetServiceHealthResultArrayOutput

func (i GetServiceHealthResultArray) ToGetServiceHealthResultArrayOutput() GetServiceHealthResultArrayOutput

func (GetServiceHealthResultArray) ToGetServiceHealthResultArrayOutputWithContext

func (i GetServiceHealthResultArray) ToGetServiceHealthResultArrayOutputWithContext(ctx context.Context) GetServiceHealthResultArrayOutput

type GetServiceHealthResultArrayInput

type GetServiceHealthResultArrayInput interface {
	pulumi.Input

	ToGetServiceHealthResultArrayOutput() GetServiceHealthResultArrayOutput
	ToGetServiceHealthResultArrayOutputWithContext(context.Context) GetServiceHealthResultArrayOutput
}

GetServiceHealthResultArrayInput is an input type that accepts GetServiceHealthResultArray and GetServiceHealthResultArrayOutput values. You can construct a concrete instance of `GetServiceHealthResultArrayInput` via:

GetServiceHealthResultArray{ GetServiceHealthResultArgs{...} }

type GetServiceHealthResultArrayOutput

type GetServiceHealthResultArrayOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultArrayOutput) ElementType

func (GetServiceHealthResultArrayOutput) Index

func (GetServiceHealthResultArrayOutput) ToGetServiceHealthResultArrayOutput

func (o GetServiceHealthResultArrayOutput) ToGetServiceHealthResultArrayOutput() GetServiceHealthResultArrayOutput

func (GetServiceHealthResultArrayOutput) ToGetServiceHealthResultArrayOutputWithContext

func (o GetServiceHealthResultArrayOutput) ToGetServiceHealthResultArrayOutputWithContext(ctx context.Context) GetServiceHealthResultArrayOutput

type GetServiceHealthResultCheck

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

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

func (GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutput

func (i GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput

func (GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutputWithContext

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

type GetServiceHealthResultCheckArray

type GetServiceHealthResultCheckArray []GetServiceHealthResultCheckInput

func (GetServiceHealthResultCheckArray) ElementType

func (GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutput

func (i GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput

func (GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutputWithContext

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

type GetServiceHealthResultCheckArrayInput

type GetServiceHealthResultCheckArrayInput interface {
	pulumi.Input

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

GetServiceHealthResultCheckArrayInput is an input type that accepts GetServiceHealthResultCheckArray and GetServiceHealthResultCheckArrayOutput values. You can construct a concrete instance of `GetServiceHealthResultCheckArrayInput` via:

GetServiceHealthResultCheckArray{ GetServiceHealthResultCheckArgs{...} }

type GetServiceHealthResultCheckArrayOutput

type GetServiceHealthResultCheckArrayOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultCheckArrayOutput) ElementType

func (GetServiceHealthResultCheckArrayOutput) Index

func (GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutput

func (o GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput

func (GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutputWithContext

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

type GetServiceHealthResultCheckInput

type GetServiceHealthResultCheckInput interface {
	pulumi.Input

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

GetServiceHealthResultCheckInput is an input type that accepts GetServiceHealthResultCheckArgs and GetServiceHealthResultCheckOutput values. You can construct a concrete instance of `GetServiceHealthResultCheckInput` via:

GetServiceHealthResultCheckArgs{...}

type GetServiceHealthResultCheckOutput

type GetServiceHealthResultCheckOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultCheckOutput) ElementType

func (GetServiceHealthResultCheckOutput) Id

The ID of this health-check.

func (GetServiceHealthResultCheckOutput) Name

The service name to select.

func (GetServiceHealthResultCheckOutput) Node

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

func (GetServiceHealthResultCheckOutput) Notes

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

func (GetServiceHealthResultCheckOutput) Output

The output of the health-check.

func (GetServiceHealthResultCheckOutput) ServiceId

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

func (GetServiceHealthResultCheckOutput) ServiceName

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

func (GetServiceHealthResultCheckOutput) ServiceTags

The list of tags associated with this health-check.

func (GetServiceHealthResultCheckOutput) Status

The status of this health-check.

func (GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutput

func (o GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput

func (GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutputWithContext

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

type GetServiceHealthResultInput

type GetServiceHealthResultInput interface {
	pulumi.Input

	ToGetServiceHealthResultOutput() GetServiceHealthResultOutput
	ToGetServiceHealthResultOutputWithContext(context.Context) GetServiceHealthResultOutput
}

GetServiceHealthResultInput is an input type that accepts GetServiceHealthResultArgs and GetServiceHealthResultOutput values. You can construct a concrete instance of `GetServiceHealthResultInput` via:

GetServiceHealthResultArgs{...}

type GetServiceHealthResultNode

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

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

func (GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutput

func (i GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput

func (GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutputWithContext

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

type GetServiceHealthResultNodeArray

type GetServiceHealthResultNodeArray []GetServiceHealthResultNodeInput

func (GetServiceHealthResultNodeArray) ElementType

func (GetServiceHealthResultNodeArray) ToGetServiceHealthResultNodeArrayOutput

func (i GetServiceHealthResultNodeArray) ToGetServiceHealthResultNodeArrayOutput() GetServiceHealthResultNodeArrayOutput

func (GetServiceHealthResultNodeArray) ToGetServiceHealthResultNodeArrayOutputWithContext

func (i GetServiceHealthResultNodeArray) ToGetServiceHealthResultNodeArrayOutputWithContext(ctx context.Context) GetServiceHealthResultNodeArrayOutput

type GetServiceHealthResultNodeArrayInput

type GetServiceHealthResultNodeArrayInput interface {
	pulumi.Input

	ToGetServiceHealthResultNodeArrayOutput() GetServiceHealthResultNodeArrayOutput
	ToGetServiceHealthResultNodeArrayOutputWithContext(context.Context) GetServiceHealthResultNodeArrayOutput
}

GetServiceHealthResultNodeArrayInput is an input type that accepts GetServiceHealthResultNodeArray and GetServiceHealthResultNodeArrayOutput values. You can construct a concrete instance of `GetServiceHealthResultNodeArrayInput` via:

GetServiceHealthResultNodeArray{ GetServiceHealthResultNodeArgs{...} }

type GetServiceHealthResultNodeArrayOutput

type GetServiceHealthResultNodeArrayOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultNodeArrayOutput) ElementType

func (GetServiceHealthResultNodeArrayOutput) Index

func (GetServiceHealthResultNodeArrayOutput) ToGetServiceHealthResultNodeArrayOutput

func (o GetServiceHealthResultNodeArrayOutput) ToGetServiceHealthResultNodeArrayOutput() GetServiceHealthResultNodeArrayOutput

func (GetServiceHealthResultNodeArrayOutput) ToGetServiceHealthResultNodeArrayOutputWithContext

func (o GetServiceHealthResultNodeArrayOutput) ToGetServiceHealthResultNodeArrayOutputWithContext(ctx context.Context) GetServiceHealthResultNodeArrayOutput

type GetServiceHealthResultNodeInput

type GetServiceHealthResultNodeInput interface {
	pulumi.Input

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

GetServiceHealthResultNodeInput is an input type that accepts GetServiceHealthResultNodeArgs and GetServiceHealthResultNodeOutput values. You can construct a concrete instance of `GetServiceHealthResultNodeInput` via:

GetServiceHealthResultNodeArgs{...}

type GetServiceHealthResultNodeOutput

type GetServiceHealthResultNodeOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultNodeOutput) Address

The address of this instance.

func (GetServiceHealthResultNodeOutput) Datacenter

The Consul datacenter to query.

func (GetServiceHealthResultNodeOutput) ElementType

func (GetServiceHealthResultNodeOutput) Id

The ID of this health-check.

func (GetServiceHealthResultNodeOutput) Meta

Service metadata tag information, if any.

func (GetServiceHealthResultNodeOutput) Name

The service name to select.

func (GetServiceHealthResultNodeOutput) TaggedAddresses

func (GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutput

func (o GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput

func (GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutputWithContext

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

type GetServiceHealthResultOutput

type GetServiceHealthResultOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultOutput) Checks

func (GetServiceHealthResultOutput) ElementType

func (GetServiceHealthResultOutput) Nodes

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

func (GetServiceHealthResultOutput) Services

func (GetServiceHealthResultOutput) ToGetServiceHealthResultOutput

func (o GetServiceHealthResultOutput) ToGetServiceHealthResultOutput() GetServiceHealthResultOutput

func (GetServiceHealthResultOutput) ToGetServiceHealthResultOutputWithContext

func (o GetServiceHealthResultOutput) ToGetServiceHealthResultOutputWithContext(ctx context.Context) GetServiceHealthResultOutput

type GetServiceHealthResultService

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

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

func (GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutput

func (i GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput

func (GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutputWithContext

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

type GetServiceHealthResultServiceArray

type GetServiceHealthResultServiceArray []GetServiceHealthResultServiceInput

func (GetServiceHealthResultServiceArray) ElementType

func (GetServiceHealthResultServiceArray) ToGetServiceHealthResultServiceArrayOutput

func (i GetServiceHealthResultServiceArray) ToGetServiceHealthResultServiceArrayOutput() GetServiceHealthResultServiceArrayOutput

func (GetServiceHealthResultServiceArray) ToGetServiceHealthResultServiceArrayOutputWithContext

func (i GetServiceHealthResultServiceArray) ToGetServiceHealthResultServiceArrayOutputWithContext(ctx context.Context) GetServiceHealthResultServiceArrayOutput

type GetServiceHealthResultServiceArrayInput

type GetServiceHealthResultServiceArrayInput interface {
	pulumi.Input

	ToGetServiceHealthResultServiceArrayOutput() GetServiceHealthResultServiceArrayOutput
	ToGetServiceHealthResultServiceArrayOutputWithContext(context.Context) GetServiceHealthResultServiceArrayOutput
}

GetServiceHealthResultServiceArrayInput is an input type that accepts GetServiceHealthResultServiceArray and GetServiceHealthResultServiceArrayOutput values. You can construct a concrete instance of `GetServiceHealthResultServiceArrayInput` via:

GetServiceHealthResultServiceArray{ GetServiceHealthResultServiceArgs{...} }

type GetServiceHealthResultServiceArrayOutput

type GetServiceHealthResultServiceArrayOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultServiceArrayOutput) ElementType

func (GetServiceHealthResultServiceArrayOutput) Index

func (GetServiceHealthResultServiceArrayOutput) ToGetServiceHealthResultServiceArrayOutput

func (o GetServiceHealthResultServiceArrayOutput) ToGetServiceHealthResultServiceArrayOutput() GetServiceHealthResultServiceArrayOutput

func (GetServiceHealthResultServiceArrayOutput) ToGetServiceHealthResultServiceArrayOutputWithContext

func (o GetServiceHealthResultServiceArrayOutput) ToGetServiceHealthResultServiceArrayOutputWithContext(ctx context.Context) GetServiceHealthResultServiceArrayOutput

type GetServiceHealthResultServiceInput

type GetServiceHealthResultServiceInput interface {
	pulumi.Input

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

GetServiceHealthResultServiceInput is an input type that accepts GetServiceHealthResultServiceArgs and GetServiceHealthResultServiceOutput values. You can construct a concrete instance of `GetServiceHealthResultServiceInput` via:

GetServiceHealthResultServiceArgs{...}

type GetServiceHealthResultServiceOutput

type GetServiceHealthResultServiceOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultServiceOutput) Address

The address of this instance.

func (GetServiceHealthResultServiceOutput) ElementType

func (GetServiceHealthResultServiceOutput) Id

The ID of this health-check.

func (GetServiceHealthResultServiceOutput) Meta

Service metadata tag information, if any.

func (GetServiceHealthResultServiceOutput) Name

The service name to select.

func (GetServiceHealthResultServiceOutput) Port

The port of this instance.

func (GetServiceHealthResultServiceOutput) Tags

The list of tags associated with this instance.

func (GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutput

func (o GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput

func (GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutputWithContext

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

type GetServiceQueryOption

type GetServiceQueryOption struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	// The namespace to lookup the service.
	Namespace *string           `pulumi:"namespace"`
	Near      *string           `pulumi:"near"`
	NodeMeta  map[string]string `pulumi:"nodeMeta"`
	Partition *string           `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent *bool `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token *string `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex *int `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime *string `pulumi:"waitTime"`
}

type GetServiceQueryOptionArgs

type GetServiceQueryOptionArgs struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	// The namespace to lookup the service.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	Near      pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta  pulumi.StringMapInput `pulumi:"nodeMeta"`
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token pulumi.StringPtrInput `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetServiceQueryOptionArgs) ElementType

func (GetServiceQueryOptionArgs) ElementType() reflect.Type

func (GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutput

func (i GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutput() GetServiceQueryOptionOutput

func (GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutputWithContext

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

type GetServiceQueryOptionArray

type GetServiceQueryOptionArray []GetServiceQueryOptionInput

func (GetServiceQueryOptionArray) ElementType

func (GetServiceQueryOptionArray) ElementType() reflect.Type

func (GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutput

func (i GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput

func (GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutputWithContext

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

type GetServiceQueryOptionArrayInput

type GetServiceQueryOptionArrayInput interface {
	pulumi.Input

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

GetServiceQueryOptionArrayInput is an input type that accepts GetServiceQueryOptionArray and GetServiceQueryOptionArrayOutput values. You can construct a concrete instance of `GetServiceQueryOptionArrayInput` via:

GetServiceQueryOptionArray{ GetServiceQueryOptionArgs{...} }

type GetServiceQueryOptionArrayOutput

type GetServiceQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetServiceQueryOptionArrayOutput) ElementType

func (GetServiceQueryOptionArrayOutput) Index

func (GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutput

func (o GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput

func (GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutputWithContext

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

type GetServiceQueryOptionInput

type GetServiceQueryOptionInput interface {
	pulumi.Input

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

GetServiceQueryOptionInput is an input type that accepts GetServiceQueryOptionArgs and GetServiceQueryOptionOutput values. You can construct a concrete instance of `GetServiceQueryOptionInput` via:

GetServiceQueryOptionArgs{...}

type GetServiceQueryOptionOutput

type GetServiceQueryOptionOutput struct{ *pulumi.OutputState }

func (GetServiceQueryOptionOutput) AllowStale

When `true`, the default, allow responses from Consul servers that are followers.

func (GetServiceQueryOptionOutput) Datacenter

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

func (GetServiceQueryOptionOutput) Namespace

The namespace to lookup the service.

func (GetServiceQueryOptionOutput) Near

func (GetServiceQueryOptionOutput) NodeMeta

func (GetServiceQueryOptionOutput) Partition

func (GetServiceQueryOptionOutput) RequireConsistent

func (o GetServiceQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput

When `true` force the client to perform a read on at least quorum servers and verify the result is the same. Defaults to `false`.

func (GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutput

func (o GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutput() GetServiceQueryOptionOutput

func (GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutputWithContext

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

func (GetServiceQueryOptionOutput) Token

Specify the Consul ACL token to use when performing the request. This defaults to the same API token configured by the `consul` provider but may be overridden if necessary.

func (GetServiceQueryOptionOutput) WaitIndex

Index number used to enable blocking queries.

func (GetServiceQueryOptionOutput) WaitTime

Max time the client should wait for a blocking query to return.

type GetServiceService

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

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

func (GetServiceServiceArgs) ElementType() reflect.Type

func (GetServiceServiceArgs) ToGetServiceServiceOutput

func (i GetServiceServiceArgs) ToGetServiceServiceOutput() GetServiceServiceOutput

func (GetServiceServiceArgs) ToGetServiceServiceOutputWithContext

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

type GetServiceServiceArray

type GetServiceServiceArray []GetServiceServiceInput

func (GetServiceServiceArray) ElementType

func (GetServiceServiceArray) ElementType() reflect.Type

func (GetServiceServiceArray) ToGetServiceServiceArrayOutput

func (i GetServiceServiceArray) ToGetServiceServiceArrayOutput() GetServiceServiceArrayOutput

func (GetServiceServiceArray) ToGetServiceServiceArrayOutputWithContext

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

type GetServiceServiceArrayInput

type GetServiceServiceArrayInput interface {
	pulumi.Input

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

GetServiceServiceArrayInput is an input type that accepts GetServiceServiceArray and GetServiceServiceArrayOutput values. You can construct a concrete instance of `GetServiceServiceArrayInput` via:

GetServiceServiceArray{ GetServiceServiceArgs{...} }

type GetServiceServiceArrayOutput

type GetServiceServiceArrayOutput struct{ *pulumi.OutputState }

func (GetServiceServiceArrayOutput) ElementType

func (GetServiceServiceArrayOutput) Index

func (GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutput

func (o GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutput() GetServiceServiceArrayOutput

func (GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutputWithContext

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

type GetServiceServiceInput

type GetServiceServiceInput interface {
	pulumi.Input

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

GetServiceServiceInput is an input type that accepts GetServiceServiceArgs and GetServiceServiceOutput values. You can construct a concrete instance of `GetServiceServiceInput` via:

GetServiceServiceArgs{...}

type GetServiceServiceOutput

type GetServiceServiceOutput struct{ *pulumi.OutputState }

func (GetServiceServiceOutput) Address

func (GetServiceServiceOutput) CreateIndex

func (GetServiceServiceOutput) ElementType

func (GetServiceServiceOutput) ElementType() reflect.Type

func (GetServiceServiceOutput) EnableTagOverride

func (o GetServiceServiceOutput) EnableTagOverride() pulumi.StringOutput

func (GetServiceServiceOutput) Id

func (GetServiceServiceOutput) Meta

func (GetServiceServiceOutput) ModifyIndex

func (GetServiceServiceOutput) Name

The service name to select.

func (GetServiceServiceOutput) NodeAddress

func (GetServiceServiceOutput) NodeId

The Node ID of the Consul agent advertising the service.

func (GetServiceServiceOutput) NodeMeta

func (GetServiceServiceOutput) NodeName

func (GetServiceServiceOutput) Port

func (GetServiceServiceOutput) TaggedAddresses

func (o GetServiceServiceOutput) TaggedAddresses() pulumi.StringMapOutput

func (GetServiceServiceOutput) Tags

func (GetServiceServiceOutput) ToGetServiceServiceOutput

func (o GetServiceServiceOutput) ToGetServiceServiceOutput() GetServiceServiceOutput

func (GetServiceServiceOutput) ToGetServiceServiceOutputWithContext

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 GetServicesOutputArgs

type GetServicesOutputArgs struct {
	// See below.
	QueryOptions GetServicesQueryOptionArrayInput `pulumi:"queryOptions"`
}

A collection of arguments for invoking getServices.

func (GetServicesOutputArgs) ElementType

func (GetServicesOutputArgs) ElementType() reflect.Type

type GetServicesQueryOption

type GetServicesQueryOption struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	// The namespace to lookup the services.
	Namespace *string           `pulumi:"namespace"`
	Near      *string           `pulumi:"near"`
	NodeMeta  map[string]string `pulumi:"nodeMeta"`
	Partition *string           `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent *bool `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token *string `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex *int `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime *string `pulumi:"waitTime"`
}

type GetServicesQueryOptionArgs

type GetServicesQueryOptionArgs struct {
	// When `true`, the default, allow responses from
	// Consul servers that are followers.
	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"`
	// The namespace to lookup the services.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	Near      pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta  pulumi.StringMapInput `pulumi:"nodeMeta"`
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// When `true` force the client to perform a
	// read on at least quorum servers and verify the result is the same.  Defaults
	// to `false`.
	RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"`
	// Specify the Consul ACL token to use when performing the
	// request.  This defaults to the same API token configured by the `consul`
	// provider but may be overridden if necessary.
	Token pulumi.StringPtrInput `pulumi:"token"`
	// Index number used to enable blocking queries.
	WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"`
	// Max time the client should wait for a blocking query
	// to return.
	WaitTime pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetServicesQueryOptionArgs) ElementType

func (GetServicesQueryOptionArgs) ElementType() reflect.Type

func (GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutput

func (i GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutput() GetServicesQueryOptionOutput

func (GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutputWithContext

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

type GetServicesQueryOptionArray

type GetServicesQueryOptionArray []GetServicesQueryOptionInput

func (GetServicesQueryOptionArray) ElementType

func (GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutput

func (i GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput

func (GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutputWithContext

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

type GetServicesQueryOptionArrayInput

type GetServicesQueryOptionArrayInput interface {
	pulumi.Input

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

GetServicesQueryOptionArrayInput is an input type that accepts GetServicesQueryOptionArray and GetServicesQueryOptionArrayOutput values. You can construct a concrete instance of `GetServicesQueryOptionArrayInput` via:

GetServicesQueryOptionArray{ GetServicesQueryOptionArgs{...} }

type GetServicesQueryOptionArrayOutput

type GetServicesQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetServicesQueryOptionArrayOutput) ElementType

func (GetServicesQueryOptionArrayOutput) Index

func (GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutput

func (o GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput

func (GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutputWithContext

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

type GetServicesQueryOptionInput

type GetServicesQueryOptionInput interface {
	pulumi.Input

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

GetServicesQueryOptionInput is an input type that accepts GetServicesQueryOptionArgs and GetServicesQueryOptionOutput values. You can construct a concrete instance of `GetServicesQueryOptionInput` via:

GetServicesQueryOptionArgs{...}

type GetServicesQueryOptionOutput

type GetServicesQueryOptionOutput struct{ *pulumi.OutputState }

func (GetServicesQueryOptionOutput) AllowStale

When `true`, the default, allow responses from Consul servers that are followers.

func (GetServicesQueryOptionOutput) Datacenter

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

func (GetServicesQueryOptionOutput) Namespace

The namespace to lookup the services.

func (GetServicesQueryOptionOutput) Near

func (GetServicesQueryOptionOutput) NodeMeta

func (GetServicesQueryOptionOutput) Partition

func (GetServicesQueryOptionOutput) RequireConsistent

func (o GetServicesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput

When `true` force the client to perform a read on at least quorum servers and verify the result is the same. Defaults to `false`.

func (GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutput

func (o GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutput() GetServicesQueryOptionOutput

func (GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutputWithContext

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

func (GetServicesQueryOptionOutput) Token

Specify the Consul ACL token to use when performing the request. This defaults to the same API token configured by the `consul` provider but may be overridden if necessary.

func (GetServicesQueryOptionOutput) WaitIndex

Index number used to enable blocking queries.

func (GetServicesQueryOptionOutput) WaitTime

Max time the client should wait for a blocking query to return.

type GetServicesResult

type GetServicesResult struct {
	// The datacenter the keys are being read from to.
	Datacenter string `pulumi:"datacenter"`
	// 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 map of the tags found for each service.  If more than one service
	// shares the same tag, unique service names will be joined by whitespace (this
	// is the inverse of `services` and can be used to lookup the services that match
	// a single tag).
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getServices.

func GetServices

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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi-example/sdk/go/example"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.GetServices(ctx, &consul.GetServicesArgs{
			QueryOptions: []consul.GetServicesQueryOption{
				{
					Datacenter: pulumi.StringRef("dc1"),
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		// Set the description to a whitespace delimited list of the services
		_, err = example.NewResource(ctx, "app", &example.ResourceArgs{
			Description: std.Join(ctx, &std.JoinArgs{
				Separator: " ",
				Input:     names,
			}, nil).Result,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetServicesResultOutput

type GetServicesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServices.

func (GetServicesResultOutput) Datacenter

The datacenter the keys are being read from to.

func (GetServicesResultOutput) ElementType

func (GetServicesResultOutput) ElementType() reflect.Type

func (GetServicesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServicesResultOutput) Names

func (GetServicesResultOutput) QueryOptions

func (GetServicesResultOutput) Services

func (GetServicesResultOutput) Tags

A map of the tags found for each service. If more than one service shares the same tag, unique service names will be joined by whitespace (this is the inverse of `services` and can be used to lookup the services that match a single tag).

func (GetServicesResultOutput) ToGetServicesResultOutput

func (o GetServicesResultOutput) ToGetServicesResultOutput() GetServicesResultOutput

func (GetServicesResultOutput) ToGetServicesResultOutputWithContext

func (o GetServicesResultOutput) ToGetServicesResultOutputWithContext(ctx context.Context) GetServicesResultOutput

type Intention

type Intention struct {
	pulumi.CustomResourceState

	// The intention action. Must be one of `allow` or `deny`.
	Action pulumi.StringOutput `pulumi:"action"`
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringOutput `pulumi:"datacenter"`
	// 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).

> **NOTE:** This resource is appropriate for managing legacy intentions in Consul version 1.8 and earlier. As of Consul 1.9, intentions should be managed using the [`service-intentions`](https://www.consul.io/docs/connect/intentions) configuration entry. It is recommended to migrate from the `Intention` resource to `ConfigEntry` when running Consul 1.9 and later.

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.

## Example Usage

Create a simplest intention with static service names:

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewIntention(ctx, "database", &consul.IntentionArgs{
			SourceName:      pulumi.String("api"),
			DestinationName: pulumi.String("db"),
			Action:          pulumi.String("allow"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Referencing a known service via a datasource:

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewIntention(ctx, "database", &consul.IntentionArgs{
			SourceName:      pulumi.String("api"),
			DestinationName: pulumi.Any(pgConsulService.Name),
			Action:          pulumi.String("allow"),
		})
		if err != nil {
			return err
		}
		_, err = consul.LookupService(ctx, &consul.LookupServiceArgs{
			Name: "postgresql",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`consul_intention` can be imported:

```sh $ pulumi import consul:index/intention:Intention database 657a57d6-0d56-57e2-31cb-e9f1ed3c18dd ```

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.

func (*Intention) ElementType

func (*Intention) ElementType() reflect.Type

func (*Intention) ToIntentionOutput

func (i *Intention) ToIntentionOutput() IntentionOutput

func (*Intention) ToIntentionOutputWithContext

func (i *Intention) ToIntentionOutputWithContext(ctx context.Context) IntentionOutput

type IntentionArgs

type IntentionArgs struct {
	// The intention action. Must be one of `allow` or `deny`.
	Action pulumi.StringInput
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter 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.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

func (IntentionArgs) ElementType() reflect.Type

type IntentionArray

type IntentionArray []IntentionInput

func (IntentionArray) ElementType

func (IntentionArray) ElementType() reflect.Type

func (IntentionArray) ToIntentionArrayOutput

func (i IntentionArray) ToIntentionArrayOutput() IntentionArrayOutput

func (IntentionArray) ToIntentionArrayOutputWithContext

func (i IntentionArray) ToIntentionArrayOutputWithContext(ctx context.Context) IntentionArrayOutput

type IntentionArrayInput

type IntentionArrayInput interface {
	pulumi.Input

	ToIntentionArrayOutput() IntentionArrayOutput
	ToIntentionArrayOutputWithContext(context.Context) IntentionArrayOutput
}

IntentionArrayInput is an input type that accepts IntentionArray and IntentionArrayOutput values. You can construct a concrete instance of `IntentionArrayInput` via:

IntentionArray{ IntentionArgs{...} }

type IntentionArrayOutput

type IntentionArrayOutput struct{ *pulumi.OutputState }

func (IntentionArrayOutput) ElementType

func (IntentionArrayOutput) ElementType() reflect.Type

func (IntentionArrayOutput) Index

func (IntentionArrayOutput) ToIntentionArrayOutput

func (o IntentionArrayOutput) ToIntentionArrayOutput() IntentionArrayOutput

func (IntentionArrayOutput) ToIntentionArrayOutputWithContext

func (o IntentionArrayOutput) ToIntentionArrayOutputWithContext(ctx context.Context) IntentionArrayOutput

type IntentionInput

type IntentionInput interface {
	pulumi.Input

	ToIntentionOutput() IntentionOutput
	ToIntentionOutputWithContext(ctx context.Context) IntentionOutput
}

type IntentionMap

type IntentionMap map[string]IntentionInput

func (IntentionMap) ElementType

func (IntentionMap) ElementType() reflect.Type

func (IntentionMap) ToIntentionMapOutput

func (i IntentionMap) ToIntentionMapOutput() IntentionMapOutput

func (IntentionMap) ToIntentionMapOutputWithContext

func (i IntentionMap) ToIntentionMapOutputWithContext(ctx context.Context) IntentionMapOutput

type IntentionMapInput

type IntentionMapInput interface {
	pulumi.Input

	ToIntentionMapOutput() IntentionMapOutput
	ToIntentionMapOutputWithContext(context.Context) IntentionMapOutput
}

IntentionMapInput is an input type that accepts IntentionMap and IntentionMapOutput values. You can construct a concrete instance of `IntentionMapInput` via:

IntentionMap{ "key": IntentionArgs{...} }

type IntentionMapOutput

type IntentionMapOutput struct{ *pulumi.OutputState }

func (IntentionMapOutput) ElementType

func (IntentionMapOutput) ElementType() reflect.Type

func (IntentionMapOutput) MapIndex

func (IntentionMapOutput) ToIntentionMapOutput

func (o IntentionMapOutput) ToIntentionMapOutput() IntentionMapOutput

func (IntentionMapOutput) ToIntentionMapOutputWithContext

func (o IntentionMapOutput) ToIntentionMapOutputWithContext(ctx context.Context) IntentionMapOutput

type IntentionOutput

type IntentionOutput struct{ *pulumi.OutputState }

func (IntentionOutput) Action

func (o IntentionOutput) Action() pulumi.StringOutput

The intention action. Must be one of `allow` or `deny`.

func (IntentionOutput) Datacenter

func (o IntentionOutput) Datacenter() pulumi.StringOutput

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (IntentionOutput) Description

func (o IntentionOutput) Description() pulumi.StringPtrOutput

Optional description that can be used by Consul tooling, but is not used internally.

func (IntentionOutput) DestinationName

func (o IntentionOutput) DestinationName() pulumi.StringOutput

The name of the destination service for the intention. This service does not have to exist.

func (IntentionOutput) DestinationNamespace

func (o IntentionOutput) DestinationNamespace() pulumi.StringPtrOutput

The destination namespace of the intention.

func (IntentionOutput) ElementType

func (IntentionOutput) ElementType() reflect.Type

func (IntentionOutput) Meta

Key/value pairs that are opaque to Consul and are associated with the intention.

func (IntentionOutput) SourceName

func (o IntentionOutput) SourceName() pulumi.StringOutput

The name of the source service for the intention. This service does not have to exist.

func (IntentionOutput) SourceNamespace

func (o IntentionOutput) SourceNamespace() pulumi.StringPtrOutput

The source namespace of the intention.

func (IntentionOutput) ToIntentionOutput

func (o IntentionOutput) ToIntentionOutput() IntentionOutput

func (IntentionOutput) ToIntentionOutputWithContext

func (o IntentionOutput) ToIntentionOutputWithContext(ctx context.Context) IntentionOutput

type IntentionState

type IntentionState struct {
	// The intention action. Must be one of `allow` or `deny`.
	Action pulumi.StringPtrInput
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter 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

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"`
	// The admin partition to create the keys within.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// 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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewKeyPrefix(ctx, "myapp_config", &consul.KeyPrefixArgs{
			Datacenter: pulumi.String("nyc1"),
			Token:      pulumi.String("abcd"),
			PathPrefix: pulumi.String("myapp/config/"),
			Subkeys: pulumi.StringMap{
				"elb_cname":         pulumi.Any(appAwsElb.DnsName),
				"s3_bucket_name":    pulumi.Any(appAwsS3Bucket.Bucket),
				"database/hostname": pulumi.Any(app.Address),
				"database/port":     pulumi.Any(app.Port),
				"database/username": pulumi.Any(app.Username),
				"database/name":     pulumi.Any(app.Name),
			},
			SubkeyCollection: consul.KeyPrefixSubkeyCollectionArray{
				&consul.KeyPrefixSubkeyCollectionArgs{
					Path:  pulumi.String("database/password"),
					Value: pulumi.Any(app.Password),
					Flags: pulumi.Int(2),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`consul_key_prefix` can be imported. This is useful when the path already exists and you know all keys in path should be managed by Terraform.

```sh $ pulumi import consul:index/keyPrefix:KeyPrefix myapp_config myapp/config/ ```

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.

func (*KeyPrefix) ElementType

func (*KeyPrefix) ElementType() reflect.Type

func (*KeyPrefix) ToKeyPrefixOutput

func (i *KeyPrefix) ToKeyPrefixOutput() KeyPrefixOutput

func (*KeyPrefix) ToKeyPrefixOutputWithContext

func (i *KeyPrefix) ToKeyPrefixOutputWithContext(ctx context.Context) KeyPrefixOutput

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
	// The admin partition to create the keys within.
	Partition 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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a KeyPrefix resource.

func (KeyPrefixArgs) ElementType

func (KeyPrefixArgs) ElementType() reflect.Type

type KeyPrefixArray

type KeyPrefixArray []KeyPrefixInput

func (KeyPrefixArray) ElementType

func (KeyPrefixArray) ElementType() reflect.Type

func (KeyPrefixArray) ToKeyPrefixArrayOutput

func (i KeyPrefixArray) ToKeyPrefixArrayOutput() KeyPrefixArrayOutput

func (KeyPrefixArray) ToKeyPrefixArrayOutputWithContext

func (i KeyPrefixArray) ToKeyPrefixArrayOutputWithContext(ctx context.Context) KeyPrefixArrayOutput

type KeyPrefixArrayInput

type KeyPrefixArrayInput interface {
	pulumi.Input

	ToKeyPrefixArrayOutput() KeyPrefixArrayOutput
	ToKeyPrefixArrayOutputWithContext(context.Context) KeyPrefixArrayOutput
}

KeyPrefixArrayInput is an input type that accepts KeyPrefixArray and KeyPrefixArrayOutput values. You can construct a concrete instance of `KeyPrefixArrayInput` via:

KeyPrefixArray{ KeyPrefixArgs{...} }

type KeyPrefixArrayOutput

type KeyPrefixArrayOutput struct{ *pulumi.OutputState }

func (KeyPrefixArrayOutput) ElementType

func (KeyPrefixArrayOutput) ElementType() reflect.Type

func (KeyPrefixArrayOutput) Index

func (KeyPrefixArrayOutput) ToKeyPrefixArrayOutput

func (o KeyPrefixArrayOutput) ToKeyPrefixArrayOutput() KeyPrefixArrayOutput

func (KeyPrefixArrayOutput) ToKeyPrefixArrayOutputWithContext

func (o KeyPrefixArrayOutput) ToKeyPrefixArrayOutputWithContext(ctx context.Context) KeyPrefixArrayOutput

type KeyPrefixInput

type KeyPrefixInput interface {
	pulumi.Input

	ToKeyPrefixOutput() KeyPrefixOutput
	ToKeyPrefixOutputWithContext(ctx context.Context) KeyPrefixOutput
}

type KeyPrefixMap

type KeyPrefixMap map[string]KeyPrefixInput

func (KeyPrefixMap) ElementType

func (KeyPrefixMap) ElementType() reflect.Type

func (KeyPrefixMap) ToKeyPrefixMapOutput

func (i KeyPrefixMap) ToKeyPrefixMapOutput() KeyPrefixMapOutput

func (KeyPrefixMap) ToKeyPrefixMapOutputWithContext

func (i KeyPrefixMap) ToKeyPrefixMapOutputWithContext(ctx context.Context) KeyPrefixMapOutput

type KeyPrefixMapInput

type KeyPrefixMapInput interface {
	pulumi.Input

	ToKeyPrefixMapOutput() KeyPrefixMapOutput
	ToKeyPrefixMapOutputWithContext(context.Context) KeyPrefixMapOutput
}

KeyPrefixMapInput is an input type that accepts KeyPrefixMap and KeyPrefixMapOutput values. You can construct a concrete instance of `KeyPrefixMapInput` via:

KeyPrefixMap{ "key": KeyPrefixArgs{...} }

type KeyPrefixMapOutput

type KeyPrefixMapOutput struct{ *pulumi.OutputState }

func (KeyPrefixMapOutput) ElementType

func (KeyPrefixMapOutput) ElementType() reflect.Type

func (KeyPrefixMapOutput) MapIndex

func (KeyPrefixMapOutput) ToKeyPrefixMapOutput

func (o KeyPrefixMapOutput) ToKeyPrefixMapOutput() KeyPrefixMapOutput

func (KeyPrefixMapOutput) ToKeyPrefixMapOutputWithContext

func (o KeyPrefixMapOutput) ToKeyPrefixMapOutputWithContext(ctx context.Context) KeyPrefixMapOutput

type KeyPrefixOutput

type KeyPrefixOutput struct{ *pulumi.OutputState }

func (KeyPrefixOutput) Datacenter

func (o KeyPrefixOutput) Datacenter() pulumi.StringOutput

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (KeyPrefixOutput) ElementType

func (KeyPrefixOutput) ElementType() reflect.Type

func (KeyPrefixOutput) Namespace

func (o KeyPrefixOutput) Namespace() pulumi.StringPtrOutput

The namespace to create the keys within.

func (KeyPrefixOutput) Partition

func (o KeyPrefixOutput) Partition() pulumi.StringPtrOutput

The admin partition to create the keys within.

func (KeyPrefixOutput) PathPrefix

func (o KeyPrefixOutput) PathPrefix() pulumi.StringOutput

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.

func (KeyPrefixOutput) SubkeyCollection

A subkey to add. Supported values documented below. Multiple blocks supported.

func (KeyPrefixOutput) Subkeys

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.

func (KeyPrefixOutput) ToKeyPrefixOutput

func (o KeyPrefixOutput) ToKeyPrefixOutput() KeyPrefixOutput

func (KeyPrefixOutput) ToKeyPrefixOutputWithContext

func (o KeyPrefixOutput) ToKeyPrefixOutputWithContext(ctx context.Context) KeyPrefixOutput

func (KeyPrefixOutput) Token deprecated

The ACL token to use. This overrides the token that the agent provides by default.

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

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
	// The admin partition to create the keys within.
	Partition 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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
}

func (KeyPrefixState) ElementType

func (KeyPrefixState) ElementType() reflect.Type

type KeyPrefixSubkeyCollection

type KeyPrefixSubkeyCollection struct {
	// An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1)
	// to attach to the key (defaults to 0).
	Flags *int `pulumi:"flags"`
	// This is the path (which will be appended to the given
	// `pathPrefix`) in Consul that should be written to.
	Path string `pulumi:"path"`
	// The value to write to the given path.
	Value string `pulumi:"value"`
}

type KeyPrefixSubkeyCollectionArgs

type KeyPrefixSubkeyCollectionArgs struct {
	// An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1)
	// to attach to the key (defaults to 0).
	Flags pulumi.IntPtrInput `pulumi:"flags"`
	// This is the path (which will be appended to the given
	// `pathPrefix`) in Consul that should be written to.
	Path pulumi.StringInput `pulumi:"path"`
	// The value to write to the given path.
	Value pulumi.StringInput `pulumi:"value"`
}

func (KeyPrefixSubkeyCollectionArgs) ElementType

func (KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutput

func (i KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput

func (KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutputWithContext

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

type KeyPrefixSubkeyCollectionArray

type KeyPrefixSubkeyCollectionArray []KeyPrefixSubkeyCollectionInput

func (KeyPrefixSubkeyCollectionArray) ElementType

func (KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutput

func (i KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput

func (KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutputWithContext

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

type KeyPrefixSubkeyCollectionArrayInput

type KeyPrefixSubkeyCollectionArrayInput interface {
	pulumi.Input

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

KeyPrefixSubkeyCollectionArrayInput is an input type that accepts KeyPrefixSubkeyCollectionArray and KeyPrefixSubkeyCollectionArrayOutput values. You can construct a concrete instance of `KeyPrefixSubkeyCollectionArrayInput` via:

KeyPrefixSubkeyCollectionArray{ KeyPrefixSubkeyCollectionArgs{...} }

type KeyPrefixSubkeyCollectionArrayOutput

type KeyPrefixSubkeyCollectionArrayOutput struct{ *pulumi.OutputState }

func (KeyPrefixSubkeyCollectionArrayOutput) ElementType

func (KeyPrefixSubkeyCollectionArrayOutput) Index

func (KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutput

func (o KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput

func (KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutputWithContext

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

type KeyPrefixSubkeyCollectionInput

type KeyPrefixSubkeyCollectionInput interface {
	pulumi.Input

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

KeyPrefixSubkeyCollectionInput is an input type that accepts KeyPrefixSubkeyCollectionArgs and KeyPrefixSubkeyCollectionOutput values. You can construct a concrete instance of `KeyPrefixSubkeyCollectionInput` via:

KeyPrefixSubkeyCollectionArgs{...}

type KeyPrefixSubkeyCollectionOutput

type KeyPrefixSubkeyCollectionOutput struct{ *pulumi.OutputState }

func (KeyPrefixSubkeyCollectionOutput) ElementType

func (KeyPrefixSubkeyCollectionOutput) Flags

An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1) to attach to the key (defaults to 0).

func (KeyPrefixSubkeyCollectionOutput) Path

This is the path (which will be appended to the given `pathPrefix`) in Consul that should be written to.

func (KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutput

func (o KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput

func (KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutputWithContext

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

func (KeyPrefixSubkeyCollectionOutput) Value

The value to write to the given path.

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 partition to create the keys within.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrOutput `pulumi:"token"`
	Var   pulumi.StringMapOutput `pulumi:"var"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewKeys(ctx, "app", &consul.KeysArgs{
			Datacenter: pulumi.String("nyc1"),
			Token:      pulumi.String("abcd"),
			Keys: consul.KeysKeyArray{
				&consul.KeysKeyArgs{
					Path:  pulumi.String("service/app/elb_address"),
					Value: pulumi.Any(appAwsElb.DnsName),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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.

func (*Keys) ElementType

func (*Keys) ElementType() reflect.Type

func (*Keys) ToKeysOutput

func (i *Keys) ToKeysOutput() KeysOutput

func (*Keys) ToKeysOutputWithContext

func (i *Keys) ToKeysOutputWithContext(ctx context.Context) KeysOutput

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 partition to create the keys within.
	Partition pulumi.StringPtrInput
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Keys resource.

func (KeysArgs) ElementType

func (KeysArgs) ElementType() reflect.Type

type KeysArray

type KeysArray []KeysInput

func (KeysArray) ElementType

func (KeysArray) ElementType() reflect.Type

func (KeysArray) ToKeysArrayOutput

func (i KeysArray) ToKeysArrayOutput() KeysArrayOutput

func (KeysArray) ToKeysArrayOutputWithContext

func (i KeysArray) ToKeysArrayOutputWithContext(ctx context.Context) KeysArrayOutput

type KeysArrayInput

type KeysArrayInput interface {
	pulumi.Input

	ToKeysArrayOutput() KeysArrayOutput
	ToKeysArrayOutputWithContext(context.Context) KeysArrayOutput
}

KeysArrayInput is an input type that accepts KeysArray and KeysArrayOutput values. You can construct a concrete instance of `KeysArrayInput` via:

KeysArray{ KeysArgs{...} }

type KeysArrayOutput

type KeysArrayOutput struct{ *pulumi.OutputState }

func (KeysArrayOutput) ElementType

func (KeysArrayOutput) ElementType() reflect.Type

func (KeysArrayOutput) Index

func (KeysArrayOutput) ToKeysArrayOutput

func (o KeysArrayOutput) ToKeysArrayOutput() KeysArrayOutput

func (KeysArrayOutput) ToKeysArrayOutputWithContext

func (o KeysArrayOutput) ToKeysArrayOutputWithContext(ctx context.Context) KeysArrayOutput

type KeysInput

type KeysInput interface {
	pulumi.Input

	ToKeysOutput() KeysOutput
	ToKeysOutputWithContext(ctx context.Context) KeysOutput
}

type KeysKey

type KeysKey struct {
	Default *string `pulumi:"default"`
	// If true, then the key will be deleted when
	// either its configuration block is removed from the configuration or
	// the entire resource is destroyed. Otherwise, it will be left in Consul.
	// Defaults to false.
	Delete *bool `pulumi:"delete"`
	// An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1)
	// to attach to the key (defaults to 0).
	Flags *int `pulumi:"flags"`
	// Deprecated: Using Keys resource to *read* is deprecated; please use Keys data source instead
	Name *string `pulumi:"name"`
	// This is the path in Consul that should be written to.
	Path string `pulumi:"path"`
	// The value to write to the given path.
	Value *string `pulumi:"value"`
}

type KeysKeyArgs

type KeysKeyArgs struct {
	Default pulumi.StringPtrInput `pulumi:"default"`
	// If true, then the key will be deleted when
	// either its configuration block is removed from the configuration or
	// the entire resource is destroyed. Otherwise, it will be left in Consul.
	// Defaults to false.
	Delete pulumi.BoolPtrInput `pulumi:"delete"`
	// An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1)
	// to attach to the key (defaults to 0).
	Flags pulumi.IntPtrInput `pulumi:"flags"`
	// Deprecated: Using Keys resource to *read* is deprecated; please use Keys data source instead
	Name pulumi.StringPtrInput `pulumi:"name"`
	// This is the path in Consul that should be written to.
	Path pulumi.StringInput `pulumi:"path"`
	// The value to write to the given path.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (KeysKeyArgs) ElementType

func (KeysKeyArgs) ElementType() reflect.Type

func (KeysKeyArgs) ToKeysKeyOutput

func (i KeysKeyArgs) ToKeysKeyOutput() KeysKeyOutput

func (KeysKeyArgs) ToKeysKeyOutputWithContext

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

type KeysKeyArray

type KeysKeyArray []KeysKeyInput

func (KeysKeyArray) ElementType

func (KeysKeyArray) ElementType() reflect.Type

func (KeysKeyArray) ToKeysKeyArrayOutput

func (i KeysKeyArray) ToKeysKeyArrayOutput() KeysKeyArrayOutput

func (KeysKeyArray) ToKeysKeyArrayOutputWithContext

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

type KeysKeyArrayInput

type KeysKeyArrayInput interface {
	pulumi.Input

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

KeysKeyArrayInput is an input type that accepts KeysKeyArray and KeysKeyArrayOutput values. You can construct a concrete instance of `KeysKeyArrayInput` via:

KeysKeyArray{ KeysKeyArgs{...} }

type KeysKeyArrayOutput

type KeysKeyArrayOutput struct{ *pulumi.OutputState }

func (KeysKeyArrayOutput) ElementType

func (KeysKeyArrayOutput) ElementType() reflect.Type

func (KeysKeyArrayOutput) Index

func (KeysKeyArrayOutput) ToKeysKeyArrayOutput

func (o KeysKeyArrayOutput) ToKeysKeyArrayOutput() KeysKeyArrayOutput

func (KeysKeyArrayOutput) ToKeysKeyArrayOutputWithContext

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

type KeysKeyInput

type KeysKeyInput interface {
	pulumi.Input

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

KeysKeyInput is an input type that accepts KeysKeyArgs and KeysKeyOutput values. You can construct a concrete instance of `KeysKeyInput` via:

KeysKeyArgs{...}

type KeysKeyOutput

type KeysKeyOutput struct{ *pulumi.OutputState }

func (KeysKeyOutput) Default

func (o KeysKeyOutput) Default() pulumi.StringPtrOutput

func (KeysKeyOutput) Delete

func (o KeysKeyOutput) Delete() pulumi.BoolPtrOutput

If true, then the key will be deleted when either its configuration block is removed from the configuration or the entire resource is destroyed. Otherwise, it will be left in Consul. Defaults to false.

func (KeysKeyOutput) ElementType

func (KeysKeyOutput) ElementType() reflect.Type

func (KeysKeyOutput) Flags

func (o KeysKeyOutput) Flags() pulumi.IntPtrOutput

An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1) to attach to the key (defaults to 0).

func (KeysKeyOutput) Name deprecated

Deprecated: Using Keys resource to *read* is deprecated; please use Keys data source instead

func (KeysKeyOutput) Path

This is the path in Consul that should be written to.

func (KeysKeyOutput) ToKeysKeyOutput

func (o KeysKeyOutput) ToKeysKeyOutput() KeysKeyOutput

func (KeysKeyOutput) ToKeysKeyOutputWithContext

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

func (KeysKeyOutput) Value

The value to write to the given path.

type KeysMap

type KeysMap map[string]KeysInput

func (KeysMap) ElementType

func (KeysMap) ElementType() reflect.Type

func (KeysMap) ToKeysMapOutput

func (i KeysMap) ToKeysMapOutput() KeysMapOutput

func (KeysMap) ToKeysMapOutputWithContext

func (i KeysMap) ToKeysMapOutputWithContext(ctx context.Context) KeysMapOutput

type KeysMapInput

type KeysMapInput interface {
	pulumi.Input

	ToKeysMapOutput() KeysMapOutput
	ToKeysMapOutputWithContext(context.Context) KeysMapOutput
}

KeysMapInput is an input type that accepts KeysMap and KeysMapOutput values. You can construct a concrete instance of `KeysMapInput` via:

KeysMap{ "key": KeysArgs{...} }

type KeysMapOutput

type KeysMapOutput struct{ *pulumi.OutputState }

func (KeysMapOutput) ElementType

func (KeysMapOutput) ElementType() reflect.Type

func (KeysMapOutput) MapIndex

func (KeysMapOutput) ToKeysMapOutput

func (o KeysMapOutput) ToKeysMapOutput() KeysMapOutput

func (KeysMapOutput) ToKeysMapOutputWithContext

func (o KeysMapOutput) ToKeysMapOutputWithContext(ctx context.Context) KeysMapOutput

type KeysOutput

type KeysOutput struct{ *pulumi.OutputState }

func (KeysOutput) Datacenter

func (o KeysOutput) Datacenter() pulumi.StringOutput

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (KeysOutput) ElementType

func (KeysOutput) ElementType() reflect.Type

func (KeysOutput) Keys

func (o KeysOutput) Keys() KeysKeyArrayOutput

Specifies a key in Consul to be written. Supported values documented below.

func (KeysOutput) Namespace

func (o KeysOutput) Namespace() pulumi.StringPtrOutput

The namespace to create the keys within.

func (KeysOutput) Partition

func (o KeysOutput) Partition() pulumi.StringPtrOutput

The partition to create the keys within.

func (KeysOutput) ToKeysOutput

func (o KeysOutput) ToKeysOutput() KeysOutput

func (KeysOutput) ToKeysOutputWithContext

func (o KeysOutput) ToKeysOutputWithContext(ctx context.Context) KeysOutput

func (KeysOutput) Token deprecated

func (o KeysOutput) Token() pulumi.StringPtrOutput

The ACL token to use. This overrides the token that the agent provides by default.

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

func (KeysOutput) Var

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 partition to create the keys within.
	Partition pulumi.StringPtrInput
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
	Var   pulumi.StringMapInput
}

func (KeysState) ElementType

func (KeysState) ElementType() reflect.Type

type License

type License struct {
	pulumi.CustomResourceState

	// The ID of the customer the license is attached to.
	CustomerId pulumi.StringOutput `pulumi:"customerId"`
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrOutput `pulumi:"datacenter"`
	// The expiration time of the license.
	ExpirationTime pulumi.StringOutput `pulumi:"expirationTime"`
	// The features for which the license is valid.
	Features pulumi.StringArrayOutput `pulumi:"features"`
	// The ID of the current installation.
	InstallationId pulumi.StringOutput `pulumi:"installationId"`
	// The date the license was issued.
	IssueTime pulumi.StringOutput `pulumi:"issueTime"`
	// The Consul license to use.
	License pulumi.StringOutput `pulumi:"license"`
	// The ID of the license used.
	LicenseId pulumi.StringOutput `pulumi:"licenseId"`
	// The product for which the license is valid.
	Product pulumi.StringOutput `pulumi:"product"`
	// The start time of the license.
	StartTime pulumi.StringOutput `pulumi:"startTime"`
	// Whether the license is valid.
	Valid pulumi.BoolOutput `pulumi:"valid"`
	// A list of warning messages regarding the license validity.
	Warnings pulumi.StringArrayOutput `pulumi:"warnings"`
}

> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).

The `License` resource provides datacenter-level management of the Consul Enterprise license. If ACLs are enabled then a token with operator privileges may be required in order to use this command.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "license.hclic",
		}, nil)
		if err != nil {
			return err
		}
		_, err = consul.NewLicense(ctx, "license", &consul.LicenseArgs{
			License: pulumi.String(invokeFile.Result),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetLicense

func GetLicense(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LicenseState, opts ...pulumi.ResourceOption) (*License, error)

GetLicense gets an existing License 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 NewLicense

func NewLicense(ctx *pulumi.Context,
	name string, args *LicenseArgs, opts ...pulumi.ResourceOption) (*License, error)

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

func (*License) ElementType

func (*License) ElementType() reflect.Type

func (*License) ToLicenseOutput

func (i *License) ToLicenseOutput() LicenseOutput

func (*License) ToLicenseOutputWithContext

func (i *License) ToLicenseOutputWithContext(ctx context.Context) LicenseOutput

type LicenseArgs

type LicenseArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// The Consul license to use.
	License pulumi.StringInput
}

The set of arguments for constructing a License resource.

func (LicenseArgs) ElementType

func (LicenseArgs) ElementType() reflect.Type

type LicenseArray

type LicenseArray []LicenseInput

func (LicenseArray) ElementType

func (LicenseArray) ElementType() reflect.Type

func (LicenseArray) ToLicenseArrayOutput

func (i LicenseArray) ToLicenseArrayOutput() LicenseArrayOutput

func (LicenseArray) ToLicenseArrayOutputWithContext

func (i LicenseArray) ToLicenseArrayOutputWithContext(ctx context.Context) LicenseArrayOutput

type LicenseArrayInput

type LicenseArrayInput interface {
	pulumi.Input

	ToLicenseArrayOutput() LicenseArrayOutput
	ToLicenseArrayOutputWithContext(context.Context) LicenseArrayOutput
}

LicenseArrayInput is an input type that accepts LicenseArray and LicenseArrayOutput values. You can construct a concrete instance of `LicenseArrayInput` via:

LicenseArray{ LicenseArgs{...} }

type LicenseArrayOutput

type LicenseArrayOutput struct{ *pulumi.OutputState }

func (LicenseArrayOutput) ElementType

func (LicenseArrayOutput) ElementType() reflect.Type

func (LicenseArrayOutput) Index

func (LicenseArrayOutput) ToLicenseArrayOutput

func (o LicenseArrayOutput) ToLicenseArrayOutput() LicenseArrayOutput

func (LicenseArrayOutput) ToLicenseArrayOutputWithContext

func (o LicenseArrayOutput) ToLicenseArrayOutputWithContext(ctx context.Context) LicenseArrayOutput

type LicenseInput

type LicenseInput interface {
	pulumi.Input

	ToLicenseOutput() LicenseOutput
	ToLicenseOutputWithContext(ctx context.Context) LicenseOutput
}

type LicenseMap

type LicenseMap map[string]LicenseInput

func (LicenseMap) ElementType

func (LicenseMap) ElementType() reflect.Type

func (LicenseMap) ToLicenseMapOutput

func (i LicenseMap) ToLicenseMapOutput() LicenseMapOutput

func (LicenseMap) ToLicenseMapOutputWithContext

func (i LicenseMap) ToLicenseMapOutputWithContext(ctx context.Context) LicenseMapOutput

type LicenseMapInput

type LicenseMapInput interface {
	pulumi.Input

	ToLicenseMapOutput() LicenseMapOutput
	ToLicenseMapOutputWithContext(context.Context) LicenseMapOutput
}

LicenseMapInput is an input type that accepts LicenseMap and LicenseMapOutput values. You can construct a concrete instance of `LicenseMapInput` via:

LicenseMap{ "key": LicenseArgs{...} }

type LicenseMapOutput

type LicenseMapOutput struct{ *pulumi.OutputState }

func (LicenseMapOutput) ElementType

func (LicenseMapOutput) ElementType() reflect.Type

func (LicenseMapOutput) MapIndex

func (LicenseMapOutput) ToLicenseMapOutput

func (o LicenseMapOutput) ToLicenseMapOutput() LicenseMapOutput

func (LicenseMapOutput) ToLicenseMapOutputWithContext

func (o LicenseMapOutput) ToLicenseMapOutputWithContext(ctx context.Context) LicenseMapOutput

type LicenseOutput

type LicenseOutput struct{ *pulumi.OutputState }

func (LicenseOutput) CustomerId

func (o LicenseOutput) CustomerId() pulumi.StringOutput

The ID of the customer the license is attached to.

func (LicenseOutput) Datacenter

func (o LicenseOutput) Datacenter() pulumi.StringPtrOutput

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (LicenseOutput) ElementType

func (LicenseOutput) ElementType() reflect.Type

func (LicenseOutput) ExpirationTime

func (o LicenseOutput) ExpirationTime() pulumi.StringOutput

The expiration time of the license.

func (LicenseOutput) Features

func (o LicenseOutput) Features() pulumi.StringArrayOutput

The features for which the license is valid.

func (LicenseOutput) InstallationId

func (o LicenseOutput) InstallationId() pulumi.StringOutput

The ID of the current installation.

func (LicenseOutput) IssueTime

func (o LicenseOutput) IssueTime() pulumi.StringOutput

The date the license was issued.

func (LicenseOutput) License

func (o LicenseOutput) License() pulumi.StringOutput

The Consul license to use.

func (LicenseOutput) LicenseId

func (o LicenseOutput) LicenseId() pulumi.StringOutput

The ID of the license used.

func (LicenseOutput) Product

func (o LicenseOutput) Product() pulumi.StringOutput

The product for which the license is valid.

func (LicenseOutput) StartTime

func (o LicenseOutput) StartTime() pulumi.StringOutput

The start time of the license.

func (LicenseOutput) ToLicenseOutput

func (o LicenseOutput) ToLicenseOutput() LicenseOutput

func (LicenseOutput) ToLicenseOutputWithContext

func (o LicenseOutput) ToLicenseOutputWithContext(ctx context.Context) LicenseOutput

func (LicenseOutput) Valid

func (o LicenseOutput) Valid() pulumi.BoolOutput

Whether the license is valid.

func (LicenseOutput) Warnings

func (o LicenseOutput) Warnings() pulumi.StringArrayOutput

A list of warning messages regarding the license validity.

type LicenseState

type LicenseState struct {
	// The ID of the customer the license is attached to.
	CustomerId pulumi.StringPtrInput
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// The expiration time of the license.
	ExpirationTime pulumi.StringPtrInput
	// The features for which the license is valid.
	Features pulumi.StringArrayInput
	// The ID of the current installation.
	InstallationId pulumi.StringPtrInput
	// The date the license was issued.
	IssueTime pulumi.StringPtrInput
	// The Consul license to use.
	License pulumi.StringPtrInput
	// The ID of the license used.
	LicenseId pulumi.StringPtrInput
	// The product for which the license is valid.
	Product pulumi.StringPtrInput
	// The start time of the license.
	StartTime pulumi.StringPtrInput
	// Whether the license is valid.
	Valid pulumi.BoolPtrInput
	// A list of warning messages regarding the license validity.
	Warnings pulumi.StringArrayInput
}

func (LicenseState) ElementType

func (LicenseState) ElementType() reflect.Type

type LookupAclAuthMethodArgs

type LookupAclAuthMethodArgs struct {
	// The name of the ACL Auth Method.
	Name string `pulumi:"name"`
	// The namespace to lookup the auth method.
	Namespace *string `pulumi:"namespace"`
	// The partition to lookup the auth method.
	Partition *string `pulumi:"partition"`
}

A collection of arguments for invoking getAclAuthMethod.

type LookupAclAuthMethodOutputArgs

type LookupAclAuthMethodOutputArgs struct {
	// The name of the ACL Auth Method.
	Name pulumi.StringInput `pulumi:"name"`
	// The namespace to lookup the auth method.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The partition to lookup the auth method.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
}

A collection of arguments for invoking getAclAuthMethod.

func (LookupAclAuthMethodOutputArgs) ElementType

type LookupAclAuthMethodResult

type LookupAclAuthMethodResult struct {
	// The configuration options of the ACL Auth Method. This attribute is
	// deprecated and will be removed in a future version. If the configuration is
	// too complex to be represented as a map of strings, it will be blank.
	// `configJson` should be used instead.
	//
	// Deprecated: The config attribute is deprecated, please use configJson instead.
	Config map[string]string `pulumi:"config"`
	// The configuration options of the ACL Auth Method.
	ConfigJson string `pulumi:"configJson"`
	// The description of the ACL Auth Method.
	Description string `pulumi:"description"`
	// An optional name to use instead of the name attribute when
	// displaying information about this auth method.
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The maximum life of any token created by this auth method.
	MaxTokenTtl string  `pulumi:"maxTokenTtl"`
	Name        string  `pulumi:"name"`
	Namespace   *string `pulumi:"namespace"`
	// (Enterprise Only) A set of rules that control which
	// namespace tokens created via this auth method will be created within
	NamespaceRules []GetAclAuthMethodNamespaceRule `pulumi:"namespaceRules"`
	Partition      *string                         `pulumi:"partition"`
	// The kind of token that this auth method produces. This can
	// be either 'local' or 'global'.
	TokenLocality string `pulumi:"tokenLocality"`
	// 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).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := consul.LookupAclAuthMethod(ctx, &consul.LookupAclAuthMethodArgs{
			Name: "minikube",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("consulAclAuthMethod", test.Config)
		return nil
	})
}

```

type LookupAclAuthMethodResultOutput

type LookupAclAuthMethodResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAclAuthMethod.

func (LookupAclAuthMethodResultOutput) Config deprecated

The configuration options of the ACL Auth Method. This attribute is deprecated and will be removed in a future version. If the configuration is too complex to be represented as a map of strings, it will be blank. `configJson` should be used instead.

Deprecated: The config attribute is deprecated, please use configJson instead.

func (LookupAclAuthMethodResultOutput) ConfigJson

The configuration options of the ACL Auth Method.

func (LookupAclAuthMethodResultOutput) Description

The description of the ACL Auth Method.

func (LookupAclAuthMethodResultOutput) DisplayName

An optional name to use instead of the name attribute when displaying information about this auth method.

func (LookupAclAuthMethodResultOutput) ElementType

func (LookupAclAuthMethodResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAclAuthMethodResultOutput) MaxTokenTtl

The maximum life of any token created by this auth method.

func (LookupAclAuthMethodResultOutput) Name

func (LookupAclAuthMethodResultOutput) Namespace

func (LookupAclAuthMethodResultOutput) NamespaceRules

(Enterprise Only) A set of rules that control which namespace tokens created via this auth method will be created within

func (LookupAclAuthMethodResultOutput) Partition

func (LookupAclAuthMethodResultOutput) ToLookupAclAuthMethodResultOutput

func (o LookupAclAuthMethodResultOutput) ToLookupAclAuthMethodResultOutput() LookupAclAuthMethodResultOutput

func (LookupAclAuthMethodResultOutput) ToLookupAclAuthMethodResultOutputWithContext

func (o LookupAclAuthMethodResultOutput) ToLookupAclAuthMethodResultOutputWithContext(ctx context.Context) LookupAclAuthMethodResultOutput

func (LookupAclAuthMethodResultOutput) TokenLocality

The kind of token that this auth method produces. This can be either 'local' or 'global'.

func (LookupAclAuthMethodResultOutput) Type

The type of the ACL Auth Method.

type LookupAclPolicyArgs

type LookupAclPolicyArgs struct {
	// The name of the ACL Policy.
	Name string `pulumi:"name"`
	// The namespace to lookup the policy.
	Namespace *string `pulumi:"namespace"`
	// The partition to lookup the policy.
	Partition *string `pulumi:"partition"`
}

A collection of arguments for invoking getAclPolicy.

type LookupAclPolicyOutputArgs

type LookupAclPolicyOutputArgs struct {
	// The name of the ACL Policy.
	Name pulumi.StringInput `pulumi:"name"`
	// The namespace to lookup the policy.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The partition to lookup the policy.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
}

A collection of arguments for invoking getAclPolicy.

func (LookupAclPolicyOutputArgs) ElementType

func (LookupAclPolicyOutputArgs) ElementType() reflect.Type

type LookupAclPolicyResult

type LookupAclPolicyResult struct {
	// The datacenters associated with the ACL Policy.
	Datacenters []string `pulumi:"datacenters"`
	// The description of the ACL Policy.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	Name      string  `pulumi:"name"`
	Namespace *string `pulumi:"namespace"`
	Partition *string `pulumi:"partition"`
	// 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).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		agent, err := consul.LookupAclPolicy(ctx, &consul.LookupAclPolicyArgs{
			Name: "agent",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("consulAclPolicy", agent.Rules)
		return nil
	})
}

```

type LookupAclPolicyResultOutput

type LookupAclPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAclPolicy.

func (LookupAclPolicyResultOutput) Datacenters

The datacenters associated with the ACL Policy.

func (LookupAclPolicyResultOutput) Description

The description of the ACL Policy.

func (LookupAclPolicyResultOutput) ElementType

func (LookupAclPolicyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAclPolicyResultOutput) Name

func (LookupAclPolicyResultOutput) Namespace

func (LookupAclPolicyResultOutput) Partition

func (LookupAclPolicyResultOutput) Rules

The rules associated with the ACL Policy.

func (LookupAclPolicyResultOutput) ToLookupAclPolicyResultOutput

func (o LookupAclPolicyResultOutput) ToLookupAclPolicyResultOutput() LookupAclPolicyResultOutput

func (LookupAclPolicyResultOutput) ToLookupAclPolicyResultOutputWithContext

func (o LookupAclPolicyResultOutput) ToLookupAclPolicyResultOutputWithContext(ctx context.Context) LookupAclPolicyResultOutput

type LookupAclRoleArgs

type LookupAclRoleArgs struct {
	// The name of the ACL Role.
	Name string `pulumi:"name"`
	// The namespace to lookup the role.
	Namespace *string `pulumi:"namespace"`
	// The partition to lookup the role.
	Partition *string `pulumi:"partition"`
}

A collection of arguments for invoking getAclRole.

type LookupAclRoleOutputArgs

type LookupAclRoleOutputArgs struct {
	// The name of the ACL Role.
	Name pulumi.StringInput `pulumi:"name"`
	// The namespace to lookup the role.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The partition to lookup the role.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
}

A collection of arguments for invoking getAclRole.

func (LookupAclRoleOutputArgs) ElementType

func (LookupAclRoleOutputArgs) ElementType() reflect.Type

type LookupAclRoleResult

type LookupAclRoleResult struct {
	// The description of the ACL Role.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the ACL Role.
	Name string `pulumi:"name"`
	// The namespace to lookup the role.
	Namespace *string `pulumi:"namespace"`
	// The list of node identities associated with the ACL Role.
	NodeIdentities []GetAclRoleNodeIdentity `pulumi:"nodeIdentities"`
	// The partition to lookup the role.
	Partition *string `pulumi:"partition"`
	// The list of policies associated with the ACL Role.
	Policies []GetAclRolePolicy `pulumi:"policies"`
	// The list of service identities associated with the ACL Role.
	ServiceIdentities []GetAclRoleServiceIdentity `pulumi:"serviceIdentities"`
	// The list of templated policies that should be applied to the token.
	TemplatedPolicies []GetAclRoleTemplatedPolicy `pulumi:"templatedPolicies"`
}

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).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := consul.LookupAclRole(ctx, &consul.LookupAclRoleArgs{
			Name: "example-role",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("consulAclRole", test.Id)
		return nil
	})
}

```

type LookupAclRoleResultOutput

type LookupAclRoleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAclRole.

func (LookupAclRoleResultOutput) Description

The description of the ACL Role.

func (LookupAclRoleResultOutput) ElementType

func (LookupAclRoleResultOutput) ElementType() reflect.Type

func (LookupAclRoleResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAclRoleResultOutput) Name

The name of the ACL Role.

func (LookupAclRoleResultOutput) Namespace

The namespace to lookup the role.

func (LookupAclRoleResultOutput) NodeIdentities

The list of node identities associated with the ACL Role.

func (LookupAclRoleResultOutput) Partition

The partition to lookup the role.

func (LookupAclRoleResultOutput) Policies

The list of policies associated with the ACL Role.

func (LookupAclRoleResultOutput) ServiceIdentities

The list of service identities associated with the ACL Role.

func (LookupAclRoleResultOutput) TemplatedPolicies

The list of templated policies that should be applied to the token.

func (LookupAclRoleResultOutput) ToLookupAclRoleResultOutput

func (o LookupAclRoleResultOutput) ToLookupAclRoleResultOutput() LookupAclRoleResultOutput

func (LookupAclRoleResultOutput) ToLookupAclRoleResultOutputWithContext

func (o LookupAclRoleResultOutput) ToLookupAclRoleResultOutputWithContext(ctx context.Context) LookupAclRoleResultOutput

type LookupAclTokenArgs

type LookupAclTokenArgs struct {
	// The accessor ID of the ACL token.
	AccessorId string `pulumi:"accessorId"`
	// The namespace to lookup the ACL token.
	Namespace *string `pulumi:"namespace"`
	// The partition to lookup the ACL token.
	Partition *string `pulumi:"partition"`
}

A collection of arguments for invoking getAclToken.

type LookupAclTokenOutputArgs

type LookupAclTokenOutputArgs struct {
	// The accessor ID of the ACL token.
	AccessorId pulumi.StringInput `pulumi:"accessorId"`
	// The namespace to lookup the ACL token.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The partition to lookup the ACL token.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
}

A collection of arguments for invoking getAclToken.

func (LookupAclTokenOutputArgs) ElementType

func (LookupAclTokenOutputArgs) ElementType() reflect.Type

type LookupAclTokenResult

type LookupAclTokenResult struct {
	// The accessor ID of the ACL token.
	AccessorId string `pulumi:"accessorId"`
	// The description of the ACL token.
	Description string `pulumi:"description"`
	// If set this represents the point after which a token should be considered revoked and is eligible for destruction.
	ExpirationTime string `pulumi:"expirationTime"`
	// 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"`
	// The namespace to lookup the ACL token.
	Namespace *string `pulumi:"namespace"`
	// The list of node identities attached to the token.
	NodeIdentities []GetAclTokenNodeIdentity `pulumi:"nodeIdentities"`
	// The partition to lookup the ACL token.
	Partition *string `pulumi:"partition"`
	// A list of policies associated with the ACL token.
	Policies []GetAclTokenPolicy `pulumi:"policies"`
	// List of roles linked to the token
	Roles []GetAclTokenRole `pulumi:"roles"`
	// The list of service identities attached to the token.
	ServiceIdentities []GetAclTokenServiceIdentity `pulumi:"serviceIdentities"`
	// The list of templated policies that should be applied to the token.
	TemplatedPolicies []GetAclTokenTemplatedPolicy `pulumi:"templatedPolicies"`
}

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).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := consul.LookupAclToken(ctx, &consul.LookupAclTokenArgs{
			AccessorId: "00000000-0000-0000-0000-000000000002",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("consulAclPolicies", test.Policies)
		return nil
	})
}

```

type LookupAclTokenResultOutput

type LookupAclTokenResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAclToken.

func (LookupAclTokenResultOutput) AccessorId

The accessor ID of the ACL token.

func (LookupAclTokenResultOutput) Description

The description of the ACL token.

func (LookupAclTokenResultOutput) ElementType

func (LookupAclTokenResultOutput) ElementType() reflect.Type

func (LookupAclTokenResultOutput) ExpirationTime

func (o LookupAclTokenResultOutput) ExpirationTime() pulumi.StringOutput

If set this represents the point after which a token should be considered revoked and is eligible for destruction.

func (LookupAclTokenResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAclTokenResultOutput) Local

Whether the ACL token is local to the datacenter it was created within.

func (LookupAclTokenResultOutput) Namespace

The namespace to lookup the ACL token.

func (LookupAclTokenResultOutput) NodeIdentities

The list of node identities attached to the token.

func (LookupAclTokenResultOutput) Partition

The partition to lookup the ACL token.

func (LookupAclTokenResultOutput) Policies

A list of policies associated with the ACL token.

func (LookupAclTokenResultOutput) Roles

List of roles linked to the token

func (LookupAclTokenResultOutput) ServiceIdentities

The list of service identities attached to the token.

func (LookupAclTokenResultOutput) TemplatedPolicies

The list of templated policies that should be applied to the token.

func (LookupAclTokenResultOutput) ToLookupAclTokenResultOutput

func (o LookupAclTokenResultOutput) ToLookupAclTokenResultOutput() LookupAclTokenResultOutput

func (LookupAclTokenResultOutput) ToLookupAclTokenResultOutputWithContext

func (o LookupAclTokenResultOutput) ToLookupAclTokenResultOutputWithContext(ctx context.Context) LookupAclTokenResultOutput

type LookupConfigEntryArgs

type LookupConfigEntryArgs struct {
	// The kind of config entry to read.
	Kind string `pulumi:"kind"`
	// The name of the config entry to read.
	Name string `pulumi:"name"`
	// The namespace the config entry is associated with.
	Namespace *string `pulumi:"namespace"`
	// The partition the config entry is associated with.
	Partition *string `pulumi:"partition"`
}

A collection of arguments for invoking getConfigEntry.

type LookupConfigEntryOutputArgs

type LookupConfigEntryOutputArgs struct {
	// The kind of config entry to read.
	Kind pulumi.StringInput `pulumi:"kind"`
	// The name of the config entry to read.
	Name pulumi.StringInput `pulumi:"name"`
	// The namespace the config entry is associated with.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The partition the config entry is associated with.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
}

A collection of arguments for invoking getConfigEntry.

func (LookupConfigEntryOutputArgs) ElementType

type LookupConfigEntryResult

type LookupConfigEntryResult struct {
	// The configuration of the config entry.
	ConfigJson string `pulumi:"configJson"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The kind of config entry to read.
	Kind string `pulumi:"kind"`
	// The name of the config entry to read.
	Name string `pulumi:"name"`
	// The namespace the config entry is associated with.
	Namespace *string `pulumi:"namespace"`
	// The partition the config entry is associated with.
	Partition *string `pulumi:"partition"`
}

A collection of values returned by getConfigEntry.

type LookupConfigEntryResultOutput

type LookupConfigEntryResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfigEntry.

func (LookupConfigEntryResultOutput) ConfigJson

The configuration of the config entry.

func (LookupConfigEntryResultOutput) ElementType

func (LookupConfigEntryResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupConfigEntryResultOutput) Kind

The kind of config entry to read.

func (LookupConfigEntryResultOutput) Name

The name of the config entry to read.

func (LookupConfigEntryResultOutput) Namespace

The namespace the config entry is associated with.

func (LookupConfigEntryResultOutput) Partition

The partition the config entry is associated with.

func (LookupConfigEntryResultOutput) ToLookupConfigEntryResultOutput

func (o LookupConfigEntryResultOutput) ToLookupConfigEntryResultOutput() LookupConfigEntryResultOutput

func (LookupConfigEntryResultOutput) ToLookupConfigEntryResultOutputWithContext

func (o LookupConfigEntryResultOutput) ToLookupConfigEntryResultOutputWithContext(ctx context.Context) LookupConfigEntryResultOutput

type LookupConfigEntryV2ExportedServicesArgs added in v3.12.0

type LookupConfigEntryV2ExportedServicesArgs struct {
	// The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
	Kind string `pulumi:"kind"`
	// The name of the config entry to read.
	Name string `pulumi:"name"`
	// The namespace the config entry is associated with.
	Namespace *string `pulumi:"namespace"`
	// The partition the config entry is associated with.
	Partition *string `pulumi:"partition"`
	// The exported service partition consumers.
	PartitionConsumers []string `pulumi:"partitionConsumers"`
	// The exported service peer consumers.
	PeerConsumers []string `pulumi:"peerConsumers"`
	// The exported service sameness group consumers.
	SamenessGroupConsumers []string `pulumi:"samenessGroupConsumers"`
	// The exported services.
	Services []string `pulumi:"services"`
}

A collection of arguments for invoking getConfigEntryV2ExportedServices.

type LookupConfigEntryV2ExportedServicesOutputArgs added in v3.12.0

type LookupConfigEntryV2ExportedServicesOutputArgs struct {
	// The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
	Kind pulumi.StringInput `pulumi:"kind"`
	// The name of the config entry to read.
	Name pulumi.StringInput `pulumi:"name"`
	// The namespace the config entry is associated with.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The partition the config entry is associated with.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// The exported service partition consumers.
	PartitionConsumers pulumi.StringArrayInput `pulumi:"partitionConsumers"`
	// The exported service peer consumers.
	PeerConsumers pulumi.StringArrayInput `pulumi:"peerConsumers"`
	// The exported service sameness group consumers.
	SamenessGroupConsumers pulumi.StringArrayInput `pulumi:"samenessGroupConsumers"`
	// The exported services.
	Services pulumi.StringArrayInput `pulumi:"services"`
}

A collection of arguments for invoking getConfigEntryV2ExportedServices.

func (LookupConfigEntryV2ExportedServicesOutputArgs) ElementType added in v3.12.0

type LookupConfigEntryV2ExportedServicesResult added in v3.12.0

type LookupConfigEntryV2ExportedServicesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).
	Kind string `pulumi:"kind"`
	// The name of the config entry to read.
	Name string `pulumi:"name"`
	// The namespace the config entry is associated with.
	Namespace *string `pulumi:"namespace"`
	// The partition the config entry is associated with.
	Partition *string `pulumi:"partition"`
	// The exported service partition consumers.
	PartitionConsumers []string `pulumi:"partitionConsumers"`
	// The exported service peer consumers.
	PeerConsumers []string `pulumi:"peerConsumers"`
	// The exported service sameness group consumers.
	SamenessGroupConsumers []string `pulumi:"samenessGroupConsumers"`
	// The exported services.
	Services []string `pulumi:"services"`
}

A collection of values returned by getConfigEntryV2ExportedServices.

type LookupConfigEntryV2ExportedServicesResultOutput added in v3.12.0

type LookupConfigEntryV2ExportedServicesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfigEntryV2ExportedServices.

func (LookupConfigEntryV2ExportedServicesResultOutput) ElementType added in v3.12.0

func (LookupConfigEntryV2ExportedServicesResultOutput) Id added in v3.12.0

The provider-assigned unique ID for this managed resource.

func (LookupConfigEntryV2ExportedServicesResultOutput) Kind added in v3.12.0

The kind of exported services config (ExportedServices, NamespaceExportedServices, PartitionExportedServices).

func (LookupConfigEntryV2ExportedServicesResultOutput) Name added in v3.12.0

The name of the config entry to read.

func (LookupConfigEntryV2ExportedServicesResultOutput) Namespace added in v3.12.0

The namespace the config entry is associated with.

func (LookupConfigEntryV2ExportedServicesResultOutput) Partition added in v3.12.0

The partition the config entry is associated with.

func (LookupConfigEntryV2ExportedServicesResultOutput) PartitionConsumers added in v3.12.0

The exported service partition consumers.

func (LookupConfigEntryV2ExportedServicesResultOutput) PeerConsumers added in v3.12.0

The exported service peer consumers.

func (LookupConfigEntryV2ExportedServicesResultOutput) SamenessGroupConsumers added in v3.12.0

The exported service sameness group consumers.

func (LookupConfigEntryV2ExportedServicesResultOutput) Services added in v3.12.0

The exported services.

func (LookupConfigEntryV2ExportedServicesResultOutput) ToLookupConfigEntryV2ExportedServicesResultOutput added in v3.12.0

func (o LookupConfigEntryV2ExportedServicesResultOutput) ToLookupConfigEntryV2ExportedServicesResultOutput() LookupConfigEntryV2ExportedServicesResultOutput

func (LookupConfigEntryV2ExportedServicesResultOutput) ToLookupConfigEntryV2ExportedServicesResultOutputWithContext added in v3.12.0

func (o LookupConfigEntryV2ExportedServicesResultOutput) ToLookupConfigEntryV2ExportedServicesResultOutputWithContext(ctx context.Context) LookupConfigEntryV2ExportedServicesResultOutput

type LookupKeyPrefixArgs

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 lookup the keys within.
	Namespace *string `pulumi:"namespace"`
	// The namespace to lookup the keys within.
	Partition *string `pulumi:"partition"`
	// 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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token *string `pulumi:"token"`
}

A collection of arguments for invoking getKeyPrefix.

type LookupKeyPrefixOutputArgs

type LookupKeyPrefixOutputArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput `pulumi:"datacenter"`
	// The namespace to lookup the keys within.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The namespace to lookup the keys within.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// 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 pulumi.StringInput `pulumi:"pathPrefix"`
	// Specifies a subkey in Consul to be read. Supported
	// values documented below. Multiple blocks supported.
	SubkeyCollection GetKeyPrefixSubkeyCollectionArrayInput `pulumi:"subkeyCollection"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput `pulumi:"token"`
}

A collection of arguments for invoking getKeyPrefix.

func (LookupKeyPrefixOutputArgs) ElementType

func (LookupKeyPrefixOutputArgs) ElementType() reflect.Type

type LookupKeyPrefixResult

type LookupKeyPrefixResult struct {
	// The datacenter the keys are being read from.
	Datacenter string `pulumi:"datacenter"`
	// The provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	Namespace *string `pulumi:"namespace"`
	Partition *string `pulumi:"partition"`
	// 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"`
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	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)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws"
"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := consul.LookupKeyPrefix(ctx, &consul.LookupKeyPrefixArgs{
			Datacenter: pulumi.StringRef("nyc1"),
			Token:      pulumi.StringRef("abcd"),
			PathPrefix: "myapp/config/",
			SubkeyCollection: []consul.GetKeyPrefixSubkeyCollection{
				{
					Name:    "ami",
					Path:    "app/launch_ami",
					Default: pulumi.StringRef("ami-1234"),
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		// Start our instance with the dynamic ami value
		_, err = aws.NewInstance(ctx, "app", &aws.InstanceArgs{
			Ami: app.Var.Ami,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws"
"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		web, err := consul.LookupKeyPrefix(ctx, &consul.LookupKeyPrefixArgs{
			Datacenter: pulumi.StringRef("nyc1"),
			Token:      pulumi.StringRef("efgh"),
			PathPrefix: "myapp/config/",
		}, nil)
		if err != nil {
			return err
		}
		// Start our instance with the dynamic ami value
		_, err = aws.NewInstance(ctx, "web", &aws.InstanceArgs{
			Ami: web.Subkeys.App / launch_ami,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupKeyPrefixResultOutput

type LookupKeyPrefixResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKeyPrefix.

func (LookupKeyPrefixResultOutput) Datacenter

The datacenter the keys are being read from.

func (LookupKeyPrefixResultOutput) ElementType

func (LookupKeyPrefixResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupKeyPrefixResultOutput) Namespace

func (LookupKeyPrefixResultOutput) Partition

func (LookupKeyPrefixResultOutput) PathPrefix

the common prefix shared by all keys being read.

  • `var.<name>` - For each name given, the corresponding attribute has the value of the key.

func (LookupKeyPrefixResultOutput) SubkeyCollection

func (LookupKeyPrefixResultOutput) Subkeys

A map of the subkeys and values is set if no `subkey` block is provided.

func (LookupKeyPrefixResultOutput) ToLookupKeyPrefixResultOutput

func (o LookupKeyPrefixResultOutput) ToLookupKeyPrefixResultOutput() LookupKeyPrefixResultOutput

func (LookupKeyPrefixResultOutput) ToLookupKeyPrefixResultOutputWithContext

func (o LookupKeyPrefixResultOutput) ToLookupKeyPrefixResultOutputWithContext(ctx context.Context) LookupKeyPrefixResultOutput

func (LookupKeyPrefixResultOutput) Token deprecated

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

func (LookupKeyPrefixResultOutput) Var

type LookupKeysArgs

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"`
	// Whether to return an error when a key is absent from the KV store and no default is configured. This defaults to `false`.
	ErrorOnMissingKeys *bool `pulumi:"errorOnMissingKeys"`
	// 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 partition to lookup the keys.
	Partition *string `pulumi:"partition"`
	// The ACL token to use. This overrides the token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token *string `pulumi:"token"`
}

A collection of arguments for invoking getKeys.

type LookupKeysOutputArgs

type LookupKeysOutputArgs struct {
	// The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput `pulumi:"datacenter"`
	// Whether to return an error when a key is absent from the KV store and no default is configured. This defaults to `false`.
	ErrorOnMissingKeys pulumi.BoolPtrInput `pulumi:"errorOnMissingKeys"`
	// Specifies a key in Consul to be read. Supported values documented below. Multiple blocks supported.
	Keys GetKeysKeyArrayInput `pulumi:"keys"`
	// The namespace to lookup the keys.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// The partition to lookup the keys.
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	// The ACL token to use. This overrides the token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput `pulumi:"token"`
}

A collection of arguments for invoking getKeys.

func (LookupKeysOutputArgs) ElementType

func (LookupKeysOutputArgs) ElementType() reflect.Type

type LookupKeysResult

type LookupKeysResult struct {
	// The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
	Datacenter string `pulumi:"datacenter"`
	// Whether to return an error when a key is absent from the KV store and no default is configured. This defaults to `false`.
	ErrorOnMissingKeys *bool `pulumi:"errorOnMissingKeys"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// 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 partition to lookup the keys.
	Partition *string `pulumi:"partition"`
	// The ACL token to use. This overrides the token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token *string `pulumi:"token"`
	// For each name given, the corresponding attribute has the value of the key.
	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` datasource reads values from the Consul key/value store. This is a powerful way to dynamically set values in templates.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws"
"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		app, err := consul.LookupKeys(ctx, &consul.LookupKeysArgs{
			Datacenter: pulumi.StringRef("nyc1"),
			Keys: []consul.GetKeysKey{
				{
					Name:    "ami",
					Path:    "service/app/launch_ami",
					Default: pulumi.StringRef("ami-1234"),
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		// Start our instance with the dynamic ami value
		_, err = aws.NewInstance(ctx, "app", &aws.InstanceArgs{
			Ami: app.Var.Ami,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupKeysResultOutput

type LookupKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKeys.

func (LookupKeysResultOutput) Datacenter

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (LookupKeysResultOutput) ElementType

func (LookupKeysResultOutput) ElementType() reflect.Type

func (LookupKeysResultOutput) ErrorOnMissingKeys

func (o LookupKeysResultOutput) ErrorOnMissingKeys() pulumi.BoolPtrOutput

Whether to return an error when a key is absent from the KV store and no default is configured. This defaults to `false`.

func (LookupKeysResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupKeysResultOutput) Keys

Specifies a key in Consul to be read. Supported values documented below. Multiple blocks supported.

func (LookupKeysResultOutput) Namespace

The namespace to lookup the keys.

func (LookupKeysResultOutput) Partition

The partition to lookup the keys.

func (LookupKeysResultOutput) ToLookupKeysResultOutput

func (o LookupKeysResultOutput) ToLookupKeysResultOutput() LookupKeysResultOutput

func (LookupKeysResultOutput) ToLookupKeysResultOutputWithContext

func (o LookupKeysResultOutput) ToLookupKeysResultOutputWithContext(ctx context.Context) LookupKeysResultOutput

func (LookupKeysResultOutput) Token deprecated

The ACL token to use. This overrides the token that the agent provides by default.

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

func (LookupKeysResultOutput) Var

For each name given, the corresponding attribute has the value of the key.

type LookupPeeringArgs

type LookupPeeringArgs struct {
	Partition *string `pulumi:"partition"`
	PeerName  string  `pulumi:"peerName"`
}

A collection of arguments for invoking getPeering.

type LookupPeeringOutputArgs

type LookupPeeringOutputArgs struct {
	Partition pulumi.StringPtrInput `pulumi:"partition"`
	PeerName  pulumi.StringInput    `pulumi:"peerName"`
}

A collection of arguments for invoking getPeering.

func (LookupPeeringOutputArgs) ElementType

func (LookupPeeringOutputArgs) ElementType() reflect.Type

type LookupPeeringResult

type LookupPeeringResult struct {
	DeletedAt string `pulumi:"deletedAt"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string            `pulumi:"id"`
	Meta                map[string]string `pulumi:"meta"`
	Partition           *string           `pulumi:"partition"`
	PeerCaPems          []string          `pulumi:"peerCaPems"`
	PeerId              string            `pulumi:"peerId"`
	PeerName            string            `pulumi:"peerName"`
	PeerServerAddresses []string          `pulumi:"peerServerAddresses"`
	PeerServerName      string            `pulumi:"peerServerName"`
	State               string            `pulumi:"state"`
}

A collection of values returned by getPeering.

func LookupPeering

func LookupPeering(ctx *pulumi.Context, args *LookupPeeringArgs, opts ...pulumi.InvokeOption) (*LookupPeeringResult, error)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.LookupPeering(ctx, &consul.LookupPeeringArgs{
			PeerName: "peered-cluster",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPeeringResultOutput

type LookupPeeringResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPeering.

func (LookupPeeringResultOutput) DeletedAt

func (LookupPeeringResultOutput) ElementType

func (LookupPeeringResultOutput) ElementType() reflect.Type

func (LookupPeeringResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPeeringResultOutput) Meta

func (LookupPeeringResultOutput) Partition

func (LookupPeeringResultOutput) PeerCaPems

func (LookupPeeringResultOutput) PeerId

func (LookupPeeringResultOutput) PeerName

func (LookupPeeringResultOutput) PeerServerAddresses

func (o LookupPeeringResultOutput) PeerServerAddresses() pulumi.StringArrayOutput

func (LookupPeeringResultOutput) PeerServerName

func (o LookupPeeringResultOutput) PeerServerName() pulumi.StringOutput

func (LookupPeeringResultOutput) State

func (LookupPeeringResultOutput) ToLookupPeeringResultOutput

func (o LookupPeeringResultOutput) ToLookupPeeringResultOutput() LookupPeeringResultOutput

func (LookupPeeringResultOutput) ToLookupPeeringResultOutputWithContext

func (o LookupPeeringResultOutput) ToLookupPeeringResultOutputWithContext(ctx context.Context) LookupPeeringResultOutput

type LookupServiceArgs

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"`
	Filter     *string `pulumi:"filter"`
	// 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 LookupServiceHealthArgs

type LookupServiceHealthArgs struct {
	// The Consul datacenter to query.
	Datacenter *string `pulumi:"datacenter"`
	// A filter expression to refine the list of results, see
	// https://www.consul.io/api-docs/features/filtering and https://www.consul.io/api-docs/health#filtering-2.
	Filter *string `pulumi:"filter"`
	// 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 LookupServiceHealthOutputArgs

type LookupServiceHealthOutputArgs struct {
	// The Consul datacenter to query.
	Datacenter pulumi.StringPtrInput `pulumi:"datacenter"`
	// A filter expression to refine the list of results, see
	// https://www.consul.io/api-docs/features/filtering and https://www.consul.io/api-docs/health#filtering-2.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// The service name to select.
	Name pulumi.StringInput `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 pulumi.StringPtrInput `pulumi:"near"`
	// Filter the results to nodes with the specified key/value
	// pairs.
	NodeMeta pulumi.StringMapInput `pulumi:"nodeMeta"`
	// Whether to return only nodes with all checks in the
	// passing state. Defaults to `true`.
	Passing pulumi.BoolPtrInput `pulumi:"passing"`
	// A single tag that can be used to filter the list to return
	// based on a single matching tag.
	Tag     pulumi.StringPtrInput `pulumi:"tag"`
	WaitFor pulumi.StringPtrInput `pulumi:"waitFor"`
}

A collection of arguments for invoking getServiceHealth.

func (LookupServiceHealthOutputArgs) ElementType

type LookupServiceHealthResult

type LookupServiceHealthResult 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"`
	Filter     *string `pulumi:"filter"`
	// 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 []GetServiceHealthResult `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 LookupServiceHealth

func LookupServiceHealth(ctx *pulumi.Context, args *LookupServiceHealthArgs, opts ...pulumi.InvokeOption) (*LookupServiceHealthResult, 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.

type LookupServiceHealthResultOutput

type LookupServiceHealthResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceHealth.

func (LookupServiceHealthResultOutput) Datacenter

The datacenter in which the node is running.

func (LookupServiceHealthResultOutput) ElementType

func (LookupServiceHealthResultOutput) Filter

func (LookupServiceHealthResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupServiceHealthResultOutput) Name

The name of this health-check.

func (LookupServiceHealthResultOutput) Near

The node to which the result must be sorted to.

func (LookupServiceHealthResultOutput) NodeMeta

The list of metadata to filter the nodes.

func (LookupServiceHealthResultOutput) Passing

Whether to return only nodes with all checks in the passing state.

func (LookupServiceHealthResultOutput) Results

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.

func (LookupServiceHealthResultOutput) Tag

The name of the tag used to filter the list.

func (LookupServiceHealthResultOutput) ToLookupServiceHealthResultOutput

func (o LookupServiceHealthResultOutput) ToLookupServiceHealthResultOutput() LookupServiceHealthResultOutput

func (LookupServiceHealthResultOutput) ToLookupServiceHealthResultOutputWithContext

func (o LookupServiceHealthResultOutput) ToLookupServiceHealthResultOutputWithContext(ctx context.Context) LookupServiceHealthResultOutput

func (LookupServiceHealthResultOutput) WaitFor

type LookupServiceOutputArgs

type LookupServiceOutputArgs 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 pulumi.StringPtrInput `pulumi:"datacenter"`
	Filter     pulumi.StringPtrInput `pulumi:"filter"`
	// The service name to select.
	Name pulumi.StringInput `pulumi:"name"`
	// See below.
	QueryOptions GetServiceQueryOptionArrayInput `pulumi:"queryOptions"`
	// A single tag that can be used to filter the list of nodes
	// to return based on a single matching tag..
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

A collection of arguments for invoking getService.

func (LookupServiceOutputArgs) ElementType

func (LookupServiceOutputArgs) ElementType() reflect.Type

type LookupServiceResult

type LookupServiceResult struct {
	// The datacenter the keys are being read from to.
	Datacenter *string `pulumi:"datacenter"`
	Filter     *string `pulumi:"filter"`
	// 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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi-example/sdk/go/example"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.LookupService(ctx, &consul.LookupServiceArgs{
			Name:       "consul",
			Datacenter: pulumi.StringRef("dc1"),
		}, nil)
		if err != nil {
			return err
		}
		// Set the description to a whitespace delimited list of the node names
		_, err = example.NewResource(ctx, "app", &example.ResourceArgs{
			Description: std.Join(ctx, &std.JoinArgs{
				Separator: " ",
				Input:     nodes,
			}, nil).Result,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceResultOutput

type LookupServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func (LookupServiceResultOutput) Datacenter

The datacenter the keys are being read from to.

func (LookupServiceResultOutput) ElementType

func (LookupServiceResultOutput) ElementType() reflect.Type

func (LookupServiceResultOutput) Filter

func (LookupServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupServiceResultOutput) Name

The name of the service

func (LookupServiceResultOutput) QueryOptions

func (LookupServiceResultOutput) Services

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.

func (LookupServiceResultOutput) Tag

The name of the tag used to filter the list of nodes in `service`.

func (LookupServiceResultOutput) ToLookupServiceResultOutput

func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput

func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext

func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput

type Namespace

type Namespace struct {
	pulumi.CustomResourceState

	// Free form namespace description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies arbitrary KV metadata to associate with the namespace.
	Meta pulumi.StringMapOutput `pulumi:"meta"`
	// The namespace name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The partition to create the namespace within.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// The list of default policies that should be applied to all tokens created in this namespace.
	PolicyDefaults pulumi.StringArrayOutput `pulumi:"policyDefaults"`
	// The list of default roles that should be applied to all tokens created in this namespace.
	RoleDefaults pulumi.StringArrayOutput `pulumi:"roleDefaults"`
}

> **NOTE:** This feature requires Consul Enterprise.

The `Namespace` resource provides isolated [Consul Enterprise Namespaces](https://www.consul.io/docs/enterprise/namespaces/index.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewNamespace(ctx, "production", &consul.NamespaceArgs{
			Name:        pulumi.String("production"),
			Description: pulumi.String("Production namespace"),
			Meta: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`consul_namespace` can be imported. This is useful to manage attributes of the default namespace that is created automatically:

```sh $ pulumi import consul:index/namespace:Namespace default default ```

func GetNamespace

func GetNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)

GetNamespace gets an existing Namespace 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 NewNamespace

func NewNamespace(ctx *pulumi.Context,
	name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)

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

func (*Namespace) ElementType

func (*Namespace) ElementType() reflect.Type

func (*Namespace) ToNamespaceOutput

func (i *Namespace) ToNamespaceOutput() NamespaceOutput

func (*Namespace) ToNamespaceOutputWithContext

func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceArgs

type NamespaceArgs struct {
	// Free form namespace description.
	Description pulumi.StringPtrInput
	// Specifies arbitrary KV metadata to associate with the namespace.
	Meta pulumi.StringMapInput
	// The namespace name.
	Name pulumi.StringPtrInput
	// The partition to create the namespace within.
	Partition pulumi.StringPtrInput
	// The list of default policies that should be applied to all tokens created in this namespace.
	PolicyDefaults pulumi.StringArrayInput
	// The list of default roles that should be applied to all tokens created in this namespace.
	RoleDefaults pulumi.StringArrayInput
}

The set of arguments for constructing a Namespace resource.

func (NamespaceArgs) ElementType

func (NamespaceArgs) ElementType() reflect.Type

type NamespaceArray

type NamespaceArray []NamespaceInput

func (NamespaceArray) ElementType

func (NamespaceArray) ElementType() reflect.Type

func (NamespaceArray) ToNamespaceArrayOutput

func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArray) ToNamespaceArrayOutputWithContext

func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceArrayInput

type NamespaceArrayInput interface {
	pulumi.Input

	ToNamespaceArrayOutput() NamespaceArrayOutput
	ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput
}

NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. You can construct a concrete instance of `NamespaceArrayInput` via:

NamespaceArray{ NamespaceArgs{...} }

type NamespaceArrayOutput

type NamespaceArrayOutput struct{ *pulumi.OutputState }

func (NamespaceArrayOutput) ElementType

func (NamespaceArrayOutput) ElementType() reflect.Type

func (NamespaceArrayOutput) Index

func (NamespaceArrayOutput) ToNamespaceArrayOutput

func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext

func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceInput

type NamespaceInput interface {
	pulumi.Input

	ToNamespaceOutput() NamespaceOutput
	ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
}

type NamespaceMap

type NamespaceMap map[string]NamespaceInput

func (NamespaceMap) ElementType

func (NamespaceMap) ElementType() reflect.Type

func (NamespaceMap) ToNamespaceMapOutput

func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMap) ToNamespaceMapOutputWithContext

func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceMapInput

type NamespaceMapInput interface {
	pulumi.Input

	ToNamespaceMapOutput() NamespaceMapOutput
	ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput
}

NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. You can construct a concrete instance of `NamespaceMapInput` via:

NamespaceMap{ "key": NamespaceArgs{...} }

type NamespaceMapOutput

type NamespaceMapOutput struct{ *pulumi.OutputState }

func (NamespaceMapOutput) ElementType

func (NamespaceMapOutput) ElementType() reflect.Type

func (NamespaceMapOutput) MapIndex

func (NamespaceMapOutput) ToNamespaceMapOutput

func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMapOutput) ToNamespaceMapOutputWithContext

func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceOutput

type NamespaceOutput struct{ *pulumi.OutputState }

func (NamespaceOutput) Description

func (o NamespaceOutput) Description() pulumi.StringPtrOutput

Free form namespace description.

func (NamespaceOutput) ElementType

func (NamespaceOutput) ElementType() reflect.Type

func (NamespaceOutput) Meta

Specifies arbitrary KV metadata to associate with the namespace.

func (NamespaceOutput) Name

The namespace name.

func (NamespaceOutput) Partition

func (o NamespaceOutput) Partition() pulumi.StringPtrOutput

The partition to create the namespace within.

func (NamespaceOutput) PolicyDefaults

func (o NamespaceOutput) PolicyDefaults() pulumi.StringArrayOutput

The list of default policies that should be applied to all tokens created in this namespace.

func (NamespaceOutput) RoleDefaults

func (o NamespaceOutput) RoleDefaults() pulumi.StringArrayOutput

The list of default roles that should be applied to all tokens created in this namespace.

func (NamespaceOutput) ToNamespaceOutput

func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput

func (NamespaceOutput) ToNamespaceOutputWithContext

func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespacePolicyAttachment

type NamespacePolicyAttachment struct {
	pulumi.CustomResourceState

	// The namespace to attach the policy to.
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// The name of the policy attached to the namespace.
	Policy pulumi.StringOutput `pulumi:"policy"`
}

## Import

`consul_namespace_policy_attachment` can be imported. This is especially useful to manage the policies attached to the `default` namespace:

```sh $ pulumi import consul:index/namespacePolicyAttachment:NamespacePolicyAttachment default default:policy_name ```

func GetNamespacePolicyAttachment

func GetNamespacePolicyAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespacePolicyAttachmentState, opts ...pulumi.ResourceOption) (*NamespacePolicyAttachment, error)

GetNamespacePolicyAttachment gets an existing NamespacePolicyAttachment 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 NewNamespacePolicyAttachment

func NewNamespacePolicyAttachment(ctx *pulumi.Context,
	name string, args *NamespacePolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*NamespacePolicyAttachment, error)

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

func (*NamespacePolicyAttachment) ElementType

func (*NamespacePolicyAttachment) ElementType() reflect.Type

func (*NamespacePolicyAttachment) ToNamespacePolicyAttachmentOutput

func (i *NamespacePolicyAttachment) ToNamespacePolicyAttachmentOutput() NamespacePolicyAttachmentOutput

func (*NamespacePolicyAttachment) ToNamespacePolicyAttachmentOutputWithContext

func (i *NamespacePolicyAttachment) ToNamespacePolicyAttachmentOutputWithContext(ctx context.Context) NamespacePolicyAttachmentOutput

type NamespacePolicyAttachmentArgs

type NamespacePolicyAttachmentArgs struct {
	// The namespace to attach the policy to.
	Namespace pulumi.StringInput
	// The name of the policy attached to the namespace.
	Policy pulumi.StringInput
}

The set of arguments for constructing a NamespacePolicyAttachment resource.

func (NamespacePolicyAttachmentArgs) ElementType

type NamespacePolicyAttachmentArray

type NamespacePolicyAttachmentArray []NamespacePolicyAttachmentInput

func (NamespacePolicyAttachmentArray) ElementType

func (NamespacePolicyAttachmentArray) ToNamespacePolicyAttachmentArrayOutput

func (i NamespacePolicyAttachmentArray) ToNamespacePolicyAttachmentArrayOutput() NamespacePolicyAttachmentArrayOutput

func (NamespacePolicyAttachmentArray) ToNamespacePolicyAttachmentArrayOutputWithContext

func (i NamespacePolicyAttachmentArray) ToNamespacePolicyAttachmentArrayOutputWithContext(ctx context.Context) NamespacePolicyAttachmentArrayOutput

type NamespacePolicyAttachmentArrayInput

type NamespacePolicyAttachmentArrayInput interface {
	pulumi.Input

	ToNamespacePolicyAttachmentArrayOutput() NamespacePolicyAttachmentArrayOutput
	ToNamespacePolicyAttachmentArrayOutputWithContext(context.Context) NamespacePolicyAttachmentArrayOutput
}

NamespacePolicyAttachmentArrayInput is an input type that accepts NamespacePolicyAttachmentArray and NamespacePolicyAttachmentArrayOutput values. You can construct a concrete instance of `NamespacePolicyAttachmentArrayInput` via:

NamespacePolicyAttachmentArray{ NamespacePolicyAttachmentArgs{...} }

type NamespacePolicyAttachmentArrayOutput

type NamespacePolicyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (NamespacePolicyAttachmentArrayOutput) ElementType

func (NamespacePolicyAttachmentArrayOutput) Index

func (NamespacePolicyAttachmentArrayOutput) ToNamespacePolicyAttachmentArrayOutput

func (o NamespacePolicyAttachmentArrayOutput) ToNamespacePolicyAttachmentArrayOutput() NamespacePolicyAttachmentArrayOutput

func (NamespacePolicyAttachmentArrayOutput) ToNamespacePolicyAttachmentArrayOutputWithContext

func (o NamespacePolicyAttachmentArrayOutput) ToNamespacePolicyAttachmentArrayOutputWithContext(ctx context.Context) NamespacePolicyAttachmentArrayOutput

type NamespacePolicyAttachmentInput

type NamespacePolicyAttachmentInput interface {
	pulumi.Input

	ToNamespacePolicyAttachmentOutput() NamespacePolicyAttachmentOutput
	ToNamespacePolicyAttachmentOutputWithContext(ctx context.Context) NamespacePolicyAttachmentOutput
}

type NamespacePolicyAttachmentMap

type NamespacePolicyAttachmentMap map[string]NamespacePolicyAttachmentInput

func (NamespacePolicyAttachmentMap) ElementType

func (NamespacePolicyAttachmentMap) ToNamespacePolicyAttachmentMapOutput

func (i NamespacePolicyAttachmentMap) ToNamespacePolicyAttachmentMapOutput() NamespacePolicyAttachmentMapOutput

func (NamespacePolicyAttachmentMap) ToNamespacePolicyAttachmentMapOutputWithContext

func (i NamespacePolicyAttachmentMap) ToNamespacePolicyAttachmentMapOutputWithContext(ctx context.Context) NamespacePolicyAttachmentMapOutput

type NamespacePolicyAttachmentMapInput

type NamespacePolicyAttachmentMapInput interface {
	pulumi.Input

	ToNamespacePolicyAttachmentMapOutput() NamespacePolicyAttachmentMapOutput
	ToNamespacePolicyAttachmentMapOutputWithContext(context.Context) NamespacePolicyAttachmentMapOutput
}

NamespacePolicyAttachmentMapInput is an input type that accepts NamespacePolicyAttachmentMap and NamespacePolicyAttachmentMapOutput values. You can construct a concrete instance of `NamespacePolicyAttachmentMapInput` via:

NamespacePolicyAttachmentMap{ "key": NamespacePolicyAttachmentArgs{...} }

type NamespacePolicyAttachmentMapOutput

type NamespacePolicyAttachmentMapOutput struct{ *pulumi.OutputState }

func (NamespacePolicyAttachmentMapOutput) ElementType

func (NamespacePolicyAttachmentMapOutput) MapIndex

func (NamespacePolicyAttachmentMapOutput) ToNamespacePolicyAttachmentMapOutput

func (o NamespacePolicyAttachmentMapOutput) ToNamespacePolicyAttachmentMapOutput() NamespacePolicyAttachmentMapOutput

func (NamespacePolicyAttachmentMapOutput) ToNamespacePolicyAttachmentMapOutputWithContext

func (o NamespacePolicyAttachmentMapOutput) ToNamespacePolicyAttachmentMapOutputWithContext(ctx context.Context) NamespacePolicyAttachmentMapOutput

type NamespacePolicyAttachmentOutput

type NamespacePolicyAttachmentOutput struct{ *pulumi.OutputState }

func (NamespacePolicyAttachmentOutput) ElementType

func (NamespacePolicyAttachmentOutput) Namespace

The namespace to attach the policy to.

func (NamespacePolicyAttachmentOutput) Policy

The name of the policy attached to the namespace.

func (NamespacePolicyAttachmentOutput) ToNamespacePolicyAttachmentOutput

func (o NamespacePolicyAttachmentOutput) ToNamespacePolicyAttachmentOutput() NamespacePolicyAttachmentOutput

func (NamespacePolicyAttachmentOutput) ToNamespacePolicyAttachmentOutputWithContext

func (o NamespacePolicyAttachmentOutput) ToNamespacePolicyAttachmentOutputWithContext(ctx context.Context) NamespacePolicyAttachmentOutput

type NamespacePolicyAttachmentState

type NamespacePolicyAttachmentState struct {
	// The namespace to attach the policy to.
	Namespace pulumi.StringPtrInput
	// The name of the policy attached to the namespace.
	Policy pulumi.StringPtrInput
}

func (NamespacePolicyAttachmentState) ElementType

type NamespaceRoleAttachment

type NamespaceRoleAttachment struct {
	pulumi.CustomResourceState

	// The namespace to attach the role to.
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// The name of the role attached to the namespace.
	Role pulumi.StringOutput `pulumi:"role"`
}

## Import

`consul_namespace_role_attachment` can be imported. This is especially useful to manage the policies attached to the `default` namespace:

```sh $ pulumi import consul:index/namespaceRoleAttachment:NamespaceRoleAttachment default default:role_name ```

func GetNamespaceRoleAttachment

func GetNamespaceRoleAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceRoleAttachmentState, opts ...pulumi.ResourceOption) (*NamespaceRoleAttachment, error)

GetNamespaceRoleAttachment gets an existing NamespaceRoleAttachment 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 NewNamespaceRoleAttachment

func NewNamespaceRoleAttachment(ctx *pulumi.Context,
	name string, args *NamespaceRoleAttachmentArgs, opts ...pulumi.ResourceOption) (*NamespaceRoleAttachment, error)

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

func (*NamespaceRoleAttachment) ElementType

func (*NamespaceRoleAttachment) ElementType() reflect.Type

func (*NamespaceRoleAttachment) ToNamespaceRoleAttachmentOutput

func (i *NamespaceRoleAttachment) ToNamespaceRoleAttachmentOutput() NamespaceRoleAttachmentOutput

func (*NamespaceRoleAttachment) ToNamespaceRoleAttachmentOutputWithContext

func (i *NamespaceRoleAttachment) ToNamespaceRoleAttachmentOutputWithContext(ctx context.Context) NamespaceRoleAttachmentOutput

type NamespaceRoleAttachmentArgs

type NamespaceRoleAttachmentArgs struct {
	// The namespace to attach the role to.
	Namespace pulumi.StringInput
	// The name of the role attached to the namespace.
	Role pulumi.StringInput
}

The set of arguments for constructing a NamespaceRoleAttachment resource.

func (NamespaceRoleAttachmentArgs) ElementType

type NamespaceRoleAttachmentArray

type NamespaceRoleAttachmentArray []NamespaceRoleAttachmentInput

func (NamespaceRoleAttachmentArray) ElementType

func (NamespaceRoleAttachmentArray) ToNamespaceRoleAttachmentArrayOutput

func (i NamespaceRoleAttachmentArray) ToNamespaceRoleAttachmentArrayOutput() NamespaceRoleAttachmentArrayOutput

func (NamespaceRoleAttachmentArray) ToNamespaceRoleAttachmentArrayOutputWithContext

func (i NamespaceRoleAttachmentArray) ToNamespaceRoleAttachmentArrayOutputWithContext(ctx context.Context) NamespaceRoleAttachmentArrayOutput

type NamespaceRoleAttachmentArrayInput

type NamespaceRoleAttachmentArrayInput interface {
	pulumi.Input

	ToNamespaceRoleAttachmentArrayOutput() NamespaceRoleAttachmentArrayOutput
	ToNamespaceRoleAttachmentArrayOutputWithContext(context.Context) NamespaceRoleAttachmentArrayOutput
}

NamespaceRoleAttachmentArrayInput is an input type that accepts NamespaceRoleAttachmentArray and NamespaceRoleAttachmentArrayOutput values. You can construct a concrete instance of `NamespaceRoleAttachmentArrayInput` via:

NamespaceRoleAttachmentArray{ NamespaceRoleAttachmentArgs{...} }

type NamespaceRoleAttachmentArrayOutput

type NamespaceRoleAttachmentArrayOutput struct{ *pulumi.OutputState }

func (NamespaceRoleAttachmentArrayOutput) ElementType

func (NamespaceRoleAttachmentArrayOutput) Index

func (NamespaceRoleAttachmentArrayOutput) ToNamespaceRoleAttachmentArrayOutput

func (o NamespaceRoleAttachmentArrayOutput) ToNamespaceRoleAttachmentArrayOutput() NamespaceRoleAttachmentArrayOutput

func (NamespaceRoleAttachmentArrayOutput) ToNamespaceRoleAttachmentArrayOutputWithContext

func (o NamespaceRoleAttachmentArrayOutput) ToNamespaceRoleAttachmentArrayOutputWithContext(ctx context.Context) NamespaceRoleAttachmentArrayOutput

type NamespaceRoleAttachmentInput

type NamespaceRoleAttachmentInput interface {
	pulumi.Input

	ToNamespaceRoleAttachmentOutput() NamespaceRoleAttachmentOutput
	ToNamespaceRoleAttachmentOutputWithContext(ctx context.Context) NamespaceRoleAttachmentOutput
}

type NamespaceRoleAttachmentMap

type NamespaceRoleAttachmentMap map[string]NamespaceRoleAttachmentInput

func (NamespaceRoleAttachmentMap) ElementType

func (NamespaceRoleAttachmentMap) ElementType() reflect.Type

func (NamespaceRoleAttachmentMap) ToNamespaceRoleAttachmentMapOutput

func (i NamespaceRoleAttachmentMap) ToNamespaceRoleAttachmentMapOutput() NamespaceRoleAttachmentMapOutput

func (NamespaceRoleAttachmentMap) ToNamespaceRoleAttachmentMapOutputWithContext

func (i NamespaceRoleAttachmentMap) ToNamespaceRoleAttachmentMapOutputWithContext(ctx context.Context) NamespaceRoleAttachmentMapOutput

type NamespaceRoleAttachmentMapInput

type NamespaceRoleAttachmentMapInput interface {
	pulumi.Input

	ToNamespaceRoleAttachmentMapOutput() NamespaceRoleAttachmentMapOutput
	ToNamespaceRoleAttachmentMapOutputWithContext(context.Context) NamespaceRoleAttachmentMapOutput
}

NamespaceRoleAttachmentMapInput is an input type that accepts NamespaceRoleAttachmentMap and NamespaceRoleAttachmentMapOutput values. You can construct a concrete instance of `NamespaceRoleAttachmentMapInput` via:

NamespaceRoleAttachmentMap{ "key": NamespaceRoleAttachmentArgs{...} }

type NamespaceRoleAttachmentMapOutput

type NamespaceRoleAttachmentMapOutput struct{ *pulumi.OutputState }

func (NamespaceRoleAttachmentMapOutput) ElementType

func (NamespaceRoleAttachmentMapOutput) MapIndex

func (NamespaceRoleAttachmentMapOutput) ToNamespaceRoleAttachmentMapOutput

func (o NamespaceRoleAttachmentMapOutput) ToNamespaceRoleAttachmentMapOutput() NamespaceRoleAttachmentMapOutput

func (NamespaceRoleAttachmentMapOutput) ToNamespaceRoleAttachmentMapOutputWithContext

func (o NamespaceRoleAttachmentMapOutput) ToNamespaceRoleAttachmentMapOutputWithContext(ctx context.Context) NamespaceRoleAttachmentMapOutput

type NamespaceRoleAttachmentOutput

type NamespaceRoleAttachmentOutput struct{ *pulumi.OutputState }

func (NamespaceRoleAttachmentOutput) ElementType

func (NamespaceRoleAttachmentOutput) Namespace

The namespace to attach the role to.

func (NamespaceRoleAttachmentOutput) Role

The name of the role attached to the namespace.

func (NamespaceRoleAttachmentOutput) ToNamespaceRoleAttachmentOutput

func (o NamespaceRoleAttachmentOutput) ToNamespaceRoleAttachmentOutput() NamespaceRoleAttachmentOutput

func (NamespaceRoleAttachmentOutput) ToNamespaceRoleAttachmentOutputWithContext

func (o NamespaceRoleAttachmentOutput) ToNamespaceRoleAttachmentOutputWithContext(ctx context.Context) NamespaceRoleAttachmentOutput

type NamespaceRoleAttachmentState

type NamespaceRoleAttachmentState struct {
	// The namespace to attach the role to.
	Namespace pulumi.StringPtrInput
	// The name of the role attached to the namespace.
	Role pulumi.StringPtrInput
}

func (NamespaceRoleAttachmentState) ElementType

type NamespaceState

type NamespaceState struct {
	// Free form namespace description.
	Description pulumi.StringPtrInput
	// Specifies arbitrary KV metadata to associate with the namespace.
	Meta pulumi.StringMapInput
	// The namespace name.
	Name pulumi.StringPtrInput
	// The partition to create the namespace within.
	Partition pulumi.StringPtrInput
	// The list of default policies that should be applied to all tokens created in this namespace.
	PolicyDefaults pulumi.StringArrayInput
	// The list of default roles that should be applied to all tokens created in this namespace.
	RoleDefaults pulumi.StringArrayInput
}

func (NamespaceState) ElementType

func (NamespaceState) ElementType() reflect.Type

type NetworkArea

type NetworkArea 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 name of the Consul datacenter that will be
	// joined to form the area.
	PeerDatacenter pulumi.StringOutput `pulumi:"peerDatacenter"`
	// Specifies a list of Consul servers to attempt to
	// join. Servers can be given as `IP`, `IP:port`, `hostname`, or `hostname:port`.
	RetryJoins pulumi.StringArrayOutput `pulumi:"retryJoins"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrOutput `pulumi:"token"`
	// Specifies whether gossip over this area should be
	// encrypted with TLS if possible. Defaults to `false`.
	UseTls pulumi.BoolPtrOutput `pulumi:"useTls"`
}

> **NOTE:** This feature requires [Consul Enterprise](https://www.consul.io/docs/enterprise/index.html).

The `NetworkArea` resource manages a relationship between servers in two different Consul datacenters.

Unlike Consul's WAN feature, network areas use just the server RPC port for communication, and relationships can be made between independent pairs of datacenters, so not all servers need to be fully connected. This allows for complex topologies among Consul datacenters like hub/spoke and more general trees.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewNetworkArea(ctx, "dc2", &consul.NetworkAreaArgs{
			PeerDatacenter: pulumi.String("dc2"),
			RetryJoins: pulumi.StringArray{
				pulumi.String("1.2.3.4"),
			},
			UseTls: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetNetworkArea

func GetNetworkArea(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkAreaState, opts ...pulumi.ResourceOption) (*NetworkArea, error)

GetNetworkArea gets an existing NetworkArea 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 NewNetworkArea

func NewNetworkArea(ctx *pulumi.Context,
	name string, args *NetworkAreaArgs, opts ...pulumi.ResourceOption) (*NetworkArea, error)

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

func (*NetworkArea) ElementType

func (*NetworkArea) ElementType() reflect.Type

func (*NetworkArea) ToNetworkAreaOutput

func (i *NetworkArea) ToNetworkAreaOutput() NetworkAreaOutput

func (*NetworkArea) ToNetworkAreaOutputWithContext

func (i *NetworkArea) ToNetworkAreaOutputWithContext(ctx context.Context) NetworkAreaOutput

type NetworkAreaArgs

type NetworkAreaArgs struct {
	// 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 Consul datacenter that will be
	// joined to form the area.
	PeerDatacenter pulumi.StringInput
	// Specifies a list of Consul servers to attempt to
	// join. Servers can be given as `IP`, `IP:port`, `hostname`, or `hostname:port`.
	RetryJoins pulumi.StringArrayInput
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
	// Specifies whether gossip over this area should be
	// encrypted with TLS if possible. Defaults to `false`.
	UseTls pulumi.BoolPtrInput
}

The set of arguments for constructing a NetworkArea resource.

func (NetworkAreaArgs) ElementType

func (NetworkAreaArgs) ElementType() reflect.Type

type NetworkAreaArray

type NetworkAreaArray []NetworkAreaInput

func (NetworkAreaArray) ElementType

func (NetworkAreaArray) ElementType() reflect.Type

func (NetworkAreaArray) ToNetworkAreaArrayOutput

func (i NetworkAreaArray) ToNetworkAreaArrayOutput() NetworkAreaArrayOutput

func (NetworkAreaArray) ToNetworkAreaArrayOutputWithContext

func (i NetworkAreaArray) ToNetworkAreaArrayOutputWithContext(ctx context.Context) NetworkAreaArrayOutput

type NetworkAreaArrayInput

type NetworkAreaArrayInput interface {
	pulumi.Input

	ToNetworkAreaArrayOutput() NetworkAreaArrayOutput
	ToNetworkAreaArrayOutputWithContext(context.Context) NetworkAreaArrayOutput
}

NetworkAreaArrayInput is an input type that accepts NetworkAreaArray and NetworkAreaArrayOutput values. You can construct a concrete instance of `NetworkAreaArrayInput` via:

NetworkAreaArray{ NetworkAreaArgs{...} }

type NetworkAreaArrayOutput

type NetworkAreaArrayOutput struct{ *pulumi.OutputState }

func (NetworkAreaArrayOutput) ElementType

func (NetworkAreaArrayOutput) ElementType() reflect.Type

func (NetworkAreaArrayOutput) Index

func (NetworkAreaArrayOutput) ToNetworkAreaArrayOutput

func (o NetworkAreaArrayOutput) ToNetworkAreaArrayOutput() NetworkAreaArrayOutput

func (NetworkAreaArrayOutput) ToNetworkAreaArrayOutputWithContext

func (o NetworkAreaArrayOutput) ToNetworkAreaArrayOutputWithContext(ctx context.Context) NetworkAreaArrayOutput

type NetworkAreaInput

type NetworkAreaInput interface {
	pulumi.Input

	ToNetworkAreaOutput() NetworkAreaOutput
	ToNetworkAreaOutputWithContext(ctx context.Context) NetworkAreaOutput
}

type NetworkAreaMap

type NetworkAreaMap map[string]NetworkAreaInput

func (NetworkAreaMap) ElementType

func (NetworkAreaMap) ElementType() reflect.Type

func (NetworkAreaMap) ToNetworkAreaMapOutput

func (i NetworkAreaMap) ToNetworkAreaMapOutput() NetworkAreaMapOutput

func (NetworkAreaMap) ToNetworkAreaMapOutputWithContext

func (i NetworkAreaMap) ToNetworkAreaMapOutputWithContext(ctx context.Context) NetworkAreaMapOutput

type NetworkAreaMapInput

type NetworkAreaMapInput interface {
	pulumi.Input

	ToNetworkAreaMapOutput() NetworkAreaMapOutput
	ToNetworkAreaMapOutputWithContext(context.Context) NetworkAreaMapOutput
}

NetworkAreaMapInput is an input type that accepts NetworkAreaMap and NetworkAreaMapOutput values. You can construct a concrete instance of `NetworkAreaMapInput` via:

NetworkAreaMap{ "key": NetworkAreaArgs{...} }

type NetworkAreaMapOutput

type NetworkAreaMapOutput struct{ *pulumi.OutputState }

func (NetworkAreaMapOutput) ElementType

func (NetworkAreaMapOutput) ElementType() reflect.Type

func (NetworkAreaMapOutput) MapIndex

func (NetworkAreaMapOutput) ToNetworkAreaMapOutput

func (o NetworkAreaMapOutput) ToNetworkAreaMapOutput() NetworkAreaMapOutput

func (NetworkAreaMapOutput) ToNetworkAreaMapOutputWithContext

func (o NetworkAreaMapOutput) ToNetworkAreaMapOutputWithContext(ctx context.Context) NetworkAreaMapOutput

type NetworkAreaOutput

type NetworkAreaOutput struct{ *pulumi.OutputState }

func (NetworkAreaOutput) Datacenter

func (o NetworkAreaOutput) Datacenter() pulumi.StringOutput

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (NetworkAreaOutput) ElementType

func (NetworkAreaOutput) ElementType() reflect.Type

func (NetworkAreaOutput) PeerDatacenter

func (o NetworkAreaOutput) PeerDatacenter() pulumi.StringOutput

The name of the Consul datacenter that will be joined to form the area.

func (NetworkAreaOutput) RetryJoins

Specifies a list of Consul servers to attempt to join. Servers can be given as `IP`, `IP:port`, `hostname`, or `hostname:port`.

func (NetworkAreaOutput) ToNetworkAreaOutput

func (o NetworkAreaOutput) ToNetworkAreaOutput() NetworkAreaOutput

func (NetworkAreaOutput) ToNetworkAreaOutputWithContext

func (o NetworkAreaOutput) ToNetworkAreaOutputWithContext(ctx context.Context) NetworkAreaOutput

func (NetworkAreaOutput) Token deprecated

The ACL token to use. This overrides the token that the agent provides by default.

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

func (NetworkAreaOutput) UseTls

Specifies whether gossip over this area should be encrypted with TLS if possible. Defaults to `false`.

type NetworkAreaState

type NetworkAreaState struct {
	// 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 Consul datacenter that will be
	// joined to form the area.
	PeerDatacenter pulumi.StringPtrInput
	// Specifies a list of Consul servers to attempt to
	// join. Servers can be given as `IP`, `IP:port`, `hostname`, or `hostname:port`.
	RetryJoins pulumi.StringArrayInput
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
	// Specifies whether gossip over this area should be
	// encrypted with TLS if possible. Defaults to `false`.
	UseTls pulumi.BoolPtrInput
}

func (NetworkAreaState) ElementType

func (NetworkAreaState) ElementType() reflect.Type

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"`
	// The partition the node is associated with.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewNode(ctx, "foobar", &consul.NodeArgs{
			Address: pulumi.String("192.168.10.10"),
			Name:    pulumi.String("foobar"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The `consul_node` resource can be imported:

```sh $ pulumi import consul:index/node:Node example node-name ```

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.

func (*Node) ElementType

func (*Node) ElementType() reflect.Type

func (*Node) ToNodeOutput

func (i *Node) ToNodeOutput() NodeOutput

func (*Node) ToNodeOutputWithContext

func (i *Node) ToNodeOutputWithContext(ctx context.Context) NodeOutput

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
	// The partition the node is associated with.
	Partition pulumi.StringPtrInput
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Node resource.

func (NodeArgs) ElementType

func (NodeArgs) ElementType() reflect.Type

type NodeArray

type NodeArray []NodeInput

func (NodeArray) ElementType

func (NodeArray) ElementType() reflect.Type

func (NodeArray) ToNodeArrayOutput

func (i NodeArray) ToNodeArrayOutput() NodeArrayOutput

func (NodeArray) ToNodeArrayOutputWithContext

func (i NodeArray) ToNodeArrayOutputWithContext(ctx context.Context) NodeArrayOutput

type NodeArrayInput

type NodeArrayInput interface {
	pulumi.Input

	ToNodeArrayOutput() NodeArrayOutput
	ToNodeArrayOutputWithContext(context.Context) NodeArrayOutput
}

NodeArrayInput is an input type that accepts NodeArray and NodeArrayOutput values. You can construct a concrete instance of `NodeArrayInput` via:

NodeArray{ NodeArgs{...} }

type NodeArrayOutput

type NodeArrayOutput struct{ *pulumi.OutputState }

func (NodeArrayOutput) ElementType

func (NodeArrayOutput) ElementType() reflect.Type

func (NodeArrayOutput) Index

func (NodeArrayOutput) ToNodeArrayOutput

func (o NodeArrayOutput) ToNodeArrayOutput() NodeArrayOutput

func (NodeArrayOutput) ToNodeArrayOutputWithContext

func (o NodeArrayOutput) ToNodeArrayOutputWithContext(ctx context.Context) NodeArrayOutput

type NodeInput

type NodeInput interface {
	pulumi.Input

	ToNodeOutput() NodeOutput
	ToNodeOutputWithContext(ctx context.Context) NodeOutput
}

type NodeMap

type NodeMap map[string]NodeInput

func (NodeMap) ElementType

func (NodeMap) ElementType() reflect.Type

func (NodeMap) ToNodeMapOutput

func (i NodeMap) ToNodeMapOutput() NodeMapOutput

func (NodeMap) ToNodeMapOutputWithContext

func (i NodeMap) ToNodeMapOutputWithContext(ctx context.Context) NodeMapOutput

type NodeMapInput

type NodeMapInput interface {
	pulumi.Input

	ToNodeMapOutput() NodeMapOutput
	ToNodeMapOutputWithContext(context.Context) NodeMapOutput
}

NodeMapInput is an input type that accepts NodeMap and NodeMapOutput values. You can construct a concrete instance of `NodeMapInput` via:

NodeMap{ "key": NodeArgs{...} }

type NodeMapOutput

type NodeMapOutput struct{ *pulumi.OutputState }

func (NodeMapOutput) ElementType

func (NodeMapOutput) ElementType() reflect.Type

func (NodeMapOutput) MapIndex

func (NodeMapOutput) ToNodeMapOutput

func (o NodeMapOutput) ToNodeMapOutput() NodeMapOutput

func (NodeMapOutput) ToNodeMapOutputWithContext

func (o NodeMapOutput) ToNodeMapOutputWithContext(ctx context.Context) NodeMapOutput

type NodeOutput

type NodeOutput struct{ *pulumi.OutputState }

func (NodeOutput) Address

func (o NodeOutput) Address() pulumi.StringOutput

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

func (NodeOutput) Datacenter

func (o NodeOutput) Datacenter() pulumi.StringOutput

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (NodeOutput) ElementType

func (NodeOutput) ElementType() reflect.Type

func (NodeOutput) Meta

Key/value pairs that are associated with the node.

func (NodeOutput) Name

func (o NodeOutput) Name() pulumi.StringOutput

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

func (NodeOutput) Partition

func (o NodeOutput) Partition() pulumi.StringPtrOutput

The partition the node is associated with.

func (NodeOutput) ToNodeOutput

func (o NodeOutput) ToNodeOutput() NodeOutput

func (NodeOutput) ToNodeOutputWithContext

func (o NodeOutput) ToNodeOutputWithContext(ctx context.Context) NodeOutput

func (NodeOutput) Token deprecated

func (o NodeOutput) Token() pulumi.StringPtrOutput

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

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
	// The partition the node is associated with.
	Partition pulumi.StringPtrInput
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
}

func (NodeState) ElementType

func (NodeState) ElementType() reflect.Type

type Peering

type Peering struct {
	pulumi.CustomResourceState

	DeletedAt pulumi.StringOutput `pulumi:"deletedAt"`
	// Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
	Meta       pulumi.StringMapOutput   `pulumi:"meta"`
	Partition  pulumi.StringPtrOutput   `pulumi:"partition"`
	PeerCaPems pulumi.StringArrayOutput `pulumi:"peerCaPems"`
	PeerId     pulumi.StringOutput      `pulumi:"peerId"`
	// The name assigned to the peer cluster. The `peerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
	PeerName            pulumi.StringOutput      `pulumi:"peerName"`
	PeerServerAddresses pulumi.StringArrayOutput `pulumi:"peerServerAddresses"`
	PeerServerName      pulumi.StringOutput      `pulumi:"peerServerName"`
	// The peering token fetched from the peer cluster.
	PeeringToken pulumi.StringOutput `pulumi:"peeringToken"`
	State        pulumi.StringOutput `pulumi:"state"`
}

[Cluster Peering](https://www.consul.io/docs/connect/cluster-peering) can be used to create connections between two or more independent clusters so that services deployed to different partitions or datacenters can communicate.

The `clusterPeering` resource can be used to establish the peering after a peering token has been generated.

> **Cluster peering is currently in technical preview:** Functionality associated with cluster peering is subject to change. You should never use the technical preview release in secure environments or production scenarios. Features in technical preview may have performance issues, scaling issues, and limited support.

The functionality described here is available only in Consul version 1.13.0 and later.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewPeeringToken(ctx, "eu-us", &consul.PeeringTokenArgs{
			PeerName: pulumi.String("eu-cluster"),
		})
		if err != nil {
			return err
		}
		_, err = consul.NewPeering(ctx, "eu-us", &consul.PeeringArgs{
			PeerName:     pulumi.String("eu-cluster"),
			PeeringToken: pulumi.Any(token.PeeringToken),
			Meta: pulumi.StringMap{
				"hello": pulumi.String("world"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetPeering

func GetPeering(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PeeringState, opts ...pulumi.ResourceOption) (*Peering, error)

GetPeering gets an existing Peering 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 NewPeering

func NewPeering(ctx *pulumi.Context,
	name string, args *PeeringArgs, opts ...pulumi.ResourceOption) (*Peering, error)

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

func (*Peering) ElementType

func (*Peering) ElementType() reflect.Type

func (*Peering) ToPeeringOutput

func (i *Peering) ToPeeringOutput() PeeringOutput

func (*Peering) ToPeeringOutputWithContext

func (i *Peering) ToPeeringOutputWithContext(ctx context.Context) PeeringOutput

type PeeringArgs

type PeeringArgs struct {
	// Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
	Meta      pulumi.StringMapInput
	Partition pulumi.StringPtrInput
	// The name assigned to the peer cluster. The `peerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
	PeerName pulumi.StringInput
	// The peering token fetched from the peer cluster.
	PeeringToken pulumi.StringInput
}

The set of arguments for constructing a Peering resource.

func (PeeringArgs) ElementType

func (PeeringArgs) ElementType() reflect.Type

type PeeringArray

type PeeringArray []PeeringInput

func (PeeringArray) ElementType

func (PeeringArray) ElementType() reflect.Type

func (PeeringArray) ToPeeringArrayOutput

func (i PeeringArray) ToPeeringArrayOutput() PeeringArrayOutput

func (PeeringArray) ToPeeringArrayOutputWithContext

func (i PeeringArray) ToPeeringArrayOutputWithContext(ctx context.Context) PeeringArrayOutput

type PeeringArrayInput

type PeeringArrayInput interface {
	pulumi.Input

	ToPeeringArrayOutput() PeeringArrayOutput
	ToPeeringArrayOutputWithContext(context.Context) PeeringArrayOutput
}

PeeringArrayInput is an input type that accepts PeeringArray and PeeringArrayOutput values. You can construct a concrete instance of `PeeringArrayInput` via:

PeeringArray{ PeeringArgs{...} }

type PeeringArrayOutput

type PeeringArrayOutput struct{ *pulumi.OutputState }

func (PeeringArrayOutput) ElementType

func (PeeringArrayOutput) ElementType() reflect.Type

func (PeeringArrayOutput) Index

func (PeeringArrayOutput) ToPeeringArrayOutput

func (o PeeringArrayOutput) ToPeeringArrayOutput() PeeringArrayOutput

func (PeeringArrayOutput) ToPeeringArrayOutputWithContext

func (o PeeringArrayOutput) ToPeeringArrayOutputWithContext(ctx context.Context) PeeringArrayOutput

type PeeringInput

type PeeringInput interface {
	pulumi.Input

	ToPeeringOutput() PeeringOutput
	ToPeeringOutputWithContext(ctx context.Context) PeeringOutput
}

type PeeringMap

type PeeringMap map[string]PeeringInput

func (PeeringMap) ElementType

func (PeeringMap) ElementType() reflect.Type

func (PeeringMap) ToPeeringMapOutput

func (i PeeringMap) ToPeeringMapOutput() PeeringMapOutput

func (PeeringMap) ToPeeringMapOutputWithContext

func (i PeeringMap) ToPeeringMapOutputWithContext(ctx context.Context) PeeringMapOutput

type PeeringMapInput

type PeeringMapInput interface {
	pulumi.Input

	ToPeeringMapOutput() PeeringMapOutput
	ToPeeringMapOutputWithContext(context.Context) PeeringMapOutput
}

PeeringMapInput is an input type that accepts PeeringMap and PeeringMapOutput values. You can construct a concrete instance of `PeeringMapInput` via:

PeeringMap{ "key": PeeringArgs{...} }

type PeeringMapOutput

type PeeringMapOutput struct{ *pulumi.OutputState }

func (PeeringMapOutput) ElementType

func (PeeringMapOutput) ElementType() reflect.Type

func (PeeringMapOutput) MapIndex

func (PeeringMapOutput) ToPeeringMapOutput

func (o PeeringMapOutput) ToPeeringMapOutput() PeeringMapOutput

func (PeeringMapOutput) ToPeeringMapOutputWithContext

func (o PeeringMapOutput) ToPeeringMapOutputWithContext(ctx context.Context) PeeringMapOutput

type PeeringOutput

type PeeringOutput struct{ *pulumi.OutputState }

func (PeeringOutput) DeletedAt

func (o PeeringOutput) DeletedAt() pulumi.StringOutput

func (PeeringOutput) ElementType

func (PeeringOutput) ElementType() reflect.Type

func (PeeringOutput) Meta

Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.

func (PeeringOutput) Partition

func (o PeeringOutput) Partition() pulumi.StringPtrOutput

func (PeeringOutput) PeerCaPems

func (o PeeringOutput) PeerCaPems() pulumi.StringArrayOutput

func (PeeringOutput) PeerId

func (o PeeringOutput) PeerId() pulumi.StringOutput

func (PeeringOutput) PeerName

func (o PeeringOutput) PeerName() pulumi.StringOutput

The name assigned to the peer cluster. The `peerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.

func (PeeringOutput) PeerServerAddresses

func (o PeeringOutput) PeerServerAddresses() pulumi.StringArrayOutput

func (PeeringOutput) PeerServerName

func (o PeeringOutput) PeerServerName() pulumi.StringOutput

func (PeeringOutput) PeeringToken

func (o PeeringOutput) PeeringToken() pulumi.StringOutput

The peering token fetched from the peer cluster.

func (PeeringOutput) State

func (o PeeringOutput) State() pulumi.StringOutput

func (PeeringOutput) ToPeeringOutput

func (o PeeringOutput) ToPeeringOutput() PeeringOutput

func (PeeringOutput) ToPeeringOutputWithContext

func (o PeeringOutput) ToPeeringOutputWithContext(ctx context.Context) PeeringOutput

type PeeringState

type PeeringState struct {
	DeletedAt pulumi.StringPtrInput
	// Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
	Meta       pulumi.StringMapInput
	Partition  pulumi.StringPtrInput
	PeerCaPems pulumi.StringArrayInput
	PeerId     pulumi.StringPtrInput
	// The name assigned to the peer cluster. The `peerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
	PeerName            pulumi.StringPtrInput
	PeerServerAddresses pulumi.StringArrayInput
	PeerServerName      pulumi.StringPtrInput
	// The peering token fetched from the peer cluster.
	PeeringToken pulumi.StringPtrInput
	State        pulumi.StringPtrInput
}

func (PeeringState) ElementType

func (PeeringState) ElementType() reflect.Type

type PeeringToken

type PeeringToken struct {
	pulumi.CustomResourceState

	// Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
	Meta      pulumi.StringMapOutput `pulumi:"meta"`
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// The name assigned to the peer cluster. The `peerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
	PeerName pulumi.StringOutput `pulumi:"peerName"`
	// The generated peering token
	PeeringToken pulumi.StringOutput `pulumi:"peeringToken"`
	// The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
	ServerExternalAddresses pulumi.StringArrayOutput `pulumi:"serverExternalAddresses"`
}

[Cluster Peering](https://www.consul.io/docs/connect/cluster-peering) can be used to create connections between two or more independent clusters so that services deployed to different partitions or datacenters can communicate.

The `clusterPeeringToken` resource can be used to generate a peering token that can later be used to establish a peering connection.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewPeeringToken(ctx, "token", &consul.PeeringTokenArgs{
			PeerName: pulumi.String("eu-cluster"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetPeeringToken

func GetPeeringToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PeeringTokenState, opts ...pulumi.ResourceOption) (*PeeringToken, error)

GetPeeringToken gets an existing PeeringToken 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 NewPeeringToken

func NewPeeringToken(ctx *pulumi.Context,
	name string, args *PeeringTokenArgs, opts ...pulumi.ResourceOption) (*PeeringToken, error)

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

func (*PeeringToken) ElementType

func (*PeeringToken) ElementType() reflect.Type

func (*PeeringToken) ToPeeringTokenOutput

func (i *PeeringToken) ToPeeringTokenOutput() PeeringTokenOutput

func (*PeeringToken) ToPeeringTokenOutputWithContext

func (i *PeeringToken) ToPeeringTokenOutputWithContext(ctx context.Context) PeeringTokenOutput

type PeeringTokenArgs

type PeeringTokenArgs struct {
	// Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
	Meta      pulumi.StringMapInput
	Partition pulumi.StringPtrInput
	// The name assigned to the peer cluster. The `peerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
	PeerName pulumi.StringInput
	// The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
	ServerExternalAddresses pulumi.StringArrayInput
}

The set of arguments for constructing a PeeringToken resource.

func (PeeringTokenArgs) ElementType

func (PeeringTokenArgs) ElementType() reflect.Type

type PeeringTokenArray

type PeeringTokenArray []PeeringTokenInput

func (PeeringTokenArray) ElementType

func (PeeringTokenArray) ElementType() reflect.Type

func (PeeringTokenArray) ToPeeringTokenArrayOutput

func (i PeeringTokenArray) ToPeeringTokenArrayOutput() PeeringTokenArrayOutput

func (PeeringTokenArray) ToPeeringTokenArrayOutputWithContext

func (i PeeringTokenArray) ToPeeringTokenArrayOutputWithContext(ctx context.Context) PeeringTokenArrayOutput

type PeeringTokenArrayInput

type PeeringTokenArrayInput interface {
	pulumi.Input

	ToPeeringTokenArrayOutput() PeeringTokenArrayOutput
	ToPeeringTokenArrayOutputWithContext(context.Context) PeeringTokenArrayOutput
}

PeeringTokenArrayInput is an input type that accepts PeeringTokenArray and PeeringTokenArrayOutput values. You can construct a concrete instance of `PeeringTokenArrayInput` via:

PeeringTokenArray{ PeeringTokenArgs{...} }

type PeeringTokenArrayOutput

type PeeringTokenArrayOutput struct{ *pulumi.OutputState }

func (PeeringTokenArrayOutput) ElementType

func (PeeringTokenArrayOutput) ElementType() reflect.Type

func (PeeringTokenArrayOutput) Index

func (PeeringTokenArrayOutput) ToPeeringTokenArrayOutput

func (o PeeringTokenArrayOutput) ToPeeringTokenArrayOutput() PeeringTokenArrayOutput

func (PeeringTokenArrayOutput) ToPeeringTokenArrayOutputWithContext

func (o PeeringTokenArrayOutput) ToPeeringTokenArrayOutputWithContext(ctx context.Context) PeeringTokenArrayOutput

type PeeringTokenInput

type PeeringTokenInput interface {
	pulumi.Input

	ToPeeringTokenOutput() PeeringTokenOutput
	ToPeeringTokenOutputWithContext(ctx context.Context) PeeringTokenOutput
}

type PeeringTokenMap

type PeeringTokenMap map[string]PeeringTokenInput

func (PeeringTokenMap) ElementType

func (PeeringTokenMap) ElementType() reflect.Type

func (PeeringTokenMap) ToPeeringTokenMapOutput

func (i PeeringTokenMap) ToPeeringTokenMapOutput() PeeringTokenMapOutput

func (PeeringTokenMap) ToPeeringTokenMapOutputWithContext

func (i PeeringTokenMap) ToPeeringTokenMapOutputWithContext(ctx context.Context) PeeringTokenMapOutput

type PeeringTokenMapInput

type PeeringTokenMapInput interface {
	pulumi.Input

	ToPeeringTokenMapOutput() PeeringTokenMapOutput
	ToPeeringTokenMapOutputWithContext(context.Context) PeeringTokenMapOutput
}

PeeringTokenMapInput is an input type that accepts PeeringTokenMap and PeeringTokenMapOutput values. You can construct a concrete instance of `PeeringTokenMapInput` via:

PeeringTokenMap{ "key": PeeringTokenArgs{...} }

type PeeringTokenMapOutput

type PeeringTokenMapOutput struct{ *pulumi.OutputState }

func (PeeringTokenMapOutput) ElementType

func (PeeringTokenMapOutput) ElementType() reflect.Type

func (PeeringTokenMapOutput) MapIndex

func (PeeringTokenMapOutput) ToPeeringTokenMapOutput

func (o PeeringTokenMapOutput) ToPeeringTokenMapOutput() PeeringTokenMapOutput

func (PeeringTokenMapOutput) ToPeeringTokenMapOutputWithContext

func (o PeeringTokenMapOutput) ToPeeringTokenMapOutputWithContext(ctx context.Context) PeeringTokenMapOutput

type PeeringTokenOutput

type PeeringTokenOutput struct{ *pulumi.OutputState }

func (PeeringTokenOutput) ElementType

func (PeeringTokenOutput) ElementType() reflect.Type

func (PeeringTokenOutput) Meta

Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.

func (PeeringTokenOutput) Partition

func (PeeringTokenOutput) PeerName

func (o PeeringTokenOutput) PeerName() pulumi.StringOutput

The name assigned to the peer cluster. The `peerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.

func (PeeringTokenOutput) PeeringToken

func (o PeeringTokenOutput) PeeringToken() pulumi.StringOutput

The generated peering token

func (PeeringTokenOutput) ServerExternalAddresses added in v3.12.0

func (o PeeringTokenOutput) ServerExternalAddresses() pulumi.StringArrayOutput

The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.

func (PeeringTokenOutput) ToPeeringTokenOutput

func (o PeeringTokenOutput) ToPeeringTokenOutput() PeeringTokenOutput

func (PeeringTokenOutput) ToPeeringTokenOutputWithContext

func (o PeeringTokenOutput) ToPeeringTokenOutputWithContext(ctx context.Context) PeeringTokenOutput

type PeeringTokenState

type PeeringTokenState struct {
	// Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
	Meta      pulumi.StringMapInput
	Partition pulumi.StringPtrInput
	// The name assigned to the peer cluster. The `peerName` is used to reference the peer cluster in service discovery queries and configuration entries such as `service-intentions`. This field must be a valid DNS hostname label.
	PeerName pulumi.StringPtrInput
	// The generated peering token
	PeeringToken pulumi.StringPtrInput
	// The addresses for the cluster that generates the peering token. Addresses take the form {host or IP}:port. You can specify one or more load balancers or external IPs that route external traffic to this cluster's Consul servers.
	ServerExternalAddresses pulumi.StringArrayInput
}

func (PeeringTokenState) ElementType

func (PeeringTokenState) 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"`
	// Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
	IgnoreCheckIds pulumi.StringArrayOutput `pulumi:"ignoreCheckIds"`
	// 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"`
	// Specifies a list of user-defined key/value pairs that will be used for filtering the query results to nodes with the given metadata values present.
	NodeMeta pulumi.StringMapOutput `pulumi:"nodeMeta"`
	// 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"`
	// Specifies a list of user-defined key/value pairs that will be used for filtering the query results to services with the given metadata values present.
	ServiceMeta pulumi.StringMapOutput `pulumi:"serviceMeta"`
	// 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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Creates a prepared query myquery.query.consul that finds the nearest
		// healthy myapp.service.consul instance that has the active tag and not
		// the standby tag.
		_, err := consul.NewPreparedQuery(ctx, "myapp-query", &consul.PreparedQueryArgs{
			Name:        pulumi.String("myquery"),
			Datacenter:  pulumi.String("us-central1"),
			Token:       pulumi.String("abcd"),
			StoredToken: pulumi.String("wxyz"),
			OnlyPassing: pulumi.Bool(true),
			Near:        pulumi.String("_agent"),
			Service:     pulumi.String("myapp"),
			Tags: pulumi.StringArray{
				pulumi.String("active"),
				pulumi.String("!standby"),
			},
			Failover: &consul.PreparedQueryFailoverArgs{
				NearestN: pulumi.Int(3),
				Datacenters: pulumi.StringArray{
					pulumi.String("us-west1"),
					pulumi.String("us-east-2"),
					pulumi.String("asia-east1"),
				},
			},
			Dns: &consul.PreparedQueryDnsArgs{
				Ttl: pulumi.String("30s"),
			},
		})
		if err != nil {
			return err
		}
		// Creates a Prepared Query Template that matches *-near-self.query.consul
		// and finds the nearest service that matches the glob character (e.g.
		// foo-near-self.query.consul will find the nearest healthy foo.service.consul).
		_, err = consul.NewPreparedQuery(ctx, "service-near-self", &consul.PreparedQueryArgs{
			Datacenter:  pulumi.String("nyc1"),
			Token:       pulumi.String("abcd"),
			StoredToken: pulumi.String("wxyz"),
			Name:        pulumi.String(""),
			OnlyPassing: pulumi.Bool(true),
			Connect:     pulumi.Bool(true),
			Near:        pulumi.String("_agent"),
			Template: &consul.PreparedQueryTemplateArgs{
				Type:   pulumi.String("name_prefix_match"),
				Regexp: pulumi.String("^(.*)-near-self$"),
			},
			Service: pulumi.String("${match(1)}"),
			Failover: &consul.PreparedQueryFailoverArgs{
				NearestN: pulumi.Int(3),
				Datacenters: pulumi.StringArray{
					pulumi.String("dc2"),
					pulumi.String("dc3"),
					pulumi.String("dc4"),
				},
			},
			Dns: &consul.PreparedQueryDnsArgs{
				Ttl: pulumi.String("5m"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh $ pulumi import consul:index/preparedQuery:PreparedQuery my_service 71ecfb82-717a-4258-b4b6-2fb75144d856 ```

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.

func (*PreparedQuery) ElementType

func (*PreparedQuery) ElementType() reflect.Type

func (*PreparedQuery) ToPreparedQueryOutput

func (i *PreparedQuery) ToPreparedQueryOutput() PreparedQueryOutput

func (*PreparedQuery) ToPreparedQueryOutputWithContext

func (i *PreparedQuery) ToPreparedQueryOutputWithContext(ctx context.Context) PreparedQueryOutput

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
	// Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
	IgnoreCheckIds pulumi.StringArrayInput
	// 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
	// Specifies a list of user-defined key/value pairs that will be used for filtering the query results to nodes with the given metadata values present.
	NodeMeta pulumi.StringMapInput
	// 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
	// Specifies a list of user-defined key/value pairs that will be used for filtering the query results to services with the given metadata values present.
	ServiceMeta pulumi.StringMapInput
	// 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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a PreparedQuery resource.

func (PreparedQueryArgs) ElementType

func (PreparedQueryArgs) ElementType() reflect.Type

type PreparedQueryArray

type PreparedQueryArray []PreparedQueryInput

func (PreparedQueryArray) ElementType

func (PreparedQueryArray) ElementType() reflect.Type

func (PreparedQueryArray) ToPreparedQueryArrayOutput

func (i PreparedQueryArray) ToPreparedQueryArrayOutput() PreparedQueryArrayOutput

func (PreparedQueryArray) ToPreparedQueryArrayOutputWithContext

func (i PreparedQueryArray) ToPreparedQueryArrayOutputWithContext(ctx context.Context) PreparedQueryArrayOutput

type PreparedQueryArrayInput

type PreparedQueryArrayInput interface {
	pulumi.Input

	ToPreparedQueryArrayOutput() PreparedQueryArrayOutput
	ToPreparedQueryArrayOutputWithContext(context.Context) PreparedQueryArrayOutput
}

PreparedQueryArrayInput is an input type that accepts PreparedQueryArray and PreparedQueryArrayOutput values. You can construct a concrete instance of `PreparedQueryArrayInput` via:

PreparedQueryArray{ PreparedQueryArgs{...} }

type PreparedQueryArrayOutput

type PreparedQueryArrayOutput struct{ *pulumi.OutputState }

func (PreparedQueryArrayOutput) ElementType

func (PreparedQueryArrayOutput) ElementType() reflect.Type

func (PreparedQueryArrayOutput) Index

func (PreparedQueryArrayOutput) ToPreparedQueryArrayOutput

func (o PreparedQueryArrayOutput) ToPreparedQueryArrayOutput() PreparedQueryArrayOutput

func (PreparedQueryArrayOutput) ToPreparedQueryArrayOutputWithContext

func (o PreparedQueryArrayOutput) ToPreparedQueryArrayOutputWithContext(ctx context.Context) PreparedQueryArrayOutput

type PreparedQueryDns

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

type PreparedQueryDnsArgs

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

func (PreparedQueryDnsArgs) ElementType

func (PreparedQueryDnsArgs) ElementType() reflect.Type

func (PreparedQueryDnsArgs) ToPreparedQueryDnsOutput

func (i PreparedQueryDnsArgs) ToPreparedQueryDnsOutput() PreparedQueryDnsOutput

func (PreparedQueryDnsArgs) ToPreparedQueryDnsOutputWithContext

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

func (PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutput

func (i PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput

func (PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutputWithContext

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

type PreparedQueryDnsInput

type PreparedQueryDnsInput interface {
	pulumi.Input

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

PreparedQueryDnsInput is an input type that accepts PreparedQueryDnsArgs and PreparedQueryDnsOutput values. You can construct a concrete instance of `PreparedQueryDnsInput` via:

PreparedQueryDnsArgs{...}

type PreparedQueryDnsOutput

type PreparedQueryDnsOutput struct{ *pulumi.OutputState }

func (PreparedQueryDnsOutput) ElementType

func (PreparedQueryDnsOutput) ElementType() reflect.Type

func (PreparedQueryDnsOutput) ToPreparedQueryDnsOutput

func (o PreparedQueryDnsOutput) ToPreparedQueryDnsOutput() PreparedQueryDnsOutput

func (PreparedQueryDnsOutput) ToPreparedQueryDnsOutputWithContext

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

func (PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutput

func (o PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput

func (PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutputWithContext

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

func (PreparedQueryDnsOutput) Ttl

The TTL to send when returning DNS results.

type PreparedQueryDnsPtrInput

type PreparedQueryDnsPtrInput interface {
	pulumi.Input

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

PreparedQueryDnsPtrInput is an input type that accepts PreparedQueryDnsArgs, PreparedQueryDnsPtr and PreparedQueryDnsPtrOutput values. You can construct a concrete instance of `PreparedQueryDnsPtrInput` via:

        PreparedQueryDnsArgs{...}

or:

        nil

type PreparedQueryDnsPtrOutput

type PreparedQueryDnsPtrOutput struct{ *pulumi.OutputState }

func (PreparedQueryDnsPtrOutput) Elem

func (PreparedQueryDnsPtrOutput) ElementType

func (PreparedQueryDnsPtrOutput) ElementType() reflect.Type

func (PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutput

func (o PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput

func (PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutputWithContext

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

func (PreparedQueryDnsPtrOutput) Ttl

The TTL to send when returning DNS results.

type PreparedQueryFailover

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"`
	// Specifies a sequential list of remote datacenters and cluster peers to failover to if there are no healthy service instances in the local datacenter. This option cannot be used with `nearestN` or `datacenters`.
	Targets []PreparedQueryFailoverTarget `pulumi:"targets"`
}

type PreparedQueryFailoverArgs

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"`
	// Specifies a sequential list of remote datacenters and cluster peers to failover to if there are no healthy service instances in the local datacenter. This option cannot be used with `nearestN` or `datacenters`.
	Targets PreparedQueryFailoverTargetArrayInput `pulumi:"targets"`
}

func (PreparedQueryFailoverArgs) ElementType

func (PreparedQueryFailoverArgs) ElementType() reflect.Type

func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutput

func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput

func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutputWithContext

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

func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutput

func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput

func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutputWithContext

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

type PreparedQueryFailoverInput

type PreparedQueryFailoverInput interface {
	pulumi.Input

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

PreparedQueryFailoverInput is an input type that accepts PreparedQueryFailoverArgs and PreparedQueryFailoverOutput values. You can construct a concrete instance of `PreparedQueryFailoverInput` via:

PreparedQueryFailoverArgs{...}

type PreparedQueryFailoverOutput

type PreparedQueryFailoverOutput struct{ *pulumi.OutputState }

func (PreparedQueryFailoverOutput) Datacenters

Remote datacenters to return results from.

func (PreparedQueryFailoverOutput) ElementType

func (PreparedQueryFailoverOutput) NearestN

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

func (PreparedQueryFailoverOutput) Targets

Specifies a sequential list of remote datacenters and cluster peers to failover to if there are no healthy service instances in the local datacenter. This option cannot be used with `nearestN` or `datacenters`.

func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutput

func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput

func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutputWithContext

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

func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutput

func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput

func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutputWithContext

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

type PreparedQueryFailoverPtrInput

type PreparedQueryFailoverPtrInput interface {
	pulumi.Input

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

PreparedQueryFailoverPtrInput is an input type that accepts PreparedQueryFailoverArgs, PreparedQueryFailoverPtr and PreparedQueryFailoverPtrOutput values. You can construct a concrete instance of `PreparedQueryFailoverPtrInput` via:

        PreparedQueryFailoverArgs{...}

or:

        nil

type PreparedQueryFailoverPtrOutput

type PreparedQueryFailoverPtrOutput struct{ *pulumi.OutputState }

func (PreparedQueryFailoverPtrOutput) Datacenters

Remote datacenters to return results from.

func (PreparedQueryFailoverPtrOutput) Elem

func (PreparedQueryFailoverPtrOutput) ElementType

func (PreparedQueryFailoverPtrOutput) NearestN

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

func (PreparedQueryFailoverPtrOutput) Targets

Specifies a sequential list of remote datacenters and cluster peers to failover to if there are no healthy service instances in the local datacenter. This option cannot be used with `nearestN` or `datacenters`.

func (PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutput

func (o PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput

func (PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutputWithContext

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

type PreparedQueryFailoverTarget

type PreparedQueryFailoverTarget struct {
	// Specifies a WAN federated datacenter to forward the query to.
	Datacenter *string `pulumi:"datacenter"`
	// Specifies a cluster peer to use for failover.
	Peer *string `pulumi:"peer"`
}

type PreparedQueryFailoverTargetArgs

type PreparedQueryFailoverTargetArgs struct {
	// Specifies a WAN federated datacenter to forward the query to.
	Datacenter pulumi.StringPtrInput `pulumi:"datacenter"`
	// Specifies a cluster peer to use for failover.
	Peer pulumi.StringPtrInput `pulumi:"peer"`
}

func (PreparedQueryFailoverTargetArgs) ElementType

func (PreparedQueryFailoverTargetArgs) ToPreparedQueryFailoverTargetOutput

func (i PreparedQueryFailoverTargetArgs) ToPreparedQueryFailoverTargetOutput() PreparedQueryFailoverTargetOutput

func (PreparedQueryFailoverTargetArgs) ToPreparedQueryFailoverTargetOutputWithContext

func (i PreparedQueryFailoverTargetArgs) ToPreparedQueryFailoverTargetOutputWithContext(ctx context.Context) PreparedQueryFailoverTargetOutput

type PreparedQueryFailoverTargetArray

type PreparedQueryFailoverTargetArray []PreparedQueryFailoverTargetInput

func (PreparedQueryFailoverTargetArray) ElementType

func (PreparedQueryFailoverTargetArray) ToPreparedQueryFailoverTargetArrayOutput

func (i PreparedQueryFailoverTargetArray) ToPreparedQueryFailoverTargetArrayOutput() PreparedQueryFailoverTargetArrayOutput

func (PreparedQueryFailoverTargetArray) ToPreparedQueryFailoverTargetArrayOutputWithContext

func (i PreparedQueryFailoverTargetArray) ToPreparedQueryFailoverTargetArrayOutputWithContext(ctx context.Context) PreparedQueryFailoverTargetArrayOutput

type PreparedQueryFailoverTargetArrayInput

type PreparedQueryFailoverTargetArrayInput interface {
	pulumi.Input

	ToPreparedQueryFailoverTargetArrayOutput() PreparedQueryFailoverTargetArrayOutput
	ToPreparedQueryFailoverTargetArrayOutputWithContext(context.Context) PreparedQueryFailoverTargetArrayOutput
}

PreparedQueryFailoverTargetArrayInput is an input type that accepts PreparedQueryFailoverTargetArray and PreparedQueryFailoverTargetArrayOutput values. You can construct a concrete instance of `PreparedQueryFailoverTargetArrayInput` via:

PreparedQueryFailoverTargetArray{ PreparedQueryFailoverTargetArgs{...} }

type PreparedQueryFailoverTargetArrayOutput

type PreparedQueryFailoverTargetArrayOutput struct{ *pulumi.OutputState }

func (PreparedQueryFailoverTargetArrayOutput) ElementType

func (PreparedQueryFailoverTargetArrayOutput) Index

func (PreparedQueryFailoverTargetArrayOutput) ToPreparedQueryFailoverTargetArrayOutput

func (o PreparedQueryFailoverTargetArrayOutput) ToPreparedQueryFailoverTargetArrayOutput() PreparedQueryFailoverTargetArrayOutput

func (PreparedQueryFailoverTargetArrayOutput) ToPreparedQueryFailoverTargetArrayOutputWithContext

func (o PreparedQueryFailoverTargetArrayOutput) ToPreparedQueryFailoverTargetArrayOutputWithContext(ctx context.Context) PreparedQueryFailoverTargetArrayOutput

type PreparedQueryFailoverTargetInput

type PreparedQueryFailoverTargetInput interface {
	pulumi.Input

	ToPreparedQueryFailoverTargetOutput() PreparedQueryFailoverTargetOutput
	ToPreparedQueryFailoverTargetOutputWithContext(context.Context) PreparedQueryFailoverTargetOutput
}

PreparedQueryFailoverTargetInput is an input type that accepts PreparedQueryFailoverTargetArgs and PreparedQueryFailoverTargetOutput values. You can construct a concrete instance of `PreparedQueryFailoverTargetInput` via:

PreparedQueryFailoverTargetArgs{...}

type PreparedQueryFailoverTargetOutput

type PreparedQueryFailoverTargetOutput struct{ *pulumi.OutputState }

func (PreparedQueryFailoverTargetOutput) Datacenter

Specifies a WAN federated datacenter to forward the query to.

func (PreparedQueryFailoverTargetOutput) ElementType

func (PreparedQueryFailoverTargetOutput) Peer

Specifies a cluster peer to use for failover.

func (PreparedQueryFailoverTargetOutput) ToPreparedQueryFailoverTargetOutput

func (o PreparedQueryFailoverTargetOutput) ToPreparedQueryFailoverTargetOutput() PreparedQueryFailoverTargetOutput

func (PreparedQueryFailoverTargetOutput) ToPreparedQueryFailoverTargetOutputWithContext

func (o PreparedQueryFailoverTargetOutput) ToPreparedQueryFailoverTargetOutputWithContext(ctx context.Context) PreparedQueryFailoverTargetOutput

type PreparedQueryInput

type PreparedQueryInput interface {
	pulumi.Input

	ToPreparedQueryOutput() PreparedQueryOutput
	ToPreparedQueryOutputWithContext(ctx context.Context) PreparedQueryOutput
}

type PreparedQueryMap

type PreparedQueryMap map[string]PreparedQueryInput

func (PreparedQueryMap) ElementType

func (PreparedQueryMap) ElementType() reflect.Type

func (PreparedQueryMap) ToPreparedQueryMapOutput

func (i PreparedQueryMap) ToPreparedQueryMapOutput() PreparedQueryMapOutput

func (PreparedQueryMap) ToPreparedQueryMapOutputWithContext

func (i PreparedQueryMap) ToPreparedQueryMapOutputWithContext(ctx context.Context) PreparedQueryMapOutput

type PreparedQueryMapInput

type PreparedQueryMapInput interface {
	pulumi.Input

	ToPreparedQueryMapOutput() PreparedQueryMapOutput
	ToPreparedQueryMapOutputWithContext(context.Context) PreparedQueryMapOutput
}

PreparedQueryMapInput is an input type that accepts PreparedQueryMap and PreparedQueryMapOutput values. You can construct a concrete instance of `PreparedQueryMapInput` via:

PreparedQueryMap{ "key": PreparedQueryArgs{...} }

type PreparedQueryMapOutput

type PreparedQueryMapOutput struct{ *pulumi.OutputState }

func (PreparedQueryMapOutput) ElementType

func (PreparedQueryMapOutput) ElementType() reflect.Type

func (PreparedQueryMapOutput) MapIndex

func (PreparedQueryMapOutput) ToPreparedQueryMapOutput

func (o PreparedQueryMapOutput) ToPreparedQueryMapOutput() PreparedQueryMapOutput

func (PreparedQueryMapOutput) ToPreparedQueryMapOutputWithContext

func (o PreparedQueryMapOutput) ToPreparedQueryMapOutputWithContext(ctx context.Context) PreparedQueryMapOutput

type PreparedQueryOutput

type PreparedQueryOutput struct{ *pulumi.OutputState }

func (PreparedQueryOutput) Connect

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.

func (PreparedQueryOutput) Datacenter

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (PreparedQueryOutput) Dns

Settings for controlling the DNS response details.

func (PreparedQueryOutput) ElementType

func (PreparedQueryOutput) ElementType() reflect.Type

func (PreparedQueryOutput) Failover

Options for controlling behavior when no healthy nodes are available in the local DC.

func (PreparedQueryOutput) IgnoreCheckIds

func (o PreparedQueryOutput) IgnoreCheckIds() pulumi.StringArrayOutput

Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.

func (PreparedQueryOutput) Name

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.

func (PreparedQueryOutput) Near

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.

func (PreparedQueryOutput) NodeMeta

Specifies a list of user-defined key/value pairs that will be used for filtering the query results to nodes with the given metadata values present.

func (PreparedQueryOutput) OnlyPassing

func (o PreparedQueryOutput) OnlyPassing() pulumi.BoolPtrOutput

When `true`, the prepared query will only return nodes with passing health checks in the result.

func (PreparedQueryOutput) Service

The name of the service to query

func (PreparedQueryOutput) ServiceMeta

func (o PreparedQueryOutput) ServiceMeta() pulumi.StringMapOutput

Specifies a list of user-defined key/value pairs that will be used for filtering the query results to services with the given metadata values present.

func (PreparedQueryOutput) Session

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.

func (PreparedQueryOutput) StoredToken

func (o PreparedQueryOutput) StoredToken() pulumi.StringPtrOutput

The ACL token to store with the prepared query. This token will be used by default whenever the query is executed.

func (PreparedQueryOutput) Tags

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.

func (PreparedQueryOutput) Template

Query templating options. This is used to make a single prepared query respond to many different requests

func (PreparedQueryOutput) ToPreparedQueryOutput

func (o PreparedQueryOutput) ToPreparedQueryOutput() PreparedQueryOutput

func (PreparedQueryOutput) ToPreparedQueryOutputWithContext

func (o PreparedQueryOutput) ToPreparedQueryOutputWithContext(ctx context.Context) PreparedQueryOutput

func (PreparedQueryOutput) Token deprecated

The ACL token to use when saving the prepared query. This overrides the token that the agent provides by default.

Deprecated: The token argument has been deprecated and will be removed in a future release. Please use the token argument in the provider configuration

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
	// Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
	IgnoreCheckIds pulumi.StringArrayInput
	// 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
	// Specifies a list of user-defined key/value pairs that will be used for filtering the query results to nodes with the given metadata values present.
	NodeMeta pulumi.StringMapInput
	// 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
	// Specifies a list of user-defined key/value pairs that will be used for filtering the query results to services with the given metadata values present.
	ServiceMeta pulumi.StringMapInput
	// 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.
	//
	// Deprecated: The token argument has been deprecated and will be removed in a future release.
	// Please use the token argument in the provider configuration
	Token pulumi.StringPtrInput
}

func (PreparedQueryState) ElementType

func (PreparedQueryState) ElementType() reflect.Type

type PreparedQueryTemplate

type PreparedQueryTemplate struct {
	// The regular expression to match with. When using `namePrefixMatch`, this regex is applied against the query name.
	Regexp string `pulumi:"regexp"`
	// If set to true, will cause the tags list inside the service structure to be stripped of any empty strings.
	RemoveEmptyTags *bool `pulumi:"removeEmptyTags"`
	// The type of template matching to perform. Currently only `namePrefixMatch` is supported.
	Type string `pulumi:"type"`
}

type PreparedQueryTemplateArgs

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"`
	// If set to true, will cause the tags list inside the service structure to be stripped of any empty strings.
	RemoveEmptyTags pulumi.BoolPtrInput `pulumi:"removeEmptyTags"`
	// The type of template matching to perform. Currently only `namePrefixMatch` is supported.
	Type pulumi.StringInput `pulumi:"type"`
}

func (PreparedQueryTemplateArgs) ElementType

func (PreparedQueryTemplateArgs) ElementType() reflect.Type

func (PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutput

func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput

func (PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutputWithContext

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

func (PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutput

func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput

func (PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutputWithContext

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

type PreparedQueryTemplateInput

type PreparedQueryTemplateInput interface {
	pulumi.Input

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

PreparedQueryTemplateInput is an input type that accepts PreparedQueryTemplateArgs and PreparedQueryTemplateOutput values. You can construct a concrete instance of `PreparedQueryTemplateInput` via:

PreparedQueryTemplateArgs{...}

type PreparedQueryTemplateOutput

type PreparedQueryTemplateOutput struct{ *pulumi.OutputState }

func (PreparedQueryTemplateOutput) ElementType

func (PreparedQueryTemplateOutput) Regexp

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

func (PreparedQueryTemplateOutput) RemoveEmptyTags

func (o PreparedQueryTemplateOutput) RemoveEmptyTags() pulumi.BoolPtrOutput

If set to true, will cause the tags list inside the service structure to be stripped of any empty strings.

func (PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutput

func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput

func (PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutputWithContext

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

func (PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutput

func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput

func (PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutputWithContext

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

func (PreparedQueryTemplateOutput) Type

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

type PreparedQueryTemplatePtrInput

type PreparedQueryTemplatePtrInput interface {
	pulumi.Input

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

PreparedQueryTemplatePtrInput is an input type that accepts PreparedQueryTemplateArgs, PreparedQueryTemplatePtr and PreparedQueryTemplatePtrOutput values. You can construct a concrete instance of `PreparedQueryTemplatePtrInput` via:

        PreparedQueryTemplateArgs{...}

or:

        nil

type PreparedQueryTemplatePtrOutput

type PreparedQueryTemplatePtrOutput struct{ *pulumi.OutputState }

func (PreparedQueryTemplatePtrOutput) Elem

func (PreparedQueryTemplatePtrOutput) ElementType

func (PreparedQueryTemplatePtrOutput) Regexp

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

func (PreparedQueryTemplatePtrOutput) RemoveEmptyTags

If set to true, will cause the tags list inside the service structure to be stripped of any empty strings.

func (PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutput

func (o PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput

func (PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutputWithContext

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

func (PreparedQueryTemplatePtrOutput) Type

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

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The HTTP(S) API address of the agent to use. Defaults to "127.0.0.1:8500".
	Address pulumi.StringPtrOutput `pulumi:"address"`
	// A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
	CaFile pulumi.StringPtrOutput `pulumi:"caFile"`
	// A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server
	// connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
	CaPath pulumi.StringPtrOutput `pulumi:"caPath"`
	// PEM-encoded certificate authority used to verify the remote agent's certificate.
	CaPem pulumi.StringPtrOutput `pulumi:"caPem"`
	// A path to a PEM-encoded certificate provided to the remote agent; requires use of `keyFile` or `keyPem`.
	CertFile pulumi.StringPtrOutput `pulumi:"certFile"`
	// PEM-encoded certificate provided to the remote agent; requires use of `keyFile` or `keyPem`.
	CertPem pulumi.StringPtrOutput `pulumi:"certPem"`
	// The datacenter to use. Defaults to that of the agent.
	Datacenter pulumi.StringPtrOutput `pulumi:"datacenter"`
	// HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or
	// `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
	HttpAuth pulumi.StringPtrOutput `pulumi:"httpAuth"`
	// A path to a PEM-encoded private key, required if `certFile` or `certPem` is specified.
	KeyFile pulumi.StringPtrOutput `pulumi:"keyFile"`
	// PEM-encoded private key, required if `certFile` or `certPem` is specified.
	KeyPem    pulumi.StringPtrOutput `pulumi:"keyPem"`
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The URL scheme of the agent to use ("http" or "https"). Defaults to "http".
	Scheme pulumi.StringPtrOutput `pulumi:"scheme"`
	// The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or
	// `CONSUL_TOKEN` as an environment variable.
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

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.

func NewProvider

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

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

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

type ProviderArgs

type ProviderArgs struct {
	// The HTTP(S) API address of the agent to use. Defaults to "127.0.0.1:8500".
	Address pulumi.StringPtrInput
	// Authenticates to Consul using a JWT authentication method.
	AuthJwt ProviderAuthJwtPtrInput
	// A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
	CaFile pulumi.StringPtrInput
	// A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server
	// connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
	CaPath pulumi.StringPtrInput
	// PEM-encoded certificate authority used to verify the remote agent's certificate.
	CaPem pulumi.StringPtrInput
	// A path to a PEM-encoded certificate provided to the remote agent; requires use of `keyFile` or `keyPem`.
	CertFile pulumi.StringPtrInput
	// PEM-encoded certificate provided to the remote agent; requires use of `keyFile` or `keyPem`.
	CertPem pulumi.StringPtrInput
	// The datacenter to use. Defaults to that of the agent.
	Datacenter pulumi.StringPtrInput
	// A configuration block, described below, that provides additional headers to be sent along with all requests to the
	// Consul server. This block can be specified multiple times.
	Headers ProviderHeaderArrayInput
	// HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or
	// `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
	HttpAuth pulumi.StringPtrInput
	// Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use.
	// Only use this with scheme set to "https".
	InsecureHttps pulumi.BoolPtrInput
	// A path to a PEM-encoded private key, required if `certFile` or `certPem` is specified.
	KeyFile pulumi.StringPtrInput
	// PEM-encoded private key, required if `certFile` or `certPem` is specified.
	KeyPem    pulumi.StringPtrInput
	Namespace pulumi.StringPtrInput
	// The URL scheme of the agent to use ("http" or "https"). Defaults to "http".
	Scheme pulumi.StringPtrInput
	// The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or
	// `CONSUL_TOKEN` as an environment variable.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderAuthJwt

type ProviderAuthJwt struct {
	// The name of the auth method to use for login.
	AuthMethod string `pulumi:"authMethod"`
	// The bearer token to present to the auth method during login for authentication purposes. For the Kubernetes auth method this is a [Service Account Token (JWT)](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#service-account-tokens).
	BearerToken *string `pulumi:"bearerToken"`
	// Specifies arbitrary KV metadata linked to the token. Can be useful to track origins.
	Meta                              map[string]string `pulumi:"meta"`
	UseTerraformCloudWorkloadIdentity *bool             `pulumi:"useTerraformCloudWorkloadIdentity"`
}

type ProviderAuthJwtArgs

type ProviderAuthJwtArgs struct {
	// The name of the auth method to use for login.
	AuthMethod pulumi.StringInput `pulumi:"authMethod"`
	// The bearer token to present to the auth method during login for authentication purposes. For the Kubernetes auth method this is a [Service Account Token (JWT)](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#service-account-tokens).
	BearerToken pulumi.StringPtrInput `pulumi:"bearerToken"`
	// Specifies arbitrary KV metadata linked to the token. Can be useful to track origins.
	Meta                              pulumi.StringMapInput `pulumi:"meta"`
	UseTerraformCloudWorkloadIdentity pulumi.BoolPtrInput   `pulumi:"useTerraformCloudWorkloadIdentity"`
}

func (ProviderAuthJwtArgs) ElementType

func (ProviderAuthJwtArgs) ElementType() reflect.Type

func (ProviderAuthJwtArgs) ToProviderAuthJwtOutput

func (i ProviderAuthJwtArgs) ToProviderAuthJwtOutput() ProviderAuthJwtOutput

func (ProviderAuthJwtArgs) ToProviderAuthJwtOutputWithContext

func (i ProviderAuthJwtArgs) ToProviderAuthJwtOutputWithContext(ctx context.Context) ProviderAuthJwtOutput

func (ProviderAuthJwtArgs) ToProviderAuthJwtPtrOutput

func (i ProviderAuthJwtArgs) ToProviderAuthJwtPtrOutput() ProviderAuthJwtPtrOutput

func (ProviderAuthJwtArgs) ToProviderAuthJwtPtrOutputWithContext

func (i ProviderAuthJwtArgs) ToProviderAuthJwtPtrOutputWithContext(ctx context.Context) ProviderAuthJwtPtrOutput

type ProviderAuthJwtInput

type ProviderAuthJwtInput interface {
	pulumi.Input

	ToProviderAuthJwtOutput() ProviderAuthJwtOutput
	ToProviderAuthJwtOutputWithContext(context.Context) ProviderAuthJwtOutput
}

ProviderAuthJwtInput is an input type that accepts ProviderAuthJwtArgs and ProviderAuthJwtOutput values. You can construct a concrete instance of `ProviderAuthJwtInput` via:

ProviderAuthJwtArgs{...}

type ProviderAuthJwtOutput

type ProviderAuthJwtOutput struct{ *pulumi.OutputState }

func (ProviderAuthJwtOutput) AuthMethod

func (o ProviderAuthJwtOutput) AuthMethod() pulumi.StringOutput

The name of the auth method to use for login.

func (ProviderAuthJwtOutput) BearerToken

The bearer token to present to the auth method during login for authentication purposes. For the Kubernetes auth method this is a [Service Account Token (JWT)](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#service-account-tokens).

func (ProviderAuthJwtOutput) ElementType

func (ProviderAuthJwtOutput) ElementType() reflect.Type

func (ProviderAuthJwtOutput) Meta

Specifies arbitrary KV metadata linked to the token. Can be useful to track origins.

func (ProviderAuthJwtOutput) ToProviderAuthJwtOutput

func (o ProviderAuthJwtOutput) ToProviderAuthJwtOutput() ProviderAuthJwtOutput

func (ProviderAuthJwtOutput) ToProviderAuthJwtOutputWithContext

func (o ProviderAuthJwtOutput) ToProviderAuthJwtOutputWithContext(ctx context.Context) ProviderAuthJwtOutput

func (ProviderAuthJwtOutput) ToProviderAuthJwtPtrOutput

func (o ProviderAuthJwtOutput) ToProviderAuthJwtPtrOutput() ProviderAuthJwtPtrOutput

func (ProviderAuthJwtOutput) ToProviderAuthJwtPtrOutputWithContext

func (o ProviderAuthJwtOutput) ToProviderAuthJwtPtrOutputWithContext(ctx context.Context) ProviderAuthJwtPtrOutput

func (ProviderAuthJwtOutput) UseTerraformCloudWorkloadIdentity

func (o ProviderAuthJwtOutput) UseTerraformCloudWorkloadIdentity() pulumi.BoolPtrOutput

type ProviderAuthJwtPtrInput

type ProviderAuthJwtPtrInput interface {
	pulumi.Input

	ToProviderAuthJwtPtrOutput() ProviderAuthJwtPtrOutput
	ToProviderAuthJwtPtrOutputWithContext(context.Context) ProviderAuthJwtPtrOutput
}

ProviderAuthJwtPtrInput is an input type that accepts ProviderAuthJwtArgs, ProviderAuthJwtPtr and ProviderAuthJwtPtrOutput values. You can construct a concrete instance of `ProviderAuthJwtPtrInput` via:

        ProviderAuthJwtArgs{...}

or:

        nil

type ProviderAuthJwtPtrOutput

type ProviderAuthJwtPtrOutput struct{ *pulumi.OutputState }

func (ProviderAuthJwtPtrOutput) AuthMethod

The name of the auth method to use for login.

func (ProviderAuthJwtPtrOutput) BearerToken

The bearer token to present to the auth method during login for authentication purposes. For the Kubernetes auth method this is a [Service Account Token (JWT)](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#service-account-tokens).

func (ProviderAuthJwtPtrOutput) Elem

func (ProviderAuthJwtPtrOutput) ElementType

func (ProviderAuthJwtPtrOutput) ElementType() reflect.Type

func (ProviderAuthJwtPtrOutput) Meta

Specifies arbitrary KV metadata linked to the token. Can be useful to track origins.

func (ProviderAuthJwtPtrOutput) ToProviderAuthJwtPtrOutput

func (o ProviderAuthJwtPtrOutput) ToProviderAuthJwtPtrOutput() ProviderAuthJwtPtrOutput

func (ProviderAuthJwtPtrOutput) ToProviderAuthJwtPtrOutputWithContext

func (o ProviderAuthJwtPtrOutput) ToProviderAuthJwtPtrOutputWithContext(ctx context.Context) ProviderAuthJwtPtrOutput

func (ProviderAuthJwtPtrOutput) UseTerraformCloudWorkloadIdentity

func (o ProviderAuthJwtPtrOutput) UseTerraformCloudWorkloadIdentity() pulumi.BoolPtrOutput

type ProviderHeader

type ProviderHeader struct {
	// The name of the header.
	Name string `pulumi:"name"`
	// The value of the header.
	Value string `pulumi:"value"`
}

type ProviderHeaderArgs

type ProviderHeaderArgs struct {
	// The name of the header.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the header.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ProviderHeaderArgs) ElementType

func (ProviderHeaderArgs) ElementType() reflect.Type

func (ProviderHeaderArgs) ToProviderHeaderOutput

func (i ProviderHeaderArgs) ToProviderHeaderOutput() ProviderHeaderOutput

func (ProviderHeaderArgs) ToProviderHeaderOutputWithContext

func (i ProviderHeaderArgs) ToProviderHeaderOutputWithContext(ctx context.Context) ProviderHeaderOutput

type ProviderHeaderArray

type ProviderHeaderArray []ProviderHeaderInput

func (ProviderHeaderArray) ElementType

func (ProviderHeaderArray) ElementType() reflect.Type

func (ProviderHeaderArray) ToProviderHeaderArrayOutput

func (i ProviderHeaderArray) ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput

func (ProviderHeaderArray) ToProviderHeaderArrayOutputWithContext

func (i ProviderHeaderArray) ToProviderHeaderArrayOutputWithContext(ctx context.Context) ProviderHeaderArrayOutput

type ProviderHeaderArrayInput

type ProviderHeaderArrayInput interface {
	pulumi.Input

	ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput
	ToProviderHeaderArrayOutputWithContext(context.Context) ProviderHeaderArrayOutput
}

ProviderHeaderArrayInput is an input type that accepts ProviderHeaderArray and ProviderHeaderArrayOutput values. You can construct a concrete instance of `ProviderHeaderArrayInput` via:

ProviderHeaderArray{ ProviderHeaderArgs{...} }

type ProviderHeaderArrayOutput

type ProviderHeaderArrayOutput struct{ *pulumi.OutputState }

func (ProviderHeaderArrayOutput) ElementType

func (ProviderHeaderArrayOutput) ElementType() reflect.Type

func (ProviderHeaderArrayOutput) Index

func (ProviderHeaderArrayOutput) ToProviderHeaderArrayOutput

func (o ProviderHeaderArrayOutput) ToProviderHeaderArrayOutput() ProviderHeaderArrayOutput

func (ProviderHeaderArrayOutput) ToProviderHeaderArrayOutputWithContext

func (o ProviderHeaderArrayOutput) ToProviderHeaderArrayOutputWithContext(ctx context.Context) ProviderHeaderArrayOutput

type ProviderHeaderInput

type ProviderHeaderInput interface {
	pulumi.Input

	ToProviderHeaderOutput() ProviderHeaderOutput
	ToProviderHeaderOutputWithContext(context.Context) ProviderHeaderOutput
}

ProviderHeaderInput is an input type that accepts ProviderHeaderArgs and ProviderHeaderOutput values. You can construct a concrete instance of `ProviderHeaderInput` via:

ProviderHeaderArgs{...}

type ProviderHeaderOutput

type ProviderHeaderOutput struct{ *pulumi.OutputState }

func (ProviderHeaderOutput) ElementType

func (ProviderHeaderOutput) ElementType() reflect.Type

func (ProviderHeaderOutput) Name

The name of the header.

func (ProviderHeaderOutput) ToProviderHeaderOutput

func (o ProviderHeaderOutput) ToProviderHeaderOutput() ProviderHeaderOutput

func (ProviderHeaderOutput) ToProviderHeaderOutputWithContext

func (o ProviderHeaderOutput) ToProviderHeaderOutputWithContext(ctx context.Context) ProviderHeaderOutput

func (ProviderHeaderOutput) Value

The value of the header.

type ProviderInput

type ProviderInput interface {
	pulumi.Input

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

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) Address

The HTTP(S) API address of the agent to use. Defaults to "127.0.0.1:8500".

func (ProviderOutput) CaFile

A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.

func (ProviderOutput) CaPath

A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server connections. Can also be specified with the `CONSUL_CAPATH` environment variable.

func (ProviderOutput) CaPem

PEM-encoded certificate authority used to verify the remote agent's certificate.

func (ProviderOutput) CertFile

func (o ProviderOutput) CertFile() pulumi.StringPtrOutput

A path to a PEM-encoded certificate provided to the remote agent; requires use of `keyFile` or `keyPem`.

func (ProviderOutput) CertPem

PEM-encoded certificate provided to the remote agent; requires use of `keyFile` or `keyPem`.

func (ProviderOutput) Datacenter

func (o ProviderOutput) Datacenter() pulumi.StringPtrOutput

The datacenter to use. Defaults to that of the agent.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) HttpAuth

func (o ProviderOutput) HttpAuth() pulumi.StringPtrOutput

HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.

func (ProviderOutput) KeyFile

A path to a PEM-encoded private key, required if `certFile` or `certPem` is specified.

func (ProviderOutput) KeyPem

PEM-encoded private key, required if `certFile` or `certPem` is specified.

func (ProviderOutput) Namespace

func (o ProviderOutput) Namespace() pulumi.StringPtrOutput

func (ProviderOutput) Scheme

The URL scheme of the agent to use ("http" or "https"). Defaults to "http".

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

func (ProviderOutput) Token

The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or `CONSUL_TOKEN` as an environment variable.

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"`
	// Specifies to disable the anti-entropy feature for this service's tags. Defaults to `false`.
	EnableTagOverride pulumi.BoolPtrOutput `pulumi:"enableTagOverride"`
	// Deprecated: The external field has been deprecated and does nothing.
	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 service.
	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 partition the service is associated with.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// The port of the service.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// If the service ID is not provided, it will be defaulted to the value of the `name` attribute.
	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).

> **NOTE:** If a Consul agent is running on the node where this service is registered, it is not recommended to use this resource as the service will be removed during the next [anti-entropy synchronization](https://www.consul.io/docs/architecture/anti-entropy).

## Example Usage

Creating a new node with the service:

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		compute, err := consul.NewNode(ctx, "compute", &consul.NodeArgs{
			Name:    pulumi.String("compute-google"),
			Address: pulumi.String("www.google.com"),
		})
		if err != nil {
			return err
		}
		_, err = consul.NewService(ctx, "google", &consul.ServiceArgs{
			Name: pulumi.String("google"),
			Node: compute.Name,
			Port: pulumi.Int(80),
			Tags: pulumi.StringArray{
				pulumi.String("tag0"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Utilizing an existing known node:

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewService(ctx, "google", &consul.ServiceArgs{
			Name: pulumi.String("google"),
			Node: pulumi.String("google"),
			Port: pulumi.Int(443),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Register a health-check:

```go package main

import (

"github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := consul.NewService(ctx, "redis", &consul.ServiceArgs{
			Name: pulumi.String("redis"),
			Node: pulumi.String("redis"),
			Port: pulumi.Int(6379),
			Checks: consul.ServiceCheckArray{
				&consul.ServiceCheckArgs{
					CheckId:                        pulumi.String("service:redis1"),
					Name:                           pulumi.String("Redis health check"),
					Status:                         pulumi.String("passing"),
					Http:                           pulumi.String("https://www.hashicorptest.com"),
					TlsSkipVerify:                  pulumi.Bool(false),
					Method:                         pulumi.String("PUT"),
					Interval:                       pulumi.String("5s"),
					Timeout:                        pulumi.String("1s"),
					DeregisterCriticalServiceAfter: pulumi.String("30s"),
					Headers: consul.ServiceCheckHeaderArray{
						&consul.ServiceCheckHeaderArgs{
							Name: pulumi.String("foo"),
							Values: pulumi.StringArray{
								pulumi.String("test"),
							},
						},
						&consul.ServiceCheckHeaderArgs{
							Name: pulumi.String("bar"),
							Values: pulumi.StringArray{
								pulumi.String("test"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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.

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

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
	// Specifies to disable the anti-entropy feature for this service's tags. Defaults to `false`.
	EnableTagOverride pulumi.BoolPtrInput
	// Deprecated: The external field has been deprecated and does nothing.
	External pulumi.BoolPtrInput
	// A map of arbitrary KV metadata linked to the service instance.
	Meta pulumi.StringMapInput
	// The name of the service.
	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 partition the service is associated with.
	Partition pulumi.StringPtrInput
	// The port of the service.
	Port pulumi.IntPtrInput
	// If the service ID is not provided, it will be defaulted to the value of the `name` attribute.
	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

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceCheck

type ServiceCheck struct {
	// An ID, *unique per agent*.
	CheckId string `pulumi:"checkId"`
	// The time after which the service is automatically deregistered when in the `critical` state. Defaults to `30s`. Setting to `0` will disable.
	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 health-check.
	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"`
	// Specifies a timeout for outgoing connections in the case of a HTTP or TCP check.
	Timeout string `pulumi:"timeout"`
	// Whether to deactivate certificate verification for HTTP health-checks. Defaults to `false`.
	TlsSkipVerify *bool `pulumi:"tlsSkipVerify"`
}

type ServiceCheckArgs

type ServiceCheckArgs struct {
	// An ID, *unique per agent*.
	CheckId pulumi.StringInput `pulumi:"checkId"`
	// The time after which the service is automatically deregistered when in the `critical` state. Defaults to `30s`. Setting to `0` will disable.
	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 health-check.
	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"`
	// Specifies a timeout for outgoing connections in the case of a HTTP or TCP check.
	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

func (ServiceCheckArgs) ElementType() reflect.Type

func (ServiceCheckArgs) ToServiceCheckOutput

func (i ServiceCheckArgs) ToServiceCheckOutput() ServiceCheckOutput

func (ServiceCheckArgs) ToServiceCheckOutputWithContext

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

type ServiceCheckArray

type ServiceCheckArray []ServiceCheckInput

func (ServiceCheckArray) ElementType

func (ServiceCheckArray) ElementType() reflect.Type

func (ServiceCheckArray) ToServiceCheckArrayOutput

func (i ServiceCheckArray) ToServiceCheckArrayOutput() ServiceCheckArrayOutput

func (ServiceCheckArray) ToServiceCheckArrayOutputWithContext

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

type ServiceCheckArrayInput

type ServiceCheckArrayInput interface {
	pulumi.Input

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

ServiceCheckArrayInput is an input type that accepts ServiceCheckArray and ServiceCheckArrayOutput values. You can construct a concrete instance of `ServiceCheckArrayInput` via:

ServiceCheckArray{ ServiceCheckArgs{...} }

type ServiceCheckArrayOutput

type ServiceCheckArrayOutput struct{ *pulumi.OutputState }

func (ServiceCheckArrayOutput) ElementType

func (ServiceCheckArrayOutput) ElementType() reflect.Type

func (ServiceCheckArrayOutput) Index

func (ServiceCheckArrayOutput) ToServiceCheckArrayOutput

func (o ServiceCheckArrayOutput) ToServiceCheckArrayOutput() ServiceCheckArrayOutput

func (ServiceCheckArrayOutput) ToServiceCheckArrayOutputWithContext

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

type ServiceCheckHeader

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

type ServiceCheckHeaderArgs

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

func (ServiceCheckHeaderArgs) ElementType() reflect.Type

func (ServiceCheckHeaderArgs) ToServiceCheckHeaderOutput

func (i ServiceCheckHeaderArgs) ToServiceCheckHeaderOutput() ServiceCheckHeaderOutput

func (ServiceCheckHeaderArgs) ToServiceCheckHeaderOutputWithContext

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

type ServiceCheckHeaderArray

type ServiceCheckHeaderArray []ServiceCheckHeaderInput

func (ServiceCheckHeaderArray) ElementType

func (ServiceCheckHeaderArray) ElementType() reflect.Type

func (ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutput

func (i ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutput() ServiceCheckHeaderArrayOutput

func (ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutputWithContext

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

type ServiceCheckHeaderArrayInput

type ServiceCheckHeaderArrayInput interface {
	pulumi.Input

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

ServiceCheckHeaderArrayInput is an input type that accepts ServiceCheckHeaderArray and ServiceCheckHeaderArrayOutput values. You can construct a concrete instance of `ServiceCheckHeaderArrayInput` via:

ServiceCheckHeaderArray{ ServiceCheckHeaderArgs{...} }

type ServiceCheckHeaderArrayOutput

type ServiceCheckHeaderArrayOutput struct{ *pulumi.OutputState }

func (ServiceCheckHeaderArrayOutput) ElementType

func (ServiceCheckHeaderArrayOutput) Index

func (ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutput

func (o ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutput() ServiceCheckHeaderArrayOutput

func (ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutputWithContext

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

type ServiceCheckHeaderInput

type ServiceCheckHeaderInput interface {
	pulumi.Input

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

ServiceCheckHeaderInput is an input type that accepts ServiceCheckHeaderArgs and ServiceCheckHeaderOutput values. You can construct a concrete instance of `ServiceCheckHeaderInput` via:

ServiceCheckHeaderArgs{...}

type ServiceCheckHeaderOutput

type ServiceCheckHeaderOutput struct{ *pulumi.OutputState }

func (ServiceCheckHeaderOutput) ElementType

func (ServiceCheckHeaderOutput) ElementType() reflect.Type

func (ServiceCheckHeaderOutput) Name

The name of the header.

func (ServiceCheckHeaderOutput) ToServiceCheckHeaderOutput

func (o ServiceCheckHeaderOutput) ToServiceCheckHeaderOutput() ServiceCheckHeaderOutput

func (ServiceCheckHeaderOutput) ToServiceCheckHeaderOutputWithContext

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

func (ServiceCheckHeaderOutput) Values

The header's list of values.

type ServiceCheckInput

type ServiceCheckInput interface {
	pulumi.Input

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

ServiceCheckInput is an input type that accepts ServiceCheckArgs and ServiceCheckOutput values. You can construct a concrete instance of `ServiceCheckInput` via:

ServiceCheckArgs{...}

type ServiceCheckOutput

type ServiceCheckOutput struct{ *pulumi.OutputState }

func (ServiceCheckOutput) CheckId

An ID, *unique per agent*.

func (ServiceCheckOutput) DeregisterCriticalServiceAfter

func (o ServiceCheckOutput) DeregisterCriticalServiceAfter() pulumi.StringPtrOutput

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

func (ServiceCheckOutput) ElementType

func (ServiceCheckOutput) ElementType() reflect.Type

func (ServiceCheckOutput) Headers

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

func (ServiceCheckOutput) Http

The HTTP endpoint to call for an HTTP check.

func (ServiceCheckOutput) Interval

func (o ServiceCheckOutput) Interval() pulumi.StringOutput

The interval to wait between each health-check invocation.

func (ServiceCheckOutput) Method

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

func (ServiceCheckOutput) Name

The name of the health-check.

func (ServiceCheckOutput) Notes

An opaque field meant to hold human readable text.

func (ServiceCheckOutput) Status

The initial health-check status.

func (ServiceCheckOutput) Tcp

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

func (ServiceCheckOutput) Timeout

Specifies a timeout for outgoing connections in the case of a HTTP or TCP check.

func (ServiceCheckOutput) TlsSkipVerify

func (o ServiceCheckOutput) TlsSkipVerify() pulumi.BoolPtrOutput

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

func (ServiceCheckOutput) ToServiceCheckOutput

func (o ServiceCheckOutput) ToServiceCheckOutput() ServiceCheckOutput

func (ServiceCheckOutput) ToServiceCheckOutputWithContext

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

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) Address

func (o ServiceOutput) Address() pulumi.StringOutput

The address of the service. Defaults to the address of the node.

func (ServiceOutput) Checks

func (ServiceOutput) Datacenter

func (o ServiceOutput) Datacenter() pulumi.StringOutput

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) EnableTagOverride

func (o ServiceOutput) EnableTagOverride() pulumi.BoolPtrOutput

Specifies to disable the anti-entropy feature for this service's tags. Defaults to `false`.

func (ServiceOutput) External deprecated

func (o ServiceOutput) External() pulumi.BoolPtrOutput

Deprecated: The external field has been deprecated and does nothing.

func (ServiceOutput) Meta

A map of arbitrary KV metadata linked to the service instance.

func (ServiceOutput) Name

The name of the service.

func (ServiceOutput) Namespace

func (o ServiceOutput) Namespace() pulumi.StringPtrOutput

The namespace to create the service within.

func (ServiceOutput) Node

The name of the node the to register the service on.

func (ServiceOutput) Partition

func (o ServiceOutput) Partition() pulumi.StringPtrOutput

The partition the service is associated with.

func (ServiceOutput) Port

The port of the service.

func (ServiceOutput) ServiceId

func (o ServiceOutput) ServiceId() pulumi.StringOutput

If the service ID is not provided, it will be defaulted to the value of the `name` attribute.

func (ServiceOutput) Tags

A list of values that are opaque to Consul, but can be used to distinguish between services or nodes.

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

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
	// Specifies to disable the anti-entropy feature for this service's tags. Defaults to `false`.
	EnableTagOverride pulumi.BoolPtrInput
	// Deprecated: The external field has been deprecated and does nothing.
	External pulumi.BoolPtrInput
	// A map of arbitrary KV metadata linked to the service instance.
	Meta pulumi.StringMapInput
	// The name of the service.
	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 partition the service is associated with.
	Partition pulumi.StringPtrInput
	// The port of the service.
	Port pulumi.IntPtrInput
	// If the service ID is not provided, it will be defaulted to the value of the `name` attribute.
	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

func (ServiceState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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