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

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

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


public final class SubscriptionTemplateDeploymentArgs extends com.pulumi.resources.ResourceArgs {

    public static final SubscriptionTemplateDeploymentArgs Empty = new SubscriptionTemplateDeploymentArgs();

    /**
     * The Debug Level which should be used for this Subscription Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`.
     * 
     */
    @Import(name="debugLevel")
    private @Nullable Output debugLevel;

    /**
     * @return The Debug Level which should be used for this Subscription Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`.
     * 
     */
    public Optional> debugLevel() {
        return Optional.ofNullable(this.debugLevel);
    }

    /**
     * The Azure Region where the Subscription Template Deployment should exist. Changing this forces a new Subscription Template Deployment to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The Azure Region where the Subscription Template Deployment should exist. Changing this forces a new Subscription Template Deployment to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name which should be used for this Subscription Template Deployment. Changing this forces a new Subscription Template Deployment to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Subscription Template Deployment. Changing this forces a new Subscription Template Deployment to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The contents of the ARM Template parameters file - containing a JSON list of parameters.
     * 
     */
    @Import(name="parametersContent")
    private @Nullable Output parametersContent;

    /**
     * @return The contents of the ARM Template parameters file - containing a JSON list of parameters.
     * 
     */
    public Optional> parametersContent() {
        return Optional.ofNullable(this.parametersContent);
    }

    /**
     * A mapping of tags which should be assigned to the Subscription Template Deployment.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags which should be assigned to the Subscription Template Deployment.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The contents of the ARM Template which should be deployed into this Subscription.
     * 
     */
    @Import(name="templateContent")
    private @Nullable Output templateContent;

    /**
     * @return The contents of the ARM Template which should be deployed into this Subscription.
     * 
     */
    public Optional> templateContent() {
        return Optional.ofNullable(this.templateContent);
    }

    /**
     * The ID of the Template Spec Version to deploy into the Subscription. Cannot be specified with `template_content`.
     * 
     */
    @Import(name="templateSpecVersionId")
    private @Nullable Output templateSpecVersionId;

    /**
     * @return The ID of the Template Spec Version to deploy into the Subscription. Cannot be specified with `template_content`.
     * 
     */
    public Optional> templateSpecVersionId() {
        return Optional.ofNullable(this.templateSpecVersionId);
    }

    private SubscriptionTemplateDeploymentArgs() {}

    private SubscriptionTemplateDeploymentArgs(SubscriptionTemplateDeploymentArgs $) {
        this.debugLevel = $.debugLevel;
        this.location = $.location;
        this.name = $.name;
        this.parametersContent = $.parametersContent;
        this.tags = $.tags;
        this.templateContent = $.templateContent;
        this.templateSpecVersionId = $.templateSpecVersionId;
    }

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

    public static final class Builder {
        private SubscriptionTemplateDeploymentArgs $;

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

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

        /**
         * @param debugLevel The Debug Level which should be used for this Subscription Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`.
         * 
         * @return builder
         * 
         */
        public Builder debugLevel(@Nullable Output debugLevel) {
            $.debugLevel = debugLevel;
            return this;
        }

        /**
         * @param debugLevel The Debug Level which should be used for this Subscription Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`.
         * 
         * @return builder
         * 
         */
        public Builder debugLevel(String debugLevel) {
            return debugLevel(Output.of(debugLevel));
        }

        /**
         * @param location The Azure Region where the Subscription Template Deployment should exist. Changing this forces a new Subscription Template Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The Azure Region where the Subscription Template Deployment should exist. Changing this forces a new Subscription Template Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name The name which should be used for this Subscription Template Deployment. Changing this forces a new Subscription Template Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Subscription Template Deployment. Changing this forces a new Subscription Template Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param parametersContent The contents of the ARM Template parameters file - containing a JSON list of parameters.
         * 
         * @return builder
         * 
         */
        public Builder parametersContent(@Nullable Output parametersContent) {
            $.parametersContent = parametersContent;
            return this;
        }

        /**
         * @param parametersContent The contents of the ARM Template parameters file - containing a JSON list of parameters.
         * 
         * @return builder
         * 
         */
        public Builder parametersContent(String parametersContent) {
            return parametersContent(Output.of(parametersContent));
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Subscription Template Deployment.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Subscription Template Deployment.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param templateContent The contents of the ARM Template which should be deployed into this Subscription.
         * 
         * @return builder
         * 
         */
        public Builder templateContent(@Nullable Output templateContent) {
            $.templateContent = templateContent;
            return this;
        }

        /**
         * @param templateContent The contents of the ARM Template which should be deployed into this Subscription.
         * 
         * @return builder
         * 
         */
        public Builder templateContent(String templateContent) {
            return templateContent(Output.of(templateContent));
        }

        /**
         * @param templateSpecVersionId The ID of the Template Spec Version to deploy into the Subscription. Cannot be specified with `template_content`.
         * 
         * @return builder
         * 
         */
        public Builder templateSpecVersionId(@Nullable Output templateSpecVersionId) {
            $.templateSpecVersionId = templateSpecVersionId;
            return this;
        }

        /**
         * @param templateSpecVersionId The ID of the Template Spec Version to deploy into the Subscription. Cannot be specified with `template_content`.
         * 
         * @return builder
         * 
         */
        public Builder templateSpecVersionId(String templateSpecVersionId) {
            return templateSpecVersionId(Output.of(templateSpecVersionId));
        }

        public SubscriptionTemplateDeploymentArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy