Class ZonesResource
The "zones" collection of methods.
Inheritance
System.Object
ZonesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class ZonesResource
Constructors
ZonesResource(IClientService)
Constructs a new resource.
Declaration
public ZonesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Get(String, String)
Returns the specified Zone resource. Gets a list of available zones by making a list() request.
Declaration
public virtual ZonesResource.GetRequest Get(string project, string zone)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | zone | Name of the zone resource to return. |
Returns
| Type | Description |
|---|---|
| ZonesResource.GetRequest |
List(String)
Retrieves the list of Zone resources available to the specified project.
Declaration
public virtual ZonesResource.ListRequest List(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| ZonesResource.ListRequest |