All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.mixedreality.MixedrealityFunctions Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.mixedreality;

import com.pulumi.azure.Utilities;
import com.pulumi.azure.mixedreality.inputs.GetSpatialAnchorsAccountArgs;
import com.pulumi.azure.mixedreality.inputs.GetSpatialAnchorsAccountPlainArgs;
import com.pulumi.azure.mixedreality.outputs.GetSpatialAnchorsAccountResult;
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 MixedrealityFunctions {
    /**
     * Get information about an Azure Spatial Anchors Account.
     * 
     * ## Example Usage
     * 
     * <!--Start PulumiCodeChooser -->
     * 
     * {@code
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.azure.mixedreality.MixedrealityFunctions;
     * import com.pulumi.azure.mixedreality.inputs.GetSpatialAnchorsAccountArgs;
     * 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 example = MixedrealityFunctions.getSpatialAnchorsAccount(GetSpatialAnchorsAccountArgs.builder()
     *             .name("example")
     *             .resourceGroupName(exampleAzurermResourceGroup.name())
     *             .build());
     * 
     *         ctx.export("accountDomain", accountDomainAzurermSpatialAnchorsAccount);
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getSpatialAnchorsAccount(GetSpatialAnchorsAccountArgs args) { return getSpatialAnchorsAccount(args, InvokeOptions.Empty); } /** * Get information about an Azure Spatial Anchors Account. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.azure.mixedreality.MixedrealityFunctions;
     * import com.pulumi.azure.mixedreality.inputs.GetSpatialAnchorsAccountArgs;
     * 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 example = MixedrealityFunctions.getSpatialAnchorsAccount(GetSpatialAnchorsAccountArgs.builder()
     *             .name("example")
     *             .resourceGroupName(exampleAzurermResourceGroup.name())
     *             .build());
     * 
     *         ctx.export("accountDomain", accountDomainAzurermSpatialAnchorsAccount);
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSpatialAnchorsAccountPlain(GetSpatialAnchorsAccountPlainArgs args) { return getSpatialAnchorsAccountPlain(args, InvokeOptions.Empty); } /** * Get information about an Azure Spatial Anchors Account. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.azure.mixedreality.MixedrealityFunctions;
     * import com.pulumi.azure.mixedreality.inputs.GetSpatialAnchorsAccountArgs;
     * 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 example = MixedrealityFunctions.getSpatialAnchorsAccount(GetSpatialAnchorsAccountArgs.builder()
     *             .name("example")
     *             .resourceGroupName(exampleAzurermResourceGroup.name())
     *             .build());
     * 
     *         ctx.export("accountDomain", accountDomainAzurermSpatialAnchorsAccount);
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getSpatialAnchorsAccount(GetSpatialAnchorsAccountArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:mixedreality/getSpatialAnchorsAccount:getSpatialAnchorsAccount", TypeShape.of(GetSpatialAnchorsAccountResult.class), args, Utilities.withVersion(options)); } /** * Get information about an Azure Spatial Anchors Account. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * package generated_program;
     * 
     * import com.pulumi.Context;
     * import com.pulumi.Pulumi;
     * import com.pulumi.core.Output;
     * import com.pulumi.azure.mixedreality.MixedrealityFunctions;
     * import com.pulumi.azure.mixedreality.inputs.GetSpatialAnchorsAccountArgs;
     * 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 example = MixedrealityFunctions.getSpatialAnchorsAccount(GetSpatialAnchorsAccountArgs.builder()
     *             .name("example")
     *             .resourceGroupName(exampleAzurermResourceGroup.name())
     *             .build());
     * 
     *         ctx.export("accountDomain", accountDomainAzurermSpatialAnchorsAccount);
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSpatialAnchorsAccountPlain(GetSpatialAnchorsAccountPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:mixedreality/getSpatialAnchorsAccount:getSpatialAnchorsAccount", TypeShape.of(GetSpatialAnchorsAccountResult.class), args, Utilities.withVersion(options)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy