Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR track2_azure-mgmt-billing] Update readme.python.md #19469

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
11 changes: 7 additions & 4 deletions sdk/billing/azure-mgmt-billing/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/python@5.6.6",
"commit": "1e43e60cfb0bb2829ff8d57a9ba06a2410f0b3c0",
"autorest": "3.4.2",
"use": [
"@autorest/python@5.8.1",
"@autorest/modelerfour@4.19.2"
],
"commit": "7dd1c2dc87aa068fa718866bc9d6eeb7ea377c41",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/billing/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
"autorest_command": "autorest specification/billing/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
"readme": "specification/billing/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "6.0.0"
VERSION = "0.3.0"
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
async def validate(
self,
address: "_models.AddressDetails",
**kwargs
**kwargs: Any
) -> "_models.ValidateAddressResponse":
"""Validates an address. Use the operation to validate an address before using it as soldTo or a
billTo address.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def list_by_billing_account(
self,
billing_account_name: str,
expand: Optional[str] = None,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.AgreementListResult"]:
"""Lists the agreements for a billing account.

Expand Down Expand Up @@ -121,7 +121,7 @@ async def get(
billing_account_name: str,
agreement_name: str,
expand: Optional[str] = None,
**kwargs
**kwargs: Any
) -> "_models.Agreement":
"""Gets an agreement by ID.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(
self,
billing_account_name: str,
billing_profile_name: str,
**kwargs
**kwargs: Any
) -> "_models.AvailableBalance":
"""The available credit balance for a billing profile. This is the balance that can be used for
pay now to settle due or past due invoices. The operation is supported only for billing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:
def list(
self,
expand: Optional[str] = None,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingAccountListResult"]:
"""Lists the billing accounts that a user has access to.

Expand Down Expand Up @@ -115,7 +115,7 @@ async def get(
self,
billing_account_name: str,
expand: Optional[str] = None,
**kwargs
**kwargs: Any
) -> "_models.BillingAccount":
"""Gets a billing account by its ID.

Expand Down Expand Up @@ -174,7 +174,7 @@ async def _update_initial(
self,
billing_account_name: str,
parameters: "_models.BillingAccountUpdateRequest",
**kwargs
**kwargs: Any
) -> Optional["_models.BillingAccount"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BillingAccount"]]
error_map = {
Expand Down Expand Up @@ -227,7 +227,7 @@ async def begin_update(
self,
billing_account_name: str,
parameters: "_models.BillingAccountUpdateRequest",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.BillingAccount"]:
"""Updates the properties of a billing account. Currently, displayName and address can be updated.
The operation is supported only for billing accounts with agreement type Microsoft Customer
Expand All @@ -240,8 +240,8 @@ async def begin_update(
:type parameters: ~azure.mgmt.billing.models.BillingAccountUpdateRequest
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either BillingAccount or the result of cls(response)
Expand Down Expand Up @@ -294,7 +294,7 @@ def get_long_running_output(pipeline_response):
def list_invoice_sections_by_create_subscription_permission(
self,
billing_account_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.InvoiceSectionListWithCreateSubPermissionResult"]:
"""Lists the invoice sections for which the user has permission to create Azure subscriptions. The
operation is supported only for billing accounts with agreement type Microsoft Customer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def list(
filter: Optional[str] = None,
skiptoken: Optional[str] = None,
top: Optional[int] = None,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingPeriodsListResult"]:
"""Lists the available billing periods for a subscription in reverse chronological order. This is
only supported for Azure Web-Direct subscriptions. Other subscription types which were not
Expand Down Expand Up @@ -132,7 +132,7 @@ async def get_next(next_link=None):
async def get(
self,
billing_period_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingPeriod":
"""Gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other
subscription types which were not purchased directly through the Azure web portal are not
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def list_by_customer(
self,
billing_account_name: str,
customer_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingPermissionsListResult"]:
"""Lists the billing permissions the caller has for a customer.

Expand Down Expand Up @@ -118,7 +118,7 @@ async def get_next(next_link=None):
def list_by_billing_account(
self,
billing_account_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingPermissionsListResult"]:
"""Lists the billing permissions the caller has on a billing account.

Expand Down Expand Up @@ -190,7 +190,7 @@ def list_by_invoice_sections(
billing_account_name: str,
billing_profile_name: str,
invoice_section_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingPermissionsListResult"]:
"""Lists the billing permissions the caller has on an invoice section.

Expand Down Expand Up @@ -267,7 +267,7 @@ def list_by_billing_profile(
self,
billing_account_name: str,
billing_profile_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingPermissionsListResult"]:
"""Lists the billing permissions the caller has on a billing profile.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def list_by_billing_account(
self,
billing_account_name: str,
expand: Optional[str] = None,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingProfileListResult"]:
"""Lists the billing profiles that a user has access to. The operation is supported for billing
accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Expand Down Expand Up @@ -124,7 +124,7 @@ async def get(
billing_account_name: str,
billing_profile_name: str,
expand: Optional[str] = None,
**kwargs
**kwargs: Any
) -> "_models.BillingProfile":
"""Gets a billing profile by its ID. The operation is supported for billing accounts with
agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Expand Down Expand Up @@ -188,7 +188,7 @@ async def _create_or_update_initial(
billing_account_name: str,
billing_profile_name: str,
parameters: "_models.BillingProfile",
**kwargs
**kwargs: Any
) -> Optional["_models.BillingProfile"]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BillingProfile"]]
error_map = {
Expand Down Expand Up @@ -248,7 +248,7 @@ async def begin_create_or_update(
billing_account_name: str,
billing_profile_name: str,
parameters: "_models.BillingProfile",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.BillingProfile"]:
"""Creates or updates a billing profile. The operation is supported for billing accounts with
agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Expand All @@ -261,8 +261,8 @@ async def begin_create_or_update(
:type parameters: ~azure.mgmt.billing.models.BillingProfile
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either BillingProfile or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

async def get(
self,
**kwargs
**kwargs: Any
) -> "_models.BillingProperty":
"""Get the billing properties for a subscription. This operation is not supported for billing
accounts with agreement type Enterprise Agreement.
Expand Down Expand Up @@ -95,7 +95,7 @@ async def get(
async def update(
self,
parameters: "_models.BillingProperty",
**kwargs
**kwargs: Any
) -> "_models.BillingProperty":
"""Updates the billing property of a subscription. Currently, cost center can be updated. The
operation is supported only for billing accounts with agreement type Microsoft Customer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def get_by_billing_account(
self,
billing_account_name: str,
billing_role_assignment_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingRoleAssignment":
"""Gets a role assignment for the caller on a billing account. The operation is supported for
billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
Expand Down Expand Up @@ -105,7 +105,7 @@ async def delete_by_billing_account(
self,
billing_account_name: str,
billing_role_assignment_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingRoleAssignment":
"""Deletes a role assignment for the caller on a billing account. The operation is supported for
billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
Expand Down Expand Up @@ -167,7 +167,7 @@ async def get_by_invoice_section(
billing_profile_name: str,
invoice_section_name: str,
billing_role_assignment_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingRoleAssignment":
"""Gets a role assignment for the caller on an invoice section. The operation is supported for
billing accounts with agreement type Microsoft Customer Agreement.
Expand Down Expand Up @@ -234,7 +234,7 @@ async def delete_by_invoice_section(
billing_profile_name: str,
invoice_section_name: str,
billing_role_assignment_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingRoleAssignment":
"""Deletes a role assignment for the caller on an invoice section. The operation is supported for
billing accounts with agreement type Microsoft Customer Agreement.
Expand Down Expand Up @@ -300,7 +300,7 @@ async def get_by_billing_profile(
billing_account_name: str,
billing_profile_name: str,
billing_role_assignment_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingRoleAssignment":
"""Gets a role assignment for the caller on a billing profile. The operation is supported for
billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
Expand Down Expand Up @@ -364,7 +364,7 @@ async def delete_by_billing_profile(
billing_account_name: str,
billing_profile_name: str,
billing_role_assignment_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingRoleAssignment":
"""Deletes a role assignment for the caller on a billing profile. The operation is supported for
billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
Expand Down Expand Up @@ -426,7 +426,7 @@ async def delete_by_billing_profile(
def list_by_billing_account(
self,
billing_account_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingRoleAssignmentListResult"]:
"""Lists the role assignments for the caller on a billing account. The operation is supported for
billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer
Expand Down Expand Up @@ -500,7 +500,7 @@ def list_by_invoice_section(
billing_account_name: str,
billing_profile_name: str,
invoice_section_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingRoleAssignmentListResult"]:
"""Lists the role assignments for the caller on an invoice section. The operation is supported for
billing accounts with agreement type Microsoft Customer Agreement.
Expand Down Expand Up @@ -578,7 +578,7 @@ def list_by_billing_profile(
self,
billing_account_name: str,
billing_profile_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingRoleAssignmentListResult"]:
"""Lists the role assignments for the caller on a billing profile. The operation is supported for
billing accounts with agreement type Microsoft Customer Agreement.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def get_by_billing_account(
self,
billing_account_name: str,
billing_role_definition_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingRoleDefinition":
"""Gets the definition for a role on a billing account. The operation is supported for billing
accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Expand Down Expand Up @@ -106,7 +106,7 @@ async def get_by_invoice_section(
billing_profile_name: str,
invoice_section_name: str,
billing_role_definition_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingRoleDefinition":
"""Gets the definition for a role on an invoice section. The operation is supported only for
billing accounts with agreement type Microsoft Customer Agreement.
Expand Down Expand Up @@ -172,7 +172,7 @@ async def get_by_billing_profile(
billing_account_name: str,
billing_profile_name: str,
billing_role_definition_name: str,
**kwargs
**kwargs: Any
) -> "_models.BillingRoleDefinition":
"""Gets the definition for a role on a billing profile. The operation is supported for billing
accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Expand Down Expand Up @@ -233,7 +233,7 @@ async def get_by_billing_profile(
def list_by_billing_account(
self,
billing_account_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingRoleDefinitionListResult"]:
"""Lists the role definitions for a billing account. The operation is supported for billing
accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Expand Down Expand Up @@ -306,7 +306,7 @@ def list_by_invoice_section(
billing_account_name: str,
billing_profile_name: str,
invoice_section_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingRoleDefinitionListResult"]:
"""Lists the role definitions for an invoice section. The operation is supported for billing
accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Expand Down Expand Up @@ -384,7 +384,7 @@ def list_by_billing_profile(
self,
billing_account_name: str,
billing_profile_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.BillingRoleDefinitionListResult"]:
"""Lists the role definitions for a billing profile. The operation is supported for billing
accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Expand Down
Loading