-
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 eventgrid/resource-manager] EventGrid: Update README files to…
… include the current new preview api… (#3615) * Generated from ce8469266acf934b97b1cc71b6610123b24710b6 EventGrid: Update README files to include the current new preview api version 2018-09-preview * Packaging update of azure-mgmt-eventgrid
- Loading branch information
1 parent
63ecee6
commit d22b4e8
Showing
60 changed files
with
2,667 additions
and
97 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
include *.rst | ||
include azure_bdist_wheel.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 |
---|---|---|
@@ -1 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
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
53 changes: 53 additions & 0 deletions
53
azure-mgmt-eventgrid/azure/mgmt/eventgrid/models/advanced_filter.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,53 @@ | ||
# 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 AdvancedFilter(Model): | ||
"""Represents an advanced filter that can be used to filter events based on | ||
various event envelope/data fields. | ||
You probably want to use the sub-classes and not this class directly. Known | ||
sub-classes are: NumberInAdvancedFilter, NumberNotInAdvancedFilter, | ||
NumberLessThanAdvancedFilter, NumberGreaterThanAdvancedFilter, | ||
NumberLessThanOrEqualsAdvancedFilter, | ||
NumberGreaterThanOrEqualsAdvancedFilter, BoolEqualsAdvancedFilter, | ||
StringInAdvancedFilter, StringNotInAdvancedFilter, | ||
StringBeginsWithAdvancedFilter, StringEndsWithAdvancedFilter, | ||
StringContainsAdvancedFilter | ||
All required parameters must be populated in order to send to Azure. | ||
:param key: The filter key. Represents an event property with upto two | ||
levels of nesting. | ||
:type key: str | ||
:param operator_type: Required. Constant filled by server. | ||
:type operator_type: str | ||
""" | ||
|
||
_validation = { | ||
'operator_type': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'key': {'key': 'key', 'type': 'str'}, | ||
'operator_type': {'key': 'operatorType', 'type': 'str'}, | ||
} | ||
|
||
_subtype_map = { | ||
'operator_type': {'NumberIn': 'NumberInAdvancedFilter', 'NumberNotIn': 'NumberNotInAdvancedFilter', 'NumberLessThan': 'NumberLessThanAdvancedFilter', 'NumberGreaterThan': 'NumberGreaterThanAdvancedFilter', 'NumberLessThanOrEquals': 'NumberLessThanOrEqualsAdvancedFilter', 'NumberGreaterThanOrEquals': 'NumberGreaterThanOrEqualsAdvancedFilter', 'BoolEquals': 'BoolEqualsAdvancedFilter', 'StringIn': 'StringInAdvancedFilter', 'StringNotIn': 'StringNotInAdvancedFilter', 'StringBeginsWith': 'StringBeginsWithAdvancedFilter', 'StringEndsWith': 'StringEndsWithAdvancedFilter', 'StringContains': 'StringContainsAdvancedFilter'} | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AdvancedFilter, self).__init__(**kwargs) | ||
self.key = kwargs.get('key', None) | ||
self.operator_type = None |
53 changes: 53 additions & 0 deletions
53
azure-mgmt-eventgrid/azure/mgmt/eventgrid/models/advanced_filter_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,53 @@ | ||
# 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 AdvancedFilter(Model): | ||
"""Represents an advanced filter that can be used to filter events based on | ||
various event envelope/data fields. | ||
You probably want to use the sub-classes and not this class directly. Known | ||
sub-classes are: NumberInAdvancedFilter, NumberNotInAdvancedFilter, | ||
NumberLessThanAdvancedFilter, NumberGreaterThanAdvancedFilter, | ||
NumberLessThanOrEqualsAdvancedFilter, | ||
NumberGreaterThanOrEqualsAdvancedFilter, BoolEqualsAdvancedFilter, | ||
StringInAdvancedFilter, StringNotInAdvancedFilter, | ||
StringBeginsWithAdvancedFilter, StringEndsWithAdvancedFilter, | ||
StringContainsAdvancedFilter | ||
All required parameters must be populated in order to send to Azure. | ||
:param key: The filter key. Represents an event property with upto two | ||
levels of nesting. | ||
:type key: str | ||
:param operator_type: Required. Constant filled by server. | ||
:type operator_type: str | ||
""" | ||
|
||
_validation = { | ||
'operator_type': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'key': {'key': 'key', 'type': 'str'}, | ||
'operator_type': {'key': 'operatorType', 'type': 'str'}, | ||
} | ||
|
||
_subtype_map = { | ||
'operator_type': {'NumberIn': 'NumberInAdvancedFilter', 'NumberNotIn': 'NumberNotInAdvancedFilter', 'NumberLessThan': 'NumberLessThanAdvancedFilter', 'NumberGreaterThan': 'NumberGreaterThanAdvancedFilter', 'NumberLessThanOrEquals': 'NumberLessThanOrEqualsAdvancedFilter', 'NumberGreaterThanOrEquals': 'NumberGreaterThanOrEqualsAdvancedFilter', 'BoolEquals': 'BoolEqualsAdvancedFilter', 'StringIn': 'StringInAdvancedFilter', 'StringNotIn': 'StringNotInAdvancedFilter', 'StringBeginsWith': 'StringBeginsWithAdvancedFilter', 'StringEndsWith': 'StringEndsWithAdvancedFilter', 'StringContains': 'StringContainsAdvancedFilter'} | ||
} | ||
|
||
def __init__(self, *, key: str=None, **kwargs) -> None: | ||
super(AdvancedFilter, self).__init__(**kwargs) | ||
self.key = key | ||
self.operator_type = None |
42 changes: 42 additions & 0 deletions
42
azure-mgmt-eventgrid/azure/mgmt/eventgrid/models/bool_equals_advanced_filter.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,42 @@ | ||
# 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 .advanced_filter import AdvancedFilter | ||
|
||
|
||
class BoolEqualsAdvancedFilter(AdvancedFilter): | ||
"""BoolEquals Filter. | ||
All required parameters must be populated in order to send to Azure. | ||
:param key: The filter key. Represents an event property with upto two | ||
levels of nesting. | ||
:type key: str | ||
:param operator_type: Required. Constant filled by server. | ||
:type operator_type: str | ||
:param value: The filter value | ||
:type value: bool | ||
""" | ||
|
||
_validation = { | ||
'operator_type': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'key': {'key': 'key', 'type': 'str'}, | ||
'operator_type': {'key': 'operatorType', 'type': 'str'}, | ||
'value': {'key': 'value', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(BoolEqualsAdvancedFilter, self).__init__(**kwargs) | ||
self.value = kwargs.get('value', None) | ||
self.operator_type = 'BoolEquals' |
Oops, something went wrong.