Skip to content
Docs Try Aspire

withApiKey

Function
📦 Aspire.Hosting.GitHub.Models v13.2.0-preview.1.26159.1
interface GitHubModelResource {
// ... omitted for brevity
withApiKey(apiKey: ParameterResource): GitHubModelResource;
}

Signature

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

Applies to

This function is an extension method on the following types: