get Kubernetes Node Pool Snapshot
suspend fun getKubernetesNodePoolSnapshot(argument: GetKubernetesNodePoolSnapshotPlainArgs): GetKubernetesNodePoolSnapshotResult
Use this data source to access information about an existing Kubernetes Node Pool Snapshot.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.containerservice.ContainerserviceFunctions;
import com.pulumi.azure.containerservice.inputs.GetKubernetesNodePoolSnapshotArgs;
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 example = ContainerserviceFunctions.getKubernetesNodePoolSnapshot(GetKubernetesNodePoolSnapshotArgs.builder()
.name("example")
.resourceGroupName("example-resources")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getKubernetesNodePoolSnapshot.
Parameters
argument
A collection of arguments for invoking getKubernetesNodePoolSnapshot.
suspend fun getKubernetesNodePoolSnapshot(name: String, resourceGroupName: String): GetKubernetesNodePoolSnapshotResult
Return
A collection of values returned by getKubernetesNodePoolSnapshot.
See also
Parameters
name
The name of the Kubernetes Node Pool Snapshot.
resource Group Name
The name of the Resource Group in which the Kubernetes Node Pool Snapshot exists.
suspend fun getKubernetesNodePoolSnapshot(argument: suspend GetKubernetesNodePoolSnapshotPlainArgsBuilder.() -> Unit): GetKubernetesNodePoolSnapshotResult
Return
A collection of values returned by getKubernetesNodePoolSnapshot.
See also
Parameters
argument
Builder for com.pulumi.azure.containerservice.kotlin.inputs.GetKubernetesNodePoolSnapshotPlainArgs.