Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse
grafana.getCloudIps
Explore with Pulumi AI
Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
const test = grafana.getCloudIps({});
import pulumi
import pulumi_grafana as grafana
test = grafana.get_cloud_ips()
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := grafana.GetCloudIps(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
return await Deployment.RunAsync(() => 
{
    var test = Grafana.GetCloudIps.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.GrafanaFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var test = GrafanaFunctions.getCloudIps();
    }
}
variables:
  test:
    fn::invoke:
      Function: grafana:getCloudIps
      Arguments: {}
Using getCloudIps
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudIps(opts?: InvokeOptions): Promise<GetCloudIpsResult>
function getCloudIpsOutput(opts?: InvokeOptions): Output<GetCloudIpsResult>def get_cloud_ips(opts: Optional[InvokeOptions] = None) -> GetCloudIpsResult
def get_cloud_ips_output(opts: Optional[InvokeOptions] = None) -> Output[GetCloudIpsResult]func GetCloudIps(ctx *Context, opts ...InvokeOption) (*GetCloudIpsResult, error)
func GetCloudIpsOutput(ctx *Context, opts ...InvokeOption) GetCloudIpsResultOutput> Note: This function is named GetCloudIps in the Go SDK.
public static class GetCloudIps 
{
    public static Task<GetCloudIpsResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetCloudIpsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudIpsResult> getCloudIps(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: grafana:index/getCloudIps:getCloudIps
  arguments:
    # arguments dictionarygetCloudIps Result
The following output properties are available:
- Hosted
Alerts List<string> - Set of IP addresses that are used for hosted alerts.
 - Hosted
Grafanas List<string> - Set of IP addresses that are used for hosted Grafana.
 - Hosted
Logs List<string> - Set of IP addresses that are used for hosted logs.
 - Hosted
Metrics List<string> - Set of IP addresses that are used for hosted metrics.
 - Hosted
Traces List<string> - Set of IP addresses that are used for hosted traces.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 
- Hosted
Alerts []string - Set of IP addresses that are used for hosted alerts.
 - Hosted
Grafanas []string - Set of IP addresses that are used for hosted Grafana.
 - Hosted
Logs []string - Set of IP addresses that are used for hosted logs.
 - Hosted
Metrics []string - Set of IP addresses that are used for hosted metrics.
 - Hosted
Traces []string - Set of IP addresses that are used for hosted traces.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 
- hosted
Alerts List<String> - Set of IP addresses that are used for hosted alerts.
 - hosted
Grafanas List<String> - Set of IP addresses that are used for hosted Grafana.
 - hosted
Logs List<String> - Set of IP addresses that are used for hosted logs.
 - hosted
Metrics List<String> - Set of IP addresses that are used for hosted metrics.
 - hosted
Traces List<String> - Set of IP addresses that are used for hosted traces.
 - id String
 - The provider-assigned unique ID for this managed resource.
 
- hosted
Alerts string[] - Set of IP addresses that are used for hosted alerts.
 - hosted
Grafanas string[] - Set of IP addresses that are used for hosted Grafana.
 - hosted
Logs string[] - Set of IP addresses that are used for hosted logs.
 - hosted
Metrics string[] - Set of IP addresses that are used for hosted metrics.
 - hosted
Traces string[] - Set of IP addresses that are used for hosted traces.
 - id string
 - The provider-assigned unique ID for this managed resource.
 
- hosted_
alerts Sequence[str] - Set of IP addresses that are used for hosted alerts.
 - hosted_
grafanas Sequence[str] - Set of IP addresses that are used for hosted Grafana.
 - hosted_
logs Sequence[str] - Set of IP addresses that are used for hosted logs.
 - hosted_
metrics Sequence[str] - Set of IP addresses that are used for hosted metrics.
 - hosted_
traces Sequence[str] - Set of IP addresses that are used for hosted traces.
 - id str
 - The provider-assigned unique ID for this managed resource.
 
- hosted
Alerts List<String> - Set of IP addresses that are used for hosted alerts.
 - hosted
Grafanas List<String> - Set of IP addresses that are used for hosted Grafana.
 - hosted
Logs List<String> - Set of IP addresses that are used for hosted logs.
 - hosted
Metrics List<String> - Set of IP addresses that are used for hosted metrics.
 - hosted
Traces List<String> - Set of IP addresses that are used for hosted traces.
 - id String
 - The provider-assigned unique ID for this managed resource.
 
Package Details
- Repository
 - grafana pulumiverse/pulumi-grafana
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
grafanaTerraform Provider.