-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from bc96045bf6a0e056903d0a2d798202ff9bd05165 (#2249)
added 'properties' to corelationfilter
- Loading branch information
1 parent
c061c55
commit 5727e54
Showing
63 changed files
with
2,112 additions
and
261 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
71 changes: 71 additions & 0 deletions
71
azure-mgmt-servicebus/azure/mgmt/servicebus/models/access_keys_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,71 @@ | ||
# 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 AccessKeys(Model): | ||
"""Namespace/ServiceBus Connection String. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar primary_connection_string: Primary connection string of the created | ||
namespace authorization rule. | ||
:vartype primary_connection_string: str | ||
:ivar secondary_connection_string: Secondary connection string of the | ||
created namespace authorization rule. | ||
:vartype secondary_connection_string: str | ||
:ivar alias_primary_connection_string: Primary connection string of the | ||
alias if GEO DR is enabled | ||
:vartype alias_primary_connection_string: str | ||
:ivar alias_secondary_connection_string: Secondary connection string of | ||
the alias if GEO DR is enabled | ||
:vartype alias_secondary_connection_string: str | ||
:ivar primary_key: A base64-encoded 256-bit primary key for signing and | ||
validating the SAS token. | ||
:vartype primary_key: str | ||
:ivar secondary_key: A base64-encoded 256-bit primary key for signing and | ||
validating the SAS token. | ||
:vartype secondary_key: str | ||
:ivar key_name: A string that describes the authorization rule. | ||
:vartype key_name: str | ||
""" | ||
|
||
_validation = { | ||
'primary_connection_string': {'readonly': True}, | ||
'secondary_connection_string': {'readonly': True}, | ||
'alias_primary_connection_string': {'readonly': True}, | ||
'alias_secondary_connection_string': {'readonly': True}, | ||
'primary_key': {'readonly': True}, | ||
'secondary_key': {'readonly': True}, | ||
'key_name': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'primary_connection_string': {'key': 'primaryConnectionString', 'type': 'str'}, | ||
'secondary_connection_string': {'key': 'secondaryConnectionString', 'type': 'str'}, | ||
'alias_primary_connection_string': {'key': 'aliasPrimaryConnectionString', 'type': 'str'}, | ||
'alias_secondary_connection_string': {'key': 'aliasSecondaryConnectionString', 'type': 'str'}, | ||
'primary_key': {'key': 'primaryKey', 'type': 'str'}, | ||
'secondary_key': {'key': 'secondaryKey', 'type': 'str'}, | ||
'key_name': {'key': 'keyName', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs) -> None: | ||
super(AccessKeys, self).__init__(**kwargs) | ||
self.primary_connection_string = None | ||
self.secondary_connection_string = None | ||
self.alias_primary_connection_string = None | ||
self.alias_secondary_connection_string = None | ||
self.primary_key = None | ||
self.secondary_key = None | ||
self.key_name = None |
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
39 changes: 39 additions & 0 deletions
39
azure-mgmt-servicebus/azure/mgmt/servicebus/models/action_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,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 Action(Model): | ||
"""Represents the filter actions which are allowed for the transformation of a | ||
message that have been matched by a filter expression. | ||
:param sql_expression: SQL expression. e.g. MyProperty='ABC' | ||
:type sql_expression: str | ||
:param compatibility_level: This property is reserved for future use. An | ||
integer value showing the compatibility level, currently hard-coded to 20. | ||
:type compatibility_level: int | ||
:param requires_preprocessing: Value that indicates whether the rule | ||
action requires preprocessing. Default value: True . | ||
:type requires_preprocessing: bool | ||
""" | ||
|
||
_attribute_map = { | ||
'sql_expression': {'key': 'sqlExpression', 'type': 'str'}, | ||
'compatibility_level': {'key': 'compatibilityLevel', 'type': 'int'}, | ||
'requires_preprocessing': {'key': 'requiresPreprocessing', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, *, sql_expression: str=None, compatibility_level: int=None, requires_preprocessing: bool=True, **kwargs) -> None: | ||
super(Action, self).__init__(**kwargs) | ||
self.sql_expression = sql_expression | ||
self.compatibility_level = compatibility_level | ||
self.requires_preprocessing = requires_preprocessing |
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
68 changes: 68 additions & 0 deletions
68
azure-mgmt-servicebus/azure/mgmt/servicebus/models/arm_disaster_recovery_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,68 @@ | ||
# 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 .resource import Resource | ||
|
||
|
||
class ArmDisasterRecovery(Resource): | ||
"""Single item in List or Get Alias(Disaster Recovery configuration) | ||
operation. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Resource Id | ||
:vartype id: str | ||
:ivar name: Resource name | ||
:vartype name: str | ||
:ivar type: Resource type | ||
:vartype type: str | ||
:ivar provisioning_state: Provisioning state of the Alias(Disaster | ||
Recovery configuration) - possible values 'Accepted' or 'Succeeded' or | ||
'Failed'. Possible values include: 'Accepted', 'Succeeded', 'Failed' | ||
:vartype provisioning_state: str or | ||
~azure.mgmt.servicebus.models.ProvisioningStateDR | ||
:param partner_namespace: ARM Id of the Primary/Secondary eventhub | ||
namespace name, which is part of GEO DR pairning | ||
:type partner_namespace: str | ||
:param alternate_name: Primary/Secondary eventhub namespace name, which is | ||
part of GEO DR pairning | ||
:type alternate_name: str | ||
:ivar role: role of namespace in GEO DR - possible values 'Primary' or | ||
'PrimaryNotReplicating' or 'Secondary'. Possible values include: | ||
'Primary', 'PrimaryNotReplicating', 'Secondary' | ||
:vartype role: str or ~azure.mgmt.servicebus.models.RoleDisasterRecovery | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
'provisioning_state': {'readonly': True}, | ||
'role': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningStateDR'}, | ||
'partner_namespace': {'key': 'properties.partnerNamespace', 'type': 'str'}, | ||
'alternate_name': {'key': 'properties.alternateName', 'type': 'str'}, | ||
'role': {'key': 'properties.role', 'type': 'RoleDisasterRecovery'}, | ||
} | ||
|
||
def __init__(self, *, partner_namespace: str=None, alternate_name: str=None, **kwargs) -> None: | ||
super(ArmDisasterRecovery, self).__init__(, **kwargs) | ||
self.provisioning_state = None | ||
self.partner_namespace = partner_namespace | ||
self.alternate_name = alternate_name | ||
self.role = None |
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-servicebus/azure/mgmt/servicebus/models/authorization_rule_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,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 AuthorizationRuleProperties(Model): | ||
"""AuthorizationRule properties. | ||
All required parameters must be populated in order to send to Azure. | ||
:param rights: Required. The rights associated with the rule. | ||
:type rights: list[str or ~azure.mgmt.servicebus.models.AccessRights] | ||
""" | ||
|
||
_validation = { | ||
'rights': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'rights': {'key': 'rights', 'type': '[AccessRights]'}, | ||
} | ||
|
||
def __init__(self, *, rights, **kwargs) -> None: | ||
super(AuthorizationRuleProperties, self).__init__(**kwargs) | ||
self.rights = rights |
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.