GitHub

Pulumi Official
Package maintained by Pulumi
v4.15.1 published on Wednesday, Aug 10, 2022 by Pulumi

getIpRanges

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

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var test = Github.GetIpRanges.Invoke();

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetIpRanges(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

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());
variables:
  test:
    Fn::Invoke:
      Function: github:getIpRanges
      Arguments: {}

Using getIpRanges

function getIpRanges(opts?: InvokeOptions): Promise<GetIpRangesResult>
def get_ip_ranges(opts: Optional[InvokeOptions] = None) -> GetIpRangesResult
func GetIpRanges(ctx *Context, opts ...InvokeOption) (*GetIpRangesResult, error)

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

public static class GetIpRanges 
{
    public static Task<GetIpRangesResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetIpRangesResult> getIpRanges(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: github:index/getIpRanges:getIpRanges
  Arguments:
    # Arguments dictionary

getIpRanges Result

The following output properties are available:

Actions List<string>

An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.

ActionsIpv4s List<string>

A subset of the actions array that contains IP addresses in IPv4 CIDR format.

ActionsIpv6s List<string>

A subset of the actions array that contains IP addresses in IPv6 CIDR format.

DependabotIpv4s List<string>

A subset of the dependabot array that contains IP addresses in IPv4 CIDR format.

DependabotIpv6s List<string>

A subset of the dependabot array that contains IP addresses in IPv6 CIDR format.

Dependabots List<string>

An array of IP addresses in CIDR format specifying the A records for dependabot.

GitIpv4s List<string>

A subset of the git array that contains IP addresses in IPv4 CIDR format.

GitIpv6s List<string>

A subset of the git array that contains IP addresses in IPv6 CIDR format.

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.

HooksIpv4s List<string>

A subset of the hooks array that contains IP addresses in IPv4 CIDR format.

HooksIpv6s List<string>

A subset of the hooks array that contains IP addresses in IPv6 CIDR format.

Id string

The provider-assigned unique ID for this managed resource.

ImporterIpv4s List<string>

A subset of the importer array that contains IP addresses in IPv4 CIDR format.

ImporterIpv6s List<string>

A subset of the importer array that contains IP addresses in IPv6 CIDR format.

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.

PagesIpv4s List<string>

A subset of the pages array that contains IP addresses in IPv4 CIDR format.

PagesIpv6s List<string>

A subset of the pages array that contains IP addresses in IPv6 CIDR format.

Actions []string

An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.

ActionsIpv4s []string

A subset of the actions array that contains IP addresses in IPv4 CIDR format.

ActionsIpv6s []string

A subset of the actions array that contains IP addresses in IPv6 CIDR format.

DependabotIpv4s []string

A subset of the dependabot array that contains IP addresses in IPv4 CIDR format.

DependabotIpv6s []string

A subset of the dependabot array that contains IP addresses in IPv6 CIDR format.

Dependabots []string

An array of IP addresses in CIDR format specifying the A records for dependabot.

GitIpv4s []string

A subset of the git array that contains IP addresses in IPv4 CIDR format.

GitIpv6s []string

A subset of the git array that contains IP addresses in IPv6 CIDR format.

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.

HooksIpv4s []string

A subset of the hooks array that contains IP addresses in IPv4 CIDR format.

HooksIpv6s []string

A subset of the hooks array that contains IP addresses in IPv6 CIDR format.

Id string

The provider-assigned unique ID for this managed resource.

ImporterIpv4s []string

A subset of the importer array that contains IP addresses in IPv4 CIDR format.

ImporterIpv6s []string

A subset of the importer array that contains IP addresses in IPv6 CIDR format.

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.

PagesIpv4s []string

A subset of the pages array that contains IP addresses in IPv4 CIDR format.

PagesIpv6s []string

A subset of the pages array that contains IP addresses in IPv6 CIDR format.

actions List<String>

An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.

actionsIpv4s List<String>

A subset of the actions array that contains IP addresses in IPv4 CIDR format.

actionsIpv6s List<String>

A subset of the actions array that contains IP addresses in IPv6 CIDR format.

dependabotIpv4s List<String>

A subset of the dependabot array that contains IP addresses in IPv4 CIDR format.

dependabotIpv6s List<String>

A subset of the dependabot array that contains IP addresses in IPv6 CIDR format.

dependabots List<String>

An array of IP addresses in CIDR format specifying the A records for dependabot.

gitIpv4s List<String>

A subset of the git array that contains IP addresses in IPv4 CIDR format.

gitIpv6s List<String>

A subset of the git array that contains IP addresses in IPv6 CIDR format.

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.

hooksIpv4s List<String>

A subset of the hooks array that contains IP addresses in IPv4 CIDR format.

hooksIpv6s List<String>

A subset of the hooks array that contains IP addresses in IPv6 CIDR format.

id String

The provider-assigned unique ID for this managed resource.

importerIpv4s List<String>

A subset of the importer array that contains IP addresses in IPv4 CIDR format.

importerIpv6s List<String>

A subset of the importer array that contains IP addresses in IPv6 CIDR format.

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.

pagesIpv4s List<String>

A subset of the pages array that contains IP addresses in IPv4 CIDR format.

pagesIpv6s List<String>

A subset of the pages array that contains IP addresses in IPv6 CIDR format.

actions string[]

An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.

actionsIpv4s string[]

A subset of the actions array that contains IP addresses in IPv4 CIDR format.

actionsIpv6s string[]

A subset of the actions array that contains IP addresses in IPv6 CIDR format.

dependabotIpv4s string[]

A subset of the dependabot array that contains IP addresses in IPv4 CIDR format.

dependabotIpv6s string[]

A subset of the dependabot array that contains IP addresses in IPv6 CIDR format.

dependabots string[]

An array of IP addresses in CIDR format specifying the A records for dependabot.

gitIpv4s string[]

A subset of the git array that contains IP addresses in IPv4 CIDR format.

gitIpv6s string[]

A subset of the git array that contains IP addresses in IPv6 CIDR format.

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.

hooksIpv4s string[]

A subset of the hooks array that contains IP addresses in IPv4 CIDR format.

hooksIpv6s string[]

A subset of the hooks array that contains IP addresses in IPv6 CIDR format.

id string

The provider-assigned unique ID for this managed resource.

importerIpv4s string[]

A subset of the importer array that contains IP addresses in IPv4 CIDR format.

importerIpv6s string[]

A subset of the importer array that contains IP addresses in IPv6 CIDR format.

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.

pagesIpv4s string[]

A subset of the pages array that contains IP addresses in IPv4 CIDR format.

pagesIpv6s string[]

A subset of the pages array that contains IP addresses in IPv6 CIDR format.

actions Sequence[str]

An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.

actions_ipv4s Sequence[str]

A subset of the actions array that contains IP addresses in IPv4 CIDR format.

actions_ipv6s Sequence[str]

A subset of the actions array that contains IP addresses in IPv6 CIDR format.

dependabot_ipv4s Sequence[str]

A subset of the dependabot array that contains IP addresses in IPv4 CIDR format.

dependabot_ipv6s Sequence[str]

A subset of the dependabot array that contains IP addresses in IPv6 CIDR format.

dependabots Sequence[str]

An array of IP addresses in CIDR format specifying the A records for dependabot.

git_ipv4s Sequence[str]

A subset of the git array that contains IP addresses in IPv4 CIDR format.

git_ipv6s Sequence[str]

A subset of the git array that contains IP addresses in IPv6 CIDR format.

gits Sequence[str]

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

hooks Sequence[str]

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

hooks_ipv4s Sequence[str]

A subset of the hooks array that contains IP addresses in IPv4 CIDR format.

hooks_ipv6s Sequence[str]

A subset of the hooks array that contains IP addresses in IPv6 CIDR format.

id str

The provider-assigned unique ID for this managed resource.

importer_ipv4s Sequence[str]

A subset of the importer array that contains IP addresses in IPv4 CIDR format.

importer_ipv6s Sequence[str]

A subset of the importer array that contains IP addresses in IPv6 CIDR format.

importers Sequence[str]

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

pages Sequence[str]

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

pages_ipv4s Sequence[str]

A subset of the pages array that contains IP addresses in IPv4 CIDR format.

pages_ipv6s Sequence[str]

A subset of the pages array that contains IP addresses in IPv6 CIDR format.

actions List<String>

An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.

actionsIpv4s List<String>

A subset of the actions array that contains IP addresses in IPv4 CIDR format.

actionsIpv6s List<String>

A subset of the actions array that contains IP addresses in IPv6 CIDR format.

dependabotIpv4s List<String>

A subset of the dependabot array that contains IP addresses in IPv4 CIDR format.

dependabotIpv6s List<String>

A subset of the dependabot array that contains IP addresses in IPv6 CIDR format.

dependabots List<String>

An array of IP addresses in CIDR format specifying the A records for dependabot.

gitIpv4s List<String>

A subset of the git array that contains IP addresses in IPv4 CIDR format.

gitIpv6s List<String>

A subset of the git array that contains IP addresses in IPv6 CIDR format.

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.

hooksIpv4s List<String>

A subset of the hooks array that contains IP addresses in IPv4 CIDR format.

hooksIpv6s List<String>

A subset of the hooks array that contains IP addresses in IPv6 CIDR format.

id String

The provider-assigned unique ID for this managed resource.

importerIpv4s List<String>

A subset of the importer array that contains IP addresses in IPv4 CIDR format.

importerIpv6s List<String>

A subset of the importer array that contains IP addresses in IPv6 CIDR format.

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.

pagesIpv4s List<String>

A subset of the pages array that contains IP addresses in IPv4 CIDR format.

pagesIpv6s List<String>

A subset of the pages array that contains IP addresses in IPv6 CIDR format.

Package Details

Repository
https://github.com/pulumi/pulumi-github
License
Apache-2.0
Notes

This Pulumi package is based on the github Terraform Provider.