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

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

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 TenantTemplateDeploymentState extends com.pulumi.resources.ResourceArgs {

    public static final TenantTemplateDeploymentState Empty = new TenantTemplateDeploymentState();

    /**
     * The Debug Level which should be used for this Resource Group 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 Resource Group Template Deployment. Possible values are `none`, `requestContent`, `responseContent` and `requestContent, responseContent`.
     * 
     */
    public Optional> debugLevel() {
        return Optional.ofNullable(this.debugLevel);
    }

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

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

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

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

    /**
     * The JSON Content of the Outputs of the ARM Template Deployment.
     * 
     */
    @Import(name="outputContent")
    private @Nullable Output outputContent;

    /**
     * @return The JSON Content of the Outputs of the ARM Template Deployment.
     * 
     */
    public Optional> outputContent() {
        return Optional.ofNullable(this.outputContent);
    }

    /**
     * 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 Template.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

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

    /**
     * The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `template_spec_version_id`.
     * 
     */
    @Import(name="templateContent")
    private @Nullable Output templateContent;

    /**
     * @return The contents of the ARM Template which should be deployed into this Resource Group. Cannot be specified with `template_spec_version_id`.
     * 
     */
    public Optional> templateContent() {
        return Optional.ofNullable(this.templateContent);
    }

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

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

    private TenantTemplateDeploymentState() {}

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

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

    public static final class Builder {
        private TenantTemplateDeploymentState $;

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

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

        /**
         * @param debugLevel The Debug Level which should be used for this Resource Group 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 Resource Group 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 Template should exist. Changing this forces a new Template to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The Azure Region where the Template should exist. Changing this forces a new Template 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 Template. Changing this forces a new Template 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 Template. Changing this forces a new Template to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param outputContent The JSON Content of the Outputs of the ARM Template Deployment.
         * 
         * @return builder
         * 
         */
        public Builder outputContent(@Nullable Output outputContent) {
            $.outputContent = outputContent;
            return this;
        }

        /**
         * @param outputContent The JSON Content of the Outputs of the ARM Template Deployment.
         * 
         * @return builder
         * 
         */
        public Builder outputContent(String outputContent) {
            return outputContent(Output.of(outputContent));
        }

        /**
         * @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 Template.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Template.
         * 
         * @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 Resource Group. Cannot be specified with `template_spec_version_id`.
         * 
         * @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 Resource Group. Cannot be specified with `template_spec_version_id`.
         * 
         * @return builder
         * 
         */
        public Builder templateContent(String templateContent) {
            return templateContent(Output.of(templateContent));
        }

        /**
         * @param templateSpecVersionId The ID of the Template Spec Version to deploy. 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. Cannot be specified with `template_content`.
         * 
         * @return builder
         * 
         */
        public Builder templateSpecVersionId(String templateSpecVersionId) {
            return templateSpecVersionId(Output.of(templateSpecVersionId));
        }

        public TenantTemplateDeploymentState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy