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

com.pulumi.azure.core.inputs.GetSubscriptionPlainArgs 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.core.inputs;

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 GetSubscriptionPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetSubscriptionPlainArgs Empty = new GetSubscriptionPlainArgs();

    /**
     * Specifies the ID of the subscription. If this argument is omitted, the subscription ID of the current Azure Resource Manager provider is used.
     * 
     */
    @Import(name="subscriptionId")
    private @Nullable String subscriptionId;

    /**
     * @return Specifies the ID of the subscription. If this argument is omitted, the subscription ID of the current Azure Resource Manager provider is used.
     * 
     */
    public Optional subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }

    private GetSubscriptionPlainArgs() {}

    private GetSubscriptionPlainArgs(GetSubscriptionPlainArgs $) {
        this.subscriptionId = $.subscriptionId;
    }

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

    public static final class Builder {
        private GetSubscriptionPlainArgs $;

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

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

        /**
         * @param subscriptionId Specifies the ID of the subscription. If this argument is omitted, the subscription ID of the current Azure Resource Manager provider is used.
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(@Nullable String subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        public GetSubscriptionPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy