Class BpFunctions


  • public final class BpFunctions
    extends java.lang.Object
    • Constructor Detail

      • BpFunctions

        public BpFunctions()
    • Method Detail

      • getStudioApplications

        public static com.pulumi.core.Output<GetStudioApplicationsResult> getStudioApplications()
        This data source provides the Cloud Architect Design Tools (BPStudio) Applications of the current Alibaba Cloud user. > **NOTE:** Available in v1.192.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.bp.BpFunctions; import com.pulumi.alicloud.bp.inputs.GetStudioApplicationsArgs; 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 ids = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .ids("example_id") .build()); ctx.export("bpStudioApplicationId1", ids.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); final var nameRegex = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .nameRegex("^my-Application") .build()); ctx.export("bpStudioApplicationId2", nameRegex.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); } } ```
      • getStudioApplicationsPlain

        public static java.util.concurrent.CompletableFuture<GetStudioApplicationsResult> getStudioApplicationsPlain()
        This data source provides the Cloud Architect Design Tools (BPStudio) Applications of the current Alibaba Cloud user. > **NOTE:** Available in v1.192.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.bp.BpFunctions; import com.pulumi.alicloud.bp.inputs.GetStudioApplicationsArgs; 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 ids = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .ids("example_id") .build()); ctx.export("bpStudioApplicationId1", ids.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); final var nameRegex = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .nameRegex("^my-Application") .build()); ctx.export("bpStudioApplicationId2", nameRegex.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); } } ```
      • getStudioApplications

        public static com.pulumi.core.Output<GetStudioApplicationsResult> getStudioApplications​(GetStudioApplicationsArgs args)
        This data source provides the Cloud Architect Design Tools (BPStudio) Applications of the current Alibaba Cloud user. > **NOTE:** Available in v1.192.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.bp.BpFunctions; import com.pulumi.alicloud.bp.inputs.GetStudioApplicationsArgs; 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 ids = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .ids("example_id") .build()); ctx.export("bpStudioApplicationId1", ids.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); final var nameRegex = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .nameRegex("^my-Application") .build()); ctx.export("bpStudioApplicationId2", nameRegex.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); } } ```
      • getStudioApplicationsPlain

        public static java.util.concurrent.CompletableFuture<GetStudioApplicationsResult> getStudioApplicationsPlain​(GetStudioApplicationsPlainArgs args)
        This data source provides the Cloud Architect Design Tools (BPStudio) Applications of the current Alibaba Cloud user. > **NOTE:** Available in v1.192.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.bp.BpFunctions; import com.pulumi.alicloud.bp.inputs.GetStudioApplicationsArgs; 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 ids = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .ids("example_id") .build()); ctx.export("bpStudioApplicationId1", ids.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); final var nameRegex = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .nameRegex("^my-Application") .build()); ctx.export("bpStudioApplicationId2", nameRegex.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); } } ```
      • getStudioApplications

        public static com.pulumi.core.Output<GetStudioApplicationsResult> getStudioApplications​(GetStudioApplicationsArgs args,
                                                                                                com.pulumi.deployment.InvokeOptions options)
        This data source provides the Cloud Architect Design Tools (BPStudio) Applications of the current Alibaba Cloud user. > **NOTE:** Available in v1.192.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.bp.BpFunctions; import com.pulumi.alicloud.bp.inputs.GetStudioApplicationsArgs; 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 ids = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .ids("example_id") .build()); ctx.export("bpStudioApplicationId1", ids.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); final var nameRegex = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .nameRegex("^my-Application") .build()); ctx.export("bpStudioApplicationId2", nameRegex.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); } } ```
      • getStudioApplicationsPlain

        public static java.util.concurrent.CompletableFuture<GetStudioApplicationsResult> getStudioApplicationsPlain​(GetStudioApplicationsPlainArgs args,
                                                                                                                     com.pulumi.deployment.InvokeOptions options)
        This data source provides the Cloud Architect Design Tools (BPStudio) Applications of the current Alibaba Cloud user. > **NOTE:** Available in v1.192.0+. ## Example Usage Basic Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.bp.BpFunctions; import com.pulumi.alicloud.bp.inputs.GetStudioApplicationsArgs; 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 ids = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .ids("example_id") .build()); ctx.export("bpStudioApplicationId1", ids.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); final var nameRegex = BpFunctions.getStudioApplications(GetStudioApplicationsArgs.builder() .nameRegex("^my-Application") .build()); ctx.export("bpStudioApplicationId2", nameRegex.applyValue(getStudioApplicationsResult -> getStudioApplicationsResult.applications()[0].id())); } } ```