Google Anthos Multi Cloud V1 Client - Class AwsInstancePlacement (0.5.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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ tenancy int

Required. The tenancy for instance.

getTenancy

Required. The tenancy for instance.

Returns
Type Description
int

setTenancy

Required. The tenancy for instance.

Parameter
Name Description
var int
Returns
Type Description
$this