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
LookupRepositoryin the Go SDK.
public static class GetRepository {
public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetRepository Result
The following output properties are available:
- 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.
- Description string
A description of the repository.
- Git
Clone stringUrl URL that can be provided to
git cloneto 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 string URL of a page describing the project.
- Html
Url string URL to the repository on the web.
- Http
Clone stringUrl URL that can be provided to
git cloneto clone the repository via HTTPS.- Id string
The provider-assigned unique ID for this managed resource.
- Node
Id string - Private bool
Whether the repository is private.
- Ssh
Clone stringUrl URL that can be provided to
git cloneto clone the repository via SSH.- Svn
Url string URL that can be provided to
svn checkoutto 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.
- Full
Name string - Name string
- 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.
- Description string
A description of the repository.
- Git
Clone stringUrl URL that can be provided to
git cloneto 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 string URL of a page describing the project.
- Html
Url string URL to the repository on the web.
- Http
Clone stringUrl URL that can be provided to
git cloneto clone the repository via HTTPS.- Id string
The provider-assigned unique ID for this managed resource.
- Node
Id string - Private bool
Whether the repository is private.
- Ssh
Clone stringUrl URL that can be provided to
git cloneto clone the repository via SSH.- Svn
Url string URL that can be provided to
svn checkoutto 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.
- Full
Name string - Name string
- 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.
- description string
A description of the repository.
- git
Clone stringUrl URL that can be provided to
git cloneto clone the repository anonymously via the git protocol.- 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.
- homepage
Url string URL of a page describing the project.
- html
Url string URL to the repository on the web.
- http
Clone stringUrl URL that can be provided to
git cloneto clone the repository via HTTPS.- id string
The provider-assigned unique ID for this managed resource.
- node
Id string - private boolean
Whether the repository is private.
- ssh
Clone stringUrl URL that can be provided to
git cloneto clone the repository via SSH.- svn
Url string URL that can be provided to
svn checkoutto 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.
- full
Name string - name string
- 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.
- description str
A description of the repository.
- git_
clone_ strurl URL that can be provided to
git cloneto 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_ strurl URL that can be provided to
git cloneto 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_ strurl URL that can be provided to
git cloneto clone the repository via SSH.- svn_
url str URL that can be provided to
svn checkoutto 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
githubTerraform Provider.