Condividi tramite


BillingProfileCustomerPolicyCollection Class

Definition

A class representing a collection of BillingProfileCustomerPolicyResource and their operations. Each BillingProfileCustomerPolicyResource in the collection will belong to the same instance of BillingProfileCustomerResource. To get a BillingProfileCustomerPolicyCollection instance call the GetBillingProfileCustomerPolicies method from an instance of BillingProfileCustomerResource.

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

Constructors

BillingProfileCustomerPolicyCollection()

Initializes a new instance of the BillingProfileCustomerPolicyCollection 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(ServiceDefinedResourceName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/{policyName}
  • Operation Id: Policies_GetByCustomer
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileCustomerPolicyResource
ExistsAsync(ServiceDefinedResourceName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/{policyName}
  • Operation Id: Policies_GetByCustomer
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileCustomerPolicyResource
Get(ServiceDefinedResourceName, CancellationToken)

Lists the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/{policyName}
  • Operation Id: Policies_GetByCustomer
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileCustomerPolicyResource
GetAsync(ServiceDefinedResourceName, CancellationToken)

Lists the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/{policyName}
  • Operation Id: Policies_GetByCustomer
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileCustomerPolicyResource
GetIfExists(ServiceDefinedResourceName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/{policyName}
  • Operation Id: Policies_GetByCustomer
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileCustomerPolicyResource
GetIfExistsAsync(ServiceDefinedResourceName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/{policyName}
  • Operation Id: Policies_GetByCustomer
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileCustomerPolicyResource
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to