getAttachedInstallManifest

Provides access to available platform versions in a location for a given project.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.container.ContainerFunctions;
import com.pulumi.gcp.container.inputs.GetAttachedInstallManifestArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var manifest = ContainerFunctions.getAttachedInstallManifest(GetAttachedInstallManifestArgs.builder()
.location("us-west1")
.project("my-project")
.clusterId("test-cluster-1")
.platformVersion("1.25.0-gke.1")
.build());
ctx.export("installManifest", manifest.applyValue(getAttachedInstallManifestResult -> getAttachedInstallManifestResult));
}
}

Return

A collection of values returned by getAttachedInstallManifest.

Parameters

argument

A collection of arguments for invoking getAttachedInstallManifest.


suspend fun getAttachedInstallManifest(clusterId: String, location: String, platformVersion: String, project: String): GetAttachedInstallManifestResult

Return

A collection of values returned by getAttachedInstallManifest.

Parameters

clusterId

The name that will be used when creating the attached cluster resource.

location

The location to list versions for.

platformVersion

The platform version for the cluster. A list of valid values can be retrieved using the gcp.container.getAttachedVersions data source.

project

ID of the project to list available platform versions for. Should match the project the cluster will be deployed to. Defaults to the project that the provider is authenticated with.

See also


Return

A collection of values returned by getAttachedInstallManifest.

Parameters

argument

Builder for com.pulumi.gcp.container.kotlin.inputs.GetAttachedInstallManifestPlainArgs.

See also