getExtendedAttributesPlain(GetExtendedAttributesPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("dbtcloud:index/getExtendedAttributes:getExtendedAttributes", TypeShape.of(GetExtendedAttributesResult.class), args, Utilities.withVersion(options));
}
+ /**
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * import com.pulumi.dbtcloud.inputs.GetGlobalConnectionArgs;
+ * 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 myConnection = DbtcloudFunctions.getGlobalConnection(GetGlobalConnectionArgs.builder()
+ * .id(1234)
+ * .build());
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getGlobalConnection(GetGlobalConnectionArgs args) {
+ return getGlobalConnection(args, InvokeOptions.Empty);
+ }
+ /**
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * import com.pulumi.dbtcloud.inputs.GetGlobalConnectionArgs;
+ * 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 myConnection = DbtcloudFunctions.getGlobalConnection(GetGlobalConnectionArgs.builder()
+ * .id(1234)
+ * .build());
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static CompletableFuture getGlobalConnectionPlain(GetGlobalConnectionPlainArgs args) {
+ return getGlobalConnectionPlain(args, InvokeOptions.Empty);
+ }
+ /**
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * import com.pulumi.dbtcloud.inputs.GetGlobalConnectionArgs;
+ * 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 myConnection = DbtcloudFunctions.getGlobalConnection(GetGlobalConnectionArgs.builder()
+ * .id(1234)
+ * .build());
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getGlobalConnection(GetGlobalConnectionArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invoke("dbtcloud:index/getGlobalConnection:getGlobalConnection", TypeShape.of(GetGlobalConnectionResult.class), args, Utilities.withVersion(options));
+ }
+ /**
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * import com.pulumi.dbtcloud.inputs.GetGlobalConnectionArgs;
+ * 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 myConnection = DbtcloudFunctions.getGlobalConnection(GetGlobalConnectionArgs.builder()
+ * .id(1234)
+ * .build());
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static CompletableFuture getGlobalConnectionPlain(GetGlobalConnectionPlainArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invokeAsync("dbtcloud:index/getGlobalConnection:getGlobalConnection", TypeShape.of(GetGlobalConnectionResult.class), args, Utilities.withVersion(options));
+ }
+ /**
+ * All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * 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 myConnections = DbtcloudFunctions.getGlobalConnections();
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getGlobalConnections() {
+ return getGlobalConnections(InvokeArgs.Empty, InvokeOptions.Empty);
+ }
+ /**
+ * All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * 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 myConnections = DbtcloudFunctions.getGlobalConnections();
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static CompletableFuture getGlobalConnectionsPlain() {
+ return getGlobalConnectionsPlain(InvokeArgs.Empty, InvokeOptions.Empty);
+ }
+ /**
+ * All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * 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 myConnections = DbtcloudFunctions.getGlobalConnections();
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getGlobalConnections(InvokeArgs args) {
+ return getGlobalConnections(args, InvokeOptions.Empty);
+ }
+ /**
+ * All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * 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 myConnections = DbtcloudFunctions.getGlobalConnections();
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static CompletableFuture getGlobalConnectionsPlain(InvokeArgs args) {
+ return getGlobalConnectionsPlain(args, InvokeOptions.Empty);
+ }
+ /**
+ * All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * 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 myConnections = DbtcloudFunctions.getGlobalConnections();
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getGlobalConnections(InvokeArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invoke("dbtcloud:index/getGlobalConnections:getGlobalConnections", TypeShape.of(GetGlobalConnectionsResult.class), args, Utilities.withVersion(options));
+ }
+ /**
+ * All the connections created on the account with some summary information, like their name, type, when they were created/updated and the number of environments using them.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.dbtcloud.DbtcloudFunctions;
+ * 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 myConnections = DbtcloudFunctions.getGlobalConnections();
+ *
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static CompletableFuture getGlobalConnectionsPlain(InvokeArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invokeAsync("dbtcloud:index/getGlobalConnections:getGlobalConnections", TypeShape.of(GetGlobalConnectionsResult.class), args, Utilities.withVersion(options));
+ }
/**
* Retrieve group details
*
@@ -1773,6 +2174,48 @@ public static Output getProject(GetProjectArgs args, InvokeOpt
public static CompletableFuture getProjectPlain(GetProjectPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("dbtcloud:index/getProject:getProject", TypeShape.of(GetProjectResult.class), args, Utilities.withVersion(options));
}
+ /**
+ * Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
+ *
+ */
+ public static Output getProjects() {
+ return getProjects(GetProjectsArgs.Empty, InvokeOptions.Empty);
+ }
+ /**
+ * Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
+ *
+ */
+ public static CompletableFuture getProjectsPlain() {
+ return getProjectsPlain(GetProjectsPlainArgs.Empty, InvokeOptions.Empty);
+ }
+ /**
+ * Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
+ *
+ */
+ public static Output getProjects(GetProjectsArgs args) {
+ return getProjects(args, InvokeOptions.Empty);
+ }
+ /**
+ * Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
+ *
+ */
+ public static CompletableFuture getProjectsPlain(GetProjectsPlainArgs args) {
+ return getProjectsPlain(args, InvokeOptions.Empty);
+ }
+ /**
+ * Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
+ *
+ */
+ public static Output getProjects(GetProjectsArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invoke("dbtcloud:index/getProjects:getProjects", TypeShape.of(GetProjectsResult.class), args, Utilities.withVersion(options));
+ }
+ /**
+ * Retrieve all the projects created in dbt Cloud with an optional filter on parts of the project name.
+ *
+ */
+ public static CompletableFuture getProjectsPlain(GetProjectsPlainArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invokeAsync("dbtcloud:index/getProjects:getProjects", TypeShape.of(GetProjectsResult.class), args, Utilities.withVersion(options));
+ }
public static Output getRepository(GetRepositoryArgs args) {
return getRepository(args, InvokeOptions.Empty);
}
diff --git a/sdk/java/src/main/java/com/pulumi/dbtcloud/inputs/GetGlobalConnectionArgs.java b/sdk/java/src/main/java/com/pulumi/dbtcloud/inputs/GetGlobalConnectionArgs.java
new file mode 100644
index 0000000..80ba3bc
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/dbtcloud/inputs/GetGlobalConnectionArgs.java
@@ -0,0 +1,85 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.dbtcloud.inputs;
+
+import com.pulumi.core.Output;
+import com.pulumi.core.annotations.Import;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import java.lang.Integer;
+import java.util.Objects;
+
+
+public final class GetGlobalConnectionArgs extends com.pulumi.resources.InvokeArgs {
+
+ public static final GetGlobalConnectionArgs Empty = new GetGlobalConnectionArgs();
+
+ /**
+ * Connection Identifier
+ *
+ */
+ @Import(name="id", required=true)
+ private Output id;
+
+ /**
+ * @return Connection Identifier
+ *
+ */
+ public Output id() {
+ return this.id;
+ }
+
+ private GetGlobalConnectionArgs() {}
+
+ private GetGlobalConnectionArgs(GetGlobalConnectionArgs $) {
+ this.id = $.id;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+ public static Builder builder(GetGlobalConnectionArgs defaults) {
+ return new Builder(defaults);
+ }
+
+ public static final class Builder {
+ private GetGlobalConnectionArgs $;
+
+ public Builder() {
+ $ = new GetGlobalConnectionArgs();
+ }
+
+ public Builder(GetGlobalConnectionArgs defaults) {
+ $ = new GetGlobalConnectionArgs(Objects.requireNonNull(defaults));
+ }
+
+ /**
+ * @param id Connection Identifier
+ *
+ * @return builder
+ *
+ */
+ public Builder id(Output id) {
+ $.id = id;
+ return this;
+ }
+
+ /**
+ * @param id Connection Identifier
+ *
+ * @return builder
+ *
+ */
+ public Builder id(Integer id) {
+ return id(Output.of(id));
+ }
+
+ public GetGlobalConnectionArgs build() {
+ if ($.id == null) {
+ throw new MissingRequiredPropertyException("GetGlobalConnectionArgs", "id");
+ }
+ return $;
+ }
+ }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/dbtcloud/inputs/GetGlobalConnectionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/dbtcloud/inputs/GetGlobalConnectionPlainArgs.java
new file mode 100644
index 0000000..86631de
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/dbtcloud/inputs/GetGlobalConnectionPlainArgs.java
@@ -0,0 +1,74 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.dbtcloud.inputs;
+
+import com.pulumi.core.annotations.Import;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import java.lang.Integer;
+import java.util.Objects;
+
+
+public final class GetGlobalConnectionPlainArgs extends com.pulumi.resources.InvokeArgs {
+
+ public static final GetGlobalConnectionPlainArgs Empty = new GetGlobalConnectionPlainArgs();
+
+ /**
+ * Connection Identifier
+ *
+ */
+ @Import(name="id", required=true)
+ private Integer id;
+
+ /**
+ * @return Connection Identifier
+ *
+ */
+ public Integer id() {
+ return this.id;
+ }
+
+ private GetGlobalConnectionPlainArgs() {}
+
+ private GetGlobalConnectionPlainArgs(GetGlobalConnectionPlainArgs $) {
+ this.id = $.id;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+ public static Builder builder(GetGlobalConnectionPlainArgs defaults) {
+ return new Builder(defaults);
+ }
+
+ public static final class Builder {
+ private GetGlobalConnectionPlainArgs $;
+
+ public Builder() {
+ $ = new GetGlobalConnectionPlainArgs();
+ }
+
+ public Builder(GetGlobalConnectionPlainArgs defaults) {
+ $ = new GetGlobalConnectionPlainArgs(Objects.requireNonNull(defaults));
+ }
+
+ /**
+ * @param id Connection Identifier
+ *
+ * @return builder
+ *
+ */
+ public Builder id(Integer id) {
+ $.id = id;
+ return this;
+ }
+
+ public GetGlobalConnectionPlainArgs build() {
+ if ($.id == null) {
+ throw new MissingRequiredPropertyException("GetGlobalConnectionPlainArgs", "id");
+ }
+ return $;
+ }
+ }
+
+}
diff --git a/sdk/java/src/main/java/com/pulumi/dbtcloud/inputs/GetProjectsArgs.java b/sdk/java/src/main/java/com/pulumi/dbtcloud/inputs/GetProjectsArgs.java
new file mode 100644
index 0000000..deac8a4
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/dbtcloud/inputs/GetProjectsArgs.java
@@ -0,0 +1,83 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.dbtcloud.inputs;
+
+import com.pulumi.core.Output;
+import com.pulumi.core.annotations.Import;
+import java.lang.String;
+import java.util.Objects;
+import java.util.Optional;
+import javax.annotation.Nullable;
+
+
+public final class GetProjectsArgs extends com.pulumi.resources.InvokeArgs {
+
+ public static final GetProjectsArgs Empty = new GetProjectsArgs();
+
+ /**
+ * Used to filter projects by name, Optional
+ *
+ */
+ @Import(name="nameContains")
+ private @Nullable Output nameContains;
+
+ /**
+ * @return Used to filter projects by name, Optional
+ *
+ */
+ public Optional