-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR cost-management/resource-manager] PR - Introduce new API vers…
…ion (2019-01-01) with new (Export-related APIs) introduced (#4291) * Generated from 1fd359a4268074a5afb5b0706411b500260ea8ac readme updated to update tag package name per reviewers suggestion to fix check errors. * Packaging update of azure-mgmt-costmanagement * Generated from 8b2e7a5828fed35240abcbd92caca0f5a612a470 Based on ARM review introduced the use of 'scope' and abstracted out different scopes for API paths defined * Generated from fe55f184a9e5d9b66823d36ffe90a8a89411da2b ARM review based changes. * Generated from 97b0e06c068c2403ec16aa2ecea95e4c79d4d65a ARM review based change. Updated path to represent 'scope'. * Generated from 526b0925dc38b30e76398f351a475a013b77cac7 updated query parameter scope to include management group path
- Loading branch information
1 parent
02d8f52
commit 943a554
Showing
71 changed files
with
1,651 additions
and
3,739 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
azure-mgmt-costmanagement/azure/mgmt/costmanagement/models/common_export_properties.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CommonExportProperties(Model): | ||
"""The common properties of the export. | ||
All required parameters must be populated in order to send to Azure. | ||
:param format: The format of the export being delivered. Possible values | ||
include: 'Csv' | ||
:type format: str or ~azure.mgmt.costmanagement.models.FormatType | ||
:param delivery_info: Required. Has delivery information for the export. | ||
:type delivery_info: ~azure.mgmt.costmanagement.models.ExportDeliveryInfo | ||
:param definition: Required. Has definition for the export. | ||
:type definition: ~azure.mgmt.costmanagement.models.QueryDefinition | ||
""" | ||
|
||
_validation = { | ||
'delivery_info': {'required': True}, | ||
'definition': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'format': {'key': 'format', 'type': 'str'}, | ||
'delivery_info': {'key': 'deliveryInfo', 'type': 'ExportDeliveryInfo'}, | ||
'definition': {'key': 'definition', 'type': 'QueryDefinition'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(CommonExportProperties, self).__init__(**kwargs) | ||
self.format = kwargs.get('format', None) | ||
self.delivery_info = kwargs.get('delivery_info', None) | ||
self.definition = kwargs.get('definition', None) |
44 changes: 44 additions & 0 deletions
44
azure-mgmt-costmanagement/azure/mgmt/costmanagement/models/common_export_properties_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class CommonExportProperties(Model): | ||
"""The common properties of the export. | ||
All required parameters must be populated in order to send to Azure. | ||
:param format: The format of the export being delivered. Possible values | ||
include: 'Csv' | ||
:type format: str or ~azure.mgmt.costmanagement.models.FormatType | ||
:param delivery_info: Required. Has delivery information for the export. | ||
:type delivery_info: ~azure.mgmt.costmanagement.models.ExportDeliveryInfo | ||
:param definition: Required. Has definition for the export. | ||
:type definition: ~azure.mgmt.costmanagement.models.QueryDefinition | ||
""" | ||
|
||
_validation = { | ||
'delivery_info': {'required': True}, | ||
'definition': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'format': {'key': 'format', 'type': 'str'}, | ||
'delivery_info': {'key': 'deliveryInfo', 'type': 'ExportDeliveryInfo'}, | ||
'definition': {'key': 'definition', 'type': 'QueryDefinition'}, | ||
} | ||
|
||
def __init__(self, *, delivery_info, definition, format=None, **kwargs) -> None: | ||
super(CommonExportProperties, self).__init__(**kwargs) | ||
self.format = format | ||
self.delivery_info = delivery_info | ||
self.definition = definition |
Oops, something went wrong.