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

com.pulumi.azure.desktopvirtualization.DesktopvirtualizationFunctions Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.desktopvirtualization;

import com.pulumi.azure.Utilities;
import com.pulumi.azure.desktopvirtualization.inputs.GetApplicationGroupArgs;
import com.pulumi.azure.desktopvirtualization.inputs.GetApplicationGroupPlainArgs;
import com.pulumi.azure.desktopvirtualization.inputs.GetHostPoolArgs;
import com.pulumi.azure.desktopvirtualization.inputs.GetHostPoolPlainArgs;
import com.pulumi.azure.desktopvirtualization.inputs.GetWorkspaceArgs;
import com.pulumi.azure.desktopvirtualization.inputs.GetWorkspacePlainArgs;
import com.pulumi.azure.desktopvirtualization.outputs.GetApplicationGroupResult;
import com.pulumi.azure.desktopvirtualization.outputs.GetHostPoolResult;
import com.pulumi.azure.desktopvirtualization.outputs.GetWorkspaceResult;
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 DesktopvirtualizationFunctions {
    /**
     * Use this data source to access information about an existing Application Group.
     * 
     * ## 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.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetApplicationGroupArgs;
     * 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 = DesktopvirtualizationFunctions.getApplicationGroup(GetApplicationGroupArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getApplicationGroupResult -> getApplicationGroupResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getApplicationGroup(GetApplicationGroupArgs args) { return getApplicationGroup(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Application Group. * * ## 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.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetApplicationGroupArgs;
     * 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 = DesktopvirtualizationFunctions.getApplicationGroup(GetApplicationGroupArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getApplicationGroupResult -> getApplicationGroupResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getApplicationGroupPlain(GetApplicationGroupPlainArgs args) { return getApplicationGroupPlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Application Group. * * ## 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.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetApplicationGroupArgs;
     * 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 = DesktopvirtualizationFunctions.getApplicationGroup(GetApplicationGroupArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getApplicationGroupResult -> getApplicationGroupResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getApplicationGroup(GetApplicationGroupArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:desktopvirtualization/getApplicationGroup:getApplicationGroup", TypeShape.of(GetApplicationGroupResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Application Group. * * ## 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.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetApplicationGroupArgs;
     * 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 = DesktopvirtualizationFunctions.getApplicationGroup(GetApplicationGroupArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getApplicationGroupResult -> getApplicationGroupResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getApplicationGroupPlain(GetApplicationGroupPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:desktopvirtualization/getApplicationGroup:getApplicationGroup", TypeShape.of(GetApplicationGroupResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Virtual Desktop Host 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.azure.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetHostPoolArgs;
     * 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 = DesktopvirtualizationFunctions.getHostPool(GetHostPoolArgs.builder()
     *             .name("example-pool")
     *             .resourceGroupName("example-resources")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getHostPool(GetHostPoolArgs args) { return getHostPool(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Virtual Desktop Host 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.azure.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetHostPoolArgs;
     * 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 = DesktopvirtualizationFunctions.getHostPool(GetHostPoolArgs.builder()
     *             .name("example-pool")
     *             .resourceGroupName("example-resources")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getHostPoolPlain(GetHostPoolPlainArgs args) { return getHostPoolPlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Virtual Desktop Host 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.azure.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetHostPoolArgs;
     * 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 = DesktopvirtualizationFunctions.getHostPool(GetHostPoolArgs.builder()
     *             .name("example-pool")
     *             .resourceGroupName("example-resources")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getHostPool(GetHostPoolArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:desktopvirtualization/getHostPool:getHostPool", TypeShape.of(GetHostPoolResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Virtual Desktop Host 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.azure.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetHostPoolArgs;
     * 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 = DesktopvirtualizationFunctions.getHostPool(GetHostPoolArgs.builder()
     *             .name("example-pool")
     *             .resourceGroupName("example-resources")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getHostPoolPlain(GetHostPoolPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:desktopvirtualization/getHostPool:getHostPool", TypeShape.of(GetHostPoolResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Virtual Desktop Workspace. * * ## 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.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetWorkspaceArgs;
     * 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 = DesktopvirtualizationFunctions.getWorkspace(GetWorkspaceArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getWorkspaceResult -> getWorkspaceResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getWorkspace(GetWorkspaceArgs args) { return getWorkspace(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Virtual Desktop Workspace. * * ## 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.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetWorkspaceArgs;
     * 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 = DesktopvirtualizationFunctions.getWorkspace(GetWorkspaceArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getWorkspaceResult -> getWorkspaceResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getWorkspacePlain(GetWorkspacePlainArgs args) { return getWorkspacePlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Virtual Desktop Workspace. * * ## 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.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetWorkspaceArgs;
     * 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 = DesktopvirtualizationFunctions.getWorkspace(GetWorkspaceArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getWorkspaceResult -> getWorkspaceResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getWorkspace(GetWorkspaceArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:desktopvirtualization/getWorkspace:getWorkspace", TypeShape.of(GetWorkspaceResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Virtual Desktop Workspace. * * ## 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.desktopvirtualization.DesktopvirtualizationFunctions;
     * import com.pulumi.azure.desktopvirtualization.inputs.GetWorkspaceArgs;
     * 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 = DesktopvirtualizationFunctions.getWorkspace(GetWorkspaceArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getWorkspaceResult -> getWorkspaceResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getWorkspacePlain(GetWorkspacePlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:desktopvirtualization/getWorkspace:getWorkspace", TypeShape.of(GetWorkspaceResult.class), args, Utilities.withVersion(options)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy