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 \ V1Methods
__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 |
Enum of type Tenancy. |
setTenancy
Required. The tenancy for instance.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Tenancy. |
| Returns | |
|---|---|
| Type | Description |
$this |
|