Class NodeTypesResource
The "nodeTypes" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class NodeTypesResource
Constructors
NodeTypesResource(IClientService)
Constructs a new resource.
Declaration
public NodeTypesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the
returnPartialSuccess
parameter to true
.
Declaration
public virtual NodeTypesResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
NodeTypesResource.AggregatedListRequest |
Get(string, string, string)
Returns the specified node type.
Declaration
public virtual NodeTypesResource.GetRequest Get(string project, string zone, string nodeType)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | The name of the zone for this request. |
string | nodeType | Name of the node type to return. |
Returns
Type | Description |
---|---|
NodeTypesResource.GetRequest |
List(string, string)
Retrieves a list of node types available to the specified project.
Declaration
public virtual NodeTypesResource.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 |
---|---|
NodeTypesResource.ListRequest |