Skip to content
DocsTry Aspire
DocsTry

GitHubModelResource.withApiKey

Method
📦 Aspire.Hosting.GitHub.Models v13.4.0
interface GitHubModelResource {
// ... omitted for brevity
withApiKey(apiKey: ParameterResource): GitHubModelResource;
}

Signature

methodwithApiKeybuilder
Configures the API key for the GitHub Model resource from a parameter.
withApiKey(apiKey: ParameterResource): GitHubModelResource
apiKeyParameterResource
GitHubModelResource

Defined on

This method is defined on the following type: