Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

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)
}

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. * dns_recursors - A list of all DNS recursors. * data_dir * datacenter * dev_mode * domain * enable_anonymous_signature * enable_coordinates * enable_debug * enable_remote_exec * enable_syslog * enable_ui * enable_update_check * id * leave_on_int * leave_on_term * log_level * name * performance * pid_file * ports * protocol_version * reconnect_timeout_lan * reconnect_timeout_wan * rejoin_after_leave * retry_join * retry_join_ec2 - A map of EC2 retry attributes. See below for details on the available information. * retry_join_gce - A map of GCE retry attributes. See below for details on the available information. * retry_join_wan * retry_max_attempts * retry_max_attempts_wan * serf_lan_bind_addr * serf_wan_bind_addr * server_mode * server_name * session_ttl_min * start_join * start_join_wan * syslog_facility * tls_ca_file * tls_cert_file * tls_key_file * tls_min_version * tls_verify_incoming * tls_verify_outgoing * tls_verify_server_hostname * tagged_addresses * telemetry - A map of telemetry configuration. * translate_wan_addrs * ui_dir * unix_sockets

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. * dns_recursors - A list of all DNS recursors. * data_dir * datacenter * dev_mode * domain * enable_anonymous_signature * enable_coordinates * enable_debug * enable_remote_exec * enable_syslog * enable_ui * enable_update_check * id * leave_on_int * leave_on_term * log_level * name * performance * pid_file * ports * protocol_version * reconnect_timeout_lan * reconnect_timeout_wan * rejoin_after_leave * retry_join * retry_join_ec2 - A map of EC2 retry attributes. See below for details on the available information. * retry_join_gce - A map of GCE retry attributes. See below for details on the available information. * retry_join_wan * retry_max_attempts * retry_max_attempts_wan * serf_lan_bind_addr * serf_wan_bind_addr * server_mode * server_name * session_ttl_min * start_join * start_join_wan * syslog_facility * tls_ca_file * tls_cert_file * tls_key_file * tls_min_version * tls_verify_incoming * tls_verify_outgoing * tls_verify_server_hostname * tagged_addresses * telemetry - A map of telemetry configuration. * translate_wan_addrs * ui_dir * unix_sockets

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 {[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. * dns_recursors - A list of all DNS recursors. * data_dir * datacenter * dev_mode * domain * enable_anonymous_signature * enable_coordinates * enable_debug * enable_remote_exec * enable_syslog * enable_ui * enable_update_check * id * leave_on_int * leave_on_term * log_level * name * performance * pid_file * ports * protocol_version * reconnect_timeout_lan * reconnect_timeout_wan * rejoin_after_leave * retry_join * retry_join_ec2 - A map of EC2 retry attributes. See below for details on the available information. * retry_join_gce - A map of GCE retry attributes. See below for details on the available information. * retry_join_wan * retry_max_attempts * retry_max_attempts_wan * serf_lan_bind_addr * serf_wan_bind_addr * server_mode * server_name * session_ttl_min * start_join * start_join_wan * syslog_facility * tls_ca_file * tls_cert_file * tls_key_file * tls_min_version * tls_verify_incoming * tls_verify_outgoing * tls_verify_server_hostname * tagged_addresses * telemetry - A map of telemetry configuration. * translate_wan_addrs * ui_dir * unix_sockets

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 - A list of all DNS recursors. * data_dir * datacenter * dev_mode * domain * enable_anonymous_signature * enable_coordinates * enable_debug * enable_remote_exec * enable_syslog * enable_ui * enable_update_check * id * leave_on_int * leave_on_term * log_level * name * performance * pid_file * ports * protocol_version * reconnect_timeout_lan * reconnect_timeout_wan * rejoin_after_leave * retry_join * retry_join_ec2 - A map of EC2 retry attributes. See below for details on the available information. * retry_join_gce - A map of GCE retry attributes. See below for details on the available information. * retry_join_wan * retry_max_attempts * retry_max_attempts_wan * serf_lan_bind_addr * serf_wan_bind_addr * server_mode * server_name * session_ttl_min * start_join * start_join_wan * syslog_facility * tls_ca_file * tls_cert_file * tls_key_file * tls_min_version * tls_verify_incoming * tls_verify_outgoing * tls_verify_server_hostname * tagged_addresses * telemetry - A map of telemetry configuration. * translate_wan_addrs * ui_dir * unix_sockets

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

Package Details

Repository
https://github.com/pulumi/pulumi-consul
License
Apache-2.0
Notes
This Pulumi package is based on the consul Terraform Provider.