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.