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
Cancel(string, string, string, string)
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.
Declaration
public virtual InstanceGroupManagerResizeRequestsResource.CancelRequest Cancel(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 cancel. The name should conform to RFC1035 or be a resource ID. |
Returns
Type | Description |
---|---|
InstanceGroupManagerResizeRequestsResource.CancelRequest |
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 |