Compute Engine v1 API - Class InstanceGroupManagerResizeRequestsClientImpl (3.1.0)

public sealed class InstanceGroupManagerResizeRequestsClientImpl : InstanceGroupManagerResizeRequestsClient

Reference documentation and code samples for the Compute Engine v1 API class InstanceGroupManagerResizeRequestsClientImpl.

InstanceGroupManagerResizeRequests client wrapper implementation, for convenient use.

Inheritance

object > InstanceGroupManagerResizeRequestsClient > InstanceGroupManagerResizeRequestsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The InstanceGroupManagerResizeRequests API.

Constructors

InstanceGroupManagerResizeRequestsClientImpl(InstanceGroupManagerResizeRequestsClient, InstanceGroupManagerResizeRequestsSettings, ILogger)

public InstanceGroupManagerResizeRequestsClientImpl(InstanceGroupManagerResizeRequests.InstanceGroupManagerResizeRequestsClient grpcClient, InstanceGroupManagerResizeRequestsSettings settings, ILogger logger)

Constructs a client wrapper for the InstanceGroupManagerResizeRequests service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient InstanceGroupManagerResizeRequestsInstanceGroupManagerResizeRequestsClient

The underlying gRPC client.

settings InstanceGroupManagerResizeRequestsSettings

The base InstanceGroupManagerResizeRequestsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CancelOperationsClient

public override OperationsClient CancelOperationsClient { get; }

The long-running operations client for Cancel.

Property Value
Type Description
OperationsClient
Overrides

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override InstanceGroupManagerResizeRequests.InstanceGroupManagerResizeRequestsClient GrpcClient { get; }

The underlying gRPC InstanceGroupManagerResizeRequests client

Property Value
Type Description
InstanceGroupManagerResizeRequestsInstanceGroupManagerResizeRequestsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

Methods

Cancel(CancelInstanceGroupManagerResizeRequestRequest, CallSettings)

public override Operation<Operation, Operation> Cancel(CancelInstanceGroupManagerResizeRequestRequest request, CallSettings callSettings = null)

Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue.

Parameters
Name Description
request CancelInstanceGroupManagerResizeRequestRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

CancelAsync(CancelInstanceGroupManagerResizeRequestRequest, CallSettings)

public override Task<Operation<Operation, Operation>> CancelAsync(CancelInstanceGroupManagerResizeRequestRequest request, CallSettings callSettings = null)

Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue.

Parameters
Name Description
request CancelInstanceGroupManagerResizeRequestRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Delete(DeleteInstanceGroupManagerResizeRequestRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteInstanceGroupManagerResizeRequestRequest request, CallSettings callSettings = null)

Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.

Parameters
Name Description
request DeleteInstanceGroupManagerResizeRequestRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteInstanceGroupManagerResizeRequestRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteInstanceGroupManagerResizeRequestRequest request, CallSettings callSettings = null)

Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.

Parameters
Name Description
request DeleteInstanceGroupManagerResizeRequestRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetInstanceGroupManagerResizeRequestRequest, CallSettings)

public override InstanceGroupManagerResizeRequest Get(GetInstanceGroupManagerResizeRequestRequest request, CallSettings callSettings = null)

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetInstanceGroupManagerResizeRequestRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InstanceGroupManagerResizeRequest

The RPC response.

Overrides

GetAsync(GetInstanceGroupManagerResizeRequestRequest, CallSettings)

public override Task<InstanceGroupManagerResizeRequest> GetAsync(GetInstanceGroupManagerResizeRequestRequest request, CallSettings callSettings = null)

Returns all of the details about the specified resize request.

Parameters
Name Description
request GetInstanceGroupManagerResizeRequestRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInstanceGroupManagerResizeRequest

A Task containing the RPC response.

Overrides

Insert(InsertInstanceGroupManagerResizeRequestRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertInstanceGroupManagerResizeRequestRequest request, CallSettings callSettings = null)

Creates a new resize request that starts provisioning VMs immediately or queues VM creation.

Parameters
Name Description
request InsertInstanceGroupManagerResizeRequestRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertInstanceGroupManagerResizeRequestRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertInstanceGroupManagerResizeRequestRequest request, CallSettings callSettings = null)

Creates a new resize request that starts provisioning VMs immediately or queues VM creation.

Parameters
Name Description
request InsertInstanceGroupManagerResizeRequestRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListInstanceGroupManagerResizeRequestsRequest, CallSettings)

public override PagedEnumerable<InstanceGroupManagerResizeRequestsListResponse, InstanceGroupManagerResizeRequest> List(ListInstanceGroupManagerResizeRequestsRequest request, CallSettings callSettings = null)

Retrieves a list of resize requests that are contained in the managed instance group.

Parameters
Name Description
request ListInstanceGroupManagerResizeRequestsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableInstanceGroupManagerResizeRequestsListResponseInstanceGroupManagerResizeRequest

A pageable sequence of InstanceGroupManagerResizeRequest resources.

Overrides

ListAsync(ListInstanceGroupManagerResizeRequestsRequest, CallSettings)

public override PagedAsyncEnumerable<InstanceGroupManagerResizeRequestsListResponse, InstanceGroupManagerResizeRequest> ListAsync(ListInstanceGroupManagerResizeRequestsRequest request, CallSettings callSettings = null)

Retrieves a list of resize requests that are contained in the managed instance group.

Parameters
Name Description
request ListInstanceGroupManagerResizeRequestsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableInstanceGroupManagerResizeRequestsListResponseInstanceGroupManagerResizeRequest

A pageable asynchronous sequence of InstanceGroupManagerResizeRequest resources.

Overrides