| Modifier and Type | Class and Description |
|---|---|
class |
Compute.InstanceTemplates.Delete |
class |
Compute.InstanceTemplates.Get |
class |
Compute.InstanceTemplates.Insert |
class |
Compute.InstanceTemplates.List |
| Constructor and Description |
|---|
InstanceTemplates() |
| Modifier and Type | Method and Description |
|---|---|
Compute.InstanceTemplates.Delete |
delete(String project,
String instanceTemplate)
Deletes the specified instance template.
|
Compute.InstanceTemplates.Get |
get(String project,
String instanceTemplate)
Returns the specified instance template.
|
Compute.InstanceTemplates.Insert |
insert(String project,
InstanceTemplate content)
Creates an instance template in the specified project using the data that is included in the
request.
|
Compute.InstanceTemplates.List |
list(String project)
Retrieves a list of instance templates that are contained within the specified project and zone.
|
public Compute.InstanceTemplates.Delete delete(String project, String instanceTemplate) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.instanceTemplate - The name of the instance template to delete.IOExceptionpublic Compute.InstanceTemplates.Get get(String project, String instanceTemplate) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.instanceTemplate - The name of the instance template.IOExceptionpublic Compute.InstanceTemplates.Insert insert(String project, InstanceTemplate content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the InstanceTemplateIOExceptionpublic Compute.InstanceTemplates.List list(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionCopyright © 2011–2018 Google. All rights reserved.