
com.pulumi.azurenative.quota.GroupQuotaSubscriptionArgs 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.quota;
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 GroupQuotaSubscriptionArgs extends com.pulumi.resources.ResourceArgs {
public static final GroupQuotaSubscriptionArgs Empty = new GroupQuotaSubscriptionArgs();
/**
* The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
*
*/
@Import(name="groupQuotaName", required=true)
private Output groupQuotaName;
/**
* @return The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
*
*/
public Output groupQuotaName() {
return this.groupQuotaName;
}
/**
* Management Group Id.
*
*/
@Import(name="managementGroupId", required=true)
private Output managementGroupId;
/**
* @return Management Group Id.
*
*/
public Output managementGroupId() {
return this.managementGroupId;
}
private GroupQuotaSubscriptionArgs() {}
private GroupQuotaSubscriptionArgs(GroupQuotaSubscriptionArgs $) {
this.groupQuotaName = $.groupQuotaName;
this.managementGroupId = $.managementGroupId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GroupQuotaSubscriptionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GroupQuotaSubscriptionArgs $;
public Builder() {
$ = new GroupQuotaSubscriptionArgs();
}
public Builder(GroupQuotaSubscriptionArgs defaults) {
$ = new GroupQuotaSubscriptionArgs(Objects.requireNonNull(defaults));
}
/**
* @param groupQuotaName The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
*
* @return builder
*
*/
public Builder groupQuotaName(Output groupQuotaName) {
$.groupQuotaName = groupQuotaName;
return this;
}
/**
* @param groupQuotaName The GroupQuota name. The name should be unique for the provided context tenantId/MgId.
*
* @return builder
*
*/
public Builder groupQuotaName(String groupQuotaName) {
return groupQuotaName(Output.of(groupQuotaName));
}
/**
* @param managementGroupId Management Group Id.
*
* @return builder
*
*/
public Builder managementGroupId(Output managementGroupId) {
$.managementGroupId = managementGroupId;
return this;
}
/**
* @param managementGroupId Management Group Id.
*
* @return builder
*
*/
public Builder managementGroupId(String managementGroupId) {
return managementGroupId(Output.of(managementGroupId));
}
public GroupQuotaSubscriptionArgs build() {
if ($.groupQuotaName == null) {
throw new MissingRequiredPropertyException("GroupQuotaSubscriptionArgs", "groupQuotaName");
}
if ($.managementGroupId == null) {
throw new MissingRequiredPropertyException("GroupQuotaSubscriptionArgs", "managementGroupId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy