-
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 security/resource-manager] Security - Updating API versions o…
…f alerts and pricing types (#4423) * Generated from 6b10f3754b112658124483817ff82792d4de2fcc Security - Updating api versions of alerts and pricing types * Generated from 67e18cba585922ac70f701db683e2cf8a4b6d19f Security - Updating api versions of alerts and pricing types
- Loading branch information
1 parent
1dadbdd
commit 6984828
Showing
11 changed files
with
112 additions
and
243 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
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-security/azure/mgmt/security/models/pricing_list.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 PricingList(Model): | ||
"""List of pricing configurations response. | ||
All required parameters must be populated in order to send to Azure. | ||
:param value: Required. List of pricing configurations | ||
:type value: list[~azure.mgmt.security.models.Pricing] | ||
""" | ||
|
||
_validation = { | ||
'value': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'value': {'key': 'value', 'type': '[Pricing]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(PricingList, self).__init__(**kwargs) | ||
self.value = kwargs.get('value', None) |
34 changes: 34 additions & 0 deletions
34
azure-mgmt-security/azure/mgmt/security/models/pricing_list_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 PricingList(Model): | ||
"""List of pricing configurations response. | ||
All required parameters must be populated in order to send to Azure. | ||
:param value: Required. List of pricing configurations | ||
:type value: list[~azure.mgmt.security.models.Pricing] | ||
""" | ||
|
||
_validation = { | ||
'value': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'value': {'key': 'value', 'type': '[Pricing]'}, | ||
} | ||
|
||
def __init__(self, *, value, **kwargs) -> None: | ||
super(PricingList, self).__init__(**kwargs) | ||
self.value = value |
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
Oops, something went wrong.