-
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] add configure repo api swagger (#…
…2392) * Generated from d7f5567289add61a8368ce9bf1a710264183366c add configure repo api swagger * Generated from 42b127de426d2e7e62893799af31cfac6a58b07d fixing autorest issue * Generated from 27d71a427c73a4adfd90f2347ba5c0a9e0403e7d change route * Generated from 2c233a59f11801e38916d47e13019b26ea4566ed fix per comments * Generated from fa5757e279b6732dedc799857b4b8cbaac22a663 change factoryId for factoryResourceId * Generated from 47d1905337fe73deee6e623add5eaafb62caf5d0 rename example * Generated from 47d1905337fe73deee6e623add5eaafb62caf5d0 rename example
- Loading branch information
1 parent
5475faa
commit e28deb2
Showing
8 changed files
with
260 additions
and
1 deletion.
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
37 changes: 37 additions & 0 deletions
37
azure-mgmt-datafactory/azure/mgmt/datafactory/models/factory_repo_update.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,37 @@ | ||
# 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 FactoryRepoUpdate(Model): | ||
"""Factory's VSTS repo information. | ||
:param factory_resource_id: The factory resource id. | ||
:type factory_resource_id: str | ||
:param resource_group_name: The resource group name. | ||
:type resource_group_name: str | ||
:param vsts_configuration: VSTS repo information of the factory. | ||
:type vsts_configuration: | ||
~azure.mgmt.datafactory.models.FactoryVSTSConfiguration | ||
""" | ||
|
||
_attribute_map = { | ||
'factory_resource_id': {'key': 'factoryResourceId', 'type': 'str'}, | ||
'resource_group_name': {'key': 'resourceGroupName', 'type': 'str'}, | ||
'vsts_configuration': {'key': 'vstsConfiguration', 'type': 'FactoryVSTSConfiguration'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(FactoryRepoUpdate, self).__init__(**kwargs) | ||
self.factory_resource_id = kwargs.get('factory_resource_id', None) | ||
self.resource_group_name = kwargs.get('resource_group_name', None) | ||
self.vsts_configuration = kwargs.get('vsts_configuration', None) |
37 changes: 37 additions & 0 deletions
37
azure-mgmt-datafactory/azure/mgmt/datafactory/models/factory_repo_update_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,37 @@ | ||
# 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 FactoryRepoUpdate(Model): | ||
"""Factory's VSTS repo information. | ||
:param factory_resource_id: The factory resource id. | ||
:type factory_resource_id: str | ||
:param resource_group_name: The resource group name. | ||
:type resource_group_name: str | ||
:param vsts_configuration: VSTS repo information of the factory. | ||
:type vsts_configuration: | ||
~azure.mgmt.datafactory.models.FactoryVSTSConfiguration | ||
""" | ||
|
||
_attribute_map = { | ||
'factory_resource_id': {'key': 'factoryResourceId', 'type': 'str'}, | ||
'resource_group_name': {'key': 'resourceGroupName', 'type': 'str'}, | ||
'vsts_configuration': {'key': 'vstsConfiguration', 'type': 'FactoryVSTSConfiguration'}, | ||
} | ||
|
||
def __init__(self, *, factory_resource_id: str=None, resource_group_name: str=None, vsts_configuration=None, **kwargs) -> None: | ||
super(FactoryRepoUpdate, self).__init__(**kwargs) | ||
self.factory_resource_id = factory_resource_id | ||
self.resource_group_name = resource_group_name | ||
self.vsts_configuration = vsts_configuration |
52 changes: 52 additions & 0 deletions
52
azure-mgmt-datafactory/azure/mgmt/datafactory/models/factory_vsts_configuration.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,52 @@ | ||
# 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 FactoryVSTSConfiguration(Model): | ||
"""Factory's VSTS repo information. | ||
:param account_name: VSTS account name. | ||
:type account_name: str | ||
:param project_name: VSTS project name. | ||
:type project_name: str | ||
:param repository_name: VSTS repository name. | ||
:type repository_name: str | ||
:param collaboration_branch: VSTS collaboration branch. | ||
:type collaboration_branch: str | ||
:param root_folder: VSTS root folder. | ||
:type root_folder: str | ||
:param last_commit_id: VSTS last commit id. | ||
:type last_commit_id: str | ||
:param tenant_id: VSTS tenant id. | ||
:type tenant_id: str | ||
""" | ||
|
||
_attribute_map = { | ||
'account_name': {'key': 'accountName', 'type': 'str'}, | ||
'project_name': {'key': 'projectName', 'type': 'str'}, | ||
'repository_name': {'key': 'repositoryName', 'type': 'str'}, | ||
'collaboration_branch': {'key': 'collaborationBranch', 'type': 'str'}, | ||
'root_folder': {'key': 'rootFolder', 'type': 'str'}, | ||
'last_commit_id': {'key': 'lastCommitId', 'type': 'str'}, | ||
'tenant_id': {'key': 'tenantId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(FactoryVSTSConfiguration, self).__init__(**kwargs) | ||
self.account_name = kwargs.get('account_name', None) | ||
self.project_name = kwargs.get('project_name', None) | ||
self.repository_name = kwargs.get('repository_name', None) | ||
self.collaboration_branch = kwargs.get('collaboration_branch', None) | ||
self.root_folder = kwargs.get('root_folder', None) | ||
self.last_commit_id = kwargs.get('last_commit_id', None) | ||
self.tenant_id = kwargs.get('tenant_id', None) |
52 changes: 52 additions & 0 deletions
52
azure-mgmt-datafactory/azure/mgmt/datafactory/models/factory_vsts_configuration_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,52 @@ | ||
# 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 FactoryVSTSConfiguration(Model): | ||
"""Factory's VSTS repo information. | ||
:param account_name: VSTS account name. | ||
:type account_name: str | ||
:param project_name: VSTS project name. | ||
:type project_name: str | ||
:param repository_name: VSTS repository name. | ||
:type repository_name: str | ||
:param collaboration_branch: VSTS collaboration branch. | ||
:type collaboration_branch: str | ||
:param root_folder: VSTS root folder. | ||
:type root_folder: str | ||
:param last_commit_id: VSTS last commit id. | ||
:type last_commit_id: str | ||
:param tenant_id: VSTS tenant id. | ||
:type tenant_id: str | ||
""" | ||
|
||
_attribute_map = { | ||
'account_name': {'key': 'accountName', 'type': 'str'}, | ||
'project_name': {'key': 'projectName', 'type': 'str'}, | ||
'repository_name': {'key': 'repositoryName', 'type': 'str'}, | ||
'collaboration_branch': {'key': 'collaborationBranch', 'type': 'str'}, | ||
'root_folder': {'key': 'rootFolder', 'type': 'str'}, | ||
'last_commit_id': {'key': 'lastCommitId', 'type': 'str'}, | ||
'tenant_id': {'key': 'tenantId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, account_name: str=None, project_name: str=None, repository_name: str=None, collaboration_branch: str=None, root_folder: str=None, last_commit_id: str=None, tenant_id: str=None, **kwargs) -> None: | ||
super(FactoryVSTSConfiguration, self).__init__(**kwargs) | ||
self.account_name = account_name | ||
self.project_name = project_name | ||
self.repository_name = repository_name | ||
self.collaboration_branch = collaboration_branch | ||
self.root_folder = root_folder | ||
self.last_commit_id = last_commit_id | ||
self.tenant_id = tenant_id |
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