getBackendBucket

Get information about a BackendBucket.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetBackendBucketArgs;
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 my-backend-bucket = ComputeFunctions.getBackendBucket(GetBackendBucketArgs.builder()
.name("my-backend")
.build());
}
}

Return

A collection of values returned by getBackendBucket.

Parameters

argument

A collection of arguments for invoking getBackendBucket.


suspend fun getBackendBucket(name: String, project: String? = null): GetBackendBucketResult

Return

A collection of values returned by getBackendBucket.

Parameters

name

Name of the resource.

project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

See also


Return

A collection of values returned by getBackendBucket.

Parameters

argument

Builder for com.pulumi.gcp.compute.kotlin.inputs.GetBackendBucketPlainArgs.

See also