getMongoDbUserPlain(GetMongoDbUserPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getMongoDbUser:getMongoDbUser", TypeShape.of(GetMongoDbUserResult.class), args, Utilities.withVersion(options));
}
+ /**
+ * Get the details of a public cloud project private network.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.ovh.CloudProject.CloudProjectFunctions;
+ * import com.pulumi.ovh.CloudProject.inputs.GetNetworkPrivateArgs;
+ * 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 privateNetworkPrivate = CloudProjectFunctions.getNetworkPrivate(GetNetworkPrivateArgs.builder()
+ * .serviceName("XXXXXX")
+ * .networkId("XXX")
+ * .build());
+ *
+ * ctx.export("private", privateNetworkPrivate.applyValue(getNetworkPrivateResult -> getNetworkPrivateResult));
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getNetworkPrivate(GetNetworkPrivateArgs args) {
+ return getNetworkPrivate(args, InvokeOptions.Empty);
+ }
+ /**
+ * Get the details of a public cloud project private network.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.ovh.CloudProject.CloudProjectFunctions;
+ * import com.pulumi.ovh.CloudProject.inputs.GetNetworkPrivateArgs;
+ * 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 privateNetworkPrivate = CloudProjectFunctions.getNetworkPrivate(GetNetworkPrivateArgs.builder()
+ * .serviceName("XXXXXX")
+ * .networkId("XXX")
+ * .build());
+ *
+ * ctx.export("private", privateNetworkPrivate.applyValue(getNetworkPrivateResult -> getNetworkPrivateResult));
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static CompletableFuture getNetworkPrivatePlain(GetNetworkPrivatePlainArgs args) {
+ return getNetworkPrivatePlain(args, InvokeOptions.Empty);
+ }
+ /**
+ * Get the details of a public cloud project private network.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.ovh.CloudProject.CloudProjectFunctions;
+ * import com.pulumi.ovh.CloudProject.inputs.GetNetworkPrivateArgs;
+ * 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 privateNetworkPrivate = CloudProjectFunctions.getNetworkPrivate(GetNetworkPrivateArgs.builder()
+ * .serviceName("XXXXXX")
+ * .networkId("XXX")
+ * .build());
+ *
+ * ctx.export("private", privateNetworkPrivate.applyValue(getNetworkPrivateResult -> getNetworkPrivateResult));
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getNetworkPrivate(GetNetworkPrivateArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invoke("ovh:CloudProject/getNetworkPrivate:getNetworkPrivate", TypeShape.of(GetNetworkPrivateResult.class), args, Utilities.withVersion(options));
+ }
+ /**
+ * Get the details of a public cloud project private network.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.ovh.CloudProject.CloudProjectFunctions;
+ * import com.pulumi.ovh.CloudProject.inputs.GetNetworkPrivateArgs;
+ * 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 privateNetworkPrivate = CloudProjectFunctions.getNetworkPrivate(GetNetworkPrivateArgs.builder()
+ * .serviceName("XXXXXX")
+ * .networkId("XXX")
+ * .build());
+ *
+ * ctx.export("private", privateNetworkPrivate.applyValue(getNetworkPrivateResult -> getNetworkPrivateResult));
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static CompletableFuture getNetworkPrivatePlain(GetNetworkPrivatePlainArgs args, InvokeOptions options) {
+ return Deployment.getInstance().invokeAsync("ovh:CloudProject/getNetworkPrivate:getNetworkPrivate", TypeShape.of(GetNetworkPrivateResult.class), args, Utilities.withVersion(options));
+ }
+ /**
+ * List public cloud project subnets of a private network.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *
+ * {@code
+ * package generated_program;
+ *
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.ovh.CloudProject.CloudProjectFunctions;
+ * import com.pulumi.ovh.CloudProject.inputs.GetNetworkPrivateSubnetsArgs;
+ * 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 privateNetworkPrivateSubnets = CloudProjectFunctions.getNetworkPrivateSubnets(GetNetworkPrivateSubnetsArgs.builder()
+ * .serviceName("XXXXXX")
+ * .networkId("XXXXXX")
+ * .build());
+ *
+ * ctx.export("private", privateNetworkPrivateSubnets.applyValue(getNetworkPrivateSubnetsResult -> getNetworkPrivateSubnetsResult));
+ * }
+ * }
+ * }
+ *
+ * <!--End PulumiCodeChooser -->
+ *
+ */
+ public static Output getNetworkPrivateSubnets(GetNetworkPrivateSubnetsArgs args) {
+ return getNetworkPrivateSubnets(args, InvokeOptions.Empty);
+ }
+ /**
+ * List public cloud project subnets of a private network.
+ *
+ * ## Example Usage
+ *
+ * <!--Start PulumiCodeChooser -->
+ *