GetAgentSelf
Warning: The
consul..getAgentSelfresource 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>function get_agent_self(opts=None)func GetAgentSelf(ctx *Context, opts ...InvokeOption) (*GetAgentSelfResult, error)public static class GetAgentSelf {
public static Task<GetAgentSelfResult> InvokeAsync(InvokeOptions? opts = null)
}GetAgentSelf Result
The following output properties are available:
- Acl
Datacenter string - Acl
Default stringPolicy - Acl
Disabled stringTtl - Acl
Down stringPolicy - Acl
Enforce08Semantics bool - Acl
Ttl string - Addresses Dictionary<string, string>
- Advertise
Addr string - Advertise
Addr stringWan - Advertise
Addrs Dictionary<string, string> - Atlas
Join bool - Bind
Addr string - Bootstrap
Expect int - Bootstrap
Mode bool - Check
Deregister stringInterval Min - Check
Reap stringInterval - Check
Update stringInterval - Client
Addr string - Data
Dir string - Datacenter string
- Dev
Mode bool - Dns Dictionary<string, string>
A map of DNS configuration attributes. See below for details on the contents of the
dnsattribute. *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 List<string> - Domain string
- Enable
Anonymous boolSignature - Enable
Coordinates bool - Enable
Debug bool - Enable
Remote boolExec - Enable
Syslog bool - Enable
Ui bool - Enable
Update boolCheck - Id string
- Leave
On boolInt - Leave
On boolTerm - Log
Level string - Name string
- Performance Dictionary<string, string>
- Pid
File string - Ports Dictionary<string, int>
- Protocol
Version int - Reconnect
Timeout stringLan - Reconnect
Timeout stringWan - Rejoin
After boolLeave - Retry
Join Dictionary<string, string>Ec2 - Retry
Join Dictionary<string, string>Gce - Retry
Join List<string>Wans - Retry
Joins List<string> - Retry
Max intAttempts - Retry
Max intAttempts Wan - Serf
Lan stringBind Addr - Serf
Wan stringBind Addr - Server
Mode bool - Server
Name string - Session
Ttl stringMin - Start
Join List<string>Wans - Start
Joins List<string> - Syslog
Facility string - Tagged
Addresses Dictionary<string, string> - Telemetry Dictionary<string, string>
- Tls
Ca stringFile - Tls
Cert stringFile - Tls
Key stringFile - Tls
Min stringVersion - Tls
Verify boolIncoming - Tls
Verify boolOutgoing - Tls
Verify boolServer Hostname - Translate
Wan boolAddrs - Ui
Dir string - Unix
Sockets Dictionary<string, string> - Version string
The version of the Consul agent. *
version_prerelease*version_revision- Version
Prerelease string - Version
Revision string
- Acl
Datacenter string - Acl
Default stringPolicy - Acl
Disabled stringTtl - Acl
Down stringPolicy - Acl
Enforce08Semantics bool - Acl
Ttl string - Addresses map[string]string
- Advertise
Addr string - Advertise
Addr stringWan - Advertise
Addrs map[string]string - Atlas
Join bool - Bind
Addr string - Bootstrap
Expect int - Bootstrap
Mode bool - Check
Deregister stringInterval Min - Check
Reap stringInterval - Check
Update stringInterval - Client
Addr string - Data
Dir string - Datacenter string
- Dev
Mode bool - Dns map[string]string
A map of DNS configuration attributes. See below for details on the contents of the
dnsattribute. *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 []string - Domain string
- Enable
Anonymous boolSignature - Enable
Coordinates bool - Enable
Debug bool - Enable
Remote boolExec - Enable
Syslog bool - Enable
Ui bool - Enable
Update boolCheck - Id string
- Leave
On boolInt - Leave
On boolTerm - Log
Level string - Name string
- Performance map[string]string
- Pid
File string - Ports map[string]int
- Protocol
Version int - Reconnect
Timeout stringLan - Reconnect
Timeout stringWan - Rejoin
After boolLeave - Retry
Join map[string]stringEc2 - Retry
Join map[string]stringGce - Retry
Join []stringWans - Retry
Joins []string - Retry
Max intAttempts - Retry
Max intAttempts Wan - Serf
Lan stringBind Addr - Serf
Wan stringBind Addr - Server
Mode bool - Server
Name string - Session
Ttl stringMin - Start
Join []stringWans - Start
Joins []string - Syslog
Facility string - Tagged
Addresses map[string]string - Telemetry map[string]string
- Tls
Ca stringFile - Tls
Cert stringFile - Tls
Key stringFile - Tls
Min stringVersion - Tls
Verify boolIncoming - Tls
Verify boolOutgoing - Tls
Verify boolServer Hostname - Translate
Wan boolAddrs - Ui
Dir string - Unix
Sockets map[string]string - Version string
The version of the Consul agent. *
version_prerelease*version_revision- Version
Prerelease string - Version
Revision string
- acl
Datacenter string - acl
Default stringPolicy - acl
Disabled stringTtl - acl
Down stringPolicy - acl
Enforce08Semantics boolean - acl
Ttl string - addresses {[key: string]: string}
- advertise
Addr string - advertise
Addr stringWan - advertise
Addrs {[key: string]: string} - atlas
Join boolean - bind
Addr string - bootstrap
Expect number - bootstrap
Mode boolean - check
Deregister stringInterval Min - check
Reap stringInterval - check
Update stringInterval - client
Addr string - data
Dir string - datacenter string
- dev
Mode boolean - dns {[key: string]: string}
A map of DNS configuration attributes. See below for details on the contents of the
dnsattribute. *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 string[] - domain string
- enable
Anonymous booleanSignature - enable
Coordinates boolean - enable
Debug boolean - enable
Remote booleanExec - enable
Syslog boolean - enable
Ui boolean - enable
Update booleanCheck - id string
- leave
On booleanInt - leave
On booleanTerm - log
Level string - name string
- performance {[key: string]: string}
- pid
File string - ports {[key: string]: number}
- protocol
Version number - reconnect
Timeout stringLan - reconnect
Timeout stringWan - rejoin
After booleanLeave - retry
Join {[key: string]: string}Ec2 - retry
Join {[key: string]: string}Gce - retry
Join string[]Wans - retry
Joins string[] - retry
Max numberAttempts - retry
Max numberAttempts Wan - serf
Lan stringBind Addr - serf
Wan stringBind Addr - server
Mode boolean - server
Name string - session
Ttl stringMin - start
Join string[]Wans - start
Joins string[] - syslog
Facility string - tagged
Addresses {[key: string]: string} - telemetry {[key: string]: string}
- tls
Ca stringFile - tls
Cert stringFile - tls
Key stringFile - tls
Min stringVersion - tls
Verify booleanIncoming - tls
Verify booleanOutgoing - tls
Verify booleanServer Hostname - translate
Wan booleanAddrs - ui
Dir string - unix
Sockets {[key: string]: string} - version string
The version of the Consul agent. *
version_prerelease*version_revision- version
Prerelease string - version
Revision string
- acl_
datacenter str - acl_
default_ strpolicy - acl_
disabled_ strttl - acl_
down_ strpolicy - acl_
enforce08_ boolsemantics - acl_
ttl str - addresses Dict[str, str]
- advertise_
addr str - advertise_
addr_ strwan - advertise_
addrs Dict[str, str] - atlas_
join bool - bind_
addr str - bootstrap_
expect float - bootstrap_
mode bool - check_
deregister_ strinterval_ min - check_
reap_ strinterval - check_
update_ strinterval - client_
addr str - data_
dir str - datacenter str
- dev_
mode bool - dns Dict[str, str]
A map of DNS configuration attributes. See below for details on the contents of the
dnsattribute. *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 List[str] - domain str
- enable_
anonymous_ boolsignature - enable_
coordinates bool - enable_
debug bool - enable_
remote_ boolexec - enable_
syslog bool - enable_
ui bool - enable_
update_ boolcheck - id str
- leave_
on_ boolint - leave_
on_ boolterm - log_
level str - name str
- performance Dict[str, str]
- pid_
file str - ports Dict[str, Integer]
- protocol_
version float - reconnect_
timeout_ strlan - reconnect_
timeout_ strwan - rejoin_
after_ boolleave - retry_
join_ Dict[str, str]ec2 - retry_
join_ Dict[str, str]gce - retry_
join_ List[str]wans - retry_
joins List[str] - retry_
max_ floatattempts - retry_
max_ floatattempts_ wan - serf_
lan_ strbind_ addr - serf_
wan_ strbind_ addr - server_
mode bool - server_
name str - session_
ttl_ strmin - start_
join_ List[str]wans - start_
joins List[str] - syslog_
facility str - tagged_
addresses Dict[str, str] - telemetry Dict[str, str]
- tls_
ca_ strfile - tls_
cert_ strfile - tls_
key_ strfile - tls_
min_ strversion - tls_
verify_ boolincoming - tls_
verify_ booloutgoing - tls_
verify_ boolserver_ hostname - translate_
wan_ booladdrs - ui_
dir str - unix_
sockets Dict[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
consulTerraform Provider.