Show / Hide Table of Contents

Class AutoscalersResource

The "autoscalers" collection of methods.

Inheritance
object
AutoscalersResource
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.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class AutoscalersResource

Constructors

AutoscalersResource(IClientService)

Constructs a new resource.

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

Methods

AggregatedList(string)

Retrieves an aggregated list of autoscalers.

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

Project ID for this request.

Returns
Type Description
AutoscalersResource.AggregatedListRequest

Delete(string, string, string)

Deletes the specified autoscaler.

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

Project ID for this request.

string zone

Name of the zone for this request.

string autoscaler

Name of the autoscaler to delete.

Returns
Type Description
AutoscalersResource.DeleteRequest

Get(string, string, string)

Returns the specified autoscaler resource.

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

Project ID for this request.

string zone

Name of the zone for this request.

string autoscaler

Name of the autoscaler to return.

Returns
Type Description
AutoscalersResource.GetRequest

Insert(Autoscaler, string, string)

Creates an autoscaler in the specified project using the data included in the request.

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

The body of the request.

string project

Project ID for this request.

string zone

Name of the zone for this request.

Returns
Type Description
AutoscalersResource.InsertRequest

List(string, string)

Retrieves a list of autoscalers contained within the specified zone.

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

Project ID for this request.

string zone

Name of the zone for this request.

Returns
Type Description
AutoscalersResource.ListRequest

Patch(Autoscaler, string, string)

Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Declaration
public virtual AutoscalersResource.PatchRequest Patch(Autoscaler body, string project, string zone)
Parameters
Type Name Description
Autoscaler body

The body of the request.

string project

Project ID for this request.

string zone

Name of the zone for this request.

Returns
Type Description
AutoscalersResource.PatchRequest

TestIamPermissions(TestPermissionsRequest, string, string, string)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual AutoscalersResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string zone, string resource)
Parameters
Type Name Description
TestPermissionsRequest body

The body of the request.

string project

Project ID for this request.

string zone

The name of the zone for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
AutoscalersResource.TestIamPermissionsRequest

Update(Autoscaler, string, string)

Updates an autoscaler in the specified project using the data included in the request.

Declaration
public virtual AutoscalersResource.UpdateRequest Update(Autoscaler body, string project, string zone)
Parameters
Type Name Description
Autoscaler body

The body of the request.

string project

Project ID for this request.

string zone

Name of the zone for this request.

Returns
Type Description
AutoscalersResource.UpdateRequest
In This Article
Back to top Generated by DocFX