Skip to content
Docs Try Aspire

GitHubModelResource.withApiKey

Method
📦 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

Defined on

This method is defined on the following type: