Class OsConfigService.OsConfigServiceClient (2.0.0)

public class OsConfigServiceClient : ClientBase<OsConfigService.OsConfigServiceClient>

Client for OsConfigService

Inheritance

Object > ClientBase > ClientBase<OsConfigService.OsConfigServiceClient> > 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(ClientBase.ClientBaseConfiguration)

protected OsConfigServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<PatchJob>

The call object.

CancelPatchJobAsync(CancelPatchJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PatchJob>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<PatchDeployment>

The call object.

CreatePatchDeploymentAsync(CreatePatchDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PatchDeployment>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<Empty>

The call object.

DeletePatchDeploymentAsync(DeletePatchDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<PatchJob>

The call object.

ExecutePatchJobAsync(ExecutePatchJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PatchJob>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<PatchDeployment>

The call object.

GetPatchDeploymentAsync(GetPatchDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PatchDeployment>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<PatchJob>

The call object.

GetPatchJobAsync(GetPatchJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PatchJob>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<ListPatchDeploymentsResponse>

The call object.

ListPatchDeploymentsAsync(ListPatchDeploymentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListPatchDeploymentsResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<ListPatchJobInstanceDetailsResponse>

The call object.

ListPatchJobInstanceDetailsAsync(ListPatchJobInstanceDetailsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListPatchJobInstanceDetailsResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<ListPatchJobsResponse>

The call object.

ListPatchJobsAsync(ListPatchJobsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListPatchJobsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
OsConfigService.OsConfigServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.OsConfig.V1.OsConfigService.OsConfigServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<PatchDeployment>

The call object.

PausePatchDeploymentAsync(PausePatchDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PatchDeployment>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<PatchDeployment>

The call object.

ResumePatchDeploymentAsync(ResumePatchDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PatchDeployment>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

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
AsyncUnaryCall<PatchDeployment>

The call object.

UpdatePatchDeploymentAsync(UpdatePatchDeploymentRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

cancellationTokenSystem.Threading.CancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<PatchDeployment>

The call object.