ArmBillingModelFactory.BillingProfilePolicyProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BillingProfilePolicyProperties.
public static Azure.ResourceManager.Billing.Models.BillingProfilePolicyProperties BillingProfilePolicyProperties (Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, Azure.ResourceManager.Billing.Models.EnterpriseAgreementPolicies enterpriseAgreementPolicies = default, Azure.ResourceManager.Billing.Models.InvoiceSectionLabelManagementPolicy? invoiceSectionLabelManagement = default, Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy? marketplacePurchases = default, Azure.ResourceManager.Billing.Models.ReservationPurchasesPolicy? reservationPurchases = default, Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy? savingsPlanPurchases = default, Azure.ResourceManager.Billing.Models.ViewChargesPolicy? viewCharges = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPolicySummary> policies = default);
static member BillingProfilePolicyProperties : Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * Azure.ResourceManager.Billing.Models.EnterpriseAgreementPolicies * Nullable<Azure.ResourceManager.Billing.Models.InvoiceSectionLabelManagementPolicy> * Nullable<Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy> * Nullable<Azure.ResourceManager.Billing.Models.ReservationPurchasesPolicy> * Nullable<Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy> * Nullable<Azure.ResourceManager.Billing.Models.ViewChargesPolicy> * seq<Azure.ResourceManager.Billing.Models.BillingPolicySummary> -> Azure.ResourceManager.Billing.Models.BillingProfilePolicyProperties
Public Shared Function BillingProfilePolicyProperties (Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional enterpriseAgreementPolicies As EnterpriseAgreementPolicies = Nothing, Optional invoiceSectionLabelManagement As Nullable(Of InvoiceSectionLabelManagementPolicy) = Nothing, Optional marketplacePurchases As Nullable(Of MarketplacePurchasesPolicy) = Nothing, Optional reservationPurchases As Nullable(Of ReservationPurchasesPolicy) = Nothing, Optional savingsPlanPurchases As Nullable(Of SavingsPlanPurchasesPolicy) = Nothing, Optional viewCharges As Nullable(Of ViewChargesPolicy) = Nothing, Optional policies As IEnumerable(Of BillingPolicySummary) = Nothing) As BillingProfilePolicyProperties
Parameters
- provisioningState
- Nullable<BillingProvisioningState>
The provisioning state of the resource during a long-running operation.
- enterpriseAgreementPolicies
- EnterpriseAgreementPolicies
The policies for Enterprise Agreement enrollments.
- invoiceSectionLabelManagement
- Nullable<InvoiceSectionLabelManagementPolicy>
The policy that controls invoice section label management at invoice section scope. This is allowed by default.
- 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.
- viewCharges
- Nullable<ViewChargesPolicy>
The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices.
- policies
- IEnumerable<BillingPolicySummary>
List of all policies defined at the billing scope.
Returns
A new BillingProfilePolicyProperties instance for mocking.
Applies to
Azure SDK for .NET