ArmBillingModelFactory.SubscriptionPolicyProperties Method

Definition

Initializes a new instance of SubscriptionPolicyProperties.

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

Parameters

provisioningState
Nullable<BillingProvisioningState>

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

policies
IEnumerable<BillingPolicySummary>

List of all policies defined at the billing scope.

Returns

A new SubscriptionPolicyProperties instance for mocking.

Applies to