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 azure-mgmt-costmanagement] [costmanagement] Update readme.md #5768

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
1 change: 1 addition & 0 deletions sdk/costmanagement/azure-mgmt-costmanagement/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
8 changes: 8 additions & 0 deletions sdk/costmanagement/azure-mgmt-costmanagement/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "3c244ae1bf08078b636b02a84aa334acaf225b87",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/cost-management/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/cost-management/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@
from msrest import Serializer, Deserializer

from ._configuration import CostManagementClientConfiguration
from .operations import SettingsOperations
from .operations import ViewsOperations
from .operations import AlertsOperations
from .operations import ForecastOperations
from .operations import DimensionsOperations
from .operations import QueryOperations
from .operations import ExportsOperations
from .operations import GenerateReservationDetailsReportOperations
from .operations import Operations
from .operations import ExportsOperations
from . import models


Expand All @@ -26,14 +31,24 @@ class CostManagementClient(SDKClient):
:ivar config: Configuration for client.
:vartype config: CostManagementClientConfiguration

:ivar settings: Settings operations
:vartype settings: azure.mgmt.costmanagement.operations.SettingsOperations
:ivar views: Views operations
:vartype views: azure.mgmt.costmanagement.operations.ViewsOperations
:ivar alerts: Alerts operations
:vartype alerts: azure.mgmt.costmanagement.operations.AlertsOperations
:ivar forecast: Forecast operations
:vartype forecast: azure.mgmt.costmanagement.operations.ForecastOperations
:ivar dimensions: Dimensions operations
:vartype dimensions: azure.mgmt.costmanagement.operations.DimensionsOperations
:ivar query: Query operations
:vartype query: azure.mgmt.costmanagement.operations.QueryOperations
:ivar exports: Exports operations
:vartype exports: azure.mgmt.costmanagement.operations.ExportsOperations
:ivar generate_reservation_details_report: GenerateReservationDetailsReport operations
:vartype generate_reservation_details_report: azure.mgmt.costmanagement.operations.GenerateReservationDetailsReportOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.costmanagement.operations.Operations
:ivar exports: Exports operations
:vartype exports: azure.mgmt.costmanagement.operations.ExportsOperations

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -54,11 +69,21 @@ def __init__(
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.settings = SettingsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.views = ViewsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.alerts = AlertsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.forecast = ForecastOperations(
self._client, self.config, self._serialize, self._deserialize)
self.dimensions = DimensionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.query = QueryOperations(
self._client, self.config, self._serialize, self._deserialize)
self.exports = ExportsOperations(
self.generate_reservation_details_report = GenerateReservationDetailsReportOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.exports = ExportsOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,33 @@
# --------------------------------------------------------------------------

try:
from ._models_py3 import Alert
from ._models_py3 import AlertPropertiesDefinition
from ._models_py3 import AlertPropertiesDetails
from ._models_py3 import AlertsResult
from ._models_py3 import CacheItem
from ._models_py3 import CommonExportProperties
from ._models_py3 import Dimension
from ._models_py3 import DismissAlertPayload
from ._models_py3 import ErrorDetails
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import Export
from ._models_py3 import ExportDefinition
from ._models_py3 import ExportDeliveryDestination
from ._models_py3 import ExportDeliveryInfo
from ._models_py3 import ExportExecution
from ._models_py3 import ExportExecutionListResult
from ._models_py3 import ExportListResult
from ._models_py3 import ExportRecurrencePeriod
from ._models_py3 import ExportSchedule
from ._models_py3 import ForecastDefinition
from ._models_py3 import KpiProperties
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import OperationStatus
from ._models_py3 import PivotProperties
from ._models_py3 import ProxyResource
from ._models_py3 import ProxySettingResource
from ._models_py3 import QueryAggregation
from ._models_py3 import QueryColumn
from ._models_py3 import QueryComparisonExpression
Expand All @@ -34,22 +47,46 @@
from ._models_py3 import QueryGrouping
from ._models_py3 import QueryResult
from ._models_py3 import QueryTimePeriod
from ._models_py3 import ReportConfigAggregation
from ._models_py3 import ReportConfigComparisonExpression
from ._models_py3 import ReportConfigDataset
from ._models_py3 import ReportConfigDatasetConfiguration
from ._models_py3 import ReportConfigFilter
from ._models_py3 import ReportConfigGrouping
from ._models_py3 import ReportConfigSorting
from ._models_py3 import ReportConfigTimePeriod
from ._models_py3 import Resource
from ._models_py3 import Setting
from ._models_py3 import Status
from ._models_py3 import View
except (SyntaxError, ImportError):
from ._models import Alert
from ._models import AlertPropertiesDefinition
from ._models import AlertPropertiesDetails
from ._models import AlertsResult
from ._models import CacheItem
from ._models import CommonExportProperties
from ._models import Dimension
from ._models import DismissAlertPayload
from ._models import ErrorDetails
from ._models import ErrorResponse, ErrorResponseException
from ._models import Export
from ._models import ExportDefinition
from ._models import ExportDeliveryDestination
from ._models import ExportDeliveryInfo
from ._models import ExportExecution
from ._models import ExportExecutionListResult
from ._models import ExportListResult
from ._models import ExportRecurrencePeriod
from ._models import ExportSchedule
from ._models import ForecastDefinition
from ._models import KpiProperties
from ._models import Operation
from ._models import OperationDisplay
from ._models import OperationStatus
from ._models import PivotProperties
from ._models import ProxyResource
from ._models import ProxySettingResource
from ._models import QueryAggregation
from ._models import QueryColumn
from ._models import QueryComparisonExpression
Expand All @@ -60,36 +97,82 @@
from ._models import QueryGrouping
from ._models import QueryResult
from ._models import QueryTimePeriod
from ._models import ReportConfigAggregation
from ._models import ReportConfigComparisonExpression
from ._models import ReportConfigDataset
from ._models import ReportConfigDatasetConfiguration
from ._models import ReportConfigFilter
from ._models import ReportConfigGrouping
from ._models import ReportConfigSorting
from ._models import ReportConfigTimePeriod
from ._models import Resource
from ._models import Setting
from ._models import Status
from ._models import View
from ._paged_models import DimensionPaged
from ._paged_models import OperationPaged
from ._paged_models import SettingPaged
from ._paged_models import ViewPaged
from ._cost_management_client_enums import (
ExportType,
TimeframeType,
ReportTimeframeType,
ReportGranularityType,
ReportConfigColumnType,
OperatorType,
ChartType,
AccumulatedType,
MetricType,
KpiTypeType,
PivotTypeType,
AlertType,
AlertCategory,
AlertCriteria,
AlertSource,
AlertTimeGrainType,
AlertOperator,
AlertStatus,
ForecastType,
ForecastTimeframeType,
GranularityType,
QueryColumnType,
ExportType,
TimeframeType,
OperationStatusType,
StatusType,
RecurrenceType,
FormatType,
ExecutionType,
ExecutionStatus,
ExternalCloudProviderType,
)

__all__ = [
'Alert',
'AlertPropertiesDefinition',
'AlertPropertiesDetails',
'AlertsResult',
'CacheItem',
'CommonExportProperties',
'Dimension',
'DismissAlertPayload',
'ErrorDetails',
'ErrorResponse', 'ErrorResponseException',
'Export',
'ExportDefinition',
'ExportDeliveryDestination',
'ExportDeliveryInfo',
'ExportExecution',
'ExportExecutionListResult',
'ExportListResult',
'ExportRecurrencePeriod',
'ExportSchedule',
'ForecastDefinition',
'KpiProperties',
'Operation',
'OperationDisplay',
'OperationStatus',
'PivotProperties',
'ProxyResource',
'ProxySettingResource',
'QueryAggregation',
'QueryColumn',
'QueryComparisonExpression',
Expand All @@ -100,16 +183,49 @@
'QueryGrouping',
'QueryResult',
'QueryTimePeriod',
'ReportConfigAggregation',
'ReportConfigComparisonExpression',
'ReportConfigDataset',
'ReportConfigDatasetConfiguration',
'ReportConfigFilter',
'ReportConfigGrouping',
'ReportConfigSorting',
'ReportConfigTimePeriod',
'Resource',
'Setting',
'Status',
'View',
'SettingPaged',
'ViewPaged',
'DimensionPaged',
'OperationPaged',
'ExportType',
'TimeframeType',
'ReportTimeframeType',
'ReportGranularityType',
'ReportConfigColumnType',
'OperatorType',
'ChartType',
'AccumulatedType',
'MetricType',
'KpiTypeType',
'PivotTypeType',
'AlertType',
'AlertCategory',
'AlertCriteria',
'AlertSource',
'AlertTimeGrainType',
'AlertOperator',
'AlertStatus',
'ForecastType',
'ForecastTimeframeType',
'GranularityType',
'QueryColumnType',
'ExportType',
'TimeframeType',
'OperationStatusType',
'StatusType',
'RecurrenceType',
'FormatType',
'ExecutionType',
'ExecutionStatus',
'ExternalCloudProviderType',
]
Loading