MachineTypes
class MachineTypes extends Resource (View source)
The "machineTypes" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$machineTypes = $computeService->machineTypes;
Methods
aggregatedList(string $project, array $optParams = [])
Retrieves an aggregated list of machine types. To prevent failure, Google
recommends that you set the returnPartialSuccess
parameter to true
.
get(string $project, string $zone, string $machineType, array $optParams = [])
Returns the specified machine type. (machineTypes.get)
listMachineTypes(string $project, string $zone, array $optParams = [])
Retrieves a list of machine types available to the specified project.
Details
MachineTypeAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves an aggregated list of machine types. To prevent failure, Google
recommends that you set the returnPartialSuccess
parameter to true
.
(machineTypes.aggregatedList)
MachineType
get(string $project, string $zone, string $machineType, array $optParams = [])
Returns the specified machine type. (machineTypes.get)
MachineTypeList
listMachineTypes(string $project, string $zone, array $optParams = [])
Retrieves a list of machine types available to the specified project.
(machineTypes.listMachineTypes)