Package com.pulumi.gcp.cloudrun
Class CloudrunFunctions
- java.lang.Object
-
- com.pulumi.gcp.cloudrun.CloudrunFunctions
-
public final class CloudrunFunctions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CloudrunFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.pulumi.core.Output<GetLocationsResult>
getLocations()
Get Cloud Run locations available for a project.static com.pulumi.core.Output<GetLocationsResult>
getLocations(GetLocationsArgs args)
Get Cloud Run locations available for a project.static com.pulumi.core.Output<GetLocationsResult>
getLocations(GetLocationsArgs args, com.pulumi.deployment.InvokeOptions options)
Get Cloud Run locations available for a project.static java.util.concurrent.CompletableFuture<GetLocationsResult>
getLocationsPlain()
Get Cloud Run locations available for a project.static java.util.concurrent.CompletableFuture<GetLocationsResult>
getLocationsPlain(GetLocationsPlainArgs args)
Get Cloud Run locations available for a project.static java.util.concurrent.CompletableFuture<GetLocationsResult>
getLocationsPlain(GetLocationsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Get Cloud Run locations available for a project.static com.pulumi.core.Output<GetServiceResult>
getService(GetServiceArgs args)
Get information about a Google Cloud Run Service.static com.pulumi.core.Output<GetServiceResult>
getService(GetServiceArgs args, com.pulumi.deployment.InvokeOptions options)
Get information about a Google Cloud Run Service.static com.pulumi.core.Output<GetServiceIamPolicyResult>
getServiceIamPolicy(GetServiceIamPolicyArgs args)
Retrieves the current IAM policy data for service ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceIamPolicyArgs; 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 policy = CloudrunFunctions.getServiceIamPolicy(GetServiceIamPolicyArgs.builder() .location(google_cloud_run_service.default().location()) .project(google_cloud_run_service.default().project()) .service(google_cloud_run_service.default().name()) .build()); } } ```static com.pulumi.core.Output<GetServiceIamPolicyResult>
getServiceIamPolicy(GetServiceIamPolicyArgs args, com.pulumi.deployment.InvokeOptions options)
Retrieves the current IAM policy data for service ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceIamPolicyArgs; 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 policy = CloudrunFunctions.getServiceIamPolicy(GetServiceIamPolicyArgs.builder() .location(google_cloud_run_service.default().location()) .project(google_cloud_run_service.default().project()) .service(google_cloud_run_service.default().name()) .build()); } } ```static java.util.concurrent.CompletableFuture<GetServiceIamPolicyResult>
getServiceIamPolicyPlain(GetServiceIamPolicyPlainArgs args)
Retrieves the current IAM policy data for service ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceIamPolicyArgs; 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 policy = CloudrunFunctions.getServiceIamPolicy(GetServiceIamPolicyArgs.builder() .location(google_cloud_run_service.default().location()) .project(google_cloud_run_service.default().project()) .service(google_cloud_run_service.default().name()) .build()); } } ```static java.util.concurrent.CompletableFuture<GetServiceIamPolicyResult>
getServiceIamPolicyPlain(GetServiceIamPolicyPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Retrieves the current IAM policy data for service ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceIamPolicyArgs; 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 policy = CloudrunFunctions.getServiceIamPolicy(GetServiceIamPolicyArgs.builder() .location(google_cloud_run_service.default().location()) .project(google_cloud_run_service.default().project()) .service(google_cloud_run_service.default().name()) .build()); } } ```static java.util.concurrent.CompletableFuture<GetServiceResult>
getServicePlain(GetServicePlainArgs args)
Get information about a Google Cloud Run Service.static java.util.concurrent.CompletableFuture<GetServiceResult>
getServicePlain(GetServicePlainArgs args, com.pulumi.deployment.InvokeOptions options)
Get information about a Google Cloud Run Service.
-
-
-
Method Detail
-
getLocations
public static com.pulumi.core.Output<GetLocationsResult> getLocations()
Get Cloud Run locations available for a project. To get more information about Cloud Run, see: * [API documentation](https://cloud.google.com/run/docs/reference/rest/v1/projects.locations) * How-to Guides * [Official Documentation](https://cloud.google.com/run/docs/) ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetLocationsArgs; 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 available = CloudrunFunctions.getLocations(); } } ```
-
getLocationsPlain
public static java.util.concurrent.CompletableFuture<GetLocationsResult> getLocationsPlain()
Get Cloud Run locations available for a project. To get more information about Cloud Run, see: * [API documentation](https://cloud.google.com/run/docs/reference/rest/v1/projects.locations) * How-to Guides * [Official Documentation](https://cloud.google.com/run/docs/) ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetLocationsArgs; 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 available = CloudrunFunctions.getLocations(); } } ```
-
getLocations
public static com.pulumi.core.Output<GetLocationsResult> getLocations(GetLocationsArgs args)
Get Cloud Run locations available for a project. To get more information about Cloud Run, see: * [API documentation](https://cloud.google.com/run/docs/reference/rest/v1/projects.locations) * How-to Guides * [Official Documentation](https://cloud.google.com/run/docs/) ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetLocationsArgs; 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 available = CloudrunFunctions.getLocations(); } } ```
-
getLocationsPlain
public static java.util.concurrent.CompletableFuture<GetLocationsResult> getLocationsPlain(GetLocationsPlainArgs args)
Get Cloud Run locations available for a project. To get more information about Cloud Run, see: * [API documentation](https://cloud.google.com/run/docs/reference/rest/v1/projects.locations) * How-to Guides * [Official Documentation](https://cloud.google.com/run/docs/) ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetLocationsArgs; 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 available = CloudrunFunctions.getLocations(); } } ```
-
getLocations
public static com.pulumi.core.Output<GetLocationsResult> getLocations(GetLocationsArgs args, com.pulumi.deployment.InvokeOptions options)
Get Cloud Run locations available for a project. To get more information about Cloud Run, see: * [API documentation](https://cloud.google.com/run/docs/reference/rest/v1/projects.locations) * How-to Guides * [Official Documentation](https://cloud.google.com/run/docs/) ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetLocationsArgs; 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 available = CloudrunFunctions.getLocations(); } } ```
-
getLocationsPlain
public static java.util.concurrent.CompletableFuture<GetLocationsResult> getLocationsPlain(GetLocationsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Get Cloud Run locations available for a project. To get more information about Cloud Run, see: * [API documentation](https://cloud.google.com/run/docs/reference/rest/v1/projects.locations) * How-to Guides * [Official Documentation](https://cloud.google.com/run/docs/) ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetLocationsArgs; 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 available = CloudrunFunctions.getLocations(); } } ```
-
getService
public static com.pulumi.core.Output<GetServiceResult> getService(GetServiceArgs args)
Get information about a Google Cloud Run Service. For more information see the [official documentation](https://cloud.google.com/run/docs/) and [API](https://cloud.google.com/run/docs/apis). ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceArgs; 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 run-service = CloudrunFunctions.getService(GetServiceArgs.builder() .location("us-central1") .name("my-service") .build()); } } ```
-
getServicePlain
public static java.util.concurrent.CompletableFuture<GetServiceResult> getServicePlain(GetServicePlainArgs args)
Get information about a Google Cloud Run Service. For more information see the [official documentation](https://cloud.google.com/run/docs/) and [API](https://cloud.google.com/run/docs/apis). ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceArgs; 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 run-service = CloudrunFunctions.getService(GetServiceArgs.builder() .location("us-central1") .name("my-service") .build()); } } ```
-
getService
public static com.pulumi.core.Output<GetServiceResult> getService(GetServiceArgs args, com.pulumi.deployment.InvokeOptions options)
Get information about a Google Cloud Run Service. For more information see the [official documentation](https://cloud.google.com/run/docs/) and [API](https://cloud.google.com/run/docs/apis). ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceArgs; 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 run-service = CloudrunFunctions.getService(GetServiceArgs.builder() .location("us-central1") .name("my-service") .build()); } } ```
-
getServicePlain
public static java.util.concurrent.CompletableFuture<GetServiceResult> getServicePlain(GetServicePlainArgs args, com.pulumi.deployment.InvokeOptions options)
Get information about a Google Cloud Run Service. For more information see the [official documentation](https://cloud.google.com/run/docs/) and [API](https://cloud.google.com/run/docs/apis). ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceArgs; 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 run-service = CloudrunFunctions.getService(GetServiceArgs.builder() .location("us-central1") .name("my-service") .build()); } } ```
-
getServiceIamPolicy
public static com.pulumi.core.Output<GetServiceIamPolicyResult> getServiceIamPolicy(GetServiceIamPolicyArgs args)
Retrieves the current IAM policy data for service ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceIamPolicyArgs; 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 policy = CloudrunFunctions.getServiceIamPolicy(GetServiceIamPolicyArgs.builder() .location(google_cloud_run_service.default().location()) .project(google_cloud_run_service.default().project()) .service(google_cloud_run_service.default().name()) .build()); } } ```
-
getServiceIamPolicyPlain
public static java.util.concurrent.CompletableFuture<GetServiceIamPolicyResult> getServiceIamPolicyPlain(GetServiceIamPolicyPlainArgs args)
Retrieves the current IAM policy data for service ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceIamPolicyArgs; 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 policy = CloudrunFunctions.getServiceIamPolicy(GetServiceIamPolicyArgs.builder() .location(google_cloud_run_service.default().location()) .project(google_cloud_run_service.default().project()) .service(google_cloud_run_service.default().name()) .build()); } } ```
-
getServiceIamPolicy
public static com.pulumi.core.Output<GetServiceIamPolicyResult> getServiceIamPolicy(GetServiceIamPolicyArgs args, com.pulumi.deployment.InvokeOptions options)
Retrieves the current IAM policy data for service ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceIamPolicyArgs; 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 policy = CloudrunFunctions.getServiceIamPolicy(GetServiceIamPolicyArgs.builder() .location(google_cloud_run_service.default().location()) .project(google_cloud_run_service.default().project()) .service(google_cloud_run_service.default().name()) .build()); } } ```
-
getServiceIamPolicyPlain
public static java.util.concurrent.CompletableFuture<GetServiceIamPolicyResult> getServiceIamPolicyPlain(GetServiceIamPolicyPlainArgs args, com.pulumi.deployment.InvokeOptions options)
Retrieves the current IAM policy data for service ## example ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.cloudrun.CloudrunFunctions; import com.pulumi.gcp.cloudrun.inputs.GetServiceIamPolicyArgs; 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 policy = CloudrunFunctions.getServiceIamPolicy(GetServiceIamPolicyArgs.builder() .location(google_cloud_run_service.default().location()) .project(google_cloud_run_service.default().project()) .service(google_cloud_run_service.default().name()) .build()); } } ```
-
-