Grafana

v0.0.3 published on Sunday, Sep 18, 2022 by lbrlabs

getCloudIps

Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info

Example Usage

using System.Collections.Generic;
using Pulumi;
using Grafana = Pulumi.Grafana;

return await Deployment.RunAsync(() => 
{
    var test = Grafana.GetCloudIps.Invoke();

});
package main

import (
	"github.com/lbrlabs/pulumi-grafana/sdk/go/grafana"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := grafana.GetCloudIps(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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();

    }
}
import pulumi
import pulumi_grafana as grafana

test = grafana.get_cloud_ips()
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";

const test = pulumi.output(grafana.getCloudIps());
variables:
  test:
    Fn::Invoke:
      Function: grafana:getCloudIps
      Arguments: {}

Using getCloudIps

function getCloudIps(opts?: InvokeOptions): Promise<GetCloudIpsResult>
def get_cloud_ips(opts: Optional[InvokeOptions] = None) -> GetCloudIpsResult
func GetCloudIps(ctx *Context, opts ...InvokeOption) (*GetCloudIpsResult, error)

> Note: This function is named GetCloudIps in the Go SDK.

public static class GetCloudIps 
{
    public static Task<GetCloudIpsResult> InvokeAsync(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 dictionary

getCloudIps Result

The following output properties are available:

HostedAlerts List<string>

Set of IP addresses that are used for hosted alerts.

HostedGrafanas List<string>

Set of IP addresses that are used for hosted Grafana.

HostedLogs List<string>

Set of IP addresses that are used for hosted logs.

HostedMetrics List<string>

Set of IP addresses that are used for hosted metrics.

HostedTraces List<string>

Set of IP addresses that are used for hosted traces.

Id string

The provider-assigned unique ID for this managed resource.

HostedAlerts []string

Set of IP addresses that are used for hosted alerts.

HostedGrafanas []string

Set of IP addresses that are used for hosted Grafana.

HostedLogs []string

Set of IP addresses that are used for hosted logs.

HostedMetrics []string

Set of IP addresses that are used for hosted metrics.

HostedTraces []string

Set of IP addresses that are used for hosted traces.

Id string

The provider-assigned unique ID for this managed resource.

hostedAlerts List<String>

Set of IP addresses that are used for hosted alerts.

hostedGrafanas List<String>

Set of IP addresses that are used for hosted Grafana.

hostedLogs List<String>

Set of IP addresses that are used for hosted logs.

hostedMetrics List<String>

Set of IP addresses that are used for hosted metrics.

hostedTraces List<String>

Set of IP addresses that are used for hosted traces.

id String

The provider-assigned unique ID for this managed resource.

hostedAlerts string[]

Set of IP addresses that are used for hosted alerts.

hostedGrafanas string[]

Set of IP addresses that are used for hosted Grafana.

hostedLogs string[]

Set of IP addresses that are used for hosted logs.

hostedMetrics string[]

Set of IP addresses that are used for hosted metrics.

hostedTraces 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.

hostedAlerts List<String>

Set of IP addresses that are used for hosted alerts.

hostedGrafanas List<String>

Set of IP addresses that are used for hosted Grafana.

hostedLogs List<String>

Set of IP addresses that are used for hosted logs.

hostedMetrics List<String>

Set of IP addresses that are used for hosted metrics.

hostedTraces 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
https://github.com/lbrlabs/pulumi-grafana
License
Apache-2.0
Notes

This Pulumi package is based on the grafana Terraform Provider.