共用方式為


ArmBillingModelFactory.BillingCustomerPolicyProperties Method

Definition

Initializes a new instance of BillingCustomerPolicyProperties.

public static Azure.ResourceManager.Billing.Models.BillingCustomerPolicyProperties BillingCustomerPolicyProperties (Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, Azure.ResourceManager.Billing.Models.ViewChargesPolicy viewCharges = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPolicySummary> policies = default);
static member BillingCustomerPolicyProperties : Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * Azure.ResourceManager.Billing.Models.ViewChargesPolicy * seq<Azure.ResourceManager.Billing.Models.BillingPolicySummary> -> Azure.ResourceManager.Billing.Models.BillingCustomerPolicyProperties
Public Shared Function BillingCustomerPolicyProperties (Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional viewCharges As ViewChargesPolicy = Nothing, Optional policies As IEnumerable(Of BillingPolicySummary) = Nothing) As BillingCustomerPolicyProperties

Parameters

provisioningState
Nullable<BillingProvisioningState>

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

viewCharges
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 BillingCustomerPolicyProperties instance for mocking.

Applies to