com.ovhcloud.pulumi.ovh.Dbaas.DbaasFunctions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH resources.
// *** 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.ovhcloud.pulumi.ovh.Dbaas;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsClusterArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsClusterPlainArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsClustersArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsClustersPlainArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionPlainArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsInputEngineArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsInputEnginePlainArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsOutputGraylogStreamArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.inputs.GetLogsOutputGraylogStreamPlainArgs;
import com.ovhcloud.pulumi.ovh.Dbaas.outputs.GetLogsClusterResult;
import com.ovhcloud.pulumi.ovh.Dbaas.outputs.GetLogsClustersResult;
import com.ovhcloud.pulumi.ovh.Dbaas.outputs.GetLogsClustersRetentionResult;
import com.ovhcloud.pulumi.ovh.Dbaas.outputs.GetLogsInputEngineResult;
import com.ovhcloud.pulumi.ovh.Dbaas.outputs.GetLogsOutputGraylogStreamResult;
import com.ovhcloud.pulumi.ovh.Utilities;
import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import java.util.concurrent.CompletableFuture;
public final class DbaasFunctions {
/**
* Use this data source to retrieve informations about a DBaas logs cluster tenant.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClusterArgs;
* 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 logstash = DbaasFunctions.getLogsCluster(GetLogsClusterArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsCluster(GetLogsClusterArgs args) {
return getLogsCluster(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve informations about a DBaas logs cluster tenant.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClusterArgs;
* 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 logstash = DbaasFunctions.getLogsCluster(GetLogsClusterArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsClusterPlain(GetLogsClusterPlainArgs args) {
return getLogsClusterPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve informations about a DBaas logs cluster tenant.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClusterArgs;
* 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 logstash = DbaasFunctions.getLogsCluster(GetLogsClusterArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsCluster(GetLogsClusterArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:Dbaas/getLogsCluster:getLogsCluster", TypeShape.of(GetLogsClusterResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve informations about a DBaas logs cluster tenant.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClusterArgs;
* 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 logstash = DbaasFunctions.getLogsCluster(GetLogsClusterArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsClusterPlain(GetLogsClusterPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:Dbaas/getLogsCluster:getLogsCluster", TypeShape.of(GetLogsClusterResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve UUIDs of DBaas logs clusters.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersArgs;
* 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 logstash = DbaasFunctions.getLogsClusters(GetLogsClustersArgs.builder()
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsClusters(GetLogsClustersArgs args) {
return getLogsClusters(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve UUIDs of DBaas logs clusters.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersArgs;
* 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 logstash = DbaasFunctions.getLogsClusters(GetLogsClustersArgs.builder()
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsClustersPlain(GetLogsClustersPlainArgs args) {
return getLogsClustersPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve UUIDs of DBaas logs clusters.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersArgs;
* 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 logstash = DbaasFunctions.getLogsClusters(GetLogsClustersArgs.builder()
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsClusters(GetLogsClustersArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:Dbaas/getLogsClusters:getLogsClusters", TypeShape.of(GetLogsClustersResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve UUIDs of DBaas logs clusters.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersArgs;
* 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 logstash = DbaasFunctions.getLogsClusters(GetLogsClustersArgs.builder()
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsClustersPlain(GetLogsClustersPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:Dbaas/getLogsClusters:getLogsClusters", TypeShape.of(GetLogsClustersResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve information about a DBaas logs cluster retention.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
* 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 retention = DbaasFunctions.getLogsClustersRetention(GetLogsClustersRetentionArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .retentionId("yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* It is also possible to retrieve a retention using its duration:
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.ovh.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
* 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 retention = DbaasFunctions.getLogsClustersRetention(GetLogsClustersRetentionArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .duration("P14D")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsClustersRetention(GetLogsClustersRetentionArgs args) {
return getLogsClustersRetention(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve information about a DBaas logs cluster retention.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
* 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 retention = DbaasFunctions.getLogsClustersRetention(GetLogsClustersRetentionArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .retentionId("yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* It is also possible to retrieve a retention using its duration:
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.ovh.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
* 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 retention = DbaasFunctions.getLogsClustersRetention(GetLogsClustersRetentionArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .duration("P14D")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsClustersRetentionPlain(GetLogsClustersRetentionPlainArgs args) {
return getLogsClustersRetentionPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve information about a DBaas logs cluster retention.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
* 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 retention = DbaasFunctions.getLogsClustersRetention(GetLogsClustersRetentionArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .retentionId("yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* It is also possible to retrieve a retention using its duration:
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.ovh.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
* 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 retention = DbaasFunctions.getLogsClustersRetention(GetLogsClustersRetentionArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .duration("P14D")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsClustersRetention(GetLogsClustersRetentionArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:Dbaas/getLogsClustersRetention:getLogsClustersRetention", TypeShape.of(GetLogsClustersRetentionResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve information about a DBaas logs cluster retention.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
* 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 retention = DbaasFunctions.getLogsClustersRetention(GetLogsClustersRetentionArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .retentionId("yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* It is also possible to retrieve a retention using its duration:
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.ovh.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
* 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 retention = DbaasFunctions.getLogsClustersRetention(GetLogsClustersRetentionArgs.builder()
* .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
* .duration("P14D")
* .serviceName("ldp-xx-xxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsClustersRetentionPlain(GetLogsClustersRetentionPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:Dbaas/getLogsClustersRetention:getLogsClustersRetention", TypeShape.of(GetLogsClustersRetentionResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve information about a DBaas logs input engine.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsInputEngineArgs;
* 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 logstash = DbaasFunctions.getLogsInputEngine(GetLogsInputEngineArgs.builder()
* .isDeprecated(true)
* .name("logstash")
* .serviceName("ldp-xx-xxxxx")
* .version("6.8")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsInputEngine(GetLogsInputEngineArgs args) {
return getLogsInputEngine(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve information about a DBaas logs input engine.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsInputEngineArgs;
* 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 logstash = DbaasFunctions.getLogsInputEngine(GetLogsInputEngineArgs.builder()
* .isDeprecated(true)
* .name("logstash")
* .serviceName("ldp-xx-xxxxx")
* .version("6.8")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsInputEnginePlain(GetLogsInputEnginePlainArgs args) {
return getLogsInputEnginePlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve information about a DBaas logs input engine.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsInputEngineArgs;
* 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 logstash = DbaasFunctions.getLogsInputEngine(GetLogsInputEngineArgs.builder()
* .isDeprecated(true)
* .name("logstash")
* .serviceName("ldp-xx-xxxxx")
* .version("6.8")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsInputEngine(GetLogsInputEngineArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:Dbaas/getLogsInputEngine:getLogsInputEngine", TypeShape.of(GetLogsInputEngineResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve information about a DBaas logs input engine.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsInputEngineArgs;
* 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 logstash = DbaasFunctions.getLogsInputEngine(GetLogsInputEngineArgs.builder()
* .isDeprecated(true)
* .name("logstash")
* .serviceName("ldp-xx-xxxxx")
* .version("6.8")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsInputEnginePlain(GetLogsInputEnginePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:Dbaas/getLogsInputEngine:getLogsInputEngine", TypeShape.of(GetLogsInputEngineResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve information about a DBaas logs output graylog stream.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsOutputGraylogStreamArgs;
* 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 stream = DbaasFunctions.getLogsOutputGraylogStream(GetLogsOutputGraylogStreamArgs.builder()
* .serviceName("ldp-xx-xxxxx")
* .title("my stream")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsOutputGraylogStream(GetLogsOutputGraylogStreamArgs args) {
return getLogsOutputGraylogStream(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve information about a DBaas logs output graylog stream.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsOutputGraylogStreamArgs;
* 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 stream = DbaasFunctions.getLogsOutputGraylogStream(GetLogsOutputGraylogStreamArgs.builder()
* .serviceName("ldp-xx-xxxxx")
* .title("my stream")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsOutputGraylogStreamPlain(GetLogsOutputGraylogStreamPlainArgs args) {
return getLogsOutputGraylogStreamPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve information about a DBaas logs output graylog stream.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsOutputGraylogStreamArgs;
* 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 stream = DbaasFunctions.getLogsOutputGraylogStream(GetLogsOutputGraylogStreamArgs.builder()
* .serviceName("ldp-xx-xxxxx")
* .title("my stream")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLogsOutputGraylogStream(GetLogsOutputGraylogStreamArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:Dbaas/getLogsOutputGraylogStream:getLogsOutputGraylogStream", TypeShape.of(GetLogsOutputGraylogStreamResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve information about a DBaas logs output graylog stream.
*
* ## 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.Dbaas.DbaasFunctions;
* import com.pulumi.ovh.Dbaas.inputs.GetLogsOutputGraylogStreamArgs;
* 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 stream = DbaasFunctions.getLogsOutputGraylogStream(GetLogsOutputGraylogStreamArgs.builder()
* .serviceName("ldp-xx-xxxxx")
* .title("my stream")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLogsOutputGraylogStreamPlain(GetLogsOutputGraylogStreamPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:Dbaas/getLogsOutputGraylogStream:getLogsOutputGraylogStream", TypeShape.of(GetLogsOutputGraylogStreamResult.class), args, Utilities.withVersion(options));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy