com.pulumi.azurenative.costmanagement.inputs.GetBudgetArgs 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.costmanagement.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 GetBudgetArgs extends com.pulumi.resources.InvokeArgs {
public static final GetBudgetArgs Empty = new GetBudgetArgs();
/**
* Budget Name.
*
*/
@Import(name="budgetName", required=true)
private Output budgetName;
/**
* @return Budget Name.
*
*/
public Output budgetName() {
return this.budgetName;
}
/**
* The scope associated with budget operations.
*
* Supported scopes for **CategoryType: Cost**
*
* Azure RBAC Scopes:
* - '/subscriptions/{subscriptionId}/' for subscription scope
* - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope
* - '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope
*
* EA (Enterprise Agreement) Scopes:
*
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope
*
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
*
* Supported scopes for **CategoryType: ReservationUtilization**
*
* EA (Enterprise Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account Scope
*
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope (non-CSP only)
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
*
*/
@Import(name="scope", required=true)
private Output scope;
/**
* @return The scope associated with budget operations.
*
* Supported scopes for **CategoryType: Cost**
*
* Azure RBAC Scopes:
* - '/subscriptions/{subscriptionId}/' for subscription scope
* - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope
* - '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope
*
* EA (Enterprise Agreement) Scopes:
*
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope
*
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
*
* Supported scopes for **CategoryType: ReservationUtilization**
*
* EA (Enterprise Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account Scope
*
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope (non-CSP only)
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
*
*/
public Output scope() {
return this.scope;
}
private GetBudgetArgs() {}
private GetBudgetArgs(GetBudgetArgs $) {
this.budgetName = $.budgetName;
this.scope = $.scope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetBudgetArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetBudgetArgs $;
public Builder() {
$ = new GetBudgetArgs();
}
public Builder(GetBudgetArgs defaults) {
$ = new GetBudgetArgs(Objects.requireNonNull(defaults));
}
/**
* @param budgetName Budget Name.
*
* @return builder
*
*/
public Builder budgetName(Output budgetName) {
$.budgetName = budgetName;
return this;
}
/**
* @param budgetName Budget Name.
*
* @return builder
*
*/
public Builder budgetName(String budgetName) {
return budgetName(Output.of(budgetName));
}
/**
* @param scope The scope associated with budget operations.
*
* Supported scopes for **CategoryType: Cost**
*
* Azure RBAC Scopes:
* - '/subscriptions/{subscriptionId}/' for subscription scope
* - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope
* - '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope
*
* EA (Enterprise Agreement) Scopes:
*
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope
*
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
*
* Supported scopes for **CategoryType: ReservationUtilization**
*
* EA (Enterprise Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account Scope
*
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope (non-CSP only)
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
*
* @return builder
*
*/
public Builder scope(Output scope) {
$.scope = scope;
return this;
}
/**
* @param scope The scope associated with budget operations.
*
* Supported scopes for **CategoryType: Cost**
*
* Azure RBAC Scopes:
* - '/subscriptions/{subscriptionId}/' for subscription scope
* - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope
* - '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope
*
* EA (Enterprise Agreement) Scopes:
*
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope
*
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
*
* Supported scopes for **CategoryType: ReservationUtilization**
*
* EA (Enterprise Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account Scope
*
* MCA (Modern Customer Agreement) Scopes:
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope (non-CSP only)
* - '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' for customer scope (CSP only)
*
* @return builder
*
*/
public Builder scope(String scope) {
return scope(Output.of(scope));
}
public GetBudgetArgs build() {
if ($.budgetName == null) {
throw new MissingRequiredPropertyException("GetBudgetArgs", "budgetName");
}
if ($.scope == null) {
throw new MissingRequiredPropertyException("GetBudgetArgs", "scope");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy