Class ChatbotFunctions


  • public final class ChatbotFunctions
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.pulumi.core.Output<GetAgentsResult> getAgents()
      This data source provides the Chatbot Agents of the current Alibaba Cloud user.
      static com.pulumi.core.Output<GetAgentsResult> getAgents​(GetAgentsArgs args)
      This data source provides the Chatbot Agents of the current Alibaba Cloud user.
      static com.pulumi.core.Output<GetAgentsResult> getAgents​(GetAgentsArgs args, com.pulumi.deployment.InvokeOptions options)
      This data source provides the Chatbot Agents of the current Alibaba Cloud user.
      static java.util.concurrent.CompletableFuture<GetAgentsResult> getAgentsPlain()
      This data source provides the Chatbot Agents of the current Alibaba Cloud user.
      static java.util.concurrent.CompletableFuture<GetAgentsResult> getAgentsPlain​(GetAgentsPlainArgs args)
      This data source provides the Chatbot Agents of the current Alibaba Cloud user.
      static java.util.concurrent.CompletableFuture<GetAgentsResult> getAgentsPlain​(GetAgentsPlainArgs args, com.pulumi.deployment.InvokeOptions options)
      This data source provides the Chatbot Agents of the current Alibaba Cloud user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChatbotFunctions

        public ChatbotFunctions()
    • Method Detail

      • getAgents

        public static com.pulumi.core.Output<GetAgentsResult> getAgents()
        This data source provides the Chatbot Agents of the current Alibaba Cloud user. > **NOTE:** Available in v1.203.0+. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.chatbot.ChatbotFunctions; import com.pulumi.alicloud.chatbot.inputs.GetAgentsArgs; 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 nameRegex = ChatbotFunctions.getAgents(GetAgentsArgs.builder() .nameRegex("^my-Agent") .build()); ctx.export("alicloudChatbotAgentsId1", nameRegex.applyValue(getAgentsResult -> getAgentsResult.agents()[0].id())); } } ```
      • getAgentsPlain

        public static java.util.concurrent.CompletableFuture<GetAgentsResult> getAgentsPlain()
        This data source provides the Chatbot Agents of the current Alibaba Cloud user. > **NOTE:** Available in v1.203.0+. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.chatbot.ChatbotFunctions; import com.pulumi.alicloud.chatbot.inputs.GetAgentsArgs; 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 nameRegex = ChatbotFunctions.getAgents(GetAgentsArgs.builder() .nameRegex("^my-Agent") .build()); ctx.export("alicloudChatbotAgentsId1", nameRegex.applyValue(getAgentsResult -> getAgentsResult.agents()[0].id())); } } ```
      • getAgents

        public static com.pulumi.core.Output<GetAgentsResult> getAgents​(GetAgentsArgs args)
        This data source provides the Chatbot Agents of the current Alibaba Cloud user. > **NOTE:** Available in v1.203.0+. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.chatbot.ChatbotFunctions; import com.pulumi.alicloud.chatbot.inputs.GetAgentsArgs; 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 nameRegex = ChatbotFunctions.getAgents(GetAgentsArgs.builder() .nameRegex("^my-Agent") .build()); ctx.export("alicloudChatbotAgentsId1", nameRegex.applyValue(getAgentsResult -> getAgentsResult.agents()[0].id())); } } ```
      • getAgentsPlain

        public static java.util.concurrent.CompletableFuture<GetAgentsResult> getAgentsPlain​(GetAgentsPlainArgs args)
        This data source provides the Chatbot Agents of the current Alibaba Cloud user. > **NOTE:** Available in v1.203.0+. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.chatbot.ChatbotFunctions; import com.pulumi.alicloud.chatbot.inputs.GetAgentsArgs; 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 nameRegex = ChatbotFunctions.getAgents(GetAgentsArgs.builder() .nameRegex("^my-Agent") .build()); ctx.export("alicloudChatbotAgentsId1", nameRegex.applyValue(getAgentsResult -> getAgentsResult.agents()[0].id())); } } ```
      • getAgents

        public static com.pulumi.core.Output<GetAgentsResult> getAgents​(GetAgentsArgs args,
                                                                        com.pulumi.deployment.InvokeOptions options)
        This data source provides the Chatbot Agents of the current Alibaba Cloud user. > **NOTE:** Available in v1.203.0+. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.chatbot.ChatbotFunctions; import com.pulumi.alicloud.chatbot.inputs.GetAgentsArgs; 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 nameRegex = ChatbotFunctions.getAgents(GetAgentsArgs.builder() .nameRegex("^my-Agent") .build()); ctx.export("alicloudChatbotAgentsId1", nameRegex.applyValue(getAgentsResult -> getAgentsResult.agents()[0].id())); } } ```
      • getAgentsPlain

        public static java.util.concurrent.CompletableFuture<GetAgentsResult> getAgentsPlain​(GetAgentsPlainArgs args,
                                                                                             com.pulumi.deployment.InvokeOptions options)
        This data source provides the Chatbot Agents of the current Alibaba Cloud user. > **NOTE:** Available in v1.203.0+. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.alicloud.chatbot.ChatbotFunctions; import com.pulumi.alicloud.chatbot.inputs.GetAgentsArgs; 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 nameRegex = ChatbotFunctions.getAgents(GetAgentsArgs.builder() .nameRegex("^my-Agent") .build()); ctx.export("alicloudChatbotAgentsId1", nameRegex.applyValue(getAgentsResult -> getAgentsResult.agents()[0].id())); } } ```