Show / Hide Table of Contents

Class BlueGreenDeploymentsResource

The "blueGreenDeployments" collection of methods.

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

Constructors

BlueGreenDeploymentsResource(IClientService)

Constructs a new resource.

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

Methods

Create(BlueGreenDeployment, string)

Creates a blue-green deployment under a given project and location.

Declaration
public virtual BlueGreenDeploymentsResource.CreateRequest Create(BlueGreenDeployment body, string parent)
Parameters
Type Name Description
BlueGreenDeployment body

The body of the request.

string parent

Required. The parent resource where this blue-green deployment will be created. Format: projects/{project}/locations/{location}

Returns
Type Description
BlueGreenDeploymentsResource.CreateRequest

Delete(string)

Deletes a blue-green deployment.

Declaration
public virtual BlueGreenDeploymentsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the blue-green deployment to delete. Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}

Returns
Type Description
BlueGreenDeploymentsResource.DeleteRequest

Get(string)

Retrieves a blue-green deployment resource under a given project and location.

Declaration
public virtual BlueGreenDeploymentsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the blue-green deployment to retrieve. Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}

Returns
Type Description
BlueGreenDeploymentsResource.GetRequest

List(string)

Lists blue-green deployments under a given project.

Declaration
public virtual BlueGreenDeploymentsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project}/locations/{location}

Returns
Type Description
BlueGreenDeploymentsResource.ListRequest

Switchover(SwitchoverBlueGreenDeploymentRequest, string)

Switches over to green instance for a blue-green deployment.

Declaration
public virtual BlueGreenDeploymentsResource.SwitchoverRequest Switchover(SwitchoverBlueGreenDeploymentRequest body, string name)
Parameters
Type Name Description
SwitchoverBlueGreenDeploymentRequest body

The body of the request.

string name

Required. The name of the blue-green deployment to switch over. Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}

Returns
Type Description
BlueGreenDeploymentsResource.SwitchoverRequest
In this article
Back to top Generated by DocFX