Delen via


BillingAccountPolicyCollection Class

Definition

A class representing a collection of BillingAccountPolicyResource and their operations. Each BillingAccountPolicyResource in the collection will belong to the same instance of TenantResource. To get a BillingAccountPolicyCollection instance call the GetBillingAccountPolicies method from an instance of TenantResource.

public class BillingAccountPolicyCollection : Azure.ResourceManager.ArmCollection
type BillingAccountPolicyCollection = class
    inherit ArmCollection
Public Class BillingAccountPolicyCollection
Inherits ArmCollection
Inheritance
BillingAccountPolicyCollection

Constructors

BillingAccountPolicyCollection()

Initializes a new instance of the BillingAccountPolicyCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default
  • Operation Id: BillingAccount_GetPolicy
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default
  • Operation Id: BillingAccount_GetPolicy
Get(String, CancellationToken)

Get Billing Account Policy.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default
  • Operation Id: BillingAccount_GetPolicy
GetAsync(String, CancellationToken)

Get Billing Account Policy.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default
  • Operation Id: BillingAccount_GetPolicy
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default
  • Operation Id: BillingAccount_GetPolicy
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default
  • Operation Id: BillingAccount_GetPolicy
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to