-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[AutoPr] monitor/resource-manager #1931
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2fc289f
[Monitor] Add Public Preview APIs of Metric Baseline (#1710)
AutorestCI a36f114
Generated from df75ee5f47b030dfa0d66e0cac2cf68fcc29b071 (#1891)
lmazuel 98c65ea
Generated from 00a5689e14e49f0c822c7e5a9807982ec2ecda45 (#1927)
AutorestCI d017994
Rebuild by https://github.com/Azure/azure-sdk-for-python/pull/1931
AutorestCI deb50ba
Generated from eabf2683eee832655c5e028aa1f3501a6113780b (#2009)
AutorestCI d27e72f
[AutoPR monitor/resource-manager] [DO NOT MERGE, until feb 20] Adding…
AutorestCI 6de6322
Generated from 067e5a9fee3acee4afed33296cadde18b73a3f1c (#2080)
AutorestCI 0875231
Generated from b0b757a970cf10c190a722bef8a33de12b42ee93 (#2087)
AutorestCI 18d253a
Generated from 189d112e0d578ff72b4e4531174f8d3c80c0b2f3 (#2176)
AutorestCI 9afc4f7
Generated from a878bd64cf43e5cb9155fdecff440bfee98a49ce (#2174)
AutorestCI 98dac47
azure-mgmt-monitor 0.5.0
lmazuel b779c2d
Re-record Monitor tests
lmazuel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Generated from df75ee5f47b030dfa0d66e0cac2cf68fcc29b071 (#1891)
fix python sdk failure
- Loading branch information
commit a36f114092bfac8e32ac3a6d2f2e7a994515a1ee
There are no files selected for viewing
This file contains hidden or 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
34 changes: 34 additions & 0 deletions
34
azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_patch_body.py
This file contains hidden or 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,34 @@ | ||
| # 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 ActionGroupPatchBody(Model): | ||
| """An action group object for the body of patch operations. | ||
|
|
||
| :param tags: Resource tags | ||
| :type tags: dict[str, str] | ||
| :param enabled: Indicates whether this action group is enabled. If an | ||
| action group is not enabled, then none of its actions will be activated. | ||
| Default value: True . | ||
| :type enabled: bool | ||
| """ | ||
|
|
||
| _attribute_map = { | ||
| 'tags': {'key': 'tags', 'type': '{str}'}, | ||
| 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, | ||
| } | ||
|
|
||
| def __init__(self, tags=None, enabled=True): | ||
| super(ActionGroupPatchBody, self).__init__() | ||
| self.tags = tags | ||
| self.enabled = enabled |
This file contains hidden or 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
58 changes: 58 additions & 0 deletions
58
azure-mgmt-monitor/azure/mgmt/monitor/models/automation_runbook_receiver.py
This file contains hidden or 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,58 @@ | ||
| # 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 AutomationRunbookReceiver(Model): | ||
| """The Azure Automation Runbook notification receiver. | ||
|
|
||
| :param automation_account_id: The Azure automation account Id which holds | ||
| this runbook and authenticate to Azure resource. | ||
| :type automation_account_id: str | ||
| :param runbook_name: The name for this runbook. | ||
| :type runbook_name: str | ||
| :param webhook_resource_id: The resource id for webhook linked to this | ||
| runbook. | ||
| :type webhook_resource_id: str | ||
| :param is_global_runbook: Indicates whether this instance is global | ||
| runbook. | ||
| :type is_global_runbook: bool | ||
| :param name: Indicates name of the webhook. | ||
| :type name: str | ||
| :param service_uri: The URI where webhooks should be sent. | ||
| :type service_uri: str | ||
| """ | ||
|
|
||
| _validation = { | ||
| 'automation_account_id': {'required': True}, | ||
| 'runbook_name': {'required': True}, | ||
| 'webhook_resource_id': {'required': True}, | ||
| 'is_global_runbook': {'required': True}, | ||
| } | ||
|
|
||
| _attribute_map = { | ||
| 'automation_account_id': {'key': 'automationAccountId', 'type': 'str'}, | ||
| 'runbook_name': {'key': 'runbookName', 'type': 'str'}, | ||
| 'webhook_resource_id': {'key': 'webhookResourceId', 'type': 'str'}, | ||
| 'is_global_runbook': {'key': 'isGlobalRunbook', 'type': 'bool'}, | ||
| 'name': {'key': 'name', 'type': 'str'}, | ||
| 'service_uri': {'key': 'serviceUri', 'type': 'str'}, | ||
| } | ||
|
|
||
| def __init__(self, automation_account_id, runbook_name, webhook_resource_id, is_global_runbook, name=None, service_uri=None): | ||
| super(AutomationRunbookReceiver, self).__init__() | ||
| self.automation_account_id = automation_account_id | ||
| self.runbook_name = runbook_name | ||
| self.webhook_resource_id = webhook_resource_id | ||
| self.is_global_runbook = is_global_runbook | ||
| self.name = name | ||
| self.service_uri = service_uri |
39 changes: 39 additions & 0 deletions
39
azure-mgmt-monitor/azure/mgmt/monitor/models/azure_app_push_receiver.py
This file contains hidden or 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,39 @@ | ||
| # 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 AzureAppPushReceiver(Model): | ||
| """The Azure mobile App push notification receiver. | ||
|
|
||
| :param name: The name of the Azure mobile app push receiver. Names must be | ||
| unique across all receivers within an action group. | ||
| :type name: str | ||
| :param email_address: The email address registered for the Azure mobile | ||
| app. | ||
| :type email_address: str | ||
| """ | ||
|
|
||
| _validation = { | ||
| 'name': {'required': True}, | ||
| 'email_address': {'required': True}, | ||
| } | ||
|
|
||
| _attribute_map = { | ||
| 'name': {'key': 'name', 'type': 'str'}, | ||
| 'email_address': {'key': 'emailAddress', 'type': 'str'}, | ||
| } | ||
|
|
||
| def __init__(self, name, email_address): | ||
| super(AzureAppPushReceiver, self).__init__() | ||
| self.name = name | ||
| self.email_address = email_address |
56 changes: 56 additions & 0 deletions
56
azure-mgmt-monitor/azure/mgmt/monitor/models/itsm_receiver.py
This file contains hidden or 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,56 @@ | ||
| # 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 ItsmReceiver(Model): | ||
| """An Itsm receiver. | ||
|
|
||
| :param name: The name of the Itsm receiver. Names must be unique across | ||
| all receivers within an action group. | ||
| :type name: str | ||
| :param workspace_id: OMS LA instance identifier. | ||
| :type workspace_id: str | ||
| :param connection_id: Unique identification of ITSM connection among | ||
| multiple defined in above workspace. | ||
| :type connection_id: str | ||
| :param ticket_configuration: JSON blob for the configurations of the ITSM | ||
| action. CreateMultipleWorkItems option will be part of this blob as well. | ||
| :type ticket_configuration: str | ||
| :param region: Region in which workspace resides. Supported | ||
| values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope' | ||
| :type region: str | ||
| """ | ||
|
|
||
| _validation = { | ||
| 'name': {'required': True}, | ||
| 'workspace_id': {'required': True}, | ||
| 'connection_id': {'required': True}, | ||
| 'ticket_configuration': {'required': True}, | ||
| 'region': {'required': True}, | ||
| } | ||
|
|
||
| _attribute_map = { | ||
| 'name': {'key': 'name', 'type': 'str'}, | ||
| 'workspace_id': {'key': 'workspaceId', 'type': 'str'}, | ||
| 'connection_id': {'key': 'connectionId', 'type': 'str'}, | ||
| 'ticket_configuration': {'key': 'ticketConfiguration', 'type': 'str'}, | ||
| 'region': {'key': 'region', 'type': 'str'}, | ||
| } | ||
|
|
||
| def __init__(self, name, workspace_id, connection_id, ticket_configuration, region): | ||
| super(ItsmReceiver, self).__init__() | ||
| self.name = name | ||
| self.workspace_id = workspace_id | ||
| self.connection_id = connection_id | ||
| self.ticket_configuration = ticket_configuration | ||
| self.region = region |
43 changes: 43 additions & 0 deletions
43
azure-mgmt-monitor/azure/mgmt/monitor/models/voice_receiver.py
This file contains hidden or 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,43 @@ | ||
| # 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 VoiceReceiver(Model): | ||
| """An voice receiver. | ||
|
|
||
| :param name: The name of the voice receiver. Names must be unique across | ||
| all receivers within an action group. | ||
| :type name: str | ||
| :param country_code: The country code of the voice receiver. | ||
| :type country_code: str | ||
| :param phone_number: The phone number of the voice receiver. | ||
| :type phone_number: str | ||
| """ | ||
|
|
||
| _validation = { | ||
| 'name': {'required': True}, | ||
| 'country_code': {'required': True}, | ||
| 'phone_number': {'required': True}, | ||
| } | ||
|
|
||
| _attribute_map = { | ||
| 'name': {'key': 'name', 'type': 'str'}, | ||
| 'country_code': {'key': 'countryCode', 'type': 'str'}, | ||
| 'phone_number': {'key': 'phoneNumber', 'type': 'str'}, | ||
| } | ||
|
|
||
| def __init__(self, name, country_code, phone_number): | ||
| super(VoiceReceiver, self).__init__() | ||
| self.name = name | ||
| self.country_code = country_code | ||
| self.phone_number = phone_number |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new attribute