GitHub v6.2.2 published on Tuesday, Jun 18, 2024 by Pulumi
github.getRepository
Explore with Pulumi AI
Use this data source to retrieve information about a GitHub repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";
const example = github.getRepository({
fullName: "hashicorp/terraform",
});
import pulumi
import pulumi_github as github
example = github.get_repository(full_name="hashicorp/terraform")
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.LookupRepository(ctx, &github.LookupRepositoryArgs{
FullName: pulumi.StringRef("hashicorp/terraform"),
}, 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 example = Github.GetRepository.Invoke(new()
{
FullName = "hashicorp/terraform",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.GithubFunctions;
import com.pulumi.github.inputs.GetRepositoryArgs;
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 example = GithubFunctions.getRepository(GetRepositoryArgs.builder()
.fullName("hashicorp/terraform")
.build());
}
}
variables:
example:
fn::invoke:
Function: github:getRepository
Arguments:
fullName: hashicorp/terraform
Using getRepository
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 getRepository(args: GetRepositoryArgs, opts?: InvokeOptions): Promise<GetRepositoryResult>
function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRepositoryResult>
def get_repository(description: Optional[str] = None,
full_name: Optional[str] = None,
homepage_url: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
def get_repository_output(description: Optional[pulumi.Input[str]] = None,
full_name: Optional[pulumi.Input[str]] = None,
homepage_url: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRepositoryResult]
func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput
> Note: This function is named LookupRepository
in the Go SDK.
public static class GetRepository
{
public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetRepositoryResult> Invoke(GetRepositoryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: github:index/getRepository:getRepository
arguments:
# arguments dictionary
The following arguments are supported:
- Description string
- A description of the license.
- Full
Name string - Full name of the repository (in
org/name
format). - Homepage
Url string - URL of a page describing the project.
- Name string
- The name of the repository.
- Description string
- A description of the license.
- Full
Name string - Full name of the repository (in
org/name
format). - Homepage
Url string - URL of a page describing the project.
- Name string
- The name of the repository.
- description String
- A description of the license.
- full
Name String - Full name of the repository (in
org/name
format). - homepage
Url String - URL of a page describing the project.
- name String
- The name of the repository.
- description string
- A description of the license.
- full
Name string - Full name of the repository (in
org/name
format). - homepage
Url string - URL of a page describing the project.
- name string
- The name of the repository.
- description str
- A description of the license.
- full_
name str - Full name of the repository (in
org/name
format). - homepage_
url str - URL of a page describing the project.
- name str
- The name of the repository.
- description String
- A description of the license.
- full
Name String - Full name of the repository (in
org/name
format). - homepage
Url String - URL of a page describing the project.
- name String
- The name of the repository.
getRepository Result
The following output properties are available:
- Allow
Auto boolMerge - Whether the repository allows auto-merging pull requests.
- Allow
Merge boolCommit - Whether the repository allows merge commits.
- Allow
Rebase boolMerge - Whether the repository allows rebase merges.
- Allow
Squash boolMerge - Whether the repository allows squash merges.
- Archived bool
- Whether the repository is archived.
- Default
Branch string - The name of the default branch of the repository.
- Fork bool
- Whether the repository is a fork.
- Full
Name string - Git
Clone stringUrl - URL that can be provided to
git clone
to clone the repository anonymously via the git protocol. - Has
Discussions bool - Whether the repository has GitHub Discussions enabled.
- Has
Downloads bool - Whether the repository has Downloads feature enabled.
- Has
Issues bool - Whether the repository has GitHub Issues enabled.
- Has
Projects bool - Whether the repository has the GitHub Projects enabled.
- Has
Wiki bool - Whether the repository has the GitHub Wiki enabled.
- Html
Url string - The URL to view the license details on GitHub.
- Http
Clone stringUrl - URL that can be provided to
git clone
to clone the repository via HTTPS. - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Template bool - Whether the repository is a template repository.
- Merge
Commit stringMessage - The default value for a merge commit message.
- Merge
Commit stringTitle - The default value for a merge commit title.
- Name string
- The name of the license (e.g., "Apache License 2.0").
- Node
Id string - GraphQL global node id for use with v4 API
- Pages
List<Get
Repository Page> - The repository's GitHub Pages configuration.
- Primary
Language string - The primary language used in the repository.
- Private bool
- Whether the repository is private.
- Repo
Id int - GitHub ID for the repository
- Repository
Licenses List<GetRepository Repository License> - An Array of GitHub repository licenses. Each
repository_license
block consists of the fields documented below. - Squash
Merge stringCommit Message - The default value for a squash merge commit message.
- Squash
Merge stringCommit Title - The default value for a squash merge commit title.
- Ssh
Clone stringUrl - URL that can be provided to
git clone
to clone the repository via SSH. - Svn
Url string - URL that can be provided to
svn checkout
to check out the repository via GitHub's Subversion protocol emulation. - Templates
List<Get
Repository Template> - The repository source template configuration.
- Topics List<string>
- The list of topics of the repository.
- Visibility string
- Whether the repository is public, private or internal.
- Description string
- A description of the license.
- Homepage
Url string - URL of a page describing the project.
- Allow
Auto boolMerge - Whether the repository allows auto-merging pull requests.
- Allow
Merge boolCommit - Whether the repository allows merge commits.
- Allow
Rebase boolMerge - Whether the repository allows rebase merges.
- Allow
Squash boolMerge - Whether the repository allows squash merges.
- Archived bool
- Whether the repository is archived.
- Default
Branch string - The name of the default branch of the repository.
- Fork bool
- Whether the repository is a fork.
- Full
Name string - Git
Clone stringUrl - URL that can be provided to
git clone
to clone the repository anonymously via the git protocol. - Has
Discussions bool - Whether the repository has GitHub Discussions enabled.
- Has
Downloads bool - Whether the repository has Downloads feature enabled.
- Has
Issues bool - Whether the repository has GitHub Issues enabled.
- Has
Projects bool - Whether the repository has the GitHub Projects enabled.
- Has
Wiki bool - Whether the repository has the GitHub Wiki enabled.
- Html
Url string - The URL to view the license details on GitHub.
- Http
Clone stringUrl - URL that can be provided to
git clone
to clone the repository via HTTPS. - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Template bool - Whether the repository is a template repository.
- Merge
Commit stringMessage - The default value for a merge commit message.
- Merge
Commit stringTitle - The default value for a merge commit title.
- Name string
- The name of the license (e.g., "Apache License 2.0").
- Node
Id string - GraphQL global node id for use with v4 API
- Pages
[]Get
Repository Page - The repository's GitHub Pages configuration.
- Primary
Language string - The primary language used in the repository.
- Private bool
- Whether the repository is private.
- Repo
Id int - GitHub ID for the repository
- Repository
Licenses []GetRepository Repository License - An Array of GitHub repository licenses. Each
repository_license
block consists of the fields documented below. - Squash
Merge stringCommit Message - The default value for a squash merge commit message.
- Squash
Merge stringCommit Title - The default value for a squash merge commit title.
- Ssh
Clone stringUrl - URL that can be provided to
git clone
to clone the repository via SSH. - Svn
Url string - URL that can be provided to
svn checkout
to check out the repository via GitHub's Subversion protocol emulation. - Templates
[]Get
Repository Template - The repository source template configuration.
- Topics []string
- The list of topics of the repository.
- Visibility string
- Whether the repository is public, private or internal.
- Description string
- A description of the license.
- Homepage
Url string - URL of a page describing the project.
- allow
Auto BooleanMerge - Whether the repository allows auto-merging pull requests.
- allow
Merge BooleanCommit - Whether the repository allows merge commits.
- allow
Rebase BooleanMerge - Whether the repository allows rebase merges.
- allow
Squash BooleanMerge - Whether the repository allows squash merges.
- archived Boolean
- Whether the repository is archived.
- default
Branch String - The name of the default branch of the repository.
- fork Boolean
- Whether the repository is a fork.
- full
Name String - git
Clone StringUrl - URL that can be provided to
git clone
to clone the repository anonymously via the git protocol. - has
Discussions Boolean - Whether the repository has GitHub Discussions enabled.
- has
Downloads Boolean - Whether the repository has Downloads feature enabled.
- has
Issues Boolean - Whether the repository has GitHub Issues enabled.
- has
Projects Boolean - Whether the repository has the GitHub Projects enabled.
- has
Wiki Boolean - Whether the repository has the GitHub Wiki enabled.
- html
Url String - The URL to view the license details on GitHub.
- http
Clone StringUrl - URL that can be provided to
git clone
to clone the repository via HTTPS. - id String
- The provider-assigned unique ID for this managed resource.
- is
Template Boolean - Whether the repository is a template repository.
- merge
Commit StringMessage - The default value for a merge commit message.
- merge
Commit StringTitle - The default value for a merge commit title.
- name String
- The name of the license (e.g., "Apache License 2.0").
- node
Id String - GraphQL global node id for use with v4 API
- pages
List<Get
Repository Page> - The repository's GitHub Pages configuration.
- primary
Language String - The primary language used in the repository.
- private_ Boolean
- Whether the repository is private.
- repo
Id Integer - GitHub ID for the repository
- repository
Licenses List<GetRepository Repository License> - An Array of GitHub repository licenses. Each
repository_license
block consists of the fields documented below. - squash
Merge StringCommit Message - The default value for a squash merge commit message.
- squash
Merge StringCommit Title - The default value for a squash merge commit title.
- ssh
Clone StringUrl - URL that can be provided to
git clone
to clone the repository via SSH. - svn
Url String - URL that can be provided to
svn checkout
to check out the repository via GitHub's Subversion protocol emulation. - templates
List<Get
Repository Template> - The repository source template configuration.
- topics List<String>
- The list of topics of the repository.
- visibility String
- Whether the repository is public, private or internal.
- description String
- A description of the license.
- homepage
Url String - URL of a page describing the project.
- allow
Auto booleanMerge - Whether the repository allows auto-merging pull requests.
- allow
Merge booleanCommit - Whether the repository allows merge commits.
- allow
Rebase booleanMerge - Whether the repository allows rebase merges.
- allow
Squash booleanMerge - Whether the repository allows squash merges.
- archived boolean
- Whether the repository is archived.
- default
Branch string - The name of the default branch of the repository.
- fork boolean
- Whether the repository is a fork.
- full
Name string - git
Clone stringUrl - URL that can be provided to
git clone
to clone the repository anonymously via the git protocol. - has
Discussions boolean - Whether the repository has GitHub Discussions enabled.
- has
Downloads boolean - Whether the repository has Downloads feature enabled.
- has
Issues boolean - Whether the repository has GitHub Issues enabled.
- has
Projects boolean - Whether the repository has the GitHub Projects enabled.
- has
Wiki boolean - Whether the repository has the GitHub Wiki enabled.
- html
Url string - The URL to view the license details on GitHub.
- http
Clone stringUrl - URL that can be provided to
git clone
to clone the repository via HTTPS. - id string
- The provider-assigned unique ID for this managed resource.
- is
Template boolean - Whether the repository is a template repository.
- merge
Commit stringMessage - The default value for a merge commit message.
- merge
Commit stringTitle - The default value for a merge commit title.
- name string
- The name of the license (e.g., "Apache License 2.0").
- node
Id string - GraphQL global node id for use with v4 API
- pages
Get
Repository Page[] - The repository's GitHub Pages configuration.
- primary
Language string - The primary language used in the repository.
- private boolean
- Whether the repository is private.
- repo
Id number - GitHub ID for the repository
- repository
Licenses GetRepository Repository License[] - An Array of GitHub repository licenses. Each
repository_license
block consists of the fields documented below. - squash
Merge stringCommit Message - The default value for a squash merge commit message.
- squash
Merge stringCommit Title - The default value for a squash merge commit title.
- ssh
Clone stringUrl - URL that can be provided to
git clone
to clone the repository via SSH. - svn
Url string - URL that can be provided to
svn checkout
to check out the repository via GitHub's Subversion protocol emulation. - templates
Get
Repository Template[] - The repository source template configuration.
- topics string[]
- The list of topics of the repository.
- visibility string
- Whether the repository is public, private or internal.
- description string
- A description of the license.
- homepage
Url string - URL of a page describing the project.
- allow_
auto_ boolmerge - Whether the repository allows auto-merging pull requests.
- allow_
merge_ boolcommit - Whether the repository allows merge commits.
- allow_
rebase_ boolmerge - Whether the repository allows rebase merges.
- allow_
squash_ boolmerge - Whether the repository allows squash merges.
- archived bool
- Whether the repository is archived.
- default_
branch str - The name of the default branch of the repository.
- fork bool
- Whether the repository is a fork.
- full_
name str - git_
clone_ strurl - URL that can be provided to
git clone
to clone the repository anonymously via the git protocol. - has_
discussions bool - Whether the repository has GitHub Discussions enabled.
- has_
downloads bool - Whether the repository has Downloads feature enabled.
- has_
issues bool - Whether the repository has GitHub Issues enabled.
- has_
projects bool - Whether the repository has the GitHub Projects enabled.
- has_
wiki bool - Whether the repository has the GitHub Wiki enabled.
- html_
url str - The URL to view the license details on GitHub.
- http_
clone_ strurl - URL that can be provided to
git clone
to clone the repository via HTTPS. - id str
- The provider-assigned unique ID for this managed resource.
- is_
template bool - Whether the repository is a template repository.
- merge_
commit_ strmessage - The default value for a merge commit message.
- merge_
commit_ strtitle - The default value for a merge commit title.
- name str
- The name of the license (e.g., "Apache License 2.0").
- node_
id str - GraphQL global node id for use with v4 API
- pages
Sequence[Get
Repository Page] - The repository's GitHub Pages configuration.
- primary_
language str - The primary language used in the repository.
- private bool
- Whether the repository is private.
- repo_
id int - GitHub ID for the repository
- repository_
licenses Sequence[GetRepository Repository License] - An Array of GitHub repository licenses. Each
repository_license
block consists of the fields documented below. - squash_
merge_ strcommit_ message - The default value for a squash merge commit message.
- squash_
merge_ strcommit_ title - The default value for a squash merge commit title.
- ssh_
clone_ strurl - URL that can be provided to
git clone
to clone the repository via SSH. - svn_
url str - URL that can be provided to
svn checkout
to check out the repository via GitHub's Subversion protocol emulation. - templates
Sequence[Get
Repository Template] - The repository source template configuration.
- topics Sequence[str]
- The list of topics of the repository.
- visibility str
- Whether the repository is public, private or internal.
- description str
- A description of the license.
- homepage_
url str - URL of a page describing the project.
- allow
Auto BooleanMerge - Whether the repository allows auto-merging pull requests.
- allow
Merge BooleanCommit - Whether the repository allows merge commits.
- allow
Rebase BooleanMerge - Whether the repository allows rebase merges.
- allow
Squash BooleanMerge - Whether the repository allows squash merges.
- archived Boolean
- Whether the repository is archived.
- default
Branch String - The name of the default branch of the repository.
- fork Boolean
- Whether the repository is a fork.
- full
Name String - git
Clone StringUrl - URL that can be provided to
git clone
to clone the repository anonymously via the git protocol. - has
Discussions Boolean - Whether the repository has GitHub Discussions enabled.
- has
Downloads Boolean - Whether the repository has Downloads feature enabled.
- has
Issues Boolean - Whether the repository has GitHub Issues enabled.
- has
Projects Boolean - Whether the repository has the GitHub Projects enabled.
- has
Wiki Boolean - Whether the repository has the GitHub Wiki enabled.
- html
Url String - The URL to view the license details on GitHub.
- http
Clone StringUrl - URL that can be provided to
git clone
to clone the repository via HTTPS. - id String
- The provider-assigned unique ID for this managed resource.
- is
Template Boolean - Whether the repository is a template repository.
- merge
Commit StringMessage - The default value for a merge commit message.
- merge
Commit StringTitle - The default value for a merge commit title.
- name String
- The name of the license (e.g., "Apache License 2.0").
- node
Id String - GraphQL global node id for use with v4 API
- pages List<Property Map>
- The repository's GitHub Pages configuration.
- primary
Language String - The primary language used in the repository.
- private Boolean
- Whether the repository is private.
- repo
Id Number - GitHub ID for the repository
- repository
Licenses List<Property Map> - An Array of GitHub repository licenses. Each
repository_license
block consists of the fields documented below. - squash
Merge StringCommit Message - The default value for a squash merge commit message.
- squash
Merge StringCommit Title - The default value for a squash merge commit title.
- ssh
Clone StringUrl - URL that can be provided to
git clone
to clone the repository via SSH. - svn
Url String - URL that can be provided to
svn checkout
to check out the repository via GitHub's Subversion protocol emulation. - templates List<Property Map>
- The repository source template configuration.
- topics List<String>
- The list of topics of the repository.
- visibility String
- Whether the repository is public, private or internal.
- description String
- A description of the license.
- homepage
Url String - URL of a page describing the project.
Supporting Types
GetRepositoryPage
- build_
type str - cname str
- custom404 bool
- html_
url str - The URL to view the license details on GitHub.
- sources
Sequence[Get
Repository Page Source] - status str
- url str
- The URL to access information about the license on GitHub.
GetRepositoryPageSource
GetRepositoryRepositoryLicense
- Content string
- Content of the license file, encoded by encoding scheme mentioned below.
- Download
Url string - The URL to download the raw content of the license file.
- Encoding string
- The encoding used for the content (e.g., "base64").
- Git
Url string - The URL to access information about the license file as a Git blob.
- Html
Url string - The URL to view the license details on GitHub.
- Licenses
List<Get
Repository Repository License License> license
block consists of the fields documented below.- Name string
- The name of the repository.
- Path string
- The path to the license file within the repository.
- Sha string
- The SHA hash of the license file.
- Size int
- The size of the license file in bytes.
- Type string
- The type of the content, (e.g., "file").
- Url string
- The URL to access information about the license on GitHub.
- Content string
- Content of the license file, encoded by encoding scheme mentioned below.
- Download
Url string - The URL to download the raw content of the license file.
- Encoding string
- The encoding used for the content (e.g., "base64").
- Git
Url string - The URL to access information about the license file as a Git blob.
- Html
Url string - The URL to view the license details on GitHub.
- Licenses
[]Get
Repository Repository License License license
block consists of the fields documented below.- Name string
- The name of the repository.
- Path string
- The path to the license file within the repository.
- Sha string
- The SHA hash of the license file.
- Size int
- The size of the license file in bytes.
- Type string
- The type of the content, (e.g., "file").
- Url string
- The URL to access information about the license on GitHub.
- content String
- Content of the license file, encoded by encoding scheme mentioned below.
- download
Url String - The URL to download the raw content of the license file.
- encoding String
- The encoding used for the content (e.g., "base64").
- git
Url String - The URL to access information about the license file as a Git blob.
- html
Url String - The URL to view the license details on GitHub.
- licenses
List<Get
Repository Repository License License> license
block consists of the fields documented below.- name String
- The name of the repository.
- path String
- The path to the license file within the repository.
- sha String
- The SHA hash of the license file.
- size Integer
- The size of the license file in bytes.
- type String
- The type of the content, (e.g., "file").
- url String
- The URL to access information about the license on GitHub.
- content string
- Content of the license file, encoded by encoding scheme mentioned below.
- download
Url string - The URL to download the raw content of the license file.
- encoding string
- The encoding used for the content (e.g., "base64").
- git
Url string - The URL to access information about the license file as a Git blob.
- html
Url string - The URL to view the license details on GitHub.
- licenses
Get
Repository Repository License License[] license
block consists of the fields documented below.- name string
- The name of the repository.
- path string
- The path to the license file within the repository.
- sha string
- The SHA hash of the license file.
- size number
- The size of the license file in bytes.
- type string
- The type of the content, (e.g., "file").
- url string
- The URL to access information about the license on GitHub.
- content str
- Content of the license file, encoded by encoding scheme mentioned below.
- download_
url str - The URL to download the raw content of the license file.
- encoding str
- The encoding used for the content (e.g., "base64").
- git_
url str - The URL to access information about the license file as a Git blob.
- html_
url str - The URL to view the license details on GitHub.
- licenses
Sequence[Get
Repository Repository License License] license
block consists of the fields documented below.- name str
- The name of the repository.
- path str
- The path to the license file within the repository.
- sha str
- The SHA hash of the license file.
- size int
- The size of the license file in bytes.
- type str
- The type of the content, (e.g., "file").
- url str
- The URL to access information about the license on GitHub.
- content String
- Content of the license file, encoded by encoding scheme mentioned below.
- download
Url String - The URL to download the raw content of the license file.
- encoding String
- The encoding used for the content (e.g., "base64").
- git
Url String - The URL to access information about the license file as a Git blob.
- html
Url String - The URL to view the license details on GitHub.
- licenses List<Property Map>
license
block consists of the fields documented below.- name String
- The name of the repository.
- path String
- The path to the license file within the repository.
- sha String
- The SHA hash of the license file.
- size Number
- The size of the license file in bytes.
- type String
- The type of the content, (e.g., "file").
- url String
- The URL to access information about the license on GitHub.
GetRepositoryRepositoryLicenseLicense
- Body string
- The text of the license.
- Conditions List<string>
- Conditions associated with the license.
- Description string
- A description of the license.
- Featured bool
- Indicates if the license is featured.
- Html
Url string - The URL to view the license details on GitHub.
- Implementation string
- Details about the implementation of the license.
- Key string
- A key representing the license type (e.g., "apache-2.0").
- Limitations List<string>
- Limitations associated with the license.
- Name string
- The name of the repository.
- Permissions List<string>
- Permissions associated with the license.
- Spdx
Id string - The SPDX identifier for the license (e.g., "Apache-2.0").
- Url string
- The URL to access information about the license on GitHub.
- Body string
- The text of the license.
- Conditions []string
- Conditions associated with the license.
- Description string
- A description of the license.
- Featured bool
- Indicates if the license is featured.
- Html
Url string - The URL to view the license details on GitHub.
- Implementation string
- Details about the implementation of the license.
- Key string
- A key representing the license type (e.g., "apache-2.0").
- Limitations []string
- Limitations associated with the license.
- Name string
- The name of the repository.
- Permissions []string
- Permissions associated with the license.
- Spdx
Id string - The SPDX identifier for the license (e.g., "Apache-2.0").
- Url string
- The URL to access information about the license on GitHub.
- body String
- The text of the license.
- conditions List<String>
- Conditions associated with the license.
- description String
- A description of the license.
- featured Boolean
- Indicates if the license is featured.
- html
Url String - The URL to view the license details on GitHub.
- implementation String
- Details about the implementation of the license.
- key String
- A key representing the license type (e.g., "apache-2.0").
- limitations List<String>
- Limitations associated with the license.
- name String
- The name of the repository.
- permissions List<String>
- Permissions associated with the license.
- spdx
Id String - The SPDX identifier for the license (e.g., "Apache-2.0").
- url String
- The URL to access information about the license on GitHub.
- body string
- The text of the license.
- conditions string[]
- Conditions associated with the license.
- description string
- A description of the license.
- featured boolean
- Indicates if the license is featured.
- html
Url string - The URL to view the license details on GitHub.
- implementation string
- Details about the implementation of the license.
- key string
- A key representing the license type (e.g., "apache-2.0").
- limitations string[]
- Limitations associated with the license.
- name string
- The name of the repository.
- permissions string[]
- Permissions associated with the license.
- spdx
Id string - The SPDX identifier for the license (e.g., "Apache-2.0").
- url string
- The URL to access information about the license on GitHub.
- body str
- The text of the license.
- conditions Sequence[str]
- Conditions associated with the license.
- description str
- A description of the license.
- featured bool
- Indicates if the license is featured.
- html_
url str - The URL to view the license details on GitHub.
- implementation str
- Details about the implementation of the license.
- key str
- A key representing the license type (e.g., "apache-2.0").
- limitations Sequence[str]
- Limitations associated with the license.
- name str
- The name of the repository.
- permissions Sequence[str]
- Permissions associated with the license.
- spdx_
id str - The SPDX identifier for the license (e.g., "Apache-2.0").
- url str
- The URL to access information about the license on GitHub.
- body String
- The text of the license.
- conditions List<String>
- Conditions associated with the license.
- description String
- A description of the license.
- featured Boolean
- Indicates if the license is featured.
- html
Url String - The URL to view the license details on GitHub.
- implementation String
- Details about the implementation of the license.
- key String
- A key representing the license type (e.g., "apache-2.0").
- limitations List<String>
- Limitations associated with the license.
- name String
- The name of the repository.
- permissions List<String>
- Permissions associated with the license.
- spdx
Id String - The SPDX identifier for the license (e.g., "Apache-2.0").
- url String
- The URL to access information about the license on GitHub.
GetRepositoryTemplate
- Owner string
- Repository string
- Owner string
- Repository string
- owner String
- repository String
- owner string
- repository string
- owner str
- repository str
- owner String
- repository String
Package Details
- Repository
- GitHub pulumi/pulumi-github
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
github
Terraform Provider.