Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@
from .azure_key_vault_secret_reference_py3 import AzureKeyVaultSecretReference
from .secret_base_py3 import SecretBase
from .factory_identity_py3 import FactoryIdentity
from .factory_vsts_configuration_py3 import FactoryVSTSConfiguration
from .factory_py3 import Factory
from .factory_list_response_py3 import FactoryListResponse
from .integration_runtime_py3 import IntegrationRuntime
from .integration_runtime_resource_py3 import IntegrationRuntimeResource
from .integration_runtime_list_response_py3 import IntegrationRuntimeListResponse
from .integration_runtime_reference_py3 import IntegrationRuntimeReference
from .integration_runtime_status_py3 import IntegrationRuntimeStatus
from .integration_runtime_status_response_py3 import IntegrationRuntimeStatusResponse
from .integration_runtime_status_list_response_py3 import IntegrationRuntimeStatusListResponse
from .update_integration_runtime_request_py3 import UpdateIntegrationRuntimeRequest
from .update_integration_runtime_node_request_py3 import UpdateIntegrationRuntimeNodeRequest
from .integration_runtime_permission_request_py3 import IntegrationRuntimePermissionRequest
from .parameter_specification_py3 import ParameterSpecification
from .linked_service_py3 import LinkedService
from .linked_service_resource_py3 import LinkedServiceResource
Expand All @@ -40,7 +42,6 @@
from .trigger_resource_py3 import TriggerResource
from .create_run_response_py3 import CreateRunResponse
from .error_response_py3 import ErrorResponse, ErrorResponseException
from .factory_repo_update_py3 import FactoryRepoUpdate
from .pipeline_reference_py3 import PipelineReference
from .trigger_pipeline_reference_py3 import TriggerPipelineReference
from .factory_update_parameters_py3 import FactoryUpdateParameters
Expand Down Expand Up @@ -345,16 +346,18 @@
from .azure_key_vault_secret_reference import AzureKeyVaultSecretReference
from .secret_base import SecretBase
from .factory_identity import FactoryIdentity
from .factory_vsts_configuration import FactoryVSTSConfiguration
from .factory import Factory
from .factory_list_response import FactoryListResponse
from .integration_runtime import IntegrationRuntime
from .integration_runtime_resource import IntegrationRuntimeResource
from .integration_runtime_list_response import IntegrationRuntimeListResponse
from .integration_runtime_reference import IntegrationRuntimeReference
from .integration_runtime_status import IntegrationRuntimeStatus
from .integration_runtime_status_response import IntegrationRuntimeStatusResponse
from .integration_runtime_status_list_response import IntegrationRuntimeStatusListResponse
from .update_integration_runtime_request import UpdateIntegrationRuntimeRequest
from .update_integration_runtime_node_request import UpdateIntegrationRuntimeNodeRequest
from .integration_runtime_permission_request import IntegrationRuntimePermissionRequest
from .parameter_specification import ParameterSpecification
from .linked_service import LinkedService
from .linked_service_resource import LinkedServiceResource
Expand All @@ -367,7 +370,6 @@
from .trigger_resource import TriggerResource
from .create_run_response import CreateRunResponse
from .error_response import ErrorResponse, ErrorResponseException
from .factory_repo_update import FactoryRepoUpdate
from .pipeline_reference import PipelineReference
from .trigger_pipeline_reference import TriggerPipelineReference
from .factory_update_parameters import FactoryUpdateParameters
Expand Down Expand Up @@ -741,16 +743,18 @@
'AzureKeyVaultSecretReference',
'SecretBase',
'FactoryIdentity',
'FactoryVSTSConfiguration',
'Factory',
'FactoryListResponse',
'IntegrationRuntime',
'IntegrationRuntimeResource',
'IntegrationRuntimeListResponse',
'IntegrationRuntimeReference',
'IntegrationRuntimeStatus',
'IntegrationRuntimeStatusResponse',
'IntegrationRuntimeStatusListResponse',
'UpdateIntegrationRuntimeRequest',
'UpdateIntegrationRuntimeNodeRequest',
'IntegrationRuntimePermissionRequest',
'ParameterSpecification',
'LinkedService',
'LinkedServiceResource',
Expand All @@ -763,7 +767,6 @@
'TriggerResource',
'CreateRunResponse',
'ErrorResponse', 'ErrorResponseException',
'FactoryRepoUpdate',
'PipelineReference',
'TriggerPipelineReference',
'FactoryUpdateParameters',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class IntegrationRuntimeState(str, Enum):
online = "Online"
limited = "Limited"
offline = "Offline"
access_denied = "AccessDenied"


class IntegrationRuntimeAutoUpdate(str, Enum):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ class Factory(Resource):
:vartype create_time: datetime
:ivar version: Version of the factory.
:vartype version: str
:param vsts_configuration: VSTS repo information of the factory.
:type vsts_configuration:
~azure.mgmt.datafactory.models.FactoryVSTSConfiguration
"""

_validation = {
Expand All @@ -64,7 +61,6 @@ class Factory(Resource):
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'create_time': {'key': 'properties.createTime', 'type': 'iso-8601'},
'version': {'key': 'properties.version', 'type': 'str'},
'vsts_configuration': {'key': 'properties.vstsConfiguration', 'type': 'FactoryVSTSConfiguration'},
}

def __init__(self, **kwargs):
Expand All @@ -74,4 +70,3 @@ def __init__(self, **kwargs):
self.provisioning_state = None
self.create_time = None
self.version = None
self.vsts_configuration = kwargs.get('vsts_configuration', None)
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 FactoryListResponse(Model):
"""A list of factory resources.

All required parameters must be populated in order to send to Azure.

:param value: Required. List of factories.
:type value: list[~azure.mgmt.datafactory.models.Factory]
:param next_link: The link to the next page of results, if any remaining
results exist.
:type next_link: str
"""

_validation = {
'value': {'required': True},
}

_attribute_map = {
'value': {'key': 'value', 'type': '[Factory]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}

def __init__(self, **kwargs):
super(FactoryListResponse, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.next_link = kwargs.get('next_link', None)
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 FactoryListResponse(Model):
"""A list of factory resources.

All required parameters must be populated in order to send to Azure.

:param value: Required. List of factories.
:type value: list[~azure.mgmt.datafactory.models.Factory]
:param next_link: The link to the next page of results, if any remaining
results exist.
:type next_link: str
"""

_validation = {
'value': {'required': True},
}

_attribute_map = {
'value': {'key': 'value', 'type': '[Factory]'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}

def __init__(self, *, value, next_link: str=None, **kwargs) -> None:
super(FactoryListResponse, self).__init__(**kwargs)
self.value = value
self.next_link = next_link
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ class Factory(Resource):
:vartype create_time: datetime
:ivar version: Version of the factory.
:vartype version: str
:param vsts_configuration: VSTS repo information of the factory.
:type vsts_configuration:
~azure.mgmt.datafactory.models.FactoryVSTSConfiguration
"""

_validation = {
Expand All @@ -64,14 +61,12 @@ class Factory(Resource):
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'create_time': {'key': 'properties.createTime', 'type': 'iso-8601'},
'version': {'key': 'properties.version', 'type': 'str'},
'vsts_configuration': {'key': 'properties.vstsConfiguration', 'type': 'FactoryVSTSConfiguration'},
}

def __init__(self, *, location: str=None, tags=None, additional_properties=None, identity=None, vsts_configuration=None, **kwargs) -> None:
def __init__(self, *, location: str=None, tags=None, additional_properties=None, identity=None, **kwargs) -> None:
super(Factory, self).__init__(location=location, tags=tags, **kwargs)
self.additional_properties = additional_properties
self.identity = identity
self.provisioning_state = None
self.create_time = None
self.version = None
self.vsts_configuration = vsts_configuration

This file was deleted.

This file was deleted.

This file was deleted.

Loading