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