
com.pulumi.azurenative.blueprint.inputs.GetAssignmentPlainArgs 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetAssignmentPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetAssignmentPlainArgs Empty = new GetAssignmentPlainArgs();
/**
* Name of the blueprint assignment.
*
*/
@Import(name="assignmentName", required=true)
private String assignmentName;
/**
* @return Name of the blueprint assignment.
*
*/
public String assignmentName() {
return this.assignmentName;
}
/**
* 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;
}
private GetAssignmentPlainArgs() {}
private GetAssignmentPlainArgs(GetAssignmentPlainArgs $) {
this.assignmentName = $.assignmentName;
this.resourceScope = $.resourceScope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAssignmentPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetAssignmentPlainArgs $;
public Builder() {
$ = new GetAssignmentPlainArgs();
}
public Builder(GetAssignmentPlainArgs defaults) {
$ = new GetAssignmentPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param assignmentName Name of the blueprint assignment.
*
* @return builder
*
*/
public Builder assignmentName(String assignmentName) {
$.assignmentName = assignmentName;
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;
}
public GetAssignmentPlainArgs build() {
if ($.assignmentName == null) {
throw new MissingRequiredPropertyException("GetAssignmentPlainArgs", "assignmentName");
}
if ($.resourceScope == null) {
throw new MissingRequiredPropertyException("GetAssignmentPlainArgs", "resourceScope");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy