Skip to content
Docs Try Aspire
Docs Try

addGitHubModel

Method
📦 Aspire.Hosting.GitHub.Models v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addGitHubModel(
name: string,
model: GitHubModelName,
organization?: ParameterResource): GitHubModelResource;
}

Signature

method addGitHubModel builder
Adds a GitHub Model resource to the distributed application model.
addGitHubModel(
name: string,
model: GitHubModelName,
organization?: ParameterResource): GitHubModelResource
name string
model GitHubModelName
organization ParameterResource optional
GitHubModelResource

Applies to

This method applies to the following types: