com.pulumi.azurenative.blueprint.inputs.GetBlueprintArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetBlueprintArgs extends com.pulumi.resources.InvokeArgs {
public static final GetBlueprintArgs Empty = new GetBlueprintArgs();
/**
* Name of the blueprint definition.
*
*/
@Import(name="blueprintName", required=true)
private Output blueprintName;
/**
* @return Name of the blueprint definition.
*
*/
public Output 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 Output resourceScope;
/**
* @return The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
*
*/
public Output resourceScope() {
return this.resourceScope;
}
private GetBlueprintArgs() {}
private GetBlueprintArgs(GetBlueprintArgs $) {
this.blueprintName = $.blueprintName;
this.resourceScope = $.resourceScope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetBlueprintArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetBlueprintArgs $;
public Builder() {
$ = new GetBlueprintArgs();
}
public Builder(GetBlueprintArgs defaults) {
$ = new GetBlueprintArgs(Objects.requireNonNull(defaults));
}
/**
* @param blueprintName Name of the blueprint definition.
*
* @return builder
*
*/
public Builder blueprintName(Output blueprintName) {
$.blueprintName = blueprintName;
return this;
}
/**
* @param blueprintName Name of the blueprint definition.
*
* @return builder
*
*/
public Builder blueprintName(String blueprintName) {
return blueprintName(Output.of(blueprintName));
}
/**
* @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(Output resourceScope) {
$.resourceScope = resourceScope;
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) {
return resourceScope(Output.of(resourceScope));
}
public GetBlueprintArgs build() {
if ($.blueprintName == null) {
throw new MissingRequiredPropertyException("GetBlueprintArgs", "blueprintName");
}
if ($.resourceScope == null) {
throw new MissingRequiredPropertyException("GetBlueprintArgs", "resourceScope");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy