Class DiskTypesResource
The "diskTypes" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.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. To prevent failure, Google recommends that you set the
returnPartialSuccess
parameter to true
.
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 |