GetEngineVersions
Provides access to available Google Kubernetes Engine versions in a zone or region for a given project.
If you are using the
gcp.container.getEngineVersionsdatasource with a regional cluster, ensure that you have provided a region as thelocationto the datasource. A region can have a different set of supported versions than its component zones, and not all zones in a region are guaranteed to support the same version.
Using GetEngineVersions
function getEngineVersions(args: GetEngineVersionsArgs, opts?: InvokeOptions): Promise<GetEngineVersionsResult>function get_engine_versions(location=None, project=None, version_prefix=None, opts=None)func GetEngineVersions(ctx *Context, args *GetEngineVersionsArgs, opts ...InvokeOption) (*GetEngineVersionsResult, error)public static class GetEngineVersions {
public static Task<GetEngineVersionsResult> InvokeAsync(GetEngineVersionsArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Location string
The location (region or zone) to list versions for. Must exactly match the location the cluster will be deployed in, or listed versions may not be available. If
location,region, andzoneare not specified, the provider-level zone must be set and is used instead.- Project string
ID of the project to list available cluster versions for. Should match the project the cluster will be deployed to. Defaults to the project that the provider is authenticated with.
- Version
Prefix string If provided, the provider will only return versions that match the string prefix. For example,
1.11.will match all1.11series releases. Since this is just a string match, it’s recommended that you append a.after minor versions to ensure that prefixes such as1.1don’t match versions like1.12.5-gke.10accidentally. See the docs on versioning schema for full details on how version strings are formatted.
- Location string
The location (region or zone) to list versions for. Must exactly match the location the cluster will be deployed in, or listed versions may not be available. If
location,region, andzoneare not specified, the provider-level zone must be set and is used instead.- Project string
ID of the project to list available cluster versions for. Should match the project the cluster will be deployed to. Defaults to the project that the provider is authenticated with.
- Version
Prefix string If provided, the provider will only return versions that match the string prefix. For example,
1.11.will match all1.11series releases. Since this is just a string match, it’s recommended that you append a.after minor versions to ensure that prefixes such as1.1don’t match versions like1.12.5-gke.10accidentally. See the docs on versioning schema for full details on how version strings are formatted.
- location string
The location (region or zone) to list versions for. Must exactly match the location the cluster will be deployed in, or listed versions may not be available. If
location,region, andzoneare not specified, the provider-level zone must be set and is used instead.- project string
ID of the project to list available cluster versions for. Should match the project the cluster will be deployed to. Defaults to the project that the provider is authenticated with.
- version
Prefix string If provided, the provider will only return versions that match the string prefix. For example,
1.11.will match all1.11series releases. Since this is just a string match, it’s recommended that you append a.after minor versions to ensure that prefixes such as1.1don’t match versions like1.12.5-gke.10accidentally. See the docs on versioning schema for full details on how version strings are formatted.
- location str
The location (region or zone) to list versions for. Must exactly match the location the cluster will be deployed in, or listed versions may not be available. If
location,region, andzoneare not specified, the provider-level zone must be set and is used instead.- project str
ID of the project to list available cluster versions for. Should match the project the cluster will be deployed to. Defaults to the project that the provider is authenticated with.
- version_
prefix str If provided, the provider will only return versions that match the string prefix. For example,
1.11.will match all1.11series releases. Since this is just a string match, it’s recommended that you append a.after minor versions to ensure that prefixes such as1.1don’t match versions like1.12.5-gke.10accidentally. See the docs on versioning schema for full details on how version strings are formatted.
GetEngineVersions Result
The following output properties are available:
- Default
Cluster stringVersion Version of Kubernetes the service deploys by default.
- Id string
The provider-assigned unique ID for this managed resource.
- Latest
Master stringVersion The latest version available in the given zone for use with master instances.
- Latest
Node stringVersion The latest version available in the given zone for use with node instances.
- Release
Channel Dictionary<string, string>Default Version A map from a release channel name to the channel’s default version.
- Valid
Master List<string>Versions A list of versions available in the given zone for use with master instances.
- Valid
Node List<string>Versions A list of versions available in the given zone for use with node instances.
- Location string
- Project string
- Version
Prefix string
- Default
Cluster stringVersion Version of Kubernetes the service deploys by default.
- Id string
The provider-assigned unique ID for this managed resource.
- Latest
Master stringVersion The latest version available in the given zone for use with master instances.
- Latest
Node stringVersion The latest version available in the given zone for use with node instances.
- Release
Channel map[string]stringDefault Version A map from a release channel name to the channel’s default version.
- Valid
Master []stringVersions A list of versions available in the given zone for use with master instances.
- Valid
Node []stringVersions A list of versions available in the given zone for use with node instances.
- Location string
- Project string
- Version
Prefix string
- default
Cluster stringVersion Version of Kubernetes the service deploys by default.
- id string
The provider-assigned unique ID for this managed resource.
- latest
Master stringVersion The latest version available in the given zone for use with master instances.
- latest
Node stringVersion The latest version available in the given zone for use with node instances.
- release
Channel {[key: string]: string}Default Version A map from a release channel name to the channel’s default version.
- valid
Master string[]Versions A list of versions available in the given zone for use with master instances.
- valid
Node string[]Versions A list of versions available in the given zone for use with node instances.
- location string
- project string
- version
Prefix string
- default_
cluster_ strversion Version of Kubernetes the service deploys by default.
- id str
The provider-assigned unique ID for this managed resource.
- latest_
master_ strversion The latest version available in the given zone for use with master instances.
- latest_
node_ strversion The latest version available in the given zone for use with node instances.
- release_
channel_ Dict[str, str]default_ version A map from a release channel name to the channel’s default version.
- valid_
master_ List[str]versions A list of versions available in the given zone for use with master instances.
- valid_
node_ List[str]versions A list of versions available in the given zone for use with node instances.
- location str
- project str
- version_
prefix str
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.