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

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.

Returns
TypeDescription
int

setTenancy

Required. The tenancy for instance.

Parameter
NameDescription
var int
Returns
TypeDescription
$this