GetRepository

Using GetRepository

function getRepository(args: GetRepositoryArgs, opts?: InvokeOptions): Promise<GetRepositoryResult>
function  get_repository(full_name=None, name=None, opts=None)
func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)

Note: This function is named LookupRepository in the Go SDK.

public static class GetRepository {
    public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

FullName string

Full name of the repository (in org/name format).

Name string

The name of the repository.

FullName string

Full name of the repository (in org/name format).

Name string

The name of the repository.

fullName string

Full name of the repository (in org/name format).

name string

The name of the repository.

full_name str

Full name of the repository (in org/name format).

name str

The name of the repository.

GetRepository Result

The following output properties are available:

AllowMergeCommit bool

Whether the repository allows merge commits.

AllowRebaseMerge bool

Whether the repository allows rebase merges.

AllowSquashMerge bool

Whether the repository allows squash merges.

Archived bool

Whether the repository is archived.

DefaultBranch string

The name of the default branch of the repository.

Description string

A description of the repository.

GitCloneUrl string

URL that can be provided to git clone to clone the repository anonymously via the git protocol.

HasDownloads bool

Whether the repository has Downloads feature enabled.

HasIssues bool

Whether the repository has GitHub Issues enabled.

HasProjects bool

Whether the repository has the GitHub Projects enabled.

HasWiki bool

Whether the repository has the GitHub Wiki enabled.

HomepageUrl string

URL of a page describing the project.

HtmlUrl string

URL to the repository on the web.

HttpCloneUrl string

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.

NodeId string
Private bool

Whether the repository is private.

SshCloneUrl string

URL that can be provided to git clone to clone the repository via SSH.

SvnUrl string

URL that can be provided to svn checkout to check out the repository via GitHub’s Subversion protocol emulation.

Topics List<string>

The list of topics of the repository.

Visibility string

Whether the repository is public, private or internal.

FullName string
Name string
AllowMergeCommit bool

Whether the repository allows merge commits.

AllowRebaseMerge bool

Whether the repository allows rebase merges.

AllowSquashMerge bool

Whether the repository allows squash merges.

Archived bool

Whether the repository is archived.

DefaultBranch string

The name of the default branch of the repository.

Description string

A description of the repository.

GitCloneUrl string

URL that can be provided to git clone to clone the repository anonymously via the git protocol.

HasDownloads bool

Whether the repository has Downloads feature enabled.

HasIssues bool

Whether the repository has GitHub Issues enabled.

HasProjects bool

Whether the repository has the GitHub Projects enabled.

HasWiki bool

Whether the repository has the GitHub Wiki enabled.

HomepageUrl string

URL of a page describing the project.

HtmlUrl string

URL to the repository on the web.

HttpCloneUrl string

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.

NodeId string
Private bool

Whether the repository is private.

SshCloneUrl string

URL that can be provided to git clone to clone the repository via SSH.

SvnUrl string

URL that can be provided to svn checkout to check out the repository via GitHub’s Subversion protocol emulation.

Topics []string

The list of topics of the repository.

Visibility string

Whether the repository is public, private or internal.

FullName string
Name string
allowMergeCommit boolean

Whether the repository allows merge commits.

allowRebaseMerge boolean

Whether the repository allows rebase merges.

allowSquashMerge boolean

Whether the repository allows squash merges.

archived boolean

Whether the repository is archived.

defaultBranch string

The name of the default branch of the repository.

description string

A description of the repository.

gitCloneUrl string

URL that can be provided to git clone to clone the repository anonymously via the git protocol.

hasDownloads boolean

Whether the repository has Downloads feature enabled.

hasIssues boolean

Whether the repository has GitHub Issues enabled.

hasProjects boolean

Whether the repository has the GitHub Projects enabled.

hasWiki boolean

Whether the repository has the GitHub Wiki enabled.

homepageUrl string

URL of a page describing the project.

htmlUrl string

URL to the repository on the web.

httpCloneUrl string

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.

nodeId string
private boolean

Whether the repository is private.

sshCloneUrl string

URL that can be provided to git clone to clone the repository via SSH.

svnUrl string

URL that can be provided to svn checkout to check out the repository via GitHub’s Subversion protocol emulation.

topics string[]

The list of topics of the repository.

visibility string

Whether the repository is public, private or internal.

fullName string
name string
allow_merge_commit bool

Whether the repository allows merge commits.

allow_rebase_merge bool

Whether the repository allows rebase merges.

allow_squash_merge bool

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.

description str

A description of the repository.

git_clone_url str

URL that can be provided to git clone to clone the repository anonymously via the git protocol.

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.

homepage_url str

URL of a page describing the project.

html_url str

URL to the repository on the web.

http_clone_url str

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.

node_id str
private bool

Whether the repository is private.

ssh_clone_url str

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.

topics List[str]

The list of topics of the repository.

visibility str

Whether the repository is public, private or internal.

full_name str
name str

Package Details

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