Class DiskTypesResource
The "diskTypes" collection of methods.
Inheritance
object
DiskTypesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class DiskTypesResource
Constructors
DiskTypesResource(IClientService)
Constructs a new resource.
Declaration
public DiskTypesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves an aggregated list of disk types.
Declaration
public virtual DiskTypesResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
DiskTypesResource.AggregatedListRequest |
Get(string, string, string)
Returns the specified disk type.
Declaration
public virtual DiskTypesResource.GetRequest Get(string project, string zone, string diskType)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | The name of the zone for this request. |
string | diskType | Name of the disk type to return. |
Returns
Type | Description |
---|---|
DiskTypesResource.GetRequest |
List(string, string)
Retrieves a list of disk types available to the specified project.
Declaration
public virtual DiskTypesResource.ListRequest List(string project, string zone)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | The name of the zone for this request. |
Returns
Type | Description |
---|---|
DiskTypesResource.ListRequest |