Google Anthos Multi Cloud V1 Client - Class AwsInstancePlacement (0.1.4)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsInstancePlacement.

Details of placement information for an instance.

Limitations for using the host tenancy:

  • T3 instances that use the unlimited CPU credit option don't support host tenancy.

Generated from protobuf message google.cloud.gkemulticloud.v1.AwsInstancePlacement

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tenancy int

Required. The tenancy for instance.

getTenancy

Required. The tenancy for instance.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

setTenancy

Required. The tenancy for instance.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var int
Returns
TypeDescription
$this