Class ZoneQueuedResourcesResource
The "zoneQueuedResources" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class ZoneQueuedResourcesResource
Constructors
ZoneQueuedResourcesResource(IClientService)
Constructs a new resource.
Declaration
public ZoneQueuedResourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves an aggregated list of all of the queued resources in a project across all zones. To prevent
failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Declaration
public virtual ZoneQueuedResourcesResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
ZoneQueuedResourcesResource.AggregatedListRequest |
Cancel(string, string, string)
Cancels a QueuedResource. Only a resource in ACCEPTED state may be cancelled.
Declaration
public virtual ZoneQueuedResourcesResource.CancelRequest Cancel(string project, string zone, string queuedResource)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. |
string | queuedResource | Name of the QueuedResource to cancel. |
Returns
Type | Description |
---|---|
ZoneQueuedResourcesResource.CancelRequest |
Delete(string, string, string)
Deletes a QueuedResource. For a QueuedResource in ACCEPTED state, call cancel on the resource before deleting, to make sure no VMs have been provisioned and may require cleaning up. For a QueuedResource in PROVISIONING state the request to delete is registered for execution following the provisioning.
Declaration
public virtual ZoneQueuedResourcesResource.DeleteRequest Delete(string project, string zone, string queuedResource)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. |
string | queuedResource | Name of the QueuedResource to delete. |
Returns
Type | Description |
---|---|
ZoneQueuedResourcesResource.DeleteRequest |
Get(string, string, string)
Returns the specified QueuedResource resource.
Declaration
public virtual ZoneQueuedResourcesResource.GetRequest Get(string project, string zone, string queuedResource)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. |
string | queuedResource | Name of the QueuedResource resource to return. |
Returns
Type | Description |
---|---|
ZoneQueuedResourcesResource.GetRequest |
Insert(QueuedResource, string, string)
Creates a QueuedResource.
Declaration
public virtual ZoneQueuedResourcesResource.InsertRequest Insert(QueuedResource body, string project, string zone)
Parameters
Type | Name | Description |
---|---|---|
QueuedResource | body | The body of the request. |
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. |
Returns
Type | Description |
---|---|
ZoneQueuedResourcesResource.InsertRequest |
List(string, string)
Retrieves the list of QueuedResource resources.
Declaration
public virtual ZoneQueuedResourcesResource.ListRequest List(string project, string zone)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. |
Returns
Type | Description |
---|---|
ZoneQueuedResourcesResource.ListRequest |