Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DeploymentGroupsResource

The "deploymentGroups" collection of methods.

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

Constructors

DeploymentGroupsResource(IClientService)

Constructs a new resource.

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

Properties

Revisions

Gets the Revisions resource.

Declaration
public virtual ProjectsResource.LocationsResource.DeploymentGroupsResource.RevisionsResource Revisions { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.DeploymentGroupsResource.RevisionsResource

Methods

Create(DeploymentGroup, string)

Creates a DeploymentGroup The newly created DeploymentGroup will be in the CREATING state and can be retrieved via Get and List calls.

Declaration
public virtual ProjectsResource.LocationsResource.DeploymentGroupsResource.CreateRequest Create(DeploymentGroup body, string parent)
Parameters
Type Name Description
DeploymentGroup body

The body of the request.

string parent

Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'

Returns
Type Description
ProjectsResource.LocationsResource.DeploymentGroupsResource.CreateRequest

Delete(string)

Deletes a DeploymentGroup

Declaration
public virtual ProjectsResource.LocationsResource.DeploymentGroupsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of DeploymentGroup in the format projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}

Returns
Type Description
ProjectsResource.LocationsResource.DeploymentGroupsResource.DeleteRequest

Deprovision(DeprovisionDeploymentGroupRequest, string)

Deprovisions a deployment group. NOTE: As a first step of this operation, Infra Manager will automatically delete any Deployments that were part of the last successful DeploymentGroupRevision but are no longer included in the current DeploymentGroup definition (e.g., following an UpdateDeploymentGroup call), along with their actuated resources.

Declaration
public virtual ProjectsResource.LocationsResource.DeploymentGroupsResource.DeprovisionRequest Deprovision(DeprovisionDeploymentGroupRequest body, string name)
Parameters
Type Name Description
DeprovisionDeploymentGroupRequest body

The body of the request.

string name

Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

Returns
Type Description
ProjectsResource.LocationsResource.DeploymentGroupsResource.DeprovisionRequest

Get(string)

Get a DeploymentGroup for a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.DeploymentGroupsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the deployment group to retrieve. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

Returns
Type Description
ProjectsResource.LocationsResource.DeploymentGroupsResource.GetRequest

List(string)

List DeploymentGroups for a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.DeploymentGroupsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of deployment groups. Format: 'projects/{project_id}/locations/{location}'.

Returns
Type Description
ProjectsResource.LocationsResource.DeploymentGroupsResource.ListRequest

Patch(DeploymentGroup, string)

Updates a DeploymentGroup

Declaration
public virtual ProjectsResource.LocationsResource.DeploymentGroupsResource.PatchRequest Patch(DeploymentGroup body, string name)
Parameters
Type Name Description
DeploymentGroup body

The body of the request.

string name

Identifier. The name of the deployment group. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

Returns
Type Description
ProjectsResource.LocationsResource.DeploymentGroupsResource.PatchRequest

Provision(ProvisionDeploymentGroupRequest, string)

Provisions a deployment group. NOTE: As a first step of this operation, Infra Manager will automatically delete any Deployments that were part of the last successful DeploymentGroupRevision but are no longer included in the current DeploymentGroup definition (e.g., following an UpdateDeploymentGroup call), along with their actuated resources.

Declaration
public virtual ProjectsResource.LocationsResource.DeploymentGroupsResource.ProvisionRequest Provision(ProvisionDeploymentGroupRequest body, string name)
Parameters
Type Name Description
ProvisionDeploymentGroupRequest body

The body of the request.

string name

Required. The name of the deployment group to provision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

Returns
Type Description
ProjectsResource.LocationsResource.DeploymentGroupsResource.ProvisionRequest
In this article
Back to top Generated by DocFX