-
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 datafactory/resource-manager] Refactor delete activity payload (
#3983) * Generated from 6effad585c2bd2f1de30e2c6e5467750384a3d0b Refactor delete activity content * Generated from fd13d7e45b8d65c0f81299d8ef0e5f977d1f149a Update
- Loading branch information
1 parent
b335e0b
commit df51f3b
Showing
5 changed files
with
138 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
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
46 changes: 46 additions & 0 deletions
46
azure-mgmt-datafactory/azure/mgmt/datafactory/models/log_storage_settings.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,46 @@ | ||
# 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 LogStorageSettings(Model): | ||
"""Log storage settings. | ||
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 linked_service_name: Required. Log storage linked service | ||
reference. | ||
:type linked_service_name: | ||
~azure.mgmt.datafactory.models.LinkedServiceReference | ||
:param path: The path to storage for storing detailed logs of activity | ||
execution. Type: string (or Expression with resultType string). | ||
:type path: object | ||
""" | ||
|
||
_validation = { | ||
'linked_service_name': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'additional_properties': {'key': '', 'type': '{object}'}, | ||
'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, | ||
'path': {'key': 'path', 'type': 'object'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(LogStorageSettings, self).__init__(**kwargs) | ||
self.additional_properties = kwargs.get('additional_properties', None) | ||
self.linked_service_name = kwargs.get('linked_service_name', None) | ||
self.path = kwargs.get('path', None) |
46 changes: 46 additions & 0 deletions
46
azure-mgmt-datafactory/azure/mgmt/datafactory/models/log_storage_settings_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,46 @@ | ||
# 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 LogStorageSettings(Model): | ||
"""Log storage settings. | ||
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 linked_service_name: Required. Log storage linked service | ||
reference. | ||
:type linked_service_name: | ||
~azure.mgmt.datafactory.models.LinkedServiceReference | ||
:param path: The path to storage for storing detailed logs of activity | ||
execution. Type: string (or Expression with resultType string). | ||
:type path: object | ||
""" | ||
|
||
_validation = { | ||
'linked_service_name': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'additional_properties': {'key': '', 'type': '{object}'}, | ||
'linked_service_name': {'key': 'linkedServiceName', 'type': 'LinkedServiceReference'}, | ||
'path': {'key': 'path', 'type': 'object'}, | ||
} | ||
|
||
def __init__(self, *, linked_service_name, additional_properties=None, path=None, **kwargs) -> None: | ||
super(LogStorageSettings, self).__init__(**kwargs) | ||
self.additional_properties = additional_properties | ||
self.linked_service_name = linked_service_name | ||
self.path = path |