Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.getIpRanges
Explore with Pulumi AI
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rootly = Pulumi.Rootly;
return await Deployment.RunAsync(() =>
{
var ipRanges = Rootly.GetIpRanges.Invoke();
});
package main
import (
"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rootly.GetIpRanges(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.rootly.RootlyFunctions;
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 ipRanges = RootlyFunctions.getIpRanges();
}
}
import pulumi
import pulumi_rootly as rootly
ip_ranges = rootly.get_ip_ranges()
import * as pulumi from "@pulumi/pulumi";
import * as rootly from "@pulumi/rootly";
const ipRanges = rootly.getIpRanges({});
variables:
ipRanges:
fn::invoke:
Function: rootly:getIpRanges
Arguments: {}
Using getIpRanges
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 getIpRanges(opts?: InvokeOptions): Promise<GetIpRangesResult>
function getIpRangesOutput(opts?: InvokeOptions): Output<GetIpRangesResult>
def get_ip_ranges(opts: Optional[InvokeOptions] = None) -> GetIpRangesResult
def get_ip_ranges_output(opts: Optional[InvokeOptions] = None) -> Output[GetIpRangesResult]
func GetIpRanges(ctx *Context, opts ...InvokeOption) (*GetIpRangesResult, error)
func GetIpRangesOutput(ctx *Context, opts ...InvokeOption) GetIpRangesResultOutput
> Note: This function is named GetIpRanges
in the Go SDK.
public static class GetIpRanges
{
public static Task<GetIpRangesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetIpRangesResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetIpRangesResult> getIpRanges(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rootly:index/getIpRanges:getIpRanges
arguments:
# arguments dictionary
getIpRanges Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Integrations
Ipv4s List<string> - IPv4 addresses used by Rootly integrations.
- Integrations
Ipv6s List<string> - IPv6 addresses used by Rootly integrations.
- Webhooks
Ipv4s List<string> - IPv4 addresses used by Rootly webhooks.
- Webhooks
Ipv6s List<string> - IPv6 addresses used by Rootly webhooks.
- Id string
- The provider-assigned unique ID for this managed resource.
- Integrations
Ipv4s []string - IPv4 addresses used by Rootly integrations.
- Integrations
Ipv6s []string - IPv6 addresses used by Rootly integrations.
- Webhooks
Ipv4s []string - IPv4 addresses used by Rootly webhooks.
- Webhooks
Ipv6s []string - IPv6 addresses used by Rootly webhooks.
- id String
- The provider-assigned unique ID for this managed resource.
- integrations
Ipv4s List<String> - IPv4 addresses used by Rootly integrations.
- integrations
Ipv6s List<String> - IPv6 addresses used by Rootly integrations.
- webhooks
Ipv4s List<String> - IPv4 addresses used by Rootly webhooks.
- webhooks
Ipv6s List<String> - IPv6 addresses used by Rootly webhooks.
- id string
- The provider-assigned unique ID for this managed resource.
- integrations
Ipv4s string[] - IPv4 addresses used by Rootly integrations.
- integrations
Ipv6s string[] - IPv6 addresses used by Rootly integrations.
- webhooks
Ipv4s string[] - IPv4 addresses used by Rootly webhooks.
- webhooks
Ipv6s string[] - IPv6 addresses used by Rootly webhooks.
- id str
- The provider-assigned unique ID for this managed resource.
- integrations_
ipv4s Sequence[str] - IPv4 addresses used by Rootly integrations.
- integrations_
ipv6s Sequence[str] - IPv6 addresses used by Rootly integrations.
- webhooks_
ipv4s Sequence[str] - IPv4 addresses used by Rootly webhooks.
- webhooks_
ipv6s Sequence[str] - IPv6 addresses used by Rootly webhooks.
- id String
- The provider-assigned unique ID for this managed resource.
- integrations
Ipv4s List<String> - IPv4 addresses used by Rootly integrations.
- integrations
Ipv6s List<String> - IPv6 addresses used by Rootly integrations.
- webhooks
Ipv4s List<String> - IPv4 addresses used by Rootly webhooks.
- webhooks
Ipv6s List<String> - IPv6 addresses used by Rootly webhooks.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.