Class ProjectsResource.PatchDeploymentsResource
The "patchDeployments" collection of methods.
Inherited Members
Namespace: Google.Apis.OSConfig.v1beta
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class ProjectsResource.PatchDeploymentsResource
Constructors
PatchDeploymentsResource(IClientService)
Constructs a new resource.
Declaration
public PatchDeploymentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(PatchDeployment, string)
Create an OS Config patch deployment.
Declaration
public virtual ProjectsResource.PatchDeploymentsResource.CreateRequest Create(PatchDeployment body, string parent)
Parameters
Type | Name | Description |
---|---|---|
PatchDeployment | body | The body of the request. |
string | parent | Required. The project to apply this patch deployment to in the form |
Returns
Type | Description |
---|---|
ProjectsResource.PatchDeploymentsResource.CreateRequest |
Delete(string)
Delete an OS Config patch deployment.
Declaration
public virtual ProjectsResource.PatchDeploymentsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the patch deployment in the form |
Returns
Type | Description |
---|---|
ProjectsResource.PatchDeploymentsResource.DeleteRequest |
Get(string)
Get an OS Config patch deployment.
Declaration
public virtual ProjectsResource.PatchDeploymentsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the patch deployment in the form |
Returns
Type | Description |
---|---|
ProjectsResource.PatchDeploymentsResource.GetRequest |
List(string)
Get a page of OS Config patch deployments.
Declaration
public virtual ProjectsResource.PatchDeploymentsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent in the form |
Returns
Type | Description |
---|---|
ProjectsResource.PatchDeploymentsResource.ListRequest |
Patch(PatchDeployment, string)
Update an OS Config patch deployment.
Declaration
public virtual ProjectsResource.PatchDeploymentsResource.PatchRequest Patch(PatchDeployment body, string name)
Parameters
Type | Name | Description |
---|---|---|
PatchDeployment | body | The body of the request. |
string | name | Unique name for the patch deployment resource in a project. The patch deployment name is in the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.PatchDeploymentsResource.PatchRequest |
Pause(PausePatchDeploymentRequest, string)
Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.
Declaration
public virtual ProjectsResource.PatchDeploymentsResource.PauseRequest Pause(PausePatchDeploymentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
PausePatchDeploymentRequest | body | The body of the request. |
string | name | Required. The resource name of the patch deployment in the form |
Returns
Type | Description |
---|---|
ProjectsResource.PatchDeploymentsResource.PauseRequest |
Resume(ResumePatchDeploymentRequest, string)
Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.
Declaration
public virtual ProjectsResource.PatchDeploymentsResource.ResumeRequest Resume(ResumePatchDeploymentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ResumePatchDeploymentRequest | body | The body of the request. |
string | name | Required. The resource name of the patch deployment in the form |
Returns
Type | Description |
---|---|
ProjectsResource.PatchDeploymentsResource.ResumeRequest |