Reference documentation and code samples for the Compute V1 Client class GroupMaintenanceInfo.
Maintenance Info for ReservationBlocks.
Generated from protobuf message google.cloud.compute.v1.GroupMaintenanceInfo
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance_maintenance_ongoing_count |
int
Describes number of instances that have ongoing maintenance. |
↳ instance_maintenance_pending_count |
int
Describes number of instances that have pending maintenance. |
↳ maintenance_ongoing_count |
int
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance. |
↳ maintenance_pending_count |
int
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance. |
↳ scheduling_type |
string
The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values. |
↳ subblock_infra_maintenance_ongoing_count |
int
Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field. |
↳ subblock_infra_maintenance_pending_count |
int
Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field. |
↳ upcoming_group_maintenance |
UpcomingMaintenance
Maintenance information on this group of VMs. |
getInstanceMaintenanceOngoingCount
Describes number of instances that have ongoing maintenance.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasInstanceMaintenanceOngoingCount
clearInstanceMaintenanceOngoingCount
setInstanceMaintenanceOngoingCount
Describes number of instances that have ongoing maintenance.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstanceMaintenancePendingCount
Describes number of instances that have pending maintenance.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasInstanceMaintenancePendingCount
clearInstanceMaintenancePendingCount
setInstanceMaintenancePendingCount
Describes number of instances that have pending maintenance.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaintenanceOngoingCount
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasMaintenanceOngoingCount
clearMaintenanceOngoingCount
setMaintenanceOngoingCount
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaintenancePendingCount
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasMaintenancePendingCount
clearMaintenancePendingCount
setMaintenancePendingCount
Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSchedulingType
The type of maintenance for the reservation.
Check the SchedulingType enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasSchedulingType
clearSchedulingType
setSchedulingType
The type of maintenance for the reservation.
Check the SchedulingType enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubblockInfraMaintenanceOngoingCount
Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasSubblockInfraMaintenanceOngoingCount
clearSubblockInfraMaintenanceOngoingCount
setSubblockInfraMaintenanceOngoingCount
Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubblockInfraMaintenancePendingCount
Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasSubblockInfraMaintenancePendingCount
clearSubblockInfraMaintenancePendingCount
setSubblockInfraMaintenancePendingCount
Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpcomingGroupMaintenance
Maintenance information on this group of VMs.
| Returns | |
|---|---|
| Type | Description |
UpcomingMaintenance|null |
|
hasUpcomingGroupMaintenance
clearUpcomingGroupMaintenance
setUpcomingGroupMaintenance
Maintenance information on this group of VMs.
| Parameter | |
|---|---|
| Name | Description |
var |
UpcomingMaintenance
|
| Returns | |
|---|---|
| Type | Description |
$this |
|