Show / Hide Table of Contents

Class HaControllersResource

The "haControllers" collection of methods.

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

Constructors

HaControllersResource(IClientService)

Constructs a new resource.

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

Methods

AggregatedList(string)

Retrieves an aggregated list of all of the HaControllers in the specified project across all regions.

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

Project ID for this request.

Returns
Type Description
HaControllersResource.AggregatedListRequest

Delete(string, string, string)

Deletes an HaController in the specified project.

Declaration
public virtual HaControllersResource.DeleteRequest Delete(string project, string region, string haController)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

string haController

Name of the HaController resource to delete.

Returns
Type Description
HaControllersResource.DeleteRequest

Failover(HaControllersFailoverRequest, string, string, string)

Fails over a VM targeted by the specified HaController to the selected zone.

Declaration
public virtual HaControllersResource.FailoverRequest Failover(HaControllersFailoverRequest body, string project, string region, string haController)
Parameters
Type Name Description
HaControllersFailoverRequest body

The body of the request.

string project

Project ID for this request.

string region

Name of the region for this request.

string haController

ID of the HaController resource to update.

Returns
Type Description
HaControllersResource.FailoverRequest

Get(string, string, string)

Returns all the details of a specific HaController.

Declaration
public virtual HaControllersResource.GetRequest Get(string project, string region, string haController)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

string haController

Name of the HaController resource to return.

Returns
Type Description
HaControllersResource.GetRequest

Insert(HaController, string, string)

Creates HaController in the specified project.

Declaration
public virtual HaControllersResource.InsertRequest Insert(HaController body, string project, string region)
Parameters
Type Name Description
HaController body

The body of the request.

string project

Project ID for this request.

string region

Name of the region for this request.

Returns
Type Description
HaControllersResource.InsertRequest

List(string, string)

Lists all HaControllers in the specified project in the specified region.

Declaration
public virtual HaControllersResource.ListRequest List(string project, string region)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region for this request.

Returns
Type Description
HaControllersResource.ListRequest

Patch(HaController, string, string, string)

Updates HaController in the specified project.

Declaration
public virtual HaControllersResource.PatchRequest Patch(HaController body, string project, string region, string haController)
Parameters
Type Name Description
HaController body

The body of the request.

string project

Project ID for this request.

string region

Name of the region for this request.

string haController

ID of the HaController resource to update.

Returns
Type Description
HaControllersResource.PatchRequest
In this article
Back to top Generated by DocFX