-
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.
Generated from 68c58c2d8602adda9e80068e105f3d449474aa51 (#3465)
Fix grammar and typo
- Loading branch information
1 parent
fa39544
commit 97119a0
Showing
12 changed files
with
353 additions
and
7 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
60 changes: 60 additions & 0 deletions
60
azure-mgmt-datafactory/azure/mgmt/datafactory/models/append_variable_activity.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,60 @@ | ||
# 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 .control_activity import ControlActivity | ||
|
||
|
||
class AppendVariableActivity(ControlActivity): | ||
"""Append value for a Variable of type Array. | ||
All required parameters must be populated in order to send to Azure. | ||
:param additional_properties: Unmatched properties from the message are | ||
deserialized this collection | ||
:type additional_properties: dict[str, object] | ||
:param name: Required. Activity name. | ||
:type name: str | ||
:param description: Activity description. | ||
:type description: str | ||
:param depends_on: Activity depends on condition. | ||
:type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] | ||
:param user_properties: Activity user properties. | ||
:type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] | ||
:param type: Required. Constant filled by server. | ||
:type type: str | ||
:param variable_name: Name of the variable whose value needs to be | ||
appended to. | ||
:type variable_name: str | ||
:param value: Value to be appended. Could be a static value or Expression | ||
:type value: object | ||
""" | ||
|
||
_validation = { | ||
'name': {'required': True}, | ||
'type': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'additional_properties': {'key': '', 'type': '{object}'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'description': {'key': 'description', 'type': 'str'}, | ||
'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, | ||
'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'variable_name': {'key': 'typeProperties.variableName', 'type': 'str'}, | ||
'value': {'key': 'typeProperties.value', 'type': 'object'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AppendVariableActivity, self).__init__(**kwargs) | ||
self.variable_name = kwargs.get('variable_name', None) | ||
self.value = kwargs.get('value', None) | ||
self.type = 'AppendVariable' |
60 changes: 60 additions & 0 deletions
60
azure-mgmt-datafactory/azure/mgmt/datafactory/models/append_variable_activity_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,60 @@ | ||
# 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 .control_activity_py3 import ControlActivity | ||
|
||
|
||
class AppendVariableActivity(ControlActivity): | ||
"""Append value for a Variable of type Array. | ||
All required parameters must be populated in order to send to Azure. | ||
:param additional_properties: Unmatched properties from the message are | ||
deserialized this collection | ||
:type additional_properties: dict[str, object] | ||
:param name: Required. Activity name. | ||
:type name: str | ||
:param description: Activity description. | ||
:type description: str | ||
:param depends_on: Activity depends on condition. | ||
:type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] | ||
:param user_properties: Activity user properties. | ||
:type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] | ||
:param type: Required. Constant filled by server. | ||
:type type: str | ||
:param variable_name: Name of the variable whose value needs to be | ||
appended to. | ||
:type variable_name: str | ||
:param value: Value to be appended. Could be a static value or Expression | ||
:type value: object | ||
""" | ||
|
||
_validation = { | ||
'name': {'required': True}, | ||
'type': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'additional_properties': {'key': '', 'type': '{object}'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'description': {'key': 'description', 'type': 'str'}, | ||
'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, | ||
'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'variable_name': {'key': 'typeProperties.variableName', 'type': 'str'}, | ||
'value': {'key': 'typeProperties.value', 'type': 'object'}, | ||
} | ||
|
||
def __init__(self, *, name: str, additional_properties=None, description: str=None, depends_on=None, user_properties=None, variable_name: str=None, value=None, **kwargs) -> None: | ||
super(AppendVariableActivity, self).__init__(additional_properties=additional_properties, name=name, description=description, depends_on=depends_on, user_properties=user_properties, **kwargs) | ||
self.variable_name = variable_name | ||
self.value = value | ||
self.type = 'AppendVariable' |
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
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
59 changes: 59 additions & 0 deletions
59
azure-mgmt-datafactory/azure/mgmt/datafactory/models/set_variable_activity.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,59 @@ | ||
# 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 .control_activity import ControlActivity | ||
|
||
|
||
class SetVariableActivity(ControlActivity): | ||
"""Set value for a Variable. | ||
All required parameters must be populated in order to send to Azure. | ||
:param additional_properties: Unmatched properties from the message are | ||
deserialized this collection | ||
:type additional_properties: dict[str, object] | ||
:param name: Required. Activity name. | ||
:type name: str | ||
:param description: Activity description. | ||
:type description: str | ||
:param depends_on: Activity depends on condition. | ||
:type depends_on: list[~azure.mgmt.datafactory.models.ActivityDependency] | ||
:param user_properties: Activity user properties. | ||
:type user_properties: list[~azure.mgmt.datafactory.models.UserProperty] | ||
:param type: Required. Constant filled by server. | ||
:type type: str | ||
:param variable_name: Name of the variable whose value needs to be set. | ||
:type variable_name: str | ||
:param value: Value to be set. Could be a static value or Expression | ||
:type value: object | ||
""" | ||
|
||
_validation = { | ||
'name': {'required': True}, | ||
'type': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'additional_properties': {'key': '', 'type': '{object}'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'description': {'key': 'description', 'type': 'str'}, | ||
'depends_on': {'key': 'dependsOn', 'type': '[ActivityDependency]'}, | ||
'user_properties': {'key': 'userProperties', 'type': '[UserProperty]'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'variable_name': {'key': 'typeProperties.variableName', 'type': 'str'}, | ||
'value': {'key': 'typeProperties.value', 'type': 'object'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(SetVariableActivity, self).__init__(**kwargs) | ||
self.variable_name = kwargs.get('variable_name', None) | ||
self.value = kwargs.get('value', None) | ||
self.type = 'SetVariable' |
Oops, something went wrong.