compute  beta
Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest Class Reference

Resizes the managed instance group with advanced configuration options like disabling creation retries. This is an extended version of the resize method. More...

Inheritance diagram for Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest:
Google.Apis.Compute.beta.ComputeBaseServiceRequest< Google.Apis.Compute.beta.Data.Operation >

Public Member Functions

 ResizeAdvancedRequest (Google.Apis.Services.IClientService service, Google.Apis.Compute.beta.Data.InstanceGroupManagersResizeAdvancedRequest body, string project, string zone, string instanceGroupManager)
 Constructs a new ResizeAdvanced request. More...
 

Protected Member Functions

override object GetBody ()
 summary>Gets the method name. More...
 
override void InitParameters ()
 Initializes ResizeAdvanced parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.Compute.beta.ComputeBaseServiceRequest< Google.Apis.Compute.beta.Data.Operation >
 ComputeBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new ComputeBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes Compute parameter list. More...
 

Properties

virtual string Project [get]
 Project ID for this request. More...
 
virtual string Zone [get]
 The name of the zone where the managed instance group is located. More...
 
virtual string InstanceGroupManager [get]
 The name of the managed instance group. More...
 
virtual string RequestId [get, set]
 An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.Compute.beta.ComputeBaseServiceRequest< Google.Apis.Compute.beta.Data.Operation >
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for the response. More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More...
 
virtual string UserIp [get, set]
 Deprecated. Please use quotaUser instead. More...
 

Detailed Description

Resizes the managed instance group with advanced configuration options like disabling creation retries. This is an extended version of the resize method.

If you increase the size of the instance group, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating, creatingWithoutRetries, or deleting actions with the get or listmanagedinstances method.

If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.

Constructor & Destructor Documentation

◆ ResizeAdvancedRequest()

Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest.ResizeAdvancedRequest ( Google.Apis.Services.IClientService  service,
Google.Apis.Compute.beta.Data.InstanceGroupManagersResizeAdvancedRequest  body,
string  project,
string  zone,
string  instanceGroupManager 
)
inline

Constructs a new ResizeAdvanced request.

Member Function Documentation

◆ GetBody()

override object Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest.GetBody ( )
inlineprotected

summary>Gets the method name.

◆ InitParameters()

override void Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest.InitParameters ( )
inlineprotected

Initializes ResizeAdvanced parameter list.

Property Documentation

◆ HttpMethod

override string Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest.HttpMethod
get

summary>Gets the REST path.

◆ InstanceGroupManager

virtual string Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest.InstanceGroupManager
get

The name of the managed instance group.

◆ MethodName

override string Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest.MethodName
get

summary>Gets the HTTP method.

◆ Project

virtual string Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest.Project
get

Project ID for this request.

◆ RequestId

virtual string Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest.RequestId
getset

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

◆ Zone

virtual string Google.Apis.Compute.beta.InstanceGroupManagersResource.ResizeAdvancedRequest.Zone
get

The name of the zone where the managed instance group is located.


The documentation for this class was generated from the following file: