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

com.pulumi.azure.managementgroups.inputs.GetManagementGroupArgs 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.managementgroups.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetManagementGroupArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetManagementGroupArgs Empty = new GetManagementGroupArgs();

    /**
     * Specifies the display name of this Management Group.
     * 
     * > **NOTE** Whilst multiple management groups may share the same display name, when filtering, the provider expects a single management group to be found with this name.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Specifies the display name of this Management Group.
     * 
     * > **NOTE** Whilst multiple management groups may share the same display name, when filtering, the provider expects a single management group to be found with this name.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Specifies the name or UUID of this Management Group.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name or UUID of this Management Group.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private GetManagementGroupArgs() {}

    private GetManagementGroupArgs(GetManagementGroupArgs $) {
        this.displayName = $.displayName;
        this.name = $.name;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GetManagementGroupArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetManagementGroupArgs $;

        public Builder() {
            $ = new GetManagementGroupArgs();
        }

        public Builder(GetManagementGroupArgs defaults) {
            $ = new GetManagementGroupArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param displayName Specifies the display name of this Management Group.
         * 
         * > **NOTE** Whilst multiple management groups may share the same display name, when filtering, the provider expects a single management group to be found with this name.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Specifies the display name of this Management Group.
         * 
         * > **NOTE** Whilst multiple management groups may share the same display name, when filtering, the provider expects a single management group to be found with this name.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param name Specifies the name or UUID of this Management Group.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name or UUID of this Management Group.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public GetManagementGroupArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy