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

[AutoPR cost-management/resource-manager] [Hub Generated] Review request for Microsoft.CostManagement to add version stable/2019-01-01 #4825

Merged
Merged
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
1 change: 1 addition & 0 deletions azure-mgmt-costmanagement/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
recursive-include tests *.py *.yaml
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py
Expand Down
3 changes: 3 additions & 0 deletions azure-mgmt-costmanagement/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
section of the project.


.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-costmanagement%2FREADME.png
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,16 @@ def list(
self, scope, custom_headers=None, raw=False, **operation_config):
"""Lists all exports at the given scope.

:param scope: The scope associated with query and export operations.
This includes '/subscriptions/{subscriptionId}/' for subscription
scope,
:param scope: The scope associated with export operations. This
includes '/subscriptions/{subscriptionId}' for subscription scope,
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
for resourceGroup scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for
Billing Account scope and
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}'
for Department scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
for EnrollmentAccount scope and
'/providers/Microsoft.Management/managementGroups/{managementGroupId}
for Management Group scope..
for EnrollmentAccount scope.
:type scope: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down Expand Up @@ -109,19 +106,16 @@ def get(
self, scope, export_name, custom_headers=None, raw=False, **operation_config):
"""Gets the export for the defined scope by export name.

:param scope: The scope associated with query and export operations.
This includes '/subscriptions/{subscriptionId}/' for subscription
scope,
:param scope: The scope associated with export operations. This
includes '/subscriptions/{subscriptionId}' for subscription scope,
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
for resourceGroup scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for
Billing Account scope and
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}'
for Department scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
for EnrollmentAccount scope and
'/providers/Microsoft.Management/managementGroups/{managementGroupId}
for Management Group scope..
for EnrollmentAccount scope.
:type scope: str
:param export_name: Export Name.
:type export_name: str
Expand Down Expand Up @@ -183,19 +177,16 @@ def create_or_update(
latest eTag to be set in the request. You may obtain the latest eTag by
performing a get operation. Create operation does not require eTag.

:param scope: The scope associated with query and export operations.
This includes '/subscriptions/{subscriptionId}/' for subscription
scope,
:param scope: The scope associated with export operations. This
includes '/subscriptions/{subscriptionId}' for subscription scope,
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
for resourceGroup scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for
Billing Account scope and
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}'
for Department scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
for EnrollmentAccount scope and
'/providers/Microsoft.Management/managementGroups/{managementGroupId}
for Management Group scope..
for EnrollmentAccount scope.
:type scope: str
:param export_name: Export Name.
:type export_name: str
Expand Down Expand Up @@ -264,19 +255,16 @@ def delete(
self, scope, export_name, custom_headers=None, raw=False, **operation_config):
"""The operation to delete a export.

:param scope: The scope associated with query and export operations.
This includes '/subscriptions/{subscriptionId}/' for subscription
scope,
:param scope: The scope associated with export operations. This
includes '/subscriptions/{subscriptionId}' for subscription scope,
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
for resourceGroup scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for
Billing Account scope and
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}'
for Department scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
for EnrollmentAccount scope and
'/providers/Microsoft.Management/managementGroups/{managementGroupId}
for Management Group scope..
for EnrollmentAccount scope.
:type scope: str
:param export_name: Export Name.
:type export_name: str
Expand Down Expand Up @@ -327,19 +315,16 @@ def execute(
self, scope, export_name, custom_headers=None, raw=False, **operation_config):
"""The operation to execute a export.

:param scope: The scope associated with query and export operations.
This includes '/subscriptions/{subscriptionId}/' for subscription
scope,
:param scope: The scope associated with export operations. This
includes '/subscriptions/{subscriptionId}' for subscription scope,
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
for resourceGroup scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for
Billing Account scope and
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}'
for Department scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
for EnrollmentAccount scope and
'/providers/Microsoft.Management/managementGroups/{managementGroupId}
for Management Group scope..
for EnrollmentAccount scope.
:type scope: str
:param export_name: Export Name.
:type export_name: str
Expand Down Expand Up @@ -391,19 +376,16 @@ def get_execution_history(
"""Gets the execution history of a export for the defined scope by export
name.

:param scope: The scope associated with query and export operations.
This includes '/subscriptions/{subscriptionId}/' for subscription
scope,
:param scope: The scope associated with export operations. This
includes '/subscriptions/{subscriptionId}' for subscription scope,
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
for resourceGroup scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for
Billing Account scope and
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}'
for Department scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
for EnrollmentAccount scope and
'/providers/Microsoft.Management/managementGroups/{managementGroupId}
for Management Group scope..
for EnrollmentAccount scope.
:type scope: str
:param export_name: Export Name.
:type export_name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ def usage_by_scope(
self, scope, parameters, custom_headers=None, raw=False, **operation_config):
"""Query the usage data for scope defined.

:param scope: The scope associated with query and export operations.
This includes '/subscriptions/{subscriptionId}/' for subscription
scope,
:param scope: The scope associated with query operations. This
includes '/subscriptions/{subscriptionId}/' for subscription scope,
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
for resourceGroup scope,
'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for
Expand Down
1 change: 1 addition & 0 deletions azure-mgmt-costmanagement/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
version=version,
description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME),
long_description=readme + '\n\n' + history,
long_description_content_type='text/x-rst',
license='MIT License',
author='Microsoft Corporation',
author_email='azpysdkhelp@microsoft.com',
Expand Down