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

com.pulumi.azure.management.ManagementFunctions 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.management;

import com.pulumi.azure.Utilities;
import com.pulumi.azure.management.inputs.GetGroupArgs;
import com.pulumi.azure.management.inputs.GetGroupPlainArgs;
import com.pulumi.azure.management.inputs.GetGroupTemplateDeploymentArgs;
import com.pulumi.azure.management.inputs.GetGroupTemplateDeploymentPlainArgs;
import com.pulumi.azure.management.outputs.GetGroupResult;
import com.pulumi.azure.management.outputs.GetGroupTemplateDeploymentResult;
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 ManagementFunctions {
    /**
     * Use this data source to access information about an existing Management 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.management.ManagementFunctions;
     * import com.pulumi.azure.management.inputs.GetGroupArgs;
     * 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 = ManagementFunctions.getGroup(GetGroupArgs.builder()
     *             .name("00000000-0000-0000-0000-000000000000")
     *             .build());
     * 
     *         ctx.export("displayName", example.applyValue(getGroupResult -> getGroupResult.displayName()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getGroup() { return getGroup(GetGroupArgs.Empty, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Management 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.management.ManagementFunctions;
     * import com.pulumi.azure.management.inputs.GetGroupArgs;
     * 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 = ManagementFunctions.getGroup(GetGroupArgs.builder()
     *             .name("00000000-0000-0000-0000-000000000000")
     *             .build());
     * 
     *         ctx.export("displayName", example.applyValue(getGroupResult -> getGroupResult.displayName()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getGroupPlain() { return getGroupPlain(GetGroupPlainArgs.Empty, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Management 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.management.ManagementFunctions;
     * import com.pulumi.azure.management.inputs.GetGroupArgs;
     * 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 = ManagementFunctions.getGroup(GetGroupArgs.builder()
     *             .name("00000000-0000-0000-0000-000000000000")
     *             .build());
     * 
     *         ctx.export("displayName", example.applyValue(getGroupResult -> getGroupResult.displayName()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getGroup(GetGroupArgs args) { return getGroup(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Management 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.management.ManagementFunctions;
     * import com.pulumi.azure.management.inputs.GetGroupArgs;
     * 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 = ManagementFunctions.getGroup(GetGroupArgs.builder()
     *             .name("00000000-0000-0000-0000-000000000000")
     *             .build());
     * 
     *         ctx.export("displayName", example.applyValue(getGroupResult -> getGroupResult.displayName()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getGroupPlain(GetGroupPlainArgs args) { return getGroupPlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Management 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.management.ManagementFunctions;
     * import com.pulumi.azure.management.inputs.GetGroupArgs;
     * 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 = ManagementFunctions.getGroup(GetGroupArgs.builder()
     *             .name("00000000-0000-0000-0000-000000000000")
     *             .build());
     * 
     *         ctx.export("displayName", example.applyValue(getGroupResult -> getGroupResult.displayName()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getGroup(GetGroupArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:management/getGroup:getGroup", TypeShape.of(GetGroupResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Management 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.management.ManagementFunctions;
     * import com.pulumi.azure.management.inputs.GetGroupArgs;
     * 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 = ManagementFunctions.getGroup(GetGroupArgs.builder()
     *             .name("00000000-0000-0000-0000-000000000000")
     *             .build());
     * 
     *         ctx.export("displayName", example.applyValue(getGroupResult -> getGroupResult.displayName()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getGroupPlain(GetGroupPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:management/getGroup:getGroup", TypeShape.of(GetGroupResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Management Group Template Deployment. * */ public static Output getGroupTemplateDeployment(GetGroupTemplateDeploymentArgs args) { return getGroupTemplateDeployment(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Management Group Template Deployment. * */ public static CompletableFuture getGroupTemplateDeploymentPlain(GetGroupTemplateDeploymentPlainArgs args) { return getGroupTemplateDeploymentPlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Management Group Template Deployment. * */ public static Output getGroupTemplateDeployment(GetGroupTemplateDeploymentArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:management/getGroupTemplateDeployment:getGroupTemplateDeployment", TypeShape.of(GetGroupTemplateDeploymentResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Management Group Template Deployment. * */ public static CompletableFuture getGroupTemplateDeploymentPlain(GetGroupTemplateDeploymentPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:management/getGroupTemplateDeployment:getGroupTemplateDeployment", TypeShape.of(GetGroupTemplateDeploymentResult.class), args, Utilities.withVersion(options)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy