Class GetUptimeCheckIPs
Inheritance
System.Object
GetUptimeCheckIPs
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.Gcp.Monitoring
Assembly: Pulumi.Gcp.dll
Syntax
public static class GetUptimeCheckIPs
Methods
View SourceInvokeAsync(InvokeOptions)
Returns the list of IP addresses that checkers run from. For more information see the official documentation.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Gcp = Pulumi.Gcp;
class MyStack : Stack
{
public MyStack()
{
var ips = Output.Create(Gcp.Monitoring.GetUptimeCheckIPs.InvokeAsync());
this.IpList = ips.Apply(ips => ips.UptimeCheckIps);
}
[Output("ipList")]
public Output<string> IpList { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetUptimeCheckIPsResult> InvokeAsync(InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetUptimeCheckIPsResult> |