Class MachineTypesResource
The "machineTypes" collection of methods.
Inheritance
System.Object
MachineTypesResource
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 MachineTypesResource
Constructors
MachineTypesResource(IClientService)
Constructs a new resource.
Declaration
public MachineTypesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
AggregatedList(String)
Retrieves an aggregated list of machine types.
Declaration
public virtual MachineTypesResource.AggregatedListRequest AggregatedList(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| MachineTypesResource.AggregatedListRequest |
Get(String, String, String)
Returns the specified machine type. Gets a list of available machine types by making a list() request.
Declaration
public virtual MachineTypesResource.GetRequest Get(string project, string zone, string machineType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | zone | The name of the zone for this request. |
| System.String | machineType | Name of the machine type to return. |
Returns
| Type | Description |
|---|---|
| MachineTypesResource.GetRequest |
List(String, String)
Retrieves a list of machine types available to the specified project.
Declaration
public virtual MachineTypesResource.ListRequest List(string project, string zone)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | zone | The name of the zone for this request. |
Returns
| Type | Description |
|---|---|
| MachineTypesResource.ListRequest |