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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

OsConfigServiceClient(ChannelBase)

public OsConfigServiceClient(ChannelBase channel)

Creates a new client for OsConfigService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

OsConfigServiceClient(ClientBaseConfiguration)

protected OsConfigServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
NameDescription
requestCancelPatchJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelPatchJobRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCancelPatchJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCancelPatchJobRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPatchJob

The call object.

CreatePatchDeployment(CreatePatchDeploymentRequest, CallOptions)

public virtual PatchDeployment CreatePatchDeployment(CreatePatchDeploymentRequest request, CallOptions options)

Create an OS Config patch deployment.

Parameters
NameDescription
requestCreatePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreatePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreatePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreatePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPatchDeployment

The call object.

DeletePatchDeployment(DeletePatchDeploymentRequest, CallOptions)

public virtual Empty DeletePatchDeployment(DeletePatchDeploymentRequest request, CallOptions options)

Delete an OS Config patch deployment.

Parameters
NameDescription
requestDeletePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeletePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeletePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeletePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestExecutePatchJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestExecutePatchJobRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestExecutePatchJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestExecutePatchJobRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPatchJob

The call object.

GetPatchDeployment(GetPatchDeploymentRequest, CallOptions)

public virtual PatchDeployment GetPatchDeployment(GetPatchDeploymentRequest request, CallOptions options)

Get an OS Config patch deployment.

Parameters
NameDescription
requestGetPatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetPatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetPatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetPatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetPatchJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetPatchJobRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetPatchJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetPatchJobRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPatchJob

The call object.

ListPatchDeployments(ListPatchDeploymentsRequest, CallOptions)

public virtual ListPatchDeploymentsResponse ListPatchDeployments(ListPatchDeploymentsRequest request, CallOptions options)

Get a page of OS Config patch deployments.

Parameters
NameDescription
requestListPatchDeploymentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListPatchDeploymentsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListPatchDeploymentsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListPatchDeploymentsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListPatchJobInstanceDetailsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListPatchJobInstanceDetailsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListPatchJobInstanceDetailsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListPatchJobInstanceDetailsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListPatchJobInstanceDetailsResponse

The call object.

ListPatchJobs(ListPatchJobsRequest, CallOptions)

public virtual ListPatchJobsResponse ListPatchJobs(ListPatchJobsRequest request, CallOptions options)

Get a list of patch jobs.

Parameters
NameDescription
requestListPatchJobsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListPatchJobsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListPatchJobsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListPatchJobsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListPatchJobsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
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
NameDescription
requestPausePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestPausePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestPausePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestPausePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestResumePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestResumePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestResumePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestResumePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPatchDeployment

The call object.

UpdatePatchDeployment(UpdatePatchDeploymentRequest, CallOptions)

public virtual PatchDeployment UpdatePatchDeployment(UpdatePatchDeploymentRequest request, CallOptions options)

Update an OS Config patch deployment.

Parameters
NameDescription
requestUpdatePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdatePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestUpdatePatchDeploymentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdatePatchDeploymentRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPatchDeployment

The call object.