consul.getAgentSelf

Warning: The consul.getAgentSelf resource has been deprecated and will be removed from a future release of the provider. Read the upgrade instructions for more information.

The consul.getAgentSelf data source returns configuration and status data from the agent specified in the provider.

Using getAgentSelf

function getAgentSelf(opts?: InvokeOptions): Promise<GetAgentSelfResult>
def get_agent_self(opts: Optional[InvokeOptions] = None) -> GetAgentSelfResult
func GetAgentSelf(ctx *Context, opts ...InvokeOption) (*GetAgentSelfResult, error)

> Note: This function is named GetAgentSelf in the Go SDK.

public static class GetAgentSelf 
{
    public static Task<GetAgentSelfResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetAgentSelfResult> getAgentSelf(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: consul:index/getAgentSelf:getAgentSelf
  arguments:
    # arguments dictionary

getAgentSelf Result

The following output properties are available:

AclDatacenter string
AclDefaultPolicy string
AclDisabledTtl string
AclDownPolicy string
AclEnforce08Semantics bool
AclTtl string
Addresses Dictionary<string, string>
AdvertiseAddr string
AdvertiseAddrWan string
AdvertiseAddrs Dictionary<string, string>
AtlasJoin bool
BindAddr string
BootstrapExpect int
BootstrapMode bool
CheckDeregisterIntervalMin string
CheckReapInterval string
CheckUpdateInterval string
ClientAddr string
DataDir string
Datacenter string
DevMode bool
Dns Dictionary<string, string>

A map of DNS configuration attributes. See below for details on the contents of the dns attribute.

DnsRecursors List<string>
Domain string
EnableAnonymousSignature bool
EnableCoordinates bool
EnableDebug bool
EnableRemoteExec bool
EnableSyslog bool
EnableUi bool
EnableUpdateCheck bool
Id string
LeaveOnInt bool
LeaveOnTerm bool
LogLevel string
Name string
Performance Dictionary<string, string>
PidFile string
Ports Dictionary<string, int>
ProtocolVersion int
ReconnectTimeoutLan string
ReconnectTimeoutWan string
RejoinAfterLeave bool
RetryJoinEc2 Dictionary<string, string>
RetryJoinGce Dictionary<string, string>
RetryJoinWans List<string>
RetryJoins List<string>
RetryMaxAttempts int
RetryMaxAttemptsWan int
SerfLanBindAddr string
SerfWanBindAddr string
ServerMode bool
ServerName string
SessionTtlMin string
StartJoinWans List<string>
StartJoins List<string>
SyslogFacility string
TaggedAddresses Dictionary<string, string>
Telemetry Dictionary<string, string>
TlsCaFile string
TlsCertFile string
TlsKeyFile string
TlsMinVersion string
TlsVerifyIncoming bool
TlsVerifyOutgoing bool
TlsVerifyServerHostname bool
TranslateWanAddrs bool
UiDir string
UnixSockets Dictionary<string, string>
Version string

The version of the Consul agent.

  • version_prerelease
  • version_revision
VersionPrerelease string
VersionRevision string
AclDatacenter string
AclDefaultPolicy string
AclDisabledTtl string
AclDownPolicy string
AclEnforce08Semantics bool
AclTtl string
Addresses map[string]string
AdvertiseAddr string
AdvertiseAddrWan string
AdvertiseAddrs map[string]string
AtlasJoin bool
BindAddr string
BootstrapExpect int
BootstrapMode bool
CheckDeregisterIntervalMin string
CheckReapInterval string
CheckUpdateInterval string
ClientAddr string
DataDir string
Datacenter string
DevMode bool
Dns map[string]string

A map of DNS configuration attributes. See below for details on the contents of the dns attribute.

DnsRecursors []string
Domain string
EnableAnonymousSignature bool
EnableCoordinates bool
EnableDebug bool
EnableRemoteExec bool
EnableSyslog bool
EnableUi bool
EnableUpdateCheck bool
Id string
LeaveOnInt bool
LeaveOnTerm bool
LogLevel string
Name string
Performance map[string]string
PidFile string
Ports map[string]int
ProtocolVersion int
ReconnectTimeoutLan string
ReconnectTimeoutWan string
RejoinAfterLeave bool
RetryJoinEc2 map[string]string
RetryJoinGce map[string]string
RetryJoinWans []string
RetryJoins []string
RetryMaxAttempts int
RetryMaxAttemptsWan int
SerfLanBindAddr string
SerfWanBindAddr string
ServerMode bool
ServerName string
SessionTtlMin string
StartJoinWans []string
StartJoins []string
SyslogFacility string
TaggedAddresses map[string]string
Telemetry map[string]string
TlsCaFile string
TlsCertFile string
TlsKeyFile string
TlsMinVersion string
TlsVerifyIncoming bool
TlsVerifyOutgoing bool
TlsVerifyServerHostname bool
TranslateWanAddrs bool
UiDir string
UnixSockets map[string]string
Version string

The version of the Consul agent.

  • version_prerelease
  • version_revision
VersionPrerelease string
VersionRevision string
aclDatacenter String
aclDefaultPolicy String
aclDisabledTtl String
aclDownPolicy String
aclEnforce08Semantics Boolean
aclTtl String
addresses Map<String,String>
advertiseAddr String
advertiseAddrWan String
advertiseAddrs Map<String,String>
atlasJoin Boolean
bindAddr String
bootstrapExpect Integer
bootstrapMode Boolean
checkDeregisterIntervalMin String
checkReapInterval String
checkUpdateInterval String
clientAddr String
dataDir String
datacenter String
devMode Boolean
dns Map<String,String>

A map of DNS configuration attributes. See below for details on the contents of the dns attribute.

dnsRecursors List<String>
domain String
enableAnonymousSignature Boolean
enableCoordinates Boolean
enableDebug Boolean
enableRemoteExec Boolean
enableSyslog Boolean
enableUi Boolean
enableUpdateCheck Boolean
id String
leaveOnInt Boolean
leaveOnTerm Boolean
logLevel String
name String
performance Map<String,String>
pidFile String
ports Map<String,Integer>
protocolVersion Integer
reconnectTimeoutLan String
reconnectTimeoutWan String
rejoinAfterLeave Boolean
retryJoinEc2 Map<String,String>
retryJoinGce Map<String,String>
retryJoinWans List<String>
retryJoins List<String>
retryMaxAttempts Integer
retryMaxAttemptsWan Integer
serfLanBindAddr String
serfWanBindAddr String
serverMode Boolean
serverName String
sessionTtlMin String
startJoinWans List<String>
startJoins List<String>
syslogFacility String
taggedAddresses Map<String,String>
telemetry Map<String,String>
tlsCaFile String
tlsCertFile String
tlsKeyFile String
tlsMinVersion String
tlsVerifyIncoming Boolean
tlsVerifyOutgoing Boolean
tlsVerifyServerHostname Boolean
translateWanAddrs Boolean
uiDir String
unixSockets Map<String,String>
version String

The version of the Consul agent.

  • version_prerelease
  • version_revision
versionPrerelease String
versionRevision String
aclDatacenter string
aclDefaultPolicy string
aclDisabledTtl string
aclDownPolicy string
aclEnforce08Semantics boolean
aclTtl string
addresses {[key: string]: string}
advertiseAddr string
advertiseAddrWan string
advertiseAddrs {[key: string]: string}
atlasJoin boolean
bindAddr string
bootstrapExpect number
bootstrapMode boolean
checkDeregisterIntervalMin string
checkReapInterval string
checkUpdateInterval string
clientAddr string
dataDir string
datacenter string
devMode boolean
dns {[key: string]: string}

A map of DNS configuration attributes. See below for details on the contents of the dns attribute.

dnsRecursors string[]
domain string
enableAnonymousSignature boolean
enableCoordinates boolean
enableDebug boolean
enableRemoteExec boolean
enableSyslog boolean
enableUi boolean
enableUpdateCheck boolean
id string
leaveOnInt boolean
leaveOnTerm boolean
logLevel string
name string
performance {[key: string]: string}
pidFile string
ports {[key: string]: number}
protocolVersion number
reconnectTimeoutLan string
reconnectTimeoutWan string
rejoinAfterLeave boolean
retryJoinEc2 {[key: string]: string}
retryJoinGce {[key: string]: string}
retryJoinWans string[]
retryJoins string[]
retryMaxAttempts number
retryMaxAttemptsWan number
serfLanBindAddr string
serfWanBindAddr string
serverMode boolean
serverName string
sessionTtlMin string
startJoinWans string[]
startJoins string[]
syslogFacility string
taggedAddresses {[key: string]: string}
telemetry {[key: string]: string}
tlsCaFile string
tlsCertFile string
tlsKeyFile string
tlsMinVersion string
tlsVerifyIncoming boolean
tlsVerifyOutgoing boolean
tlsVerifyServerHostname boolean
translateWanAddrs boolean
uiDir string
unixSockets {[key: string]: string}
version string

The version of the Consul agent.

  • version_prerelease
  • version_revision
versionPrerelease string
versionRevision string
acl_datacenter str
acl_default_policy str
acl_disabled_ttl str
acl_down_policy str
acl_enforce08_semantics bool
acl_ttl str
addresses Mapping[str, str]
str
str
Mapping[str, str]
atlas_join bool
bind_addr str
bootstrap_expect int
bootstrap_mode bool
check_deregister_interval_min str
check_reap_interval str
check_update_interval str
client_addr str
data_dir str
datacenter str
dev_mode bool
dns Mapping[str, str]

A map of DNS configuration attributes. See below for details on the contents of the dns attribute.

dns_recursors Sequence[str]
domain str
enable_anonymous_signature bool
enable_coordinates bool
enable_debug bool
enable_remote_exec bool
enable_syslog bool
enable_ui bool
enable_update_check bool
id str
leave_on_int bool
leave_on_term bool
log_level str
name str
performance Mapping[str, str]
pid_file str
ports Mapping[str, int]
protocol_version int
reconnect_timeout_lan str
reconnect_timeout_wan str
rejoin_after_leave bool
retry_join_ec2 Mapping[str, str]
retry_join_gce Mapping[str, str]
retry_join_wans Sequence[str]
retry_joins Sequence[str]
retry_max_attempts int
retry_max_attempts_wan int
serf_lan_bind_addr str
serf_wan_bind_addr str
server_mode bool
server_name str
session_ttl_min str
start_join_wans Sequence[str]
start_joins Sequence[str]
syslog_facility str
tagged_addresses Mapping[str, str]
telemetry Mapping[str, str]
tls_ca_file str
tls_cert_file str
tls_key_file str
tls_min_version str
tls_verify_incoming bool
tls_verify_outgoing bool
tls_verify_server_hostname bool
translate_wan_addrs bool
ui_dir str
unix_sockets Mapping[str, str]
version str

The version of the Consul agent.

  • version_prerelease
  • version_revision
version_prerelease str
version_revision str
aclDatacenter String
aclDefaultPolicy String
aclDisabledTtl String
aclDownPolicy String
aclEnforce08Semantics Boolean
aclTtl String
addresses Map<String>
advertiseAddr String
advertiseAddrWan String
advertiseAddrs Map<String>
atlasJoin Boolean
bindAddr String
bootstrapExpect Number
bootstrapMode Boolean
checkDeregisterIntervalMin String
checkReapInterval String
checkUpdateInterval String
clientAddr String
dataDir String
datacenter String
devMode Boolean
dns Map<String>

A map of DNS configuration attributes. See below for details on the contents of the dns attribute.

dnsRecursors List<String>
domain String
enableAnonymousSignature Boolean
enableCoordinates Boolean
enableDebug Boolean
enableRemoteExec Boolean
enableSyslog Boolean
enableUi Boolean
enableUpdateCheck Boolean
id String
leaveOnInt Boolean
leaveOnTerm Boolean
logLevel String
name String
performance Map<String>
pidFile String
ports Map<Number>
protocolVersion Number
reconnectTimeoutLan String
reconnectTimeoutWan String
rejoinAfterLeave Boolean
retryJoinEc2 Map<String>
retryJoinGce Map<String>
retryJoinWans List<String>
retryJoins List<String>
retryMaxAttempts Number
retryMaxAttemptsWan Number
serfLanBindAddr String
serfWanBindAddr String
serverMode Boolean
serverName String
sessionTtlMin String
startJoinWans List<String>
startJoins List<String>
syslogFacility String
taggedAddresses Map<String>
telemetry Map<String>
tlsCaFile String
tlsCertFile String
tlsKeyFile String
tlsMinVersion String
tlsVerifyIncoming Boolean
tlsVerifyOutgoing Boolean
tlsVerifyServerHostname Boolean
translateWanAddrs Boolean
uiDir String
unixSockets Map<String>
version String

The version of the Consul agent.

  • version_prerelease
  • version_revision
versionPrerelease String
versionRevision String

Package Details

Repository
HashiCorp Consul pulumi/pulumi-consul
License
Apache-2.0
Notes

This Pulumi package is based on the consul Terraform Provider.