Show / Hide Table of Contents

Class TargetInstancesResource

The "targetInstances" collection of methods.

Inheritance
object
TargetInstancesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class TargetInstancesResource

Constructors

TargetInstancesResource(IClientService)

Constructs a new resource.

Declaration
public TargetInstancesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

AggregatedList(string)

Retrieves an aggregated list of target instances.

Declaration
public virtual TargetInstancesResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type Name Description
string project

Project ID for this request.

Returns
Type Description
TargetInstancesResource.AggregatedListRequest

Delete(string, string, string)

Deletes the specified TargetInstance resource.

Declaration
public virtual TargetInstancesResource.DeleteRequest Delete(string project, string zone, string targetInstance)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

Name of the zone scoping this request.

string targetInstance

Name of the TargetInstance resource to delete.

Returns
Type Description
TargetInstancesResource.DeleteRequest

Get(string, string, string)

Returns the specified TargetInstance resource.

Declaration
public virtual TargetInstancesResource.GetRequest Get(string project, string zone, string targetInstance)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

Name of the zone scoping this request.

string targetInstance

Name of the TargetInstance resource to return.

Returns
Type Description
TargetInstancesResource.GetRequest

Insert(TargetInstance, string, string)

Creates a TargetInstance resource in the specified project and zone using the data included in the request.

Declaration
public virtual TargetInstancesResource.InsertRequest Insert(TargetInstance body, string project, string zone)
Parameters
Type Name Description
TargetInstance body

The body of the request.

string project

Project ID for this request.

string zone

Name of the zone scoping this request.

Returns
Type Description
TargetInstancesResource.InsertRequest

List(string, string)

Retrieves a list of TargetInstance resources available to the specified project and zone.

Declaration
public virtual TargetInstancesResource.ListRequest List(string project, string zone)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

Name of the zone scoping this request.

Returns
Type Description
TargetInstancesResource.ListRequest
In This Article
Back to top Generated by DocFX