Skip to content
Docs Try Aspire
Docs Try

withApiKey

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

Signature

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

Applies to

This method applies to the following types: