forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 189d112e0d578ff72b4e4531174f8d3c80c0b2f3 (Azure#2176)
[Monitor] Fixing incorrect specification of top parameter for Metrics API (Azure#2655)
- Loading branch information
1 parent
8d5d4cd
commit b6af5b9
Showing
151 changed files
with
4,760 additions
and
694 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
34 changes: 34 additions & 0 deletions
34
azure-mgmt-monitor/azure/mgmt/monitor/models/action_group_patch_body_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,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: bool=True, **kwargs) -> None: | ||
super(ActionGroupPatchBody, self).__init__(**kwargs) | ||
self.tags = tags | ||
self.enabled = enabled |
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
Oops, something went wrong.