ArmBillingModelFactory.BillingAccountPolicyProperties Method

Definition

Initializes a new instance of BillingAccountPolicyProperties.

public static Azure.ResourceManager.Billing.Models.BillingAccountPolicyProperties BillingAccountPolicyProperties (Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, Azure.ResourceManager.Billing.Models.EnterpriseAgreementPolicies enterpriseAgreementPolicies = default, Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy? marketplacePurchases = default, Azure.ResourceManager.Billing.Models.ReservationPurchasesPolicy? reservationPurchases = default, Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy? savingsPlanPurchases = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPolicySummary> policies = default);
static member BillingAccountPolicyProperties : Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * Azure.ResourceManager.Billing.Models.EnterpriseAgreementPolicies * Nullable<Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy> * Nullable<Azure.ResourceManager.Billing.Models.ReservationPurchasesPolicy> * Nullable<Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy> * seq<Azure.ResourceManager.Billing.Models.BillingPolicySummary> -> Azure.ResourceManager.Billing.Models.BillingAccountPolicyProperties
Public Shared Function BillingAccountPolicyProperties (Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional enterpriseAgreementPolicies As EnterpriseAgreementPolicies = Nothing, Optional marketplacePurchases As Nullable(Of MarketplacePurchasesPolicy) = Nothing, Optional reservationPurchases As Nullable(Of ReservationPurchasesPolicy) = Nothing, Optional savingsPlanPurchases As Nullable(Of SavingsPlanPurchasesPolicy) = Nothing, Optional policies As IEnumerable(Of BillingPolicySummary) = Nothing) As BillingAccountPolicyProperties

Parameters

provisioningState
Nullable<BillingProvisioningState>

The provisioning state of the resource during a long-running operation.

enterpriseAgreementPolicies
EnterpriseAgreementPolicies

The policies for Enterprise Agreement enrollments.

marketplacePurchases
Nullable<MarketplacePurchasesPolicy>

The policy that controls whether Azure marketplace purchases are allowed.

reservationPurchases
Nullable<ReservationPurchasesPolicy>

The policy that controls whether Azure reservation purchases are allowed.

savingsPlanPurchases
Nullable<SavingsPlanPurchasesPolicy>

The policy that controls whether users with Azure savings plan purchase are allowed.

policies
IEnumerable<BillingPolicySummary>

List of all policies defined at the billing scope.

Returns

A new BillingAccountPolicyProperties instance for mocking.

Applies to