Google Cloud OS Config v1 API - Class OsConfigService.OsConfigServiceClient (2.3.0)

public class OsConfigService.OsConfigServiceClient : ClientBase<OsConfigService.OsConfigServiceClient>

Reference documentation and code samples for the Google Cloud OS Config v1 API class OsConfigService.OsConfigServiceClient.

Client for OsConfigService

Inheritance

object > ClientBase > ClientBaseOsConfigServiceOsConfigServiceClient > OsConfigService.OsConfigServiceClient

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

OsConfigServiceClient()

protected OsConfigServiceClient()

Protected parameterless constructor to allow creation of test doubles.

OsConfigServiceClient(CallInvoker)

public OsConfigServiceClient(CallInvoker callInvoker)

Creates a new client for OsConfigService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

OsConfigServiceClient(ChannelBase)

public OsConfigServiceClient(ChannelBase channel)

Creates a new client for OsConfigService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

OsConfigServiceClient(ClientBaseConfiguration)

protected OsConfigServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CancelPatchJob(CancelPatchJobRequest, CallOptions)

public virtual PatchJob CancelPatchJob(CancelPatchJobRequest request, CallOptions options)

Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.

Parameters
Name Description
request CancelPatchJobRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
PatchJob

The response received from the server.

CancelPatchJob(CancelPatchJobRequest, Metadata, DateTime?, CancellationToken)

