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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |