sdk/java/src/main/java/com/pulumi/ovh/OvhFunctions.java
<filename>sdk/java/src/main/java/com/pulumi/ovh/OvhFunctions.java// *** 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.ovh;

import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import com.pulumi.ovh.Utilities;
import com.pulumi.ovh.inputs.GetServerArgs;
import com.pulumi.ovh.inputs.GetServerPlainArgs;
import com.pulumi.ovh.inputs.GetVrackNetworksArgs;
import com.pulumi.ovh.inputs.GetVrackNetworksPlainArgs;
import com.pulumi.ovh.outputs.GetInstallationTemplatesResult;
import com.pulumi.ovh.outputs.GetServerResult;
import com.pulumi.ovh.outputs.GetServersResult;
import com.pulumi.ovh.outputs.GetVrackNetworksResult;
import com.pulumi.resources.InvokeArgs;
import java.util.concurrent.CompletableFuture;

public final class OvhFunctions {
    /**
     * Use this data source to get the list of installation templates available for dedicated servers.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 templates = OvhFunctions.getInstallationTemplates();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetInstallationTemplatesResult> getInstallationTemplates() {
        return getInstallationTemplates(InvokeArgs.Empty, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of installation templates available for dedicated servers.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 templates = OvhFunctions.getInstallationTemplates();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetInstallationTemplatesResult> getInstallationTemplatesPlain() {
        return getInstallationTemplatesPlain(InvokeArgs.Empty, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of installation templates available for dedicated servers.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 templates = OvhFunctions.getInstallationTemplates();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetInstallationTemplatesResult> getInstallationTemplates(InvokeArgs args) {
        return getInstallationTemplates(args, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of installation templates available for dedicated servers.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 templates = OvhFunctions.getInstallationTemplates();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetInstallationTemplatesResult> getInstallationTemplatesPlain(InvokeArgs args) {
        return getInstallationTemplatesPlain(args, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of installation templates available for dedicated servers.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 templates = OvhFunctions.getInstallationTemplates();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetInstallationTemplatesResult> getInstallationTemplates(InvokeArgs args, InvokeOptions options) {
        return Deployment.getInstance().invoke("ovh:index/getInstallationTemplates:getInstallationTemplates", TypeShape.of(GetInstallationTemplatesResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Use this data source to get the list of installation templates available for dedicated servers.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 templates = OvhFunctions.getInstallationTemplates();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetInstallationTemplatesResult> getInstallationTemplatesPlain(InvokeArgs args, InvokeOptions options) {
        return Deployment.getInstance().invokeAsync("ovh:index/getInstallationTemplates:getInstallationTemplates", TypeShape.of(GetInstallationTemplatesResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Use this data source to retrieve information about a dedicated server associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * import com.pulumi.ovh.inputs.GetServerArgs;
     * 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 server = OvhFunctions.getServer(GetServerArgs.builder()
     *             .serviceName(&#34;XXXXXX&#34;)
     *             .build());
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetServerResult> getServer(GetServerArgs args) {
        return getServer(args, InvokeOptions.Empty);
    }
    /**
     * Use this data source to retrieve information about a dedicated server associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * import com.pulumi.ovh.inputs.GetServerArgs;
     * 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 server = OvhFunctions.getServer(GetServerArgs.builder()
     *             .serviceName(&#34;XXXXXX&#34;)
     *             .build());
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetServerResult> getServerPlain(GetServerPlainArgs args) {
        return getServerPlain(args, InvokeOptions.Empty);
    }
    /**
     * Use this data source to retrieve information about a dedicated server associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * import com.pulumi.ovh.inputs.GetServerArgs;
     * 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 server = OvhFunctions.getServer(GetServerArgs.builder()
     *             .serviceName(&#34;XXXXXX&#34;)
     *             .build());
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetServerResult> getServer(GetServerArgs args, InvokeOptions options) {
        return Deployment.getInstance().invoke("ovh:index/getServer:getServer", TypeShape.of(GetServerResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Use this data source to retrieve information about a dedicated server associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * import com.pulumi.ovh.inputs.GetServerArgs;
     * 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 server = OvhFunctions.getServer(GetServerArgs.builder()
     *             .serviceName(&#34;XXXXXX&#34;)
     *             .build());
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetServerResult> getServerPlain(GetServerPlainArgs args, InvokeOptions options) {
        return Deployment.getInstance().invokeAsync("ovh:index/getServer:getServer", TypeShape.of(GetServerResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Use this data source to get the list of dedicated servers associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 servers = OvhFunctions.getServers();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetServersResult> getServers() {
        return getServers(InvokeArgs.Empty, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of dedicated servers associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 servers = OvhFunctions.getServers();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetServersResult> getServersPlain() {
        return getServersPlain(InvokeArgs.Empty, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of dedicated servers associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 servers = OvhFunctions.getServers();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetServersResult> getServers(InvokeArgs args) {
        return getServers(args, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of dedicated servers associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 servers = OvhFunctions.getServers();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetServersResult> getServersPlain(InvokeArgs args) {
        return getServersPlain(args, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of dedicated servers associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 servers = OvhFunctions.getServers();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetServersResult> getServers(InvokeArgs args, InvokeOptions options) {
        return Deployment.getInstance().invoke("ovh:index/getServers:getServers", TypeShape.of(GetServersResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Use this data source to get the list of dedicated servers associated with your OVHcloud Account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * 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 servers = OvhFunctions.getServers();
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetServersResult> getServersPlain(InvokeArgs args, InvokeOptions options) {
        return Deployment.getInstance().invokeAsync("ovh:index/getServers:getServers", TypeShape.of(GetServersResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Use this data source to get the list of Vrack network ids available for your IPLoadbalancer associated with your OVHcloud account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * import com.pulumi.ovh.inputs.GetVrackNetworksArgs;
     * 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 lbNetworks = OvhFunctions.getVrackNetworks(GetVrackNetworksArgs.builder()
     *             .serviceName(&#34;XXXXXX&#34;)
     *             .subnet(&#34;10.0.0.0/24&#34;)
     *             .build());
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetVrackNetworksResult> getVrackNetworks(GetVrackNetworksArgs args) {
        return getVrackNetworks(args, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of Vrack network ids available for your IPLoadbalancer associated with your OVHcloud account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * import com.pulumi.ovh.inputs.GetVrackNetworksArgs;
     * 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 lbNetworks = OvhFunctions.getVrackNetworks(GetVrackNetworksArgs.builder()
     *             .serviceName(&#34;XXXXXX&#34;)
     *             .subnet(&#34;10.0.0.0/24&#34;)
     *             .build());
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetVrackNetworksResult> getVrackNetworksPlain(GetVrackNetworksPlainArgs args) {
        return getVrackNetworksPlain(args, InvokeOptions.Empty);
    }
    /**
     * Use this data source to get the list of Vrack network ids available for your IPLoadbalancer associated with your OVHcloud account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * import com.pulumi.ovh.inputs.GetVrackNetworksArgs;
     * 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 lbNetworks = OvhFunctions.getVrackNetworks(GetVrackNetworksArgs.builder()
     *             .serviceName(&#34;XXXXXX&#34;)
     *             .subnet(&#34;10.0.0.0/24&#34;)
     *             .build());
     * 
     *     }
     * }
     * ```
     * 
     */
    public static Output<GetVrackNetworksResult> getVrackNetworks(GetVrackNetworksArgs args, InvokeOptions options) {
        return Deployment.getInstance().invoke("ovh:index/getVrackNetworks:getVrackNetworks", TypeShape.of(GetVrackNetworksResult.class), args, Utilities.withVersion(options));
    }
    /**
     * Use this data source to get the list of Vrack network ids available for your IPLoadbalancer associated with your OVHcloud account.
     * 
     * ## Example Usage
     * ```java
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.ovh.OvhFunctions;
     * import com.pulumi.ovh.inputs.GetVrackNetworksArgs;
     * 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 lbNetworks = OvhFunctions.getVrackNetworks(GetVrackNetworksArgs.builder()
     *             .serviceName(&#34;XXXXXX&#34;)
     *             .subnet(&#34;10.0.0.0/24&#34;)
     *             .build());
     * 
     *     }
     * }
     * ```
     * 
     */
    public static CompletableFuture<GetVrackNetworksResult> getVrackNetworksPlain(GetVrackNetworksPlainArgs args, InvokeOptions options) {
        return Deployment.getInstance().invokeAsync("ovh:index/getVrackNetworks:getVrackNetworks", TypeShape.of(GetVrackNetworksResult.class), args, Utilities.withVersion(options));
    }
}