public virtual PatchJob CancelPatchJob(CancelPatchJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.

Parameters
Name Description
request CancelPatchJobRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
PatchJob

The response received from the server.

CancelPatchJobAsync(CancelPatchJobRequest, CallOptions)

public virtual AsyncUnaryCall<PatchJob> CancelPatchJobAsync(CancelPatchJobRequest request, CallOptions options)

Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.

Parameters
Name Description
request CancelPatchJobRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPatchJob

The call object.

CancelPatchJobAsync(CancelPatchJobRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PatchJob> CancelPatchJobAsync(CancelPatchJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.

Parameters
Name Description
request CancelPatchJobRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPatchJob

The call object.

CreatePatchDeployment(CreatePatchDeploymentRequest, CallOptions)

public virtual PatchDeployment CreatePatchDeployment(CreatePatchDeploymentRequest request, CallOptions options)

Create an OS Config patch deployment.

Parameters
Name Description
request CreatePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
PatchDeployment

The response received from the server.

CreatePatchDeployment(CreatePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual PatchDeployment CreatePatchDeployment(CreatePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create an OS Config patch deployment.

Parameters
Name Description
request CreatePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
PatchDeployment

The response received from the server.

CreatePatchDeploymentAsync(CreatePatchDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<PatchDeployment> CreatePatchDeploymentAsync(CreatePatchDeploymentRequest request, CallOptions options)

Create an OS Config patch deployment.

Parameters
Name Description
request CreatePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.

CreatePatchDeploymentAsync(CreatePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PatchDeployment> CreatePatchDeploymentAsync(CreatePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create an OS Config patch deployment.

Parameters
Name Description
request CreatePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.

DeletePatchDeployment(DeletePatchDeploymentRequest, CallOptions)

public virtual Empty DeletePatchDeployment(DeletePatchDeploymentRequest request, CallOptions options)

Delete an OS Config patch deployment.

Parameters
Name Description
request DeletePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeletePatchDeployment(DeletePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeletePatchDeployment(DeletePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete an OS Config patch deployment.

Parameters
Name Description
request DeletePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeletePatchDeploymentAsync(DeletePatchDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeletePatchDeploymentAsync(DeletePatchDeploymentRequest request, CallOptions options)

Delete an OS Config patch deployment.

Parameters
Name Description
request DeletePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeletePatchDeploymentAsync(DeletePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeletePatchDeploymentAsync(DeletePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete an OS Config patch deployment.

Parameters
Name Description
request DeletePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

ExecutePatchJob(ExecutePatchJobRequest, CallOptions)

public virtual PatchJob ExecutePatchJob(ExecutePatchJobRequest request, CallOptions options)

Patch VM instances by creating and running a patch job.

Parameters
Name Description
request ExecutePatchJobRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
PatchJob

The response received from the server.

ExecutePatchJob(ExecutePatchJobRequest, Metadata, DateTime?, CancellationToken)

public virtual PatchJob ExecutePatchJob(ExecutePatchJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Patch VM instances by creating and running a patch job.

Parameters
Name Description
request ExecutePatchJobRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
PatchJob

The response received from the server.

ExecutePatchJobAsync(ExecutePatchJobRequest, CallOptions)

public virtual AsyncUnaryCall<PatchJob> ExecutePatchJobAsync(ExecutePatchJobRequest request, CallOptions options)

Patch VM instances by creating and running a patch job.

Parameters
Name Description
request ExecutePatchJobRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPatchJob

The call object.

ExecutePatchJobAsync(ExecutePatchJobRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PatchJob> ExecutePatchJobAsync(ExecutePatchJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Patch VM instances by creating and running a patch job.

Parameters
Name Description
request ExecutePatchJobRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPatchJob

The call object.

GetPatchDeployment(GetPatchDeploymentRequest, CallOptions)

public virtual PatchDeployment GetPatchDeployment(GetPatchDeploymentRequest request, CallOptions options)

Get an OS Config patch deployment.

Parameters
Name Description
request GetPatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
PatchDeployment

The response received from the server.

GetPatchDeployment(GetPatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual PatchDeployment GetPatchDeployment(GetPatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get an OS Config patch deployment.

Parameters
Name Description
request GetPatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
PatchDeployment

The response received from the server.

GetPatchDeploymentAsync(GetPatchDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<PatchDeployment> GetPatchDeploymentAsync(GetPatchDeploymentRequest request, CallOptions options)

Get an OS Config patch deployment.

Parameters
Name Description
request GetPatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.

GetPatchDeploymentAsync(GetPatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PatchDeployment> GetPatchDeploymentAsync(GetPatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get an OS Config patch deployment.

Parameters
Name Description
request GetPatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.

GetPatchJob(GetPatchJobRequest, CallOptions)

public virtual PatchJob GetPatchJob(GetPatchJobRequest request, CallOptions options)

Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.

Parameters
Name Description
request GetPatchJobRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
PatchJob

The response received from the server.

GetPatchJob(GetPatchJobRequest, Metadata, DateTime?, CancellationToken)

public virtual PatchJob GetPatchJob(GetPatchJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.

Parameters
Name Description
request GetPatchJobRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
PatchJob

The response received from the server.

GetPatchJobAsync(GetPatchJobRequest, CallOptions)

public virtual AsyncUnaryCall<PatchJob> GetPatchJobAsync(GetPatchJobRequest request, CallOptions options)

Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.

Parameters
Name Description
request GetPatchJobRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPatchJob

The call object.

GetPatchJobAsync(GetPatchJobRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PatchJob> GetPatchJobAsync(GetPatchJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.

Parameters
Name Description
request GetPatchJobRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPatchJob

The call object.

ListPatchDeployments(ListPatchDeploymentsRequest, CallOptions)

public virtual ListPatchDeploymentsResponse ListPatchDeployments(ListPatchDeploymentsRequest request, CallOptions options)

Get a page of OS Config patch deployments.

Parameters
Name Description
request ListPatchDeploymentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListPatchDeploymentsResponse

The response received from the server.

ListPatchDeployments(ListPatchDeploymentsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListPatchDeploymentsResponse ListPatchDeployments(ListPatchDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a page of OS Config patch deployments.

Parameters
Name Description
request ListPatchDeploymentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListPatchDeploymentsResponse

The response received from the server.

ListPatchDeploymentsAsync(ListPatchDeploymentsRequest, CallOptions)

public virtual AsyncUnaryCall<ListPatchDeploymentsResponse> ListPatchDeploymentsAsync(ListPatchDeploymentsRequest request, CallOptions options)

Get a page of OS Config patch deployments.

Parameters
Name Description
request ListPatchDeploymentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListPatchDeploymentsResponse

The call object.

ListPatchDeploymentsAsync(ListPatchDeploymentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListPatchDeploymentsResponse> ListPatchDeploymentsAsync(ListPatchDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a page of OS Config patch deployments.

Parameters
Name Description
request ListPatchDeploymentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListPatchDeploymentsResponse

The call object.

ListPatchJobInstanceDetails(ListPatchJobInstanceDetailsRequest, CallOptions)

public virtual ListPatchJobInstanceDetailsResponse ListPatchJobInstanceDetails(ListPatchJobInstanceDetailsRequest request, CallOptions options)

Get a list of instance details for a given patch job.

Parameters
Name Description
request ListPatchJobInstanceDetailsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListPatchJobInstanceDetailsResponse

The response received from the server.

ListPatchJobInstanceDetails(ListPatchJobInstanceDetailsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListPatchJobInstanceDetailsResponse ListPatchJobInstanceDetails(ListPatchJobInstanceDetailsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a list of instance details for a given patch job.

Parameters
Name Description
request ListPatchJobInstanceDetailsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListPatchJobInstanceDetailsResponse

The response received from the server.

ListPatchJobInstanceDetailsAsync(ListPatchJobInstanceDetailsRequest, CallOptions)

public virtual AsyncUnaryCall<ListPatchJobInstanceDetailsResponse> ListPatchJobInstanceDetailsAsync(ListPatchJobInstanceDetailsRequest request, CallOptions options)

Get a list of instance details for a given patch job.

Parameters
Name Description
request ListPatchJobInstanceDetailsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListPatchJobInstanceDetailsResponse

The call object.

ListPatchJobInstanceDetailsAsync(ListPatchJobInstanceDetailsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListPatchJobInstanceDetailsResponse> ListPatchJobInstanceDetailsAsync(ListPatchJobInstanceDetailsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a list of instance details for a given patch job.

Parameters
Name Description
request ListPatchJobInstanceDetailsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListPatchJobInstanceDetailsResponse

The call object.

ListPatchJobs(ListPatchJobsRequest, CallOptions)

public virtual ListPatchJobsResponse ListPatchJobs(ListPatchJobsRequest request, CallOptions options)

Get a list of patch jobs.

Parameters
Name Description
request ListPatchJobsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListPatchJobsResponse

The response received from the server.

ListPatchJobs(ListPatchJobsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListPatchJobsResponse ListPatchJobs(ListPatchJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a list of patch jobs.

Parameters
Name Description
request ListPatchJobsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListPatchJobsResponse

The response received from the server.

ListPatchJobsAsync(ListPatchJobsRequest, CallOptions)

public virtual AsyncUnaryCall<ListPatchJobsResponse> ListPatchJobsAsync(ListPatchJobsRequest request, CallOptions options)

Get a list of patch jobs.

Parameters
Name Description
request ListPatchJobsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListPatchJobsResponse

The call object.

ListPatchJobsAsync(ListPatchJobsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListPatchJobsResponse> ListPatchJobsAsync(ListPatchJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a list of patch jobs.

Parameters
Name Description
request ListPatchJobsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListPatchJobsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override OsConfigService.OsConfigServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
OsConfigServiceOsConfigServiceClient
Overrides

PausePatchDeployment(PausePatchDeploymentRequest, CallOptions)

public virtual PatchDeployment PausePatchDeployment(PausePatchDeploymentRequest request, CallOptions options)

Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.

Parameters
Name Description
request PausePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
PatchDeployment

The response received from the server.

PausePatchDeployment(PausePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual PatchDeployment PausePatchDeployment(PausePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.

Parameters
Name Description
request PausePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
PatchDeployment

The response received from the server.

PausePatchDeploymentAsync(PausePatchDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<PatchDeployment> PausePatchDeploymentAsync(PausePatchDeploymentRequest request, CallOptions options)

Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.

Parameters
Name Description
request PausePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.

PausePatchDeploymentAsync(PausePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PatchDeployment> PausePatchDeploymentAsync(PausePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.

Parameters
Name Description
request PausePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.

ResumePatchDeployment(ResumePatchDeploymentRequest, CallOptions)

public virtual PatchDeployment ResumePatchDeployment(ResumePatchDeploymentRequest request, CallOptions options)

Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.

Parameters
Name Description
request ResumePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
PatchDeployment

The response received from the server.

ResumePatchDeployment(ResumePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual PatchDeployment ResumePatchDeployment(ResumePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.

Parameters
Name Description
request ResumePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
PatchDeployment

The response received from the server.

ResumePatchDeploymentAsync(ResumePatchDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<PatchDeployment> ResumePatchDeploymentAsync(ResumePatchDeploymentRequest request, CallOptions options)

Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.

Parameters
Name Description
request ResumePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.

ResumePatchDeploymentAsync(ResumePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PatchDeployment> ResumePatchDeploymentAsync(ResumePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.

Parameters
Name Description
request ResumePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.

UpdatePatchDeployment(UpdatePatchDeploymentRequest, CallOptions)

public virtual PatchDeployment UpdatePatchDeployment(UpdatePatchDeploymentRequest request, CallOptions options)

Update an OS Config patch deployment.

Parameters
Name Description
request UpdatePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
PatchDeployment

The response received from the server.

UpdatePatchDeployment(UpdatePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual PatchDeployment UpdatePatchDeployment(UpdatePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update an OS Config patch deployment.

Parameters
Name Description
request UpdatePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
PatchDeployment

The response received from the server.

UpdatePatchDeploymentAsync(UpdatePatchDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<PatchDeployment> UpdatePatchDeploymentAsync(UpdatePatchDeploymentRequest request, CallOptions options)

Update an OS Config patch deployment.

Parameters
Name Description
request UpdatePatchDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.

UpdatePatchDeploymentAsync(UpdatePatchDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PatchDeployment> UpdatePatchDeploymentAsync(UpdatePatchDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update an OS Config patch deployment.

Parameters
Name Description
request UpdatePatchDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPatchDeployment

The call object.