Skip to content
Docs Try Aspire
Docs Try

addGitHubModelById

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

Signature

method addGitHubModelById builder
Adds a GitHub Model resource to the application model using a model identifier string.
addGitHubModelById(
name: string,
modelId: string,
organization?: ParameterResource): GitHubModelResource
name string
modelId string
organization ParameterResource optional
GitHubModelResource

Applies to

This method applies to the following types: