public class OsConfigServiceClient : ClientBase<OsConfigService.OsConfigServiceClient>Client for OsConfigService
Inheritance
Object > ClientBase > ClientBase<OsConfigService.OsConfigServiceClient> > OsConfigService.OsConfigServiceClientNamespace
Google.Cloud.OsConfig.V1Assembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
OsConfigServiceClient(ChannelBase)
public OsConfigServiceClient(ChannelBase channel)Creates a new client for OsConfigService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
OsConfigServiceClient(ClientBase.ClientBaseConfiguration)
protected OsConfigServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe 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 |
CancelPatchJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CancelPatchJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
CancelPatchJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CancelPatchJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<PatchJob> |
The call object. |
CreatePatchDeployment(CreatePatchDeploymentRequest, CallOptions)
public virtual PatchDeployment CreatePatchDeployment(CreatePatchDeploymentRequest request, CallOptions options)Create an OS Config patch deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreatePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
CreatePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreatePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<PatchDeployment> |
The call object. |
DeletePatchDeployment(DeletePatchDeploymentRequest, CallOptions)
public virtual Empty DeletePatchDeployment(DeletePatchDeploymentRequest request, CallOptions options)Delete an OS Config patch deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeletePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
DeletePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeletePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ExecutePatchJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ExecutePatchJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
ExecutePatchJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ExecutePatchJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<PatchJob> |
The call object. |
GetPatchDeployment(GetPatchDeploymentRequest, CallOptions)
public virtual PatchDeployment GetPatchDeployment(GetPatchDeploymentRequest request, CallOptions options)Get an OS Config patch deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetPatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
GetPatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetPatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetPatchJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetPatchJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
GetPatchJobRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetPatchJobRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListPatchDeploymentsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListPatchDeploymentsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
ListPatchDeploymentsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListPatchDeploymentsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListPatchJobInstanceDetailsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListPatchJobInstanceDetailsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
ListPatchJobInstanceDetailsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListPatchJobInstanceDetailsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListPatchJobInstanceDetailsResponse> |
The call object. |
ListPatchJobs(ListPatchJobsRequest, CallOptions)
public virtual ListPatchJobsResponse ListPatchJobs(ListPatchJobsRequest request, CallOptions options)Get a list of patch jobs.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPatchJobsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListPatchJobsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
ListPatchJobsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListPatchJobsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
OsConfigService.OsConfigServiceClient |
|
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 |
PausePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PausePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
PausePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PausePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ResumePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ResumePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
ResumePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ResumePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<PatchDeployment> |
The call object. |
UpdatePatchDeployment(UpdatePatchDeploymentRequest, CallOptions)
public virtual PatchDeployment UpdatePatchDeployment(UpdatePatchDeploymentRequest request, CallOptions options)Update an OS Config patch deployment.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdatePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn 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 |
UpdatePatchDeploymentRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdatePatchDeploymentRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
System.Threading.CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<PatchDeployment> |
The call object. |