Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,23 @@
from .operations.address_operations import AddressOperations
from .operations.available_balances_operations import AvailableBalancesOperations
from .operations.billing_profiles_operations import BillingProfilesOperations
from .operations.customers_operations import CustomersOperations
from .operations.invoice_sections_operations import InvoiceSectionsOperations
from .operations.billing_permissions_operations import BillingPermissionsOperations
from .operations.billing_subscriptions_operations import BillingSubscriptionsOperations
from .operations.products_operations import ProductsOperations
from .operations.transactions_operations import TransactionsOperations
from .operations.departments_operations import DepartmentsOperations
from .operations.enrollment_accounts_operations import EnrollmentAccountsOperations
from .operations.invoices_operations import InvoicesOperations
from .operations.price_sheet_operations import PriceSheetOperations
from .operations.billing_subscriptions_operations import BillingSubscriptionsOperations
from .operations.products_operations import ProductsOperations
from .operations.transactions_operations import TransactionsOperations
from .operations.policies_operations import PoliciesOperations
from .operations.billing_property_operations import BillingPropertyOperations
from .operations.transfers_operations import TransfersOperations
from .operations.partner_transfers_operations import PartnerTransfersOperations
from .operations.partner_transfers_transfers_operations import PartnerTransfersTransfersOperations
from .operations.recipient_transfers_operations import RecipientTransfersOperations
from .operations.operations import Operations
from .operations.billing_permissions_operations import BillingPermissionsOperations
from .operations.billing_role_definitions_operations import BillingRoleDefinitionsOperations
from .operations.billing_role_assignments_operations import BillingRoleAssignmentsOperations
from .operations.agreements_operations import AgreementsOperations
Expand Down Expand Up @@ -89,8 +90,18 @@ class BillingManagementClient(SDKClient):
:vartype available_balances: azure.mgmt.billing.operations.AvailableBalancesOperations
:ivar billing_profiles: BillingProfiles operations
:vartype billing_profiles: azure.mgmt.billing.operations.BillingProfilesOperations
:ivar customers: Customers operations
:vartype customers: azure.mgmt.billing.operations.CustomersOperations
:ivar invoice_sections: InvoiceSections operations
:vartype invoice_sections: azure.mgmt.billing.operations.InvoiceSectionsOperations
:ivar billing_permissions: BillingPermissions operations
:vartype billing_permissions: azure.mgmt.billing.operations.BillingPermissionsOperations
:ivar billing_subscriptions: BillingSubscriptions operations
:vartype billing_subscriptions: azure.mgmt.billing.operations.BillingSubscriptionsOperations
:ivar products: Products operations
:vartype products: azure.mgmt.billing.operations.ProductsOperations
:ivar transactions: Transactions operations
:vartype transactions: azure.mgmt.billing.operations.TransactionsOperations
:ivar departments: Departments operations
:vartype departments: azure.mgmt.billing.operations.DepartmentsOperations
:ivar enrollment_accounts: EnrollmentAccounts operations
Expand All @@ -99,12 +110,6 @@ class BillingManagementClient(SDKClient):
:vartype invoices: azure.mgmt.billing.operations.InvoicesOperations
:ivar price_sheet: PriceSheet operations
:vartype price_sheet: azure.mgmt.billing.operations.PriceSheetOperations
:ivar billing_subscriptions: BillingSubscriptions operations
:vartype billing_subscriptions: azure.mgmt.billing.operations.BillingSubscriptionsOperations
:ivar products: Products operations
:vartype products: azure.mgmt.billing.operations.ProductsOperations
:ivar transactions: Transactions operations
:vartype transactions: azure.mgmt.billing.operations.TransactionsOperations
:ivar policies: Policies operations
:vartype policies: azure.mgmt.billing.operations.PoliciesOperations
:ivar billing_property: BillingProperty operations
Expand All @@ -119,8 +124,6 @@ class BillingManagementClient(SDKClient):
:vartype recipient_transfers: azure.mgmt.billing.operations.RecipientTransfersOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.billing.operations.Operations
:ivar billing_permissions: BillingPermissions operations
:vartype billing_permissions: azure.mgmt.billing.operations.BillingPermissionsOperations
:ivar billing_role_definitions: BillingRoleDefinitions operations
:vartype billing_role_definitions: azure.mgmt.billing.operations.BillingRoleDefinitionsOperations
:ivar billing_role_assignments: BillingRoleAssignments operations
Expand Down Expand Up @@ -159,8 +162,18 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.billing_profiles = BillingProfilesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.customers = CustomersOperations(
self._client, self.config, self._serialize, self._deserialize)
self.invoice_sections = InvoiceSectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.billing_permissions = BillingPermissionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.billing_subscriptions = BillingSubscriptionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.products = ProductsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.transactions = TransactionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.departments = DepartmentsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.enrollment_accounts = EnrollmentAccountsOperations(
Expand All @@ -169,12 +182,6 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.price_sheet = PriceSheetOperations(
self._client, self.config, self._serialize, self._deserialize)
self.billing_subscriptions = BillingSubscriptionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.products = ProductsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.transactions = TransactionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.policies = PoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.billing_property = BillingPropertyOperations(
Expand All @@ -189,8 +196,6 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.billing_permissions = BillingPermissionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.billing_role_definitions = BillingRoleDefinitionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.billing_role_assignments = BillingRoleAssignmentsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
# --------------------------------------------------------------------------

try:
from .azure_plan_py3 import AzurePlan
from .reseller_py3 import Reseller
from .customer_py3 import Customer
from .initiate_transfer_request_py3 import InitiateTransferRequest
from .address_details_py3 import AddressDetails
from .validate_address_response_py3 import ValidateAddressResponse
Expand All @@ -26,7 +29,6 @@
from .validate_subscription_transfer_eligibility_error_py3 import ValidateSubscriptionTransferEligibilityError
from .validate_subscription_transfer_eligibility_result_py3 import ValidateSubscriptionTransferEligibilityResult
from .update_auto_renew_operation_py3 import UpdateAutoRenewOperation
from .azure_plan_py3 import AzurePlan
from .invoice_section_py3 import InvoiceSection
from .billing_profile_py3 import BillingProfile
from .enrollment_policies_py3 import EnrollmentPolicies
Expand Down Expand Up @@ -77,8 +79,14 @@
from .participants_py3 import Participants
from .agreement_py3 import Agreement
from .agreement_list_result_py3 import AgreementListResult
from .validation_result_properties_py3 import ValidationResultProperties
from .validate_transfer_response_py3 import ValidateTransferResponse
from .validate_transfer_list_response_py3 import ValidateTransferListResponse
from .line_of_credit_py3 import LineOfCredit
except (SyntaxError, ImportError):
from .azure_plan import AzurePlan
from .reseller import Reseller
from .customer import Customer
from .initiate_transfer_request import InitiateTransferRequest
from .address_details import AddressDetails
from .validate_address_response import ValidateAddressResponse
Expand All @@ -95,7 +103,6 @@
from .validate_subscription_transfer_eligibility_error import ValidateSubscriptionTransferEligibilityError
from .validate_subscription_transfer_eligibility_result import ValidateSubscriptionTransferEligibilityResult
from .update_auto_renew_operation import UpdateAutoRenewOperation
from .azure_plan import AzurePlan
from .invoice_section import InvoiceSection
from .billing_profile import BillingProfile
from .enrollment_policies import EnrollmentPolicies
Expand Down Expand Up @@ -146,8 +153,12 @@
from .participants import Participants
from .agreement import Agreement
from .agreement_list_result import AgreementListResult
from .validation_result_properties import ValidationResultProperties
from .validate_transfer_response import ValidateTransferResponse
from .validate_transfer_list_response import ValidateTransferListResponse
from .line_of_credit import LineOfCredit
from .payment_method_paged import PaymentMethodPaged
from .customer_paged import CustomerPaged
from .billing_subscription_paged import BillingSubscriptionPaged
from .product_paged import ProductPaged
from .transaction_paged import TransactionPaged
Expand Down Expand Up @@ -180,6 +191,9 @@
)

__all__ = [
'AzurePlan',
'Reseller',
'Customer',
'InitiateTransferRequest',
'AddressDetails',
'ValidateAddressResponse',
Expand All @@ -196,7 +210,6 @@
'ValidateSubscriptionTransferEligibilityError',
'ValidateSubscriptionTransferEligibilityResult',
'UpdateAutoRenewOperation',
'AzurePlan',
'InvoiceSection',
'BillingProfile',
'EnrollmentPolicies',
Expand Down Expand Up @@ -247,8 +260,12 @@
'Participants',
'Agreement',
'AgreementListResult',
'ValidationResultProperties',
'ValidateTransferResponse',
'ValidateTransferListResponse',
'LineOfCredit',
'PaymentMethodPaged',
'CustomerPaged',
'BillingSubscriptionPaged',
'ProductPaged',
'TransactionPaged',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BillingPermissionsListResult(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar value: The list OF billingPermissions a caller has on a billing
:ivar value: The list of billingPermissions a caller has on a billing
account.
:vartype value:
list[~azure.mgmt.billing.models.BillingPermissionsProperties]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BillingPermissionsListResult(Model):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar value: The list OF billingPermissions a caller has on a billing
:ivar value: The list of billingPermissions a caller has on a billing
account.
:vartype value:
list[~azure.mgmt.billing.models.BillingPermissionsProperties]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class BillingRoleDefinition(Resource):
:vartype type: str
:ivar description: The role description
:vartype description: str
:ivar value: The list OF billingPermissions a caller has on a billing
:ivar value: The list of billingPermissions a caller has on a billing
account.
:vartype value:
list[~azure.mgmt.billing.models.BillingPermissionsProperties]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class BillingRoleDefinition(Resource):
:vartype type: str
:ivar description: The role description
:vartype description: str
:ivar value: The list OF billingPermissions a caller has on a billing
:ivar value: The list of billingPermissions a caller has on a billing
account.
:vartype value:
list[~azure.mgmt.billing.models.BillingPermissionsProperties]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,19 @@ class BillingSubscription(Resource):
:ivar billing_profile_display_name: Billing Profile display name to which
this product belongs.
:vartype billing_profile_display_name: str
:ivar customer_id: Customer id to which this product belongs.
:vartype customer_id: str
:ivar customer_display_name: Display name of customer to which this
product belongs.
:vartype customer_display_name: str
:ivar invoice_section_id: Invoice section id to which this product
belongs.
:vartype invoice_section_id: str
:ivar invoice_section_display_name: Invoice section display name to which
this product belongs.
:vartype invoice_section_display_name: str
:ivar reseller: Reseller for this subscription.
:vartype reseller: ~azure.mgmt.billing.models.Reseller
:param sku_id: The sku id.
:type sku_id: str
:ivar sku_description: The sku description.
Expand All @@ -64,8 +71,11 @@ class BillingSubscription(Resource):
'month_to_date_charges': {'readonly': True},
'billing_profile_id': {'readonly': True},
'billing_profile_display_name': {'readonly': True},
'customer_id': {'readonly': True},
'customer_display_name': {'readonly': True},
'invoice_section_id': {'readonly': True},
'invoice_section_display_name': {'readonly': True},
'reseller': {'readonly': True},
'sku_description': {'readonly': True},
}

Expand All @@ -80,8 +90,11 @@ class BillingSubscription(Resource):
'month_to_date_charges': {'key': 'properties.monthToDateCharges', 'type': 'Amount'},
'billing_profile_id': {'key': 'properties.billingProfileId', 'type': 'str'},
'billing_profile_display_name': {'key': 'properties.billingProfileDisplayName', 'type': 'str'},
'customer_id': {'key': 'properties.customerId', 'type': 'str'},
'customer_display_name': {'key': 'properties.customerDisplayName', 'type': 'str'},
'invoice_section_id': {'key': 'properties.invoiceSectionId', 'type': 'str'},
'invoice_section_display_name': {'key': 'properties.invoiceSectionDisplayName', 'type': 'str'},
'reseller': {'key': 'properties.reseller', 'type': 'Reseller'},
'sku_id': {'key': 'properties.skuId', 'type': 'str'},
'sku_description': {'key': 'properties.skuDescription', 'type': 'str'},
}
Expand All @@ -95,7 +108,10 @@ def __init__(self, **kwargs):
self.month_to_date_charges = None
self.billing_profile_id = None
self.billing_profile_display_name = None
self.customer_id = None
self.customer_display_name = None
self.invoice_section_id = None
self.invoice_section_display_name = None
self.reseller = None
self.sku_id = kwargs.get('sku_id', None)
self.sku_description = None
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,19 @@ class BillingSubscription(Resource):
:ivar billing_profile_display_name: Billing Profile display name to which
this product belongs.
:vartype billing_profile_display_name: str
:ivar customer_id: Customer id to which this product belongs.
:vartype customer_id: str
:ivar customer_display_name: Display name of customer to which this
product belongs.
:vartype customer_display_name: str
:ivar invoice_section_id: Invoice section id to which this product
belongs.
:vartype invoice_section_id: str
:ivar invoice_section_display_name: Invoice section display name to which
this product belongs.
:vartype invoice_section_display_name: str
:ivar reseller: Reseller for this subscription.
:vartype reseller: ~azure.mgmt.billing.models.Reseller
:param sku_id: The sku id.
:type sku_id: str
:ivar sku_description: The sku description.
Expand All @@ -64,8 +71,11 @@ class BillingSubscription(Resource):
'month_to_date_charges': {'readonly': True},
'billing_profile_id': {'readonly': True},
'billing_profile_display_name': {'readonly': True},
'customer_id': {'readonly': True},
'customer_display_name': {'readonly': True},
'invoice_section_id': {'readonly': True},
'invoice_section_display_name': {'readonly': True},
'reseller': {'readonly': True},
'sku_description': {'readonly': True},
}

Expand All @@ -80,8 +90,11 @@ class BillingSubscription(Resource):
'month_to_date_charges': {'key': 'properties.monthToDateCharges', 'type': 'Amount'},
'billing_profile_id': {'key': 'properties.billingProfileId', 'type': 'str'},
'billing_profile_display_name': {'key': 'properties.billingProfileDisplayName', 'type': 'str'},
'customer_id': {'key': 'properties.customerId', 'type': 'str'},
'customer_display_name': {'key': 'properties.customerDisplayName', 'type': 'str'},
'invoice_section_id': {'key': 'properties.invoiceSectionId', 'type': 'str'},
'invoice_section_display_name': {'key': 'properties.invoiceSectionDisplayName', 'type': 'str'},
'reseller': {'key': 'properties.reseller', 'type': 'Reseller'},
'sku_id': {'key': 'properties.skuId', 'type': 'str'},
'sku_description': {'key': 'properties.skuDescription', 'type': 'str'},
}
Expand All @@ -95,7 +108,10 @@ def __init__(self, *, subscription_billing_status=None, sku_id: str=None, **kwar
self.month_to_date_charges = None
self.billing_profile_id = None
self.billing_profile_display_name = None
self.customer_id = None
self.customer_display_name = None
self.invoice_section_id = None
self.invoice_section_display_name = None
self.reseller = None
self.sku_id = sku_id
self.sku_description = None
Loading