Class InstanceGroupManagerResizeRequestsResource
The "instanceGroupManagerResizeRequests" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class InstanceGroupManagerResizeRequestsResource
Constructors
InstanceGroupManagerResizeRequestsResource(IClientService)
Constructs a new resource.
Declaration
public InstanceGroupManagerResizeRequestsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(string, string, string, string)
Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.
Declaration
public virtual InstanceGroupManagerResizeRequestsResource.DeleteRequest Delete(string project, string zone, string instanceGroupManager, string resizeRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | zone | The name of the zone where the managed instance group is located. The name should conform to RFC1035. |
| string | instanceGroupManager | The name of the managed instance group. The name should conform to RFC1035 or be a resource ID. |
| string | resizeRequest | The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID. |
Returns
| Type | Description |
|---|---|
| InstanceGroupManagerResizeRequestsResource.DeleteRequest |
Get(string, string, string, string)
Returns all of the details about the specified resize request.
Declaration
public virtual InstanceGroupManagerResizeRequestsResource.GetRequest Get(string project, string zone, string instanceGroupManager, string resizeRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | zone | Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035. |
| string | instanceGroupManager | The name of the managed instance group. Name should conform to RFC1035 or be a resource ID. |
| string | resizeRequest | The name of the resize request. Name should conform to RFC1035 or be a resource ID. |
Returns
| Type | Description |
|---|---|
| InstanceGroupManagerResizeRequestsResource.GetRequest |
Insert(InstanceGroupManagerResizeRequest, string, string, string)
Creates a new resize request that starts provisioning VMs immediately or queues VM creation.
Declaration
public virtual InstanceGroupManagerResizeRequestsResource.InsertRequest Insert(InstanceGroupManagerResizeRequest body, string project, string zone, string instanceGroupManager)
Parameters
| Type | Name | Description |
|---|---|---|
| InstanceGroupManagerResizeRequest | body | The body of the request. |
| string | project | Project ID for this request. |
| string | zone | The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035. |
| string | instanceGroupManager | The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID. |
Returns
| Type | Description |
|---|---|
| InstanceGroupManagerResizeRequestsResource.InsertRequest |
List(string, string, string)
Retrieves a list of resize requests that are contained in the managed instance group.
Declaration
public virtual InstanceGroupManagerResizeRequestsResource.ListRequest List(string project, string zone, string instanceGroupManager)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | zone | The name of the zone where the managed instance group is located. The name should conform to RFC1035. |
| string | instanceGroupManager | The name of the managed instance group. The name should conform to RFC1035. |
Returns
| Type | Description |
|---|---|
| InstanceGroupManagerResizeRequestsResource.ListRequest |