Reference documentation and code samples for the Compute V1 Client class AllocationSpecificSKUReservation.
This reservation type allows to pre allocate specific instance configuration. Next ID: 6
Generated from protobuf message google.cloud.compute.v1.AllocationSpecificSKUReservation
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ assured_count |
int|string
[Output Only] Indicates how many instances are actually usable currently. |
↳ count |
int|string
Specifies the number of resources that are allocated. |
↳ in_use_count |
int|string
[Output Only] Indicates how many instances are in use. |
↳ instance_properties |
Google\Cloud\Compute\V1\AllocationSpecificSKUAllocationReservedInstanceProperties
The instance properties for the reservation. |
getAssuredCount
[Output Only] Indicates how many instances are actually usable currently.
Generated from protobuf field optional int64 assured_count = 281197645;
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasAssuredCount
clearAssuredCount
setAssuredCount
[Output Only] Indicates how many instances are actually usable currently.
Generated from protobuf field optional int64 assured_count = 281197645;
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCount
Specifies the number of resources that are allocated.
Generated from protobuf field optional int64 count = 94851343;
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasCount
clearCount
setCount
Specifies the number of resources that are allocated.
Generated from protobuf field optional int64 count = 94851343;
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInUseCount
[Output Only] Indicates how many instances are in use.
Generated from protobuf field optional int64 in_use_count = 493458877;
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasInUseCount
clearInUseCount
setInUseCount
[Output Only] Indicates how many instances are in use.
Generated from protobuf field optional int64 in_use_count = 493458877;
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstanceProperties
The instance properties for the reservation.
Generated from protobuf field optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Compute\V1\AllocationSpecificSKUAllocationReservedInstanceProperties|null |
|
hasInstanceProperties
clearInstanceProperties
setInstanceProperties
The instance properties for the reservation.
Generated from protobuf field optional .google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Compute\V1\AllocationSpecificSKUAllocationReservedInstanceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|