GitHub v6.2.2 published on Tuesday, Jun 18, 2024 by Pulumi
github.getIpRanges
Explore with Pulumi AI
Use this data source to retrieve information about GitHub’s IP addresses.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";
const test = github.getIpRanges({});
import pulumi
import pulumi_github as github
test = github.get_ip_ranges()
package main
import (
"github.com/pulumi/pulumi-github/sdk/v6/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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Github = Pulumi.Github;
return await Deployment.RunAsync(() =>
{
var test = Github.GetIpRanges.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.GithubFunctions;
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 = GithubFunctions.getIpRanges();
}
}
variables:
test:
fn::invoke:
Function: github: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: 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.
- Actions
Ipv4s List<string> - A subset of the
actions
array that contains IP addresses in IPv4 CIDR format. - Actions
Ipv6s List<string> - A subset of the
actions
array that contains IP addresses in IPv6 CIDR format. - Api
Ipv4s List<string> - A subset of the
api
array that contains IP addresses in IPv4 CIDR format. - Api
Ipv6s List<string> - A subset of the
api
array that contains IP addresses in IPv6 CIDR format. - Apis List<string>
- An Array of IP addresses in CIDR format for the GitHub API.
- Dependabot
Ipv4s List<string> - A subset of the
dependabot
array that contains IP addresses in IPv4 CIDR format. - Dependabot
Ipv6s 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.
- Git
Ipv4s List<string> - A subset of the
git
array that contains IP addresses in IPv4 CIDR format. - Git
Ipv6s 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.
- Hooks
Ipv4s List<string> - A subset of the
hooks
array that contains IP addresses in IPv4 CIDR format. - Hooks
Ipv6s 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.
- Importer
Ipv4s List<string> - A subset of the
importer
array that contains IP addresses in IPv4 CIDR format. - Importer
Ipv6s 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.
- Packages List<string>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- Packages
Ipv4s List<string> - A subset of the
packages
array that contains IP addresses in IPv4 CIDR format. - Packages
Ipv6s List<string> - A subset of the
packages
array that contains IP addresses in IPv6 CIDR format. - Pages List<string>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- Pages
Ipv4s List<string> - A subset of the
pages
array that contains IP addresses in IPv4 CIDR format. - Pages
Ipv6s List<string> - A subset of the
pages
array that contains IP addresses in IPv6 CIDR format. - Web
Ipv4s List<string> - A subset of the
web
array that contains IP addresses in IPv4 CIDR format. - Web
Ipv6s List<string> - A subset of the
web
array that contains IP addresses in IPv6 CIDR format. - Webs List<string>
- An Array of IP addresses in CIDR format for GitHub Web.
- Actions []string
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- Actions
Ipv4s []string - A subset of the
actions
array that contains IP addresses in IPv4 CIDR format. - Actions
Ipv6s []string - A subset of the
actions
array that contains IP addresses in IPv6 CIDR format. - Api
Ipv4s []string - A subset of the
api
array that contains IP addresses in IPv4 CIDR format. - Api
Ipv6s []string - A subset of the
api
array that contains IP addresses in IPv6 CIDR format. - Apis []string
- An Array of IP addresses in CIDR format for the GitHub API.
- Dependabot
Ipv4s []string - A subset of the
dependabot
array that contains IP addresses in IPv4 CIDR format. - Dependabot
Ipv6s []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.
- Git
Ipv4s []string - A subset of the
git
array that contains IP addresses in IPv4 CIDR format. - Git
Ipv6s []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.
- Hooks
Ipv4s []string - A subset of the
hooks
array that contains IP addresses in IPv4 CIDR format. - Hooks
Ipv6s []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.
- Importer
Ipv4s []string - A subset of the
importer
array that contains IP addresses in IPv4 CIDR format. - Importer
Ipv6s []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.
- Packages []string
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- Packages
Ipv4s []string - A subset of the
packages
array that contains IP addresses in IPv4 CIDR format. - Packages
Ipv6s []string - A subset of the
packages
array that contains IP addresses in IPv6 CIDR format. - Pages []string
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- Pages
Ipv4s []string - A subset of the
pages
array that contains IP addresses in IPv4 CIDR format. - Pages
Ipv6s []string - A subset of the
pages
array that contains IP addresses in IPv6 CIDR format. - Web
Ipv4s []string - A subset of the
web
array that contains IP addresses in IPv4 CIDR format. - Web
Ipv6s []string - A subset of the
web
array that contains IP addresses in IPv6 CIDR format. - Webs []string
- An Array of IP addresses in CIDR format for GitHub Web.
- actions List<String>
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- actions
Ipv4s List<String> - A subset of the
actions
array that contains IP addresses in IPv4 CIDR format. - actions
Ipv6s List<String> - A subset of the
actions
array that contains IP addresses in IPv6 CIDR format. - api
Ipv4s List<String> - A subset of the
api
array that contains IP addresses in IPv4 CIDR format. - api
Ipv6s List<String> - A subset of the
api
array that contains IP addresses in IPv6 CIDR format. - apis List<String>
- An Array of IP addresses in CIDR format for the GitHub API.
- dependabot
Ipv4s List<String> - A subset of the
dependabot
array that contains IP addresses in IPv4 CIDR format. - dependabot
Ipv6s 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.
- git
Ipv4s List<String> - A subset of the
git
array that contains IP addresses in IPv4 CIDR format. - git
Ipv6s 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.
- hooks
Ipv4s List<String> - A subset of the
hooks
array that contains IP addresses in IPv4 CIDR format. - hooks
Ipv6s 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.
- importer
Ipv4s List<String> - A subset of the
importer
array that contains IP addresses in IPv4 CIDR format. - importer
Ipv6s 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.
- packages List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- packages
Ipv4s List<String> - A subset of the
packages
array that contains IP addresses in IPv4 CIDR format. - packages
Ipv6s List<String> - A subset of the
packages
array that contains IP addresses in IPv6 CIDR format. - pages List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- pages
Ipv4s List<String> - A subset of the
pages
array that contains IP addresses in IPv4 CIDR format. - pages
Ipv6s List<String> - A subset of the
pages
array that contains IP addresses in IPv6 CIDR format. - web
Ipv4s List<String> - A subset of the
web
array that contains IP addresses in IPv4 CIDR format. - web
Ipv6s List<String> - A subset of the
web
array that contains IP addresses in IPv6 CIDR format. - webs List<String>
- An Array of IP addresses in CIDR format for GitHub Web.
- actions string[]
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- actions
Ipv4s string[] - A subset of the
actions
array that contains IP addresses in IPv4 CIDR format. - actions
Ipv6s string[] - A subset of the
actions
array that contains IP addresses in IPv6 CIDR format. - api
Ipv4s string[] - A subset of the
api
array that contains IP addresses in IPv4 CIDR format. - api
Ipv6s string[] - A subset of the
api
array that contains IP addresses in IPv6 CIDR format. - apis string[]
- An Array of IP addresses in CIDR format for the GitHub API.
- dependabot
Ipv4s string[] - A subset of the
dependabot
array that contains IP addresses in IPv4 CIDR format. - dependabot
Ipv6s 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.
- git
Ipv4s string[] - A subset of the
git
array that contains IP addresses in IPv4 CIDR format. - git
Ipv6s 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.
- hooks
Ipv4s string[] - A subset of the
hooks
array that contains IP addresses in IPv4 CIDR format. - hooks
Ipv6s 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.
- importer
Ipv4s string[] - A subset of the
importer
array that contains IP addresses in IPv4 CIDR format. - importer
Ipv6s 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.
- packages string[]
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- packages
Ipv4s string[] - A subset of the
packages
array that contains IP addresses in IPv4 CIDR format. - packages
Ipv6s string[] - A subset of the
packages
array that contains IP addresses in IPv6 CIDR format. - pages string[]
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- pages
Ipv4s string[] - A subset of the
pages
array that contains IP addresses in IPv4 CIDR format. - pages
Ipv6s string[] - A subset of the
pages
array that contains IP addresses in IPv6 CIDR format. - web
Ipv4s string[] - A subset of the
web
array that contains IP addresses in IPv4 CIDR format. - web
Ipv6s string[] - A subset of the
web
array that contains IP addresses in IPv6 CIDR format. - webs string[]
- An Array of IP addresses in CIDR format for GitHub Web.
- 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. - api_
ipv4s Sequence[str] - A subset of the
api
array that contains IP addresses in IPv4 CIDR format. - api_
ipv6s Sequence[str] - A subset of the
api
array that contains IP addresses in IPv6 CIDR format. - apis Sequence[str]
- An Array of IP addresses in CIDR format for the GitHub API.
- 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.
- packages Sequence[str]
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- packages_
ipv4s Sequence[str] - A subset of the
packages
array that contains IP addresses in IPv4 CIDR format. - packages_
ipv6s Sequence[str] - A subset of the
packages
array that contains IP addresses in IPv6 CIDR format. - 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. - web_
ipv4s Sequence[str] - A subset of the
web
array that contains IP addresses in IPv4 CIDR format. - web_
ipv6s Sequence[str] - A subset of the
web
array that contains IP addresses in IPv6 CIDR format. - webs Sequence[str]
- An Array of IP addresses in CIDR format for GitHub Web.
- actions List<String>
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- actions
Ipv4s List<String> - A subset of the
actions
array that contains IP addresses in IPv4 CIDR format. - actions
Ipv6s List<String> - A subset of the
actions
array that contains IP addresses in IPv6 CIDR format. - api
Ipv4s List<String> - A subset of the
api
array that contains IP addresses in IPv4 CIDR format. - api
Ipv6s List<String> - A subset of the
api
array that contains IP addresses in IPv6 CIDR format. - apis List<String>
- An Array of IP addresses in CIDR format for the GitHub API.
- dependabot
Ipv4s List<String> - A subset of the
dependabot
array that contains IP addresses in IPv4 CIDR format. - dependabot
Ipv6s 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.
- git
Ipv4s List<String> - A subset of the
git
array that contains IP addresses in IPv4 CIDR format. - git
Ipv6s 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.
- hooks
Ipv4s List<String> - A subset of the
hooks
array that contains IP addresses in IPv4 CIDR format. - hooks
Ipv6s 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.
- importer
Ipv4s List<String> - A subset of the
importer
array that contains IP addresses in IPv4 CIDR format. - importer
Ipv6s 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.
- packages List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- packages
Ipv4s List<String> - A subset of the
packages
array that contains IP addresses in IPv4 CIDR format. - packages
Ipv6s List<String> - A subset of the
packages
array that contains IP addresses in IPv6 CIDR format. - pages List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- pages
Ipv4s List<String> - A subset of the
pages
array that contains IP addresses in IPv4 CIDR format. - pages
Ipv6s List<String> - A subset of the
pages
array that contains IP addresses in IPv6 CIDR format. - web
Ipv4s List<String> - A subset of the
web
array that contains IP addresses in IPv4 CIDR format. - web
Ipv6s List<String> - A subset of the
web
array that contains IP addresses in IPv6 CIDR format. - webs List<String>
- An Array of IP addresses in CIDR format for GitHub Web.
Package Details
- Repository
- GitHub pulumi/pulumi-github
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
github
Terraform Provider.