Class GetAgentSelf
Inheritance
System.Object
GetAgentSelf
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Consul
Assembly: Pulumi.Consul.dll
Syntax
public static class GetAgentSelf
Methods
View SourceInvokeAsync(InvokeOptions)
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.
{{% examples %}} {{% /examples %}}
Declaration
public static Task<GetAgentSelfResult> InvokeAsync(InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetAgentSelfResult> |