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

com.pulumi.azurenative.blueprint.inputs.GetPublishedBlueprintPlainArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.blueprint.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetPublishedBlueprintPlainArgs Empty = new GetPublishedBlueprintPlainArgs();

    /**
     * Name of the blueprint definition.
     * 
     */
    @Import(name="blueprintName", required=true)
    private String blueprintName;

    /**
     * @return Name of the blueprint definition.
     * 
     */
    public String blueprintName() {
        return this.blueprintName;
    }

    /**
     * The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
     * 
     */
    @Import(name="resourceScope", required=true)
    private String resourceScope;

    /**
     * @return The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
     * 
     */
    public String resourceScope() {
        return this.resourceScope;
    }

    /**
     * Version of the published blueprint definition.
     * 
     */
    @Import(name="versionId", required=true)
    private String versionId;

    /**
     * @return Version of the published blueprint definition.
     * 
     */
    public String versionId() {
        return this.versionId;
    }

    private GetPublishedBlueprintPlainArgs() {}

    private GetPublishedBlueprintPlainArgs(GetPublishedBlueprintPlainArgs $) {
        this.blueprintName = $.blueprintName;
        this.resourceScope = $.resourceScope;
        this.versionId = $.versionId;
    }

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

    public static final class Builder {
        private GetPublishedBlueprintPlainArgs $;

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

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

        /**
         * @param blueprintName Name of the blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder blueprintName(String blueprintName) {
            $.blueprintName = blueprintName;
            return this;
        }

        /**
         * @param resourceScope The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
         * 
         * @return builder
         * 
         */
        public Builder resourceScope(String resourceScope) {
            $.resourceScope = resourceScope;
            return this;
        }

        /**
         * @param versionId Version of the published blueprint definition.
         * 
         * @return builder
         * 
         */
        public Builder versionId(String versionId) {
            $.versionId = versionId;
            return this;
        }

        public GetPublishedBlueprintPlainArgs build() {
            if ($.blueprintName == null) {
                throw new MissingRequiredPropertyException("GetPublishedBlueprintPlainArgs", "blueprintName");
            }
            if ($.resourceScope == null) {
                throw new MissingRequiredPropertyException("GetPublishedBlueprintPlainArgs", "resourceScope");
            }
            if ($.versionId == null) {
                throw new MissingRequiredPropertyException("GetPublishedBlueprintPlainArgs", "versionId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy