Skip to content
DocsTry Aspire
DocsTry

GitHubModelResource

Handle
📦 Aspire.Hosting.GitHub.Models v13.4.0
interface GitHubModelResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IValueProvider,
IValueWithReferences {
enableHealthCheck(): GitHubModelResource;
withApiKey(apiKey: ParameterResource): GitHubModelResource;
}

Methods

methodenableHealthCheckbuilder
Adds a health check to the GitHub Model resource.
enableHealthCheck(): GitHubModelResource
GitHubModelResource
methodwithApiKeybuilder
Configures the API key for the GitHub Model resource from a parameter.
withApiKey(apiKey: ParameterResource): GitHubModelResource
apiKeyParameterResource
GitHubModelResource