Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1ReservationAffinity

import type { GoogleCloudAiplatformV1ReservationAffinity } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

A ReservationAffinity can be used to configure a Vertex AI resource (e.g., a DeployedModel) to draw its Compute Engine resources from a Shared Reservation, or exclusively from on-demand capacity.

interface GoogleCloudAiplatformV1ReservationAffinity {
key?: string;
reservationAffinityType?:
| "TYPE_UNSPECIFIED"
| "NO_RESERVATION"
| "ANY_RESERVATION"
| "SPECIFIC_RESERVATION";
values?: string[];
}

§Properties

§
key?: string
[src]

Optional. Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value.

§
reservationAffinityType?: "TYPE_UNSPECIFIED" | "NO_RESERVATION" | "ANY_RESERVATION" | "SPECIFIC_RESERVATION"
[src]

Required. Specifies the reservation affinity type.

§
values?: string[]
[src]

Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation or reservation block.