Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: