GetNodeTypes
Provides available node types for Compute Engine sole-tenant nodes in a zone for a given project. For more information, see the official documentation and API.
Using GetNodeTypes
function getNodeTypes(args: GetNodeTypesArgs, opts?: InvokeOptions): Promise<GetNodeTypesResult>function get_node_types(project=None, zone=None, opts=None)func GetNodeTypes(ctx *Context, args *GetNodeTypesArgs, opts ...InvokeOption) (*GetNodeTypesResult, error)public static class GetNodeTypes {
public static Task<GetNodeTypesResult> InvokeAsync(GetNodeTypesArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Project string
ID of the project to list available node types for. Should match the project the nodes of this type will be deployed to. Defaults to the project that the provider is authenticated with.
- Zone string
The zone to list node types for. Should be in zone of intended node groups and region of referencing node template. If
zoneis not specified, the provider-level zone must be set and is used instead.
- Project string
ID of the project to list available node types for. Should match the project the nodes of this type will be deployed to. Defaults to the project that the provider is authenticated with.
- Zone string
The zone to list node types for. Should be in zone of intended node groups and region of referencing node template. If
zoneis not specified, the provider-level zone must be set and is used instead.
- project string
ID of the project to list available node types for. Should match the project the nodes of this type will be deployed to. Defaults to the project that the provider is authenticated with.
- zone string
The zone to list node types for. Should be in zone of intended node groups and region of referencing node template. If
zoneis not specified, the provider-level zone must be set and is used instead.
- project str
ID of the project to list available node types for. Should match the project the nodes of this type will be deployed to. Defaults to the project that the provider is authenticated with.
- zone str
The zone to list node types for. Should be in zone of intended node groups and region of referencing node template. If
zoneis not specified, the provider-level zone must be set and is used instead.
GetNodeTypes Result
The following output properties are available:
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.