GitHub
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.
- 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.- 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.
- 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.
- 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.- 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.
- 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.
- 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.- 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.
- 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.
- 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.- 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.
- 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.
- 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.
- 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.- 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.
- 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-github
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
github
Terraform Provider.