Skip to main content

accelerator_types

Creates, updates, deletes, gets or lists a accelerator_types resource.

Overview

Nameaccelerator_types
TypeResource
Idgoogle.compute.accelerator_types

Fields

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestring[Output Only] Name of the resource.
descriptionstring[Output Only] An optional textual description of the resource.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
deprecatedobjectDeprecation status for a public resource.
kindstring[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.
maximumCardsPerInstanceinteger[Output Only] Maximum number of accelerator cards allowed per instance.
selfLinkstring[Output Only] Server-defined, fully qualified URL for this resource.
zonestring[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Methods

NameAccessible byRequired ParamsDescription
aggregated_listSELECTprojectRetrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
getSELECTacceleratorType, project, zoneReturns the specified accelerator type.
listSELECTproject, zoneRetrieves a list of accelerator types that are available to the specified project.

SELECT examples

Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

SELECT
id,
name,
description,
creationTimestamp,
deprecated,
kind,
maximumCardsPerInstance,
selfLink,
zone
FROM google.compute.accelerator_types
WHERE project = '{{ project }}';