Class GoogleCloudAiplatformV1beta1ReservationAffinity
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.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1.Data
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class GoogleCloudAiplatformV1beta1ReservationAffinity : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Key
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.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
string |
ReservationAffinityType
Required. Specifies the reservation affinity type.
Declaration
[JsonProperty("reservationAffinityType")]
public virtual string ReservationAffinityType { get; set; }
Property Value
Type | Description |
---|---|
string |
Values
Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation.
Declaration
[JsonProperty("values")]
public virtual IList<string> Values { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |