GetIpRanges

Use this data source to retrieve information about GitHub’s IP addresses.

Example Usage

using Pulumi;
using Github = Pulumi.Github;

class MyStack : Stack
{
    public MyStack()
    {
        var test = Output.Create(Github.GetIpRanges.InvokeAsync());
    }

}

Coming soon!

import pulumi
import pulumi_github as github

test = github.get_ip_ranges()
import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";

const test = pulumi.output(github.getIpRanges({ async: true }));

Using GetIpRanges

function getIpRanges(opts?: InvokeOptions): Promise<GetIpRangesResult>
function  get_ip_ranges(opts=None)
func GetIpRanges(ctx *Context, opts ...InvokeOption) (*GetIpRangesResult, error)
public static class GetIpRanges {
    public static Task<GetIpRangesResult> InvokeAsync(InvokeOptions? opts = null)
}

GetIpRanges Result

The following output properties are available:

Gits List<string>

An Array of IP addresses in CIDR format specifying the Git servers.

Hooks List<string>

An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.

Id string

The provider-assigned unique ID for this managed resource.

Importers List<string>

An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.

Pages List<string>

An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.

Gits []string

An Array of IP addresses in CIDR format specifying the Git servers.

Hooks []string

An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.

Id string

The provider-assigned unique ID for this managed resource.

Importers []string

An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.

Pages []string

An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.

gits string[]

An Array of IP addresses in CIDR format specifying the Git servers.

hooks string[]

An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.

id string

The provider-assigned unique ID for this managed resource.

importers string[]

An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.

pages string[]

An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.

gits List[str]

An Array of IP addresses in CIDR format specifying the Git servers.

hooks List[str]

An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.

id str

The provider-assigned unique ID for this managed resource.

importers List[str]

An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.

pages List[str]

An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.

Package Details

Repository
https://github.com/pulumi/pulumi-github
License
Apache-2.0
Notes
This Pulumi package is based on the github Terraform Provider.