com.ovhcloud.pulumi.ovh.CloudProject.CloudProjectFunctions 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.CloudProject;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetCapabilitiesContainerFilterArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetCapabilitiesContainerFilterPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetCapabilitiesContainerRegistryArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetCapabilitiesContainerRegistryPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistriesArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistriesPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryIPRestrictionsManagementArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryIPRestrictionsManagementPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryIPRestrictionsRegistryArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryIPRestrictionsRegistryPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryOIDCArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryOIDCPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryUsersArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetContainerRegistryUsersPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetFailoverIpAttachArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetFailoverIpAttachPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetGatewayInterfaceArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetGatewayInterfacePlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeIpRestrictionsArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeIpRestrictionsPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeNodePoolArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeNodePoolNodesArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeNodePoolNodesPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeNodePoolPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeNodesArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeNodesPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeOidcArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeOidcPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubePlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetLoadBalancerArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetLoadBalancerPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetLoadBalancersArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetLoadBalancersPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetM3dbNamespaceArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetM3dbNamespacePlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetM3dbNamespacesArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetM3dbNamespacesPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetM3dbUserArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetM3dbUserPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetMongoDbUserArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetMongoDbUserPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetOpenSearchPatternArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetOpenSearchPatternPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetOpenSearchPatternsArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetOpenSearchPatternsPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetOpenSearchUserArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetOpenSearchUserPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRedisUserArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRedisUserPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRegionArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRegionLoadBalancerLogSubscriptionArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRegionLoadBalancerLogSubscriptionPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRegionLoadBalancerLogSubscriptionsArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRegionLoadBalancerLogSubscriptionsPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRegionPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRegionsArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetRegionsPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUserArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUserPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialsArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialsPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUserS3PolicyArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUserS3PolicyPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUsersArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetUsersPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetVRackArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetVRackPlainArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetCapabilitiesContainerFilterResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetCapabilitiesContainerRegistryInvokeResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetContainerRegistriesInvokeResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetContainerRegistryIPRestrictionsManagementResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetContainerRegistryIPRestrictionsRegistryResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetContainerRegistryOIDCResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetContainerRegistryResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetContainerRegistryUsersInvokeResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetFailoverIpAttachResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetGatewayInterfaceResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeIpRestrictionsResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeNodePoolNodesResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeNodePoolResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeNodesResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeOidcResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetLoadBalancerResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetLoadBalancersResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetM3dbNamespaceResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetM3dbNamespacesResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetM3dbUserResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetMongoDbUserResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetOpenSearchPatternResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetOpenSearchPatternsResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetOpenSearchUserResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetRedisUserResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetRegionLoadBalancerLogSubscriptionResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetRegionLoadBalancerLogSubscriptionsResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetRegionResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetRegionsResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetUserResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetUserS3CredentialResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetUserS3CredentialsResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetUserS3PolicyResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetUsersResult;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetVRackResult;
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 CloudProjectFunctions {
/**
* Use this data source to filter the list of container registry capabilities associated with a public cloud project to match one and only one capability.
*
* ## 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.GetCapabilitiesContainerFilterArgs;
* 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 capability = CloudProjectFunctions.getCapabilitiesContainerFilter(GetCapabilitiesContainerFilterArgs.builder()
* .planName("SMALL")
* .region("GRA")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getCapabilitiesContainerFilter(GetCapabilitiesContainerFilterArgs args) {
return getCapabilitiesContainerFilter(args, InvokeOptions.Empty);
}
/**
* Use this data source to filter the list of container registry capabilities associated with a public cloud project to match one and only one capability.
*
* ## 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.GetCapabilitiesContainerFilterArgs;
* 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 capability = CloudProjectFunctions.getCapabilitiesContainerFilter(GetCapabilitiesContainerFilterArgs.builder()
* .planName("SMALL")
* .region("GRA")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getCapabilitiesContainerFilterPlain(GetCapabilitiesContainerFilterPlainArgs args) {
return getCapabilitiesContainerFilterPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to filter the list of container registry capabilities associated with a public cloud project to match one and only one capability.
*
* ## 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.GetCapabilitiesContainerFilterArgs;
* 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 capability = CloudProjectFunctions.getCapabilitiesContainerFilter(GetCapabilitiesContainerFilterArgs.builder()
* .planName("SMALL")
* .region("GRA")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getCapabilitiesContainerFilter(GetCapabilitiesContainerFilterArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getCapabilitiesContainerFilter:getCapabilitiesContainerFilter", TypeShape.of(GetCapabilitiesContainerFilterResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to filter the list of container registry capabilities associated with a public cloud project to match one and only one capability.
*
* ## 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.GetCapabilitiesContainerFilterArgs;
* 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 capability = CloudProjectFunctions.getCapabilitiesContainerFilter(GetCapabilitiesContainerFilterArgs.builder()
* .planName("SMALL")
* .region("GRA")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getCapabilitiesContainerFilterPlain(GetCapabilitiesContainerFilterPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getCapabilitiesContainerFilter:getCapabilitiesContainerFilter", TypeShape.of(GetCapabilitiesContainerFilterResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the container registry capabilities of a public cloud project.
*
* ## 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.GetCapabilitiesContainerRegistryArgs;
* 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 capabilities = CloudProjectFunctions.getCapabilitiesContainerRegistry(GetCapabilitiesContainerRegistryArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getCapabilitiesContainerRegistry(GetCapabilitiesContainerRegistryArgs args) {
return getCapabilitiesContainerRegistry(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the container registry capabilities of a public cloud project.
*
* ## 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.GetCapabilitiesContainerRegistryArgs;
* 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 capabilities = CloudProjectFunctions.getCapabilitiesContainerRegistry(GetCapabilitiesContainerRegistryArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getCapabilitiesContainerRegistryPlain(GetCapabilitiesContainerRegistryPlainArgs args) {
return getCapabilitiesContainerRegistryPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the container registry capabilities of a public cloud project.
*
* ## 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.GetCapabilitiesContainerRegistryArgs;
* 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 capabilities = CloudProjectFunctions.getCapabilitiesContainerRegistry(GetCapabilitiesContainerRegistryArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getCapabilitiesContainerRegistry(GetCapabilitiesContainerRegistryArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getCapabilitiesContainerRegistry:getCapabilitiesContainerRegistry", TypeShape.of(GetCapabilitiesContainerRegistryInvokeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the container registry capabilities of a public cloud project.
*
* ## 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.GetCapabilitiesContainerRegistryArgs;
* 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 capabilities = CloudProjectFunctions.getCapabilitiesContainerRegistry(GetCapabilitiesContainerRegistryArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getCapabilitiesContainerRegistryPlain(GetCapabilitiesContainerRegistryPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getCapabilitiesContainerRegistry:getCapabilitiesContainerRegistry", TypeShape.of(GetCapabilitiesContainerRegistryInvokeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the container registries of a public cloud project.
*
* ## 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.GetContainerRegistriesArgs;
* 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 registries = CloudProjectFunctions.getContainerRegistries(GetContainerRegistriesArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRegistries(GetContainerRegistriesArgs args) {
return getContainerRegistries(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the container registries of a public cloud project.
*
* ## 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.GetContainerRegistriesArgs;
* 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 registries = CloudProjectFunctions.getContainerRegistries(GetContainerRegistriesArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRegistriesPlain(GetContainerRegistriesPlainArgs args) {
return getContainerRegistriesPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the container registries of a public cloud project.
*
* ## 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.GetContainerRegistriesArgs;
* 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 registries = CloudProjectFunctions.getContainerRegistries(GetContainerRegistriesArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRegistries(GetContainerRegistriesArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getContainerRegistries:getContainerRegistries", TypeShape.of(GetContainerRegistriesInvokeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the container registries of a public cloud project.
*
* ## 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.GetContainerRegistriesArgs;
* 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 registries = CloudProjectFunctions.getContainerRegistries(GetContainerRegistriesArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRegistriesPlain(GetContainerRegistriesPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getContainerRegistries:getContainerRegistries", TypeShape.of(GetContainerRegistriesInvokeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a container registry associated with a public cloud project.
*
* ## 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.GetContainerRegistryArgs;
* 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 my-registry = CloudProjectFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRegistry(GetContainerRegistryArgs args) {
return getContainerRegistry(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a container registry associated with a public cloud project.
*
* ## 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.GetContainerRegistryArgs;
* 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 my-registry = CloudProjectFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRegistryPlain(GetContainerRegistryPlainArgs args) {
return getContainerRegistryPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a container registry associated with a public cloud project.
*
* ## 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.GetContainerRegistryArgs;
* 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 my-registry = CloudProjectFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRegistry(GetContainerRegistryArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getContainerRegistry:getContainerRegistry", TypeShape.of(GetContainerRegistryResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a container registry associated with a public cloud project.
*
* ## 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.GetContainerRegistryArgs;
* 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 my-registry = CloudProjectFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRegistryPlain(GetContainerRegistryPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getContainerRegistry:getContainerRegistry", TypeShape.of(GetContainerRegistryResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of Management IP Restrictions of a container registry associated with a public cloud project.
*
*/
public static Output getContainerRegistryIPRestrictionsManagement(GetContainerRegistryIPRestrictionsManagementArgs args) {
return getContainerRegistryIPRestrictionsManagement(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of Management IP Restrictions of a container registry associated with a public cloud project.
*
*/
public static CompletableFuture getContainerRegistryIPRestrictionsManagementPlain(GetContainerRegistryIPRestrictionsManagementPlainArgs args) {
return getContainerRegistryIPRestrictionsManagementPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of Management IP Restrictions of a container registry associated with a public cloud project.
*
*/
public static Output getContainerRegistryIPRestrictionsManagement(GetContainerRegistryIPRestrictionsManagementArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getContainerRegistryIPRestrictionsManagement:getContainerRegistryIPRestrictionsManagement", TypeShape.of(GetContainerRegistryIPRestrictionsManagementResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of Management IP Restrictions of a container registry associated with a public cloud project.
*
*/
public static CompletableFuture getContainerRegistryIPRestrictionsManagementPlain(GetContainerRegistryIPRestrictionsManagementPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getContainerRegistryIPRestrictionsManagement:getContainerRegistryIPRestrictionsManagement", TypeShape.of(GetContainerRegistryIPRestrictionsManagementResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of Registry IP Restrictions of a container registry associated with a public cloud project.
*
*/
public static Output getContainerRegistryIPRestrictionsRegistry(GetContainerRegistryIPRestrictionsRegistryArgs args) {
return getContainerRegistryIPRestrictionsRegistry(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of Registry IP Restrictions of a container registry associated with a public cloud project.
*
*/
public static CompletableFuture getContainerRegistryIPRestrictionsRegistryPlain(GetContainerRegistryIPRestrictionsRegistryPlainArgs args) {
return getContainerRegistryIPRestrictionsRegistryPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of Registry IP Restrictions of a container registry associated with a public cloud project.
*
*/
public static Output getContainerRegistryIPRestrictionsRegistry(GetContainerRegistryIPRestrictionsRegistryArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getContainerRegistryIPRestrictionsRegistry:getContainerRegistryIPRestrictionsRegistry", TypeShape.of(GetContainerRegistryIPRestrictionsRegistryResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of Registry IP Restrictions of a container registry associated with a public cloud project.
*
*/
public static CompletableFuture getContainerRegistryIPRestrictionsRegistryPlain(GetContainerRegistryIPRestrictionsRegistryPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getContainerRegistryIPRestrictionsRegistry:getContainerRegistryIPRestrictionsRegistry", TypeShape.of(GetContainerRegistryIPRestrictionsRegistryResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Private Registry OIDC.
*
* ## 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.GetContainerRegistryOIDCArgs;
* 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 my-oidc = CloudProjectFunctions.getContainerRegistryOIDC(GetContainerRegistryOIDCArgs.builder()
* .serviceName("XXXXXX")
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("oidc-client-id", my_oidc.oidcClientId());
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRegistryOIDC(GetContainerRegistryOIDCArgs args) {
return getContainerRegistryOIDC(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Private Registry OIDC.
*
* ## 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.GetContainerRegistryOIDCArgs;
* 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 my-oidc = CloudProjectFunctions.getContainerRegistryOIDC(GetContainerRegistryOIDCArgs.builder()
* .serviceName("XXXXXX")
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("oidc-client-id", my_oidc.oidcClientId());
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRegistryOIDCPlain(GetContainerRegistryOIDCPlainArgs args) {
return getContainerRegistryOIDCPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Private Registry OIDC.
*
* ## 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.GetContainerRegistryOIDCArgs;
* 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 my-oidc = CloudProjectFunctions.getContainerRegistryOIDC(GetContainerRegistryOIDCArgs.builder()
* .serviceName("XXXXXX")
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("oidc-client-id", my_oidc.oidcClientId());
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRegistryOIDC(GetContainerRegistryOIDCArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getContainerRegistryOIDC:getContainerRegistryOIDC", TypeShape.of(GetContainerRegistryOIDCResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Private Registry OIDC.
*
* ## 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.GetContainerRegistryOIDCArgs;
* 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 my-oidc = CloudProjectFunctions.getContainerRegistryOIDC(GetContainerRegistryOIDCArgs.builder()
* .serviceName("XXXXXX")
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("oidc-client-id", my_oidc.oidcClientId());
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRegistryOIDCPlain(GetContainerRegistryOIDCPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getContainerRegistryOIDC:getContainerRegistryOIDC", TypeShape.of(GetContainerRegistryOIDCResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of users of a container registry associated with a public cloud project.
*
* ## 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.GetContainerRegistryArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetContainerRegistryUsersArgs;
* 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 my-registry = CloudProjectFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()
* .serviceName("XXXXXX")
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* final var users = CloudProjectFunctions.getContainerRegistryUsers(GetContainerRegistryUsersArgs.builder()
* .serviceName(ovh_cloud_project_containerregistry.registry().service_name())
* .registryId(ovh_cloud_project_containerregistry.registry().id())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRegistryUsers(GetContainerRegistryUsersArgs args) {
return getContainerRegistryUsers(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of users of a container registry associated with a public cloud project.
*
* ## 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.GetContainerRegistryArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetContainerRegistryUsersArgs;
* 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 my-registry = CloudProjectFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()
* .serviceName("XXXXXX")
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* final var users = CloudProjectFunctions.getContainerRegistryUsers(GetContainerRegistryUsersArgs.builder()
* .serviceName(ovh_cloud_project_containerregistry.registry().service_name())
* .registryId(ovh_cloud_project_containerregistry.registry().id())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRegistryUsersPlain(GetContainerRegistryUsersPlainArgs args) {
return getContainerRegistryUsersPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of users of a container registry associated with a public cloud project.
*
* ## 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.GetContainerRegistryArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetContainerRegistryUsersArgs;
* 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 my-registry = CloudProjectFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()
* .serviceName("XXXXXX")
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* final var users = CloudProjectFunctions.getContainerRegistryUsers(GetContainerRegistryUsersArgs.builder()
* .serviceName(ovh_cloud_project_containerregistry.registry().service_name())
* .registryId(ovh_cloud_project_containerregistry.registry().id())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getContainerRegistryUsers(GetContainerRegistryUsersArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getContainerRegistryUsers:getContainerRegistryUsers", TypeShape.of(GetContainerRegistryUsersInvokeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of users of a container registry associated with a public cloud project.
*
* ## 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.GetContainerRegistryArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetContainerRegistryUsersArgs;
* 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 my-registry = CloudProjectFunctions.getContainerRegistry(GetContainerRegistryArgs.builder()
* .serviceName("XXXXXX")
* .registryId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* final var users = CloudProjectFunctions.getContainerRegistryUsers(GetContainerRegistryUsersArgs.builder()
* .serviceName(ovh_cloud_project_containerregistry.registry().service_name())
* .registryId(ovh_cloud_project_containerregistry.registry().id())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getContainerRegistryUsersPlain(GetContainerRegistryUsersPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getContainerRegistryUsers:getContainerRegistryUsers", TypeShape.of(GetContainerRegistryUsersInvokeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the details of a failover IP address of a service in a public cloud project.
*
* ## 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.GetFailoverIpAttachArgs;
* 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 myfailoverip = CloudProjectFunctions.getFailoverIpAttach(GetFailoverIpAttachArgs.builder()
* .ip("XXXXXX")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFailoverIpAttach(GetFailoverIpAttachArgs args) {
return getFailoverIpAttach(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the details of a failover IP address of a service in a public cloud project.
*
* ## 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.GetFailoverIpAttachArgs;
* 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 myfailoverip = CloudProjectFunctions.getFailoverIpAttach(GetFailoverIpAttachArgs.builder()
* .ip("XXXXXX")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFailoverIpAttachPlain(GetFailoverIpAttachPlainArgs args) {
return getFailoverIpAttachPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the details of a failover IP address of a service in a public cloud project.
*
* ## 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.GetFailoverIpAttachArgs;
* 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 myfailoverip = CloudProjectFunctions.getFailoverIpAttach(GetFailoverIpAttachArgs.builder()
* .ip("XXXXXX")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFailoverIpAttach(GetFailoverIpAttachArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getFailoverIpAttach:getFailoverIpAttach", TypeShape.of(GetFailoverIpAttachResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the details of a failover IP address of a service in a public cloud project.
*
* ## 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.GetFailoverIpAttachArgs;
* 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 myfailoverip = CloudProjectFunctions.getFailoverIpAttach(GetFailoverIpAttachArgs.builder()
* .ip("XXXXXX")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFailoverIpAttachPlain(GetFailoverIpAttachPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getFailoverIpAttach:getFailoverIpAttach", TypeShape.of(GetFailoverIpAttachResult.class), args, Utilities.withVersion(options));
}
/**
* Use this datasource to get a public cloud project Gateway Interface.
*
* ## 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.GetGatewayInterfaceArgs;
* 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 interface = CloudProjectFunctions.getGatewayInterface(GetGatewayInterfaceArgs.builder()
* .id("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .interfaceId("yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy")
* .region("GRA11")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getGatewayInterface(GetGatewayInterfaceArgs args) {
return getGatewayInterface(args, InvokeOptions.Empty);
}
/**
* Use this datasource to get a public cloud project Gateway Interface.
*
* ## 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.GetGatewayInterfaceArgs;
* 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 interface = CloudProjectFunctions.getGatewayInterface(GetGatewayInterfaceArgs.builder()
* .id("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .interfaceId("yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy")
* .region("GRA11")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getGatewayInterfacePlain(GetGatewayInterfacePlainArgs args) {
return getGatewayInterfacePlain(args, InvokeOptions.Empty);
}
/**
* Use this datasource to get a public cloud project Gateway Interface.
*
* ## 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.GetGatewayInterfaceArgs;
* 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 interface = CloudProjectFunctions.getGatewayInterface(GetGatewayInterfaceArgs.builder()
* .id("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .interfaceId("yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy")
* .region("GRA11")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getGatewayInterface(GetGatewayInterfaceArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getGatewayInterface:getGatewayInterface", TypeShape.of(GetGatewayInterfaceResult.class), args, Utilities.withVersion(options));
}
/**
* Use this datasource to get a public cloud project Gateway Interface.
*
* ## 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.GetGatewayInterfaceArgs;
* 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 interface = CloudProjectFunctions.getGatewayInterface(GetGatewayInterfaceArgs.builder()
* .id("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .interfaceId("yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyy")
* .region("GRA11")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getGatewayInterfacePlain(GetGatewayInterfacePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getGatewayInterface:getGatewayInterface", TypeShape.of(GetGatewayInterfaceResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster.
*
* ## 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.GetKubeArgs;
* 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 myKubeCluster = CloudProjectFunctions.getKube(GetKubeArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("version", myKubeCluster.applyValue(getKubeResult -> getKubeResult.version()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKube(GetKubeArgs args) {
return getKube(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster.
*
* ## 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.GetKubeArgs;
* 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 myKubeCluster = CloudProjectFunctions.getKube(GetKubeArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("version", myKubeCluster.applyValue(getKubeResult -> getKubeResult.version()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubePlain(GetKubePlainArgs args) {
return getKubePlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster.
*
* ## 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.GetKubeArgs;
* 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 myKubeCluster = CloudProjectFunctions.getKube(GetKubeArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("version", myKubeCluster.applyValue(getKubeResult -> getKubeResult.version()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKube(GetKubeArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getKube:getKube", TypeShape.of(GetKubeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster.
*
* ## 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.GetKubeArgs;
* 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 myKubeCluster = CloudProjectFunctions.getKube(GetKubeArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("version", myKubeCluster.applyValue(getKubeResult -> getKubeResult.version()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubePlain(GetKubePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getKube:getKube", TypeShape.of(GetKubeResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster IP restrictions.
*
* ## 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.GetKubeIpRestrictionsArgs;
* 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 iprestrictions = CloudProjectFunctions.getKubeIpRestrictions(GetKubeIpRestrictionsArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("ips", iprestrictions.applyValue(getKubeIpRestrictionsResult -> getKubeIpRestrictionsResult.ips()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeIpRestrictions(GetKubeIpRestrictionsArgs args) {
return getKubeIpRestrictions(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster IP restrictions.
*
* ## 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.GetKubeIpRestrictionsArgs;
* 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 iprestrictions = CloudProjectFunctions.getKubeIpRestrictions(GetKubeIpRestrictionsArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("ips", iprestrictions.applyValue(getKubeIpRestrictionsResult -> getKubeIpRestrictionsResult.ips()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeIpRestrictionsPlain(GetKubeIpRestrictionsPlainArgs args) {
return getKubeIpRestrictionsPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster IP restrictions.
*
* ## 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.GetKubeIpRestrictionsArgs;
* 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 iprestrictions = CloudProjectFunctions.getKubeIpRestrictions(GetKubeIpRestrictionsArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("ips", iprestrictions.applyValue(getKubeIpRestrictionsResult -> getKubeIpRestrictionsResult.ips()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeIpRestrictions(GetKubeIpRestrictionsArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getKubeIpRestrictions:getKubeIpRestrictions", TypeShape.of(GetKubeIpRestrictionsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster IP restrictions.
*
* ## 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.GetKubeIpRestrictionsArgs;
* 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 iprestrictions = CloudProjectFunctions.getKubeIpRestrictions(GetKubeIpRestrictionsArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("ips", iprestrictions.applyValue(getKubeIpRestrictionsResult -> getKubeIpRestrictionsResult.ips()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeIpRestrictionsPlain(GetKubeIpRestrictionsPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getKubeIpRestrictions:getKubeIpRestrictions", TypeShape.of(GetKubeIpRestrictionsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes node pool.
*
* ## 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.GetKubeNodePoolArgs;
* 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 nodepool = CloudProjectFunctions.getKubeNodePool(GetKubeNodePoolArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .name("xxxxxx")
* .build());
*
* ctx.export("maxNodes", nodepool.applyValue(getKubeNodePoolResult -> getKubeNodePoolResult.maxNodes()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeNodePool(GetKubeNodePoolArgs args) {
return getKubeNodePool(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes node pool.
*
* ## 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.GetKubeNodePoolArgs;
* 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 nodepool = CloudProjectFunctions.getKubeNodePool(GetKubeNodePoolArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .name("xxxxxx")
* .build());
*
* ctx.export("maxNodes", nodepool.applyValue(getKubeNodePoolResult -> getKubeNodePoolResult.maxNodes()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeNodePoolPlain(GetKubeNodePoolPlainArgs args) {
return getKubeNodePoolPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes node pool.
*
* ## 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.GetKubeNodePoolArgs;
* 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 nodepool = CloudProjectFunctions.getKubeNodePool(GetKubeNodePoolArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .name("xxxxxx")
* .build());
*
* ctx.export("maxNodes", nodepool.applyValue(getKubeNodePoolResult -> getKubeNodePoolResult.maxNodes()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeNodePool(GetKubeNodePoolArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getKubeNodePool:getKubeNodePool", TypeShape.of(GetKubeNodePoolResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes node pool.
*
* ## 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.GetKubeNodePoolArgs;
* 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 nodepool = CloudProjectFunctions.getKubeNodePool(GetKubeNodePoolArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .name("xxxxxx")
* .build());
*
* ctx.export("maxNodes", nodepool.applyValue(getKubeNodePoolResult -> getKubeNodePoolResult.maxNodes()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeNodePoolPlain(GetKubeNodePoolPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getKubeNodePool:getKubeNodePool", TypeShape.of(GetKubeNodePoolResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a list of OVHcloud Managed Kubernetes nodes in a specific node pool.
*
* ## 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.GetKubeNodePoolNodesArgs;
* 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 nodesKubeNodePoolNodes = CloudProjectFunctions.getKubeNodePoolNodes(GetKubeNodePoolNodesArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .name("XXXXXX")
* .build());
*
* ctx.export("nodes", nodesKubeNodePoolNodes.applyValue(getKubeNodePoolNodesResult -> getKubeNodePoolNodesResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeNodePoolNodes(GetKubeNodePoolNodesArgs args) {
return getKubeNodePoolNodes(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a list of OVHcloud Managed Kubernetes nodes in a specific node pool.
*
* ## 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.GetKubeNodePoolNodesArgs;
* 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 nodesKubeNodePoolNodes = CloudProjectFunctions.getKubeNodePoolNodes(GetKubeNodePoolNodesArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .name("XXXXXX")
* .build());
*
* ctx.export("nodes", nodesKubeNodePoolNodes.applyValue(getKubeNodePoolNodesResult -> getKubeNodePoolNodesResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeNodePoolNodesPlain(GetKubeNodePoolNodesPlainArgs args) {
return getKubeNodePoolNodesPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a list of OVHcloud Managed Kubernetes nodes in a specific node pool.
*
* ## 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.GetKubeNodePoolNodesArgs;
* 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 nodesKubeNodePoolNodes = CloudProjectFunctions.getKubeNodePoolNodes(GetKubeNodePoolNodesArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .name("XXXXXX")
* .build());
*
* ctx.export("nodes", nodesKubeNodePoolNodes.applyValue(getKubeNodePoolNodesResult -> getKubeNodePoolNodesResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeNodePoolNodes(GetKubeNodePoolNodesArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getKubeNodePoolNodes:getKubeNodePoolNodes", TypeShape.of(GetKubeNodePoolNodesResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a list of OVHcloud Managed Kubernetes nodes in a specific node pool.
*
* ## 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.GetKubeNodePoolNodesArgs;
* 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 nodesKubeNodePoolNodes = CloudProjectFunctions.getKubeNodePoolNodes(GetKubeNodePoolNodesArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .name("XXXXXX")
* .build());
*
* ctx.export("nodes", nodesKubeNodePoolNodes.applyValue(getKubeNodePoolNodesResult -> getKubeNodePoolNodesResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeNodePoolNodesPlain(GetKubeNodePoolNodesPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getKubeNodePoolNodes:getKubeNodePoolNodes", TypeShape.of(GetKubeNodePoolNodesResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a list of OVHcloud Managed Kubernetes nodes.
*
* ## 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.GetKubeNodesArgs;
* 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 nodesKubeNodes = CloudProjectFunctions.getKubeNodes(GetKubeNodesArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .build());
*
* ctx.export("nodes", nodesKubeNodes.applyValue(getKubeNodesResult -> getKubeNodesResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeNodes(GetKubeNodesArgs args) {
return getKubeNodes(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a list of OVHcloud Managed Kubernetes nodes.
*
* ## 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.GetKubeNodesArgs;
* 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 nodesKubeNodes = CloudProjectFunctions.getKubeNodes(GetKubeNodesArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .build());
*
* ctx.export("nodes", nodesKubeNodes.applyValue(getKubeNodesResult -> getKubeNodesResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeNodesPlain(GetKubeNodesPlainArgs args) {
return getKubeNodesPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a list of OVHcloud Managed Kubernetes nodes.
*
* ## 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.GetKubeNodesArgs;
* 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 nodesKubeNodes = CloudProjectFunctions.getKubeNodes(GetKubeNodesArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .build());
*
* ctx.export("nodes", nodesKubeNodes.applyValue(getKubeNodesResult -> getKubeNodesResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeNodes(GetKubeNodesArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getKubeNodes:getKubeNodes", TypeShape.of(GetKubeNodesResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a list of OVHcloud Managed Kubernetes nodes.
*
* ## 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.GetKubeNodesArgs;
* 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 nodesKubeNodes = CloudProjectFunctions.getKubeNodes(GetKubeNodesArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx")
* .build());
*
* ctx.export("nodes", nodesKubeNodes.applyValue(getKubeNodesResult -> getKubeNodesResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeNodesPlain(GetKubeNodesPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getKubeNodes:getKubeNodes", TypeShape.of(GetKubeNodesResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster OIDC.
*
* ## 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.GetKubeOidcArgs;
* 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 oidc = CloudProjectFunctions.getKubeOidc(GetKubeOidcArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("oidc-val", oidc.applyValue(getKubeOidcResult -> getKubeOidcResult.clientId()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeOidc(GetKubeOidcArgs args) {
return getKubeOidc(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster OIDC.
*
* ## 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.GetKubeOidcArgs;
* 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 oidc = CloudProjectFunctions.getKubeOidc(GetKubeOidcArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("oidc-val", oidc.applyValue(getKubeOidcResult -> getKubeOidcResult.clientId()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeOidcPlain(GetKubeOidcPlainArgs args) {
return getKubeOidcPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster OIDC.
*
* ## 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.GetKubeOidcArgs;
* 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 oidc = CloudProjectFunctions.getKubeOidc(GetKubeOidcArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("oidc-val", oidc.applyValue(getKubeOidcResult -> getKubeOidcResult.clientId()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getKubeOidc(GetKubeOidcArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getKubeOidc:getKubeOidc", TypeShape.of(GetKubeOidcResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get a OVHcloud Managed Kubernetes Service cluster OIDC.
*
* ## 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.GetKubeOidcArgs;
* 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 oidc = CloudProjectFunctions.getKubeOidc(GetKubeOidcArgs.builder()
* .serviceName("XXXXXX")
* .kubeId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx")
* .build());
*
* ctx.export("oidc-val", oidc.applyValue(getKubeOidcResult -> getKubeOidcResult.clientId()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getKubeOidcPlain(GetKubeOidcPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getKubeOidc:getKubeOidc", TypeShape.of(GetKubeOidcResult.class), args, Utilities.withVersion(options));
}
/**
* Get the details of a public cloud project loadbalancer.
*
* ## 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.GetLoadBalancerArgs;
* 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 lbLoadBalancer = CloudProjectFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
* .serviceName("XXXXXX")
* .regionName("XXX")
* .id("XXX")
* .build());
*
* ctx.export("lb", lbLoadBalancer.applyValue(getLoadBalancerResult -> getLoadBalancerResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLoadBalancer(GetLoadBalancerArgs args) {
return getLoadBalancer(args, InvokeOptions.Empty);
}
/**
* Get the details of a public cloud project loadbalancer.
*
* ## 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.GetLoadBalancerArgs;
* 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 lbLoadBalancer = CloudProjectFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
* .serviceName("XXXXXX")
* .regionName("XXX")
* .id("XXX")
* .build());
*
* ctx.export("lb", lbLoadBalancer.applyValue(getLoadBalancerResult -> getLoadBalancerResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLoadBalancerPlain(GetLoadBalancerPlainArgs args) {
return getLoadBalancerPlain(args, InvokeOptions.Empty);
}
/**
* Get the details of a public cloud project loadbalancer.
*
* ## 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.GetLoadBalancerArgs;
* 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 lbLoadBalancer = CloudProjectFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
* .serviceName("XXXXXX")
* .regionName("XXX")
* .id("XXX")
* .build());
*
* ctx.export("lb", lbLoadBalancer.applyValue(getLoadBalancerResult -> getLoadBalancerResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLoadBalancer(GetLoadBalancerArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getLoadBalancer:getLoadBalancer", TypeShape.of(GetLoadBalancerResult.class), args, Utilities.withVersion(options));
}
/**
* Get the details of a public cloud project loadbalancer.
*
* ## 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.GetLoadBalancerArgs;
* 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 lbLoadBalancer = CloudProjectFunctions.getLoadBalancer(GetLoadBalancerArgs.builder()
* .serviceName("XXXXXX")
* .regionName("XXX")
* .id("XXX")
* .build());
*
* ctx.export("lb", lbLoadBalancer.applyValue(getLoadBalancerResult -> getLoadBalancerResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLoadBalancerPlain(GetLoadBalancerPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getLoadBalancer:getLoadBalancer", TypeShape.of(GetLoadBalancerResult.class), args, Utilities.withVersion(options));
}
/**
* List your public cloud loadbalancers.
*
* ## 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.GetLoadBalancersArgs;
* 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 lbsLoadBalancers = CloudProjectFunctions.getLoadBalancers(GetLoadBalancersArgs.builder()
* .serviceName("XXXXXX")
* .regionName("XXX")
* .build());
*
* ctx.export("lbs", lbsLoadBalancers.applyValue(getLoadBalancersResult -> getLoadBalancersResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLoadBalancers(GetLoadBalancersArgs args) {
return getLoadBalancers(args, InvokeOptions.Empty);
}
/**
* List your public cloud loadbalancers.
*
* ## 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.GetLoadBalancersArgs;
* 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 lbsLoadBalancers = CloudProjectFunctions.getLoadBalancers(GetLoadBalancersArgs.builder()
* .serviceName("XXXXXX")
* .regionName("XXX")
* .build());
*
* ctx.export("lbs", lbsLoadBalancers.applyValue(getLoadBalancersResult -> getLoadBalancersResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLoadBalancersPlain(GetLoadBalancersPlainArgs args) {
return getLoadBalancersPlain(args, InvokeOptions.Empty);
}
/**
* List your public cloud loadbalancers.
*
* ## 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.GetLoadBalancersArgs;
* 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 lbsLoadBalancers = CloudProjectFunctions.getLoadBalancers(GetLoadBalancersArgs.builder()
* .serviceName("XXXXXX")
* .regionName("XXX")
* .build());
*
* ctx.export("lbs", lbsLoadBalancers.applyValue(getLoadBalancersResult -> getLoadBalancersResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getLoadBalancers(GetLoadBalancersArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getLoadBalancers:getLoadBalancers", TypeShape.of(GetLoadBalancersResult.class), args, Utilities.withVersion(options));
}
/**
* List your public cloud loadbalancers.
*
* ## 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.GetLoadBalancersArgs;
* 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 lbsLoadBalancers = CloudProjectFunctions.getLoadBalancers(GetLoadBalancersArgs.builder()
* .serviceName("XXXXXX")
* .regionName("XXX")
* .build());
*
* ctx.export("lbs", lbsLoadBalancers.applyValue(getLoadBalancersResult -> getLoadBalancersResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getLoadBalancersPlain(GetLoadBalancersPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getLoadBalancers:getLoadBalancers", TypeShape.of(GetLoadBalancersResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a namespace of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbNamespaceArgs;
* 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 m3dbnamespace = CloudProjectFunctions.getM3dbNamespace(GetM3dbNamespaceArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("m3dbnamespaceType", m3dbnamespace.applyValue(getM3dbNamespaceResult -> getM3dbNamespaceResult.type()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getM3dbNamespace(GetM3dbNamespaceArgs args) {
return getM3dbNamespace(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a namespace of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbNamespaceArgs;
* 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 m3dbnamespace = CloudProjectFunctions.getM3dbNamespace(GetM3dbNamespaceArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("m3dbnamespaceType", m3dbnamespace.applyValue(getM3dbNamespaceResult -> getM3dbNamespaceResult.type()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getM3dbNamespacePlain(GetM3dbNamespacePlainArgs args) {
return getM3dbNamespacePlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a namespace of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbNamespaceArgs;
* 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 m3dbnamespace = CloudProjectFunctions.getM3dbNamespace(GetM3dbNamespaceArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("m3dbnamespaceType", m3dbnamespace.applyValue(getM3dbNamespaceResult -> getM3dbNamespaceResult.type()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getM3dbNamespace(GetM3dbNamespaceArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getM3dbNamespace:getM3dbNamespace", TypeShape.of(GetM3dbNamespaceResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a namespace of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbNamespaceArgs;
* 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 m3dbnamespace = CloudProjectFunctions.getM3dbNamespace(GetM3dbNamespaceArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("m3dbnamespaceType", m3dbnamespace.applyValue(getM3dbNamespaceResult -> getM3dbNamespaceResult.type()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getM3dbNamespacePlain(GetM3dbNamespacePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getM3dbNamespace:getM3dbNamespace", TypeShape.of(GetM3dbNamespaceResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of namespaces of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbNamespacesArgs;
* 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 namespaces = CloudProjectFunctions.getM3dbNamespaces(GetM3dbNamespacesArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .build());
*
* ctx.export("namespaceIds", namespaces.applyValue(getM3dbNamespacesResult -> getM3dbNamespacesResult.namespaceIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getM3dbNamespaces(GetM3dbNamespacesArgs args) {
return getM3dbNamespaces(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of namespaces of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbNamespacesArgs;
* 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 namespaces = CloudProjectFunctions.getM3dbNamespaces(GetM3dbNamespacesArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .build());
*
* ctx.export("namespaceIds", namespaces.applyValue(getM3dbNamespacesResult -> getM3dbNamespacesResult.namespaceIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getM3dbNamespacesPlain(GetM3dbNamespacesPlainArgs args) {
return getM3dbNamespacesPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of namespaces of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbNamespacesArgs;
* 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 namespaces = CloudProjectFunctions.getM3dbNamespaces(GetM3dbNamespacesArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .build());
*
* ctx.export("namespaceIds", namespaces.applyValue(getM3dbNamespacesResult -> getM3dbNamespacesResult.namespaceIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getM3dbNamespaces(GetM3dbNamespacesArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getM3dbNamespaces:getM3dbNamespaces", TypeShape.of(GetM3dbNamespacesResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of namespaces of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbNamespacesArgs;
* 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 namespaces = CloudProjectFunctions.getM3dbNamespaces(GetM3dbNamespacesArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .build());
*
* ctx.export("namespaceIds", namespaces.applyValue(getM3dbNamespacesResult -> getM3dbNamespacesResult.namespaceIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getM3dbNamespacesPlain(GetM3dbNamespacesPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getM3dbNamespaces:getM3dbNamespaces", TypeShape.of(GetM3dbNamespacesResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a user of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbUserArgs;
* 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 m3dbuser = CloudProjectFunctions.getM3dbUser(GetM3dbUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("m3dbuserGroup", m3dbuser.applyValue(getM3dbUserResult -> getM3dbUserResult.group()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getM3dbUser(GetM3dbUserArgs args) {
return getM3dbUser(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a user of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbUserArgs;
* 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 m3dbuser = CloudProjectFunctions.getM3dbUser(GetM3dbUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("m3dbuserGroup", m3dbuser.applyValue(getM3dbUserResult -> getM3dbUserResult.group()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getM3dbUserPlain(GetM3dbUserPlainArgs args) {
return getM3dbUserPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a user of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbUserArgs;
* 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 m3dbuser = CloudProjectFunctions.getM3dbUser(GetM3dbUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("m3dbuserGroup", m3dbuser.applyValue(getM3dbUserResult -> getM3dbUserResult.group()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getM3dbUser(GetM3dbUserArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getM3dbUser:getM3dbUser", TypeShape.of(GetM3dbUserResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a user of a M3DB cluster associated with a public cloud project.
*
* ## 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.GetM3dbUserArgs;
* 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 m3dbuser = CloudProjectFunctions.getM3dbUser(GetM3dbUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("m3dbuserGroup", m3dbuser.applyValue(getM3dbUserResult -> getM3dbUserResult.group()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getM3dbUserPlain(GetM3dbUserPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getM3dbUser:getM3dbUser", TypeShape.of(GetM3dbUserResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a user of a mongodb cluster associated with a public cloud project.
*
* ## 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.GetMongoDbUserArgs;
* 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 }{{@code
* public static void main(String[] args) }{{@code
* Pulumi.run(App::stack);
* }}{@code
*
* public static void stack(Context ctx) }{{@code
* final var mongouser = CloudProjectFunctions.getMongoDbUser(GetMongoDbUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ}{@literal @}{@code admin")
* .build());
*
* ctx.export("mongouserRoles", mongouser.applyValue(getMongoDbUserResult -> getMongoDbUserResult.roles()));
* }}{@code
* }}{@code
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getMongoDbUser(GetMongoDbUserArgs args) {
return getMongoDbUser(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a user of a mongodb cluster associated with a public cloud project.
*
* ## 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.GetMongoDbUserArgs;
* 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 }{{@code
* public static void main(String[] args) }{{@code
* Pulumi.run(App::stack);
* }}{@code
*
* public static void stack(Context ctx) }{{@code
* final var mongouser = CloudProjectFunctions.getMongoDbUser(GetMongoDbUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ}{@literal @}{@code admin")
* .build());
*
* ctx.export("mongouserRoles", mongouser.applyValue(getMongoDbUserResult -> getMongoDbUserResult.roles()));
* }}{@code
* }}{@code
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getMongoDbUserPlain(GetMongoDbUserPlainArgs args) {
return getMongoDbUserPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a user of a mongodb cluster associated with a public cloud project.
*
* ## 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.GetMongoDbUserArgs;
* 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 }{{@code
* public static void main(String[] args) }{{@code
* Pulumi.run(App::stack);
* }}{@code
*
* public static void stack(Context ctx) }{{@code
* final var mongouser = CloudProjectFunctions.getMongoDbUser(GetMongoDbUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ}{@literal @}{@code admin")
* .build());
*
* ctx.export("mongouserRoles", mongouser.applyValue(getMongoDbUserResult -> getMongoDbUserResult.roles()));
* }}{@code
* }}{@code
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getMongoDbUser(GetMongoDbUserArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getMongoDbUser:getMongoDbUser", TypeShape.of(GetMongoDbUserResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a user of a mongodb cluster associated with a public cloud project.
*
* ## 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.GetMongoDbUserArgs;
* 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 }{{@code
* public static void main(String[] args) }{{@code
* Pulumi.run(App::stack);
* }}{@code
*
* public static void stack(Context ctx) }{{@code
* final var mongouser = CloudProjectFunctions.getMongoDbUser(GetMongoDbUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ}{@literal @}{@code admin")
* .build());
*
* ctx.export("mongouserRoles", mongouser.applyValue(getMongoDbUserResult -> getMongoDbUserResult.roles()));
* }}{@code
* }}{@code
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getMongoDbUserPlain(GetMongoDbUserPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getMongoDbUser:getMongoDbUser", TypeShape.of(GetMongoDbUserResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a pattern of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchPatternArgs;
* 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 pattern = CloudProjectFunctions.getOpenSearchPattern(GetOpenSearchPatternArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .id("ZZZ")
* .build());
*
* ctx.export("patternPattern", pattern.applyValue(getOpenSearchPatternResult -> getOpenSearchPatternResult.pattern()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getOpenSearchPattern(GetOpenSearchPatternArgs args) {
return getOpenSearchPattern(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a pattern of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchPatternArgs;
* 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 pattern = CloudProjectFunctions.getOpenSearchPattern(GetOpenSearchPatternArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .id("ZZZ")
* .build());
*
* ctx.export("patternPattern", pattern.applyValue(getOpenSearchPatternResult -> getOpenSearchPatternResult.pattern()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getOpenSearchPatternPlain(GetOpenSearchPatternPlainArgs args) {
return getOpenSearchPatternPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a pattern of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchPatternArgs;
* 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 pattern = CloudProjectFunctions.getOpenSearchPattern(GetOpenSearchPatternArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .id("ZZZ")
* .build());
*
* ctx.export("patternPattern", pattern.applyValue(getOpenSearchPatternResult -> getOpenSearchPatternResult.pattern()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getOpenSearchPattern(GetOpenSearchPatternArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getOpenSearchPattern:getOpenSearchPattern", TypeShape.of(GetOpenSearchPatternResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a pattern of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchPatternArgs;
* 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 pattern = CloudProjectFunctions.getOpenSearchPattern(GetOpenSearchPatternArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .id("ZZZ")
* .build());
*
* ctx.export("patternPattern", pattern.applyValue(getOpenSearchPatternResult -> getOpenSearchPatternResult.pattern()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getOpenSearchPatternPlain(GetOpenSearchPatternPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getOpenSearchPattern:getOpenSearchPattern", TypeShape.of(GetOpenSearchPatternResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of pattern of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchPatternsArgs;
* 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 patterns = CloudProjectFunctions.getOpenSearchPatterns(GetOpenSearchPatternsArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .build());
*
* ctx.export("patternIds", patterns.applyValue(getOpenSearchPatternsResult -> getOpenSearchPatternsResult.patternIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getOpenSearchPatterns(GetOpenSearchPatternsArgs args) {
return getOpenSearchPatterns(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of pattern of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchPatternsArgs;
* 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 patterns = CloudProjectFunctions.getOpenSearchPatterns(GetOpenSearchPatternsArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .build());
*
* ctx.export("patternIds", patterns.applyValue(getOpenSearchPatternsResult -> getOpenSearchPatternsResult.patternIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getOpenSearchPatternsPlain(GetOpenSearchPatternsPlainArgs args) {
return getOpenSearchPatternsPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the list of pattern of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchPatternsArgs;
* 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 patterns = CloudProjectFunctions.getOpenSearchPatterns(GetOpenSearchPatternsArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .build());
*
* ctx.export("patternIds", patterns.applyValue(getOpenSearchPatternsResult -> getOpenSearchPatternsResult.patternIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getOpenSearchPatterns(GetOpenSearchPatternsArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getOpenSearchPatterns:getOpenSearchPatterns", TypeShape.of(GetOpenSearchPatternsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the list of pattern of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchPatternsArgs;
* 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 patterns = CloudProjectFunctions.getOpenSearchPatterns(GetOpenSearchPatternsArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .build());
*
* ctx.export("patternIds", patterns.applyValue(getOpenSearchPatternsResult -> getOpenSearchPatternsResult.patternIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getOpenSearchPatternsPlain(GetOpenSearchPatternsPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getOpenSearchPatterns:getOpenSearchPatterns", TypeShape.of(GetOpenSearchPatternsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a user of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchUserArgs;
* 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 osuser = CloudProjectFunctions.getOpenSearchUser(GetOpenSearchUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("osuserAcls", osuser.applyValue(getOpenSearchUserResult -> getOpenSearchUserResult.acls()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getOpenSearchUser(GetOpenSearchUserArgs args) {
return getOpenSearchUser(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a user of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchUserArgs;
* 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 osuser = CloudProjectFunctions.getOpenSearchUser(GetOpenSearchUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("osuserAcls", osuser.applyValue(getOpenSearchUserResult -> getOpenSearchUserResult.acls()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getOpenSearchUserPlain(GetOpenSearchUserPlainArgs args) {
return getOpenSearchUserPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a user of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchUserArgs;
* 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 osuser = CloudProjectFunctions.getOpenSearchUser(GetOpenSearchUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("osuserAcls", osuser.applyValue(getOpenSearchUserResult -> getOpenSearchUserResult.acls()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getOpenSearchUser(GetOpenSearchUserArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getOpenSearchUser:getOpenSearchUser", TypeShape.of(GetOpenSearchUserResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a user of a opensearch cluster associated with a public cloud project.
*
* ## 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.GetOpenSearchUserArgs;
* 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 osuser = CloudProjectFunctions.getOpenSearchUser(GetOpenSearchUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("osuserAcls", osuser.applyValue(getOpenSearchUserResult -> getOpenSearchUserResult.acls()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getOpenSearchUserPlain(GetOpenSearchUserPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getOpenSearchUser:getOpenSearchUser", TypeShape.of(GetOpenSearchUserResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a user of a redis cluster associated with a public cloud project.
*
* ## 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.GetRedisUserArgs;
* 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 redisuser = CloudProjectFunctions.getRedisUser(GetRedisUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("redisuserCommands", redisuser.applyValue(getRedisUserResult -> getRedisUserResult.commands()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRedisUser(GetRedisUserArgs args) {
return getRedisUser(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a user of a redis cluster associated with a public cloud project.
*
* ## 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.GetRedisUserArgs;
* 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 redisuser = CloudProjectFunctions.getRedisUser(GetRedisUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("redisuserCommands", redisuser.applyValue(getRedisUserResult -> getRedisUserResult.commands()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRedisUserPlain(GetRedisUserPlainArgs args) {
return getRedisUserPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get information about a user of a redis cluster associated with a public cloud project.
*
* ## 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.GetRedisUserArgs;
* 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 redisuser = CloudProjectFunctions.getRedisUser(GetRedisUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("redisuserCommands", redisuser.applyValue(getRedisUserResult -> getRedisUserResult.commands()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRedisUser(GetRedisUserArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getRedisUser:getRedisUser", TypeShape.of(GetRedisUserResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get information about a user of a redis cluster associated with a public cloud project.
*
* ## 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.GetRedisUserArgs;
* 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 redisuser = CloudProjectFunctions.getRedisUser(GetRedisUserArgs.builder()
* .serviceName("XXX")
* .clusterId("YYY")
* .name("ZZZ")
* .build());
*
* ctx.export("redisuserCommands", redisuser.applyValue(getRedisUserResult -> getRedisUserResult.commands()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRedisUserPlain(GetRedisUserPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getRedisUser:getRedisUser", TypeShape.of(GetRedisUserResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve information about a region associated with a public cloud project. The region must be associated with the project.
*
* ## 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.GetRegionArgs;
* 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 gRA1 = CloudProjectFunctions.getRegion(GetRegionArgs.builder()
* .name("GRA1")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRegion(GetRegionArgs args) {
return getRegion(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve information about a region associated with a public cloud project. The region must be associated with the project.
*
* ## 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.GetRegionArgs;
* 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 gRA1 = CloudProjectFunctions.getRegion(GetRegionArgs.builder()
* .name("GRA1")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRegionPlain(GetRegionPlainArgs args) {
return getRegionPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve information about a region associated with a public cloud project. The region must be associated with the project.
*
* ## 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.GetRegionArgs;
* 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 gRA1 = CloudProjectFunctions.getRegion(GetRegionArgs.builder()
* .name("GRA1")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRegion(GetRegionArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getRegion:getRegion", TypeShape.of(GetRegionResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve information about a region associated with a public cloud project. The region must be associated with the project.
*
* ## 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.GetRegionArgs;
* 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 gRA1 = CloudProjectFunctions.getRegion(GetRegionArgs.builder()
* .name("GRA1")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRegionPlain(GetRegionPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getRegion:getRegion", TypeShape.of(GetRegionResult.class), args, Utilities.withVersion(options));
}
/**
* Get information about a subscription to a Managed Loadbalancer Logs Service in a public cloud project.
*
* ## 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.GetRegionLoadBalancerLogSubscriptionArgs;
* 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 sub = CloudProjectFunctions.getRegionLoadBalancerLogSubscription(GetRegionLoadBalancerLogSubscriptionArgs.builder()
* .loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
* .regionName("gggg")
* .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
* .subscriptionId("zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRegionLoadBalancerLogSubscription(GetRegionLoadBalancerLogSubscriptionArgs args) {
return getRegionLoadBalancerLogSubscription(args, InvokeOptions.Empty);
}
/**
* Get information about a subscription to a Managed Loadbalancer Logs Service in a public cloud project.
*
* ## 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.GetRegionLoadBalancerLogSubscriptionArgs;
* 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 sub = CloudProjectFunctions.getRegionLoadBalancerLogSubscription(GetRegionLoadBalancerLogSubscriptionArgs.builder()
* .loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
* .regionName("gggg")
* .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
* .subscriptionId("zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRegionLoadBalancerLogSubscriptionPlain(GetRegionLoadBalancerLogSubscriptionPlainArgs args) {
return getRegionLoadBalancerLogSubscriptionPlain(args, InvokeOptions.Empty);
}
/**
* Get information about a subscription to a Managed Loadbalancer Logs Service in a public cloud project.
*
* ## 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.GetRegionLoadBalancerLogSubscriptionArgs;
* 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 sub = CloudProjectFunctions.getRegionLoadBalancerLogSubscription(GetRegionLoadBalancerLogSubscriptionArgs.builder()
* .loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
* .regionName("gggg")
* .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
* .subscriptionId("zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRegionLoadBalancerLogSubscription(GetRegionLoadBalancerLogSubscriptionArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getRegionLoadBalancerLogSubscription:getRegionLoadBalancerLogSubscription", TypeShape.of(GetRegionLoadBalancerLogSubscriptionResult.class), args, Utilities.withVersion(options));
}
/**
* Get information about a subscription to a Managed Loadbalancer Logs Service in a public cloud project.
*
* ## 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.GetRegionLoadBalancerLogSubscriptionArgs;
* 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 sub = CloudProjectFunctions.getRegionLoadBalancerLogSubscription(GetRegionLoadBalancerLogSubscriptionArgs.builder()
* .loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
* .regionName("gggg")
* .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
* .subscriptionId("zzzzzzzz-yyyy-xxxx-wwww-vvvvvvvvvvvv")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRegionLoadBalancerLogSubscriptionPlain(GetRegionLoadBalancerLogSubscriptionPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getRegionLoadBalancerLogSubscription:getRegionLoadBalancerLogSubscription", TypeShape.of(GetRegionLoadBalancerLogSubscriptionResult.class), args, Utilities.withVersion(options));
}
/**
* Get information about subscriptions to a Managed Loadbalancer Logs Service in a public cloud project.
*
* ## 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.GetRegionLoadBalancerLogSubscriptionsArgs;
* 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 subs = CloudProjectFunctions.getRegionLoadBalancerLogSubscriptions(GetRegionLoadBalancerLogSubscriptionsArgs.builder()
* .loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
* .regionName("gggg")
* .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRegionLoadBalancerLogSubscriptions(GetRegionLoadBalancerLogSubscriptionsArgs args) {
return getRegionLoadBalancerLogSubscriptions(args, InvokeOptions.Empty);
}
/**
* Get information about subscriptions to a Managed Loadbalancer Logs Service in a public cloud project.
*
* ## 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.GetRegionLoadBalancerLogSubscriptionsArgs;
* 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 subs = CloudProjectFunctions.getRegionLoadBalancerLogSubscriptions(GetRegionLoadBalancerLogSubscriptionsArgs.builder()
* .loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
* .regionName("gggg")
* .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRegionLoadBalancerLogSubscriptionsPlain(GetRegionLoadBalancerLogSubscriptionsPlainArgs args) {
return getRegionLoadBalancerLogSubscriptionsPlain(args, InvokeOptions.Empty);
}
/**
* Get information about subscriptions to a Managed Loadbalancer Logs Service in a public cloud project.
*
* ## 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.GetRegionLoadBalancerLogSubscriptionsArgs;
* 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 subs = CloudProjectFunctions.getRegionLoadBalancerLogSubscriptions(GetRegionLoadBalancerLogSubscriptionsArgs.builder()
* .loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
* .regionName("gggg")
* .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRegionLoadBalancerLogSubscriptions(GetRegionLoadBalancerLogSubscriptionsArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getRegionLoadBalancerLogSubscriptions:getRegionLoadBalancerLogSubscriptions", TypeShape.of(GetRegionLoadBalancerLogSubscriptionsResult.class), args, Utilities.withVersion(options));
}
/**
* Get information about subscriptions to a Managed Loadbalancer Logs Service in a public cloud project.
*
* ## 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.GetRegionLoadBalancerLogSubscriptionsArgs;
* 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 subs = CloudProjectFunctions.getRegionLoadBalancerLogSubscriptions(GetRegionLoadBalancerLogSubscriptionsArgs.builder()
* .loadbalancerId("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee")
* .regionName("gggg")
* .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRegionLoadBalancerLogSubscriptionsPlain(GetRegionLoadBalancerLogSubscriptionsPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getRegionLoadBalancerLogSubscriptions:getRegionLoadBalancerLogSubscriptions", TypeShape.of(GetRegionLoadBalancerLogSubscriptionsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the regions of a public cloud project.
*
* ## 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.GetRegionsArgs;
* 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 regions = CloudProjectFunctions.getRegions(GetRegionsArgs.builder()
* .hasServicesUps("network")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRegions(GetRegionsArgs args) {
return getRegions(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the regions of a public cloud project.
*
* ## 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.GetRegionsArgs;
* 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 regions = CloudProjectFunctions.getRegions(GetRegionsArgs.builder()
* .hasServicesUps("network")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRegionsPlain(GetRegionsPlainArgs args) {
return getRegionsPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the regions of a public cloud project.
*
* ## 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.GetRegionsArgs;
* 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 regions = CloudProjectFunctions.getRegions(GetRegionsArgs.builder()
* .hasServicesUps("network")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getRegions(GetRegionsArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getRegions:getRegions", TypeShape.of(GetRegionsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the regions of a public cloud project.
*
* ## 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.GetRegionsArgs;
* 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 regions = CloudProjectFunctions.getRegions(GetRegionsArgs.builder()
* .hasServicesUps("network")
* .serviceName("XXXXXX")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getRegionsPlain(GetRegionsPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getRegions:getRegions", TypeShape.of(GetRegionsResult.class), args, Utilities.withVersion(options));
}
/**
* Get the user details of a previously created public cloud project user.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var myUser = CloudProjectFunctions.getUser(GetUserArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUser(GetUserArgs args) {
return getUser(args, InvokeOptions.Empty);
}
/**
* Get the user details of a previously created public cloud project user.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var myUser = CloudProjectFunctions.getUser(GetUserArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUserPlain(GetUserPlainArgs args) {
return getUserPlain(args, InvokeOptions.Empty);
}
/**
* Get the user details of a previously created public cloud project user.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var myUser = CloudProjectFunctions.getUser(GetUserArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUser(GetUserArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getUser:getUser", TypeShape.of(GetUserResult.class), args, Utilities.withVersion(options));
}
/**
* Get the user details of a previously created public cloud project user.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var myUser = CloudProjectFunctions.getUser(GetUserArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUserPlain(GetUserPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getUser:getUser", TypeShape.of(GetUserResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve the Secret Access Key of an Access Key ID associated with a public cloud project's user.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialsArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var myS3Credentials = CloudProjectFunctions.getUserS3Credentials(GetUserS3CredentialsArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* final var myS3Credential = CloudProjectFunctions.getUserS3Credential(GetUserS3CredentialArgs.builder()
* .serviceName(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.serviceName()))
* .userId(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.userId()))
* .accessKeyId(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.accessKeyIds()[0]))
* .build());
*
* ctx.export("myAccessKeyId", myS3Credential.applyValue(getUserS3CredentialResult -> getUserS3CredentialResult.accessKeyId()));
* ctx.export("mySecretAccessKey", myS3Credential.applyValue(getUserS3CredentialResult -> getUserS3CredentialResult.secretAccessKey()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUserS3Credential(GetUserS3CredentialArgs args) {
return getUserS3Credential(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve the Secret Access Key of an Access Key ID associated with a public cloud project's user.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialsArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var myS3Credentials = CloudProjectFunctions.getUserS3Credentials(GetUserS3CredentialsArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* final var myS3Credential = CloudProjectFunctions.getUserS3Credential(GetUserS3CredentialArgs.builder()
* .serviceName(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.serviceName()))
* .userId(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.userId()))
* .accessKeyId(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.accessKeyIds()[0]))
* .build());
*
* ctx.export("myAccessKeyId", myS3Credential.applyValue(getUserS3CredentialResult -> getUserS3CredentialResult.accessKeyId()));
* ctx.export("mySecretAccessKey", myS3Credential.applyValue(getUserS3CredentialResult -> getUserS3CredentialResult.secretAccessKey()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUserS3CredentialPlain(GetUserS3CredentialPlainArgs args) {
return getUserS3CredentialPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve the Secret Access Key of an Access Key ID associated with a public cloud project's user.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialsArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var myS3Credentials = CloudProjectFunctions.getUserS3Credentials(GetUserS3CredentialsArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* final var myS3Credential = CloudProjectFunctions.getUserS3Credential(GetUserS3CredentialArgs.builder()
* .serviceName(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.serviceName()))
* .userId(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.userId()))
* .accessKeyId(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.accessKeyIds()[0]))
* .build());
*
* ctx.export("myAccessKeyId", myS3Credential.applyValue(getUserS3CredentialResult -> getUserS3CredentialResult.accessKeyId()));
* ctx.export("mySecretAccessKey", myS3Credential.applyValue(getUserS3CredentialResult -> getUserS3CredentialResult.secretAccessKey()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUserS3Credential(GetUserS3CredentialArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getUserS3Credential:getUserS3Credential", TypeShape.of(GetUserS3CredentialResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve the Secret Access Key of an Access Key ID associated with a public cloud project's user.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialsArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3CredentialArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var myS3Credentials = CloudProjectFunctions.getUserS3Credentials(GetUserS3CredentialsArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* final var myS3Credential = CloudProjectFunctions.getUserS3Credential(GetUserS3CredentialArgs.builder()
* .serviceName(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.serviceName()))
* .userId(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.userId()))
* .accessKeyId(myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.accessKeyIds()[0]))
* .build());
*
* ctx.export("myAccessKeyId", myS3Credential.applyValue(getUserS3CredentialResult -> getUserS3CredentialResult.accessKeyId()));
* ctx.export("mySecretAccessKey", myS3Credential.applyValue(getUserS3CredentialResult -> getUserS3CredentialResult.secretAccessKey()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUserS3CredentialPlain(GetUserS3CredentialPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getUserS3Credential:getUserS3Credential", TypeShape.of(GetUserS3CredentialResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve the list of all the S3 access_key_id associated with a public cloud project's user.
*
* ## 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.GetUserS3CredentialsArgs;
* 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 myS3Credentials = CloudProjectFunctions.getUserS3Credentials(GetUserS3CredentialsArgs.builder()
* .serviceName("XXXXXX")
* .userId("1234")
* .build());
*
* ctx.export("accessKeyIds", myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.accessKeyIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUserS3Credentials(GetUserS3CredentialsArgs args) {
return getUserS3Credentials(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve the list of all the S3 access_key_id associated with a public cloud project's user.
*
* ## 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.GetUserS3CredentialsArgs;
* 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 myS3Credentials = CloudProjectFunctions.getUserS3Credentials(GetUserS3CredentialsArgs.builder()
* .serviceName("XXXXXX")
* .userId("1234")
* .build());
*
* ctx.export("accessKeyIds", myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.accessKeyIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUserS3CredentialsPlain(GetUserS3CredentialsPlainArgs args) {
return getUserS3CredentialsPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to retrieve the list of all the S3 access_key_id associated with a public cloud project's user.
*
* ## 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.GetUserS3CredentialsArgs;
* 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 myS3Credentials = CloudProjectFunctions.getUserS3Credentials(GetUserS3CredentialsArgs.builder()
* .serviceName("XXXXXX")
* .userId("1234")
* .build());
*
* ctx.export("accessKeyIds", myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.accessKeyIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUserS3Credentials(GetUserS3CredentialsArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getUserS3Credentials:getUserS3Credentials", TypeShape.of(GetUserS3CredentialsResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to retrieve the list of all the S3 access_key_id associated with a public cloud project's user.
*
* ## 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.GetUserS3CredentialsArgs;
* 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 myS3Credentials = CloudProjectFunctions.getUserS3Credentials(GetUserS3CredentialsArgs.builder()
* .serviceName("XXXXXX")
* .userId("1234")
* .build());
*
* ctx.export("accessKeyIds", myS3Credentials.applyValue(getUserS3CredentialsResult -> getUserS3CredentialsResult.accessKeyIds()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUserS3CredentialsPlain(GetUserS3CredentialsPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getUserS3Credentials:getUserS3Credentials", TypeShape.of(GetUserS3CredentialsResult.class), args, Utilities.withVersion(options));
}
/**
* Get the S3 Policy of a public cloud project user. The policy can be set by using the `ovh.CloudProject.S3Policy` resource.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3PolicyArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var policy = CloudProjectFunctions.getUserS3Policy(GetUserS3PolicyArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUserS3Policy(GetUserS3PolicyArgs args) {
return getUserS3Policy(args, InvokeOptions.Empty);
}
/**
* Get the S3 Policy of a public cloud project user. The policy can be set by using the `ovh.CloudProject.S3Policy` resource.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3PolicyArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var policy = CloudProjectFunctions.getUserS3Policy(GetUserS3PolicyArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUserS3PolicyPlain(GetUserS3PolicyPlainArgs args) {
return getUserS3PolicyPlain(args, InvokeOptions.Empty);
}
/**
* Get the S3 Policy of a public cloud project user. The policy can be set by using the `ovh.CloudProject.S3Policy` resource.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3PolicyArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var policy = CloudProjectFunctions.getUserS3Policy(GetUserS3PolicyArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUserS3Policy(GetUserS3PolicyArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getUserS3Policy:getUserS3Policy", TypeShape.of(GetUserS3PolicyResult.class), args, Utilities.withVersion(options));
}
/**
* Get the S3 Policy of a public cloud project user. The policy can be set by using the `ovh.CloudProject.S3Policy` resource.
*
* ## 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.GetUsersArgs;
* import com.pulumi.ovh.CloudProject.inputs.GetUserS3PolicyArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* final var policy = CloudProjectFunctions.getUserS3Policy(GetUserS3PolicyArgs.builder()
* .serviceName(projectUsers.applyValue(getUsersResult -> getUsersResult.serviceName()))
* .userId(s3UserId)
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUserS3PolicyPlain(GetUserS3PolicyPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getUserS3Policy:getUserS3Policy", TypeShape.of(GetUserS3PolicyResult.class), args, Utilities.withVersion(options));
}
/**
* Get the list of all users of a public cloud project.
*
* ## 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.GetUsersArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* ctx.export("userId", s3UserId);
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUsers(GetUsersArgs args) {
return getUsers(args, InvokeOptions.Empty);
}
/**
* Get the list of all users of a public cloud project.
*
* ## 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.GetUsersArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* ctx.export("userId", s3UserId);
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUsersPlain(GetUsersPlainArgs args) {
return getUsersPlain(args, InvokeOptions.Empty);
}
/**
* Get the list of all users of a public cloud project.
*
* ## 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.GetUsersArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* ctx.export("userId", s3UserId);
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getUsers(GetUsersArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getUsers:getUsers", TypeShape.of(GetUsersResult.class), args, Utilities.withVersion(options));
}
/**
* Get the list of all users of a public cloud project.
*
* ## 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.GetUsersArgs;
* 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 projectUsers = CloudProjectFunctions.getUsers(GetUsersArgs.builder()
* .serviceName("XXX")
* .build());
*
* // Get the user ID of a previously created user with the description "S3-User"
* final var users = "TODO: ForExpression";
*
* final var s3UserId = users[0];
*
* ctx.export("userId", s3UserId);
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getUsersPlain(GetUsersPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getUsers:getUsers", TypeShape.of(GetUsersResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the linked vrack on your public cloud project.
*
* ## 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.GetVRackArgs;
* 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 vrackVRack = CloudProjectFunctions.getVRack(GetVRackArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* ctx.export("vrack", vrackVRack.applyValue(getVRackResult -> getVRackResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getVRack(GetVRackArgs args) {
return getVRack(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the linked vrack on your public cloud project.
*
* ## 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.GetVRackArgs;
* 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 vrackVRack = CloudProjectFunctions.getVRack(GetVRackArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* ctx.export("vrack", vrackVRack.applyValue(getVRackResult -> getVRackResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getVRackPlain(GetVRackPlainArgs args) {
return getVRackPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to get the linked vrack on your public cloud project.
*
* ## 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.GetVRackArgs;
* 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 vrackVRack = CloudProjectFunctions.getVRack(GetVRackArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* ctx.export("vrack", vrackVRack.applyValue(getVRackResult -> getVRackResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getVRack(GetVRackArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("ovh:CloudProject/getVRack:getVRack", TypeShape.of(GetVRackResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to get the linked vrack on your public cloud project.
*
* ## 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.GetVRackArgs;
* 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 vrackVRack = CloudProjectFunctions.getVRack(GetVRackArgs.builder()
* .serviceName("XXXXXX")
* .build());
*
* ctx.export("vrack", vrackVRack.applyValue(getVRackResult -> getVRackResult));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getVRackPlain(GetVRackPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("ovh:CloudProject/getVRack:getVRack", TypeShape.of(GetVRackResult.class), args, Utilities.withVersion(options));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy