diff --git a/azure-mgmt-costmanagement/MANIFEST.in b/azure-mgmt-costmanagement/MANIFEST.in index 6ceb27f7a96e..e4884efef41b 100644 --- a/azure-mgmt-costmanagement/MANIFEST.in +++ b/azure-mgmt-costmanagement/MANIFEST.in @@ -1,3 +1,4 @@ +recursive-include tests *.py *.yaml include *.rst include azure/__init__.py include azure/mgmt/__init__.py diff --git a/azure-mgmt-costmanagement/README.rst b/azure-mgmt-costmanagement/README.rst index 8e4d96c1db4a..57a3d5212207 100644 --- a/azure-mgmt-costmanagement/README.rst +++ b/azure-mgmt-costmanagement/README.rst @@ -28,3 +28,6 @@ Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the `Issues `__ section of the project. + + +.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-costmanagement%2FREADME.png diff --git a/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/exports_operations.py b/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/exports_operations.py index 28c016399294..f08534765780 100644 --- a/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/exports_operations.py +++ b/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/exports_operations.py @@ -40,9 +40,8 @@ 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 @@ -50,9 +49,7 @@ def list( '/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 @@ -109,9 +106,8 @@ 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 @@ -119,9 +115,7 @@ def get( '/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 @@ -183,9 +177,8 @@ 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 @@ -193,9 +186,7 @@ def create_or_update( '/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 @@ -264,9 +255,8 @@ 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 @@ -274,9 +264,7 @@ def delete( '/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 @@ -327,9 +315,8 @@ 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 @@ -337,9 +324,7 @@ def execute( '/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 @@ -391,9 +376,8 @@ 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 @@ -401,9 +385,7 @@ def get_execution_history( '/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 diff --git a/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/query_operations.py b/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/query_operations.py index e08c773557ab..c855c0cdd6f4 100644 --- a/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/query_operations.py +++ b/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/query_operations.py @@ -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 diff --git a/azure-mgmt-costmanagement/setup.py b/azure-mgmt-costmanagement/setup.py index a442f3e973bf..acc358f95393 100644 --- a/azure-mgmt-costmanagement/setup.py +++ b/azure-mgmt-costmanagement/setup.py @@ -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',