Skip to content
Merged
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: 15 additions & 0 deletions azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
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 .linked_integration_runtime_request_py3 import LinkedIntegrationRuntimeRequest
from .parameter_specification_py3 import ParameterSpecification
from .linked_service_py3 import LinkedService
from .linked_service_resource_py3 import LinkedServiceResource
Expand Down Expand Up @@ -315,12 +316,16 @@
from .if_condition_activity_py3 import IfConditionActivity
from .execute_pipeline_activity_py3 import ExecutePipelineActivity
from .control_activity_py3 import ControlActivity
from .linked_integration_runtime_py3 import LinkedIntegrationRuntime
from .self_hosted_integration_runtime_node_py3 import SelfHostedIntegrationRuntimeNode
from .self_hosted_integration_runtime_status_py3 import SelfHostedIntegrationRuntimeStatus
from .managed_integration_runtime_operation_result_py3 import ManagedIntegrationRuntimeOperationResult
from .managed_integration_runtime_error_py3 import ManagedIntegrationRuntimeError
from .managed_integration_runtime_node_py3 import ManagedIntegrationRuntimeNode
from .managed_integration_runtime_status_py3 import ManagedIntegrationRuntimeStatus
from .linked_integration_runtime_rbac_authorization_py3 import LinkedIntegrationRuntimeRbacAuthorization
from .linked_integration_runtime_key_authorization_py3 import LinkedIntegrationRuntimeKeyAuthorization
from .linked_integration_runtime_type_py3 import LinkedIntegrationRuntimeType
from .self_hosted_integration_runtime_py3 import SelfHostedIntegrationRuntime
from .integration_runtime_custom_setup_script_properties_py3 import IntegrationRuntimeCustomSetupScriptProperties
from .integration_runtime_ssis_catalog_info_py3 import IntegrationRuntimeSsisCatalogInfo
Expand Down Expand Up @@ -353,6 +358,7 @@
from .integration_runtime_status_list_response import IntegrationRuntimeStatusListResponse
from .update_integration_runtime_request import UpdateIntegrationRuntimeRequest
from .update_integration_runtime_node_request import UpdateIntegrationRuntimeNodeRequest
from .linked_integration_runtime_request import LinkedIntegrationRuntimeRequest
from .parameter_specification import ParameterSpecification
from .linked_service import LinkedService
from .linked_service_resource import LinkedServiceResource
Expand Down Expand Up @@ -640,12 +646,16 @@
from .if_condition_activity import IfConditionActivity
from .execute_pipeline_activity import ExecutePipelineActivity
from .control_activity import ControlActivity
from .linked_integration_runtime import LinkedIntegrationRuntime
from .self_hosted_integration_runtime_node import SelfHostedIntegrationRuntimeNode
from .self_hosted_integration_runtime_status import SelfHostedIntegrationRuntimeStatus
from .managed_integration_runtime_operation_result import ManagedIntegrationRuntimeOperationResult
from .managed_integration_runtime_error import ManagedIntegrationRuntimeError
from .managed_integration_runtime_node import ManagedIntegrationRuntimeNode
from .managed_integration_runtime_status import ManagedIntegrationRuntimeStatus
from .linked_integration_runtime_rbac_authorization import LinkedIntegrationRuntimeRbacAuthorization
from .linked_integration_runtime_key_authorization import LinkedIntegrationRuntimeKeyAuthorization
from .linked_integration_runtime_type import LinkedIntegrationRuntimeType
from .self_hosted_integration_runtime import SelfHostedIntegrationRuntime
from .integration_runtime_custom_setup_script_properties import IntegrationRuntimeCustomSetupScriptProperties
from .integration_runtime_ssis_catalog_info import IntegrationRuntimeSsisCatalogInfo
Expand Down Expand Up @@ -746,6 +756,7 @@
'IntegrationRuntimeStatusListResponse',
'UpdateIntegrationRuntimeRequest',
'UpdateIntegrationRuntimeNodeRequest',
'LinkedIntegrationRuntimeRequest',
'ParameterSpecification',
'LinkedService',
'LinkedServiceResource',
Expand Down Expand Up @@ -1033,12 +1044,16 @@
'IfConditionActivity',
'ExecutePipelineActivity',
'ControlActivity',
'LinkedIntegrationRuntime',
'SelfHostedIntegrationRuntimeNode',
'SelfHostedIntegrationRuntimeStatus',
'ManagedIntegrationRuntimeOperationResult',
'ManagedIntegrationRuntimeError',
'ManagedIntegrationRuntimeNode',
'ManagedIntegrationRuntimeStatus',
'LinkedIntegrationRuntimeRbacAuthorization',
'LinkedIntegrationRuntimeKeyAuthorization',
'LinkedIntegrationRuntimeType',
'SelfHostedIntegrationRuntime',
'IntegrationRuntimeCustomSetupScriptProperties',
'IntegrationRuntimeSsisCatalogInfo',
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 @@ -32,7 +32,7 @@ class IntegrationRuntimeStatus(Model):
:vartype data_factory_name: str
:ivar state: The state of integration runtime. Possible values include:
'Initial', 'Stopped', 'Started', 'Starting', 'Stopping',
'NeedRegistration', 'Online', 'Limited', 'Offline'
'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied'
:vartype state: str or
~azure.mgmt.datafactory.models.IntegrationRuntimeState
:param type: Required. Constant filled by server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class IntegrationRuntimeStatus(Model):
:vartype data_factory_name: str
:ivar state: The state of integration runtime. Possible values include:
'Initial', 'Stopped', 'Started', 'Starting', 'Stopping',
'NeedRegistration', 'Online', 'Limited', 'Offline'
'NeedRegistration', 'Online', 'Limited', 'Offline', 'AccessDenied'
:vartype state: str or
~azure.mgmt.datafactory.models.IntegrationRuntimeState
:param type: Required. Constant filled by server.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# 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 LinkedIntegrationRuntime(Model):
"""The linked integration runtime information.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar name: The name of the linked integration runtime.
:vartype name: str
:ivar subscription_id: The subscription ID for which the linked
integration runtime belong to.
:vartype subscription_id: str
:ivar data_factory_name: The name of the data factory for which the linked
integration runtime belong to.
:vartype data_factory_name: str
:ivar data_factory_location: The location of the data factory for which
the linked integration runtime belong to.
:vartype data_factory_location: str
:ivar create_time: The creating time of the linked integration runtime.
:vartype create_time: datetime
"""

_validation = {
'name': {'readonly': True},
'subscription_id': {'readonly': True},
'data_factory_name': {'readonly': True},
'data_factory_location': {'readonly': True},
'create_time': {'readonly': True},
}

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'subscription_id': {'key': 'subscriptionId', 'type': 'str'},
'data_factory_name': {'key': 'dataFactoryName', 'type': 'str'},
'data_factory_location': {'key': 'dataFactoryLocation', 'type': 'str'},
'create_time': {'key': 'createTime', 'type': 'iso-8601'},
}

def __init__(self, **kwargs):
super(LinkedIntegrationRuntime, self).__init__(**kwargs)
self.name = None
self.subscription_id = None
self.data_factory_name = None
self.data_factory_location = None
self.create_time = 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 .linked_integration_runtime_type import LinkedIntegrationRuntimeType


class LinkedIntegrationRuntimeKeyAuthorization(LinkedIntegrationRuntimeType):
"""The key authorization type integration runtime.

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

:param authorization_type: Required. Constant filled by server.
:type authorization_type: str
:param key: Required. The key used for authorization.
:type key: ~azure.mgmt.datafactory.models.SecureString
"""

_validation = {
'authorization_type': {'required': True},
'key': {'required': True},
}

_attribute_map = {
'authorization_type': {'key': 'authorizationType', 'type': 'str'},
'key': {'key': 'key', 'type': 'SecureString'},
}

def __init__(self, **kwargs):
super(LinkedIntegrationRuntimeKeyAuthorization, self).__init__(**kwargs)
self.key = kwargs.get('key', None)
self.authorization_type = 'Key'
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 .linked_integration_runtime_type_py3 import LinkedIntegrationRuntimeType


class LinkedIntegrationRuntimeKeyAuthorization(LinkedIntegrationRuntimeType):
"""The key authorization type integration runtime.

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

:param authorization_type: Required. Constant filled by server.
:type authorization_type: str
:param key: Required. The key used for authorization.
:type key: ~azure.mgmt.datafactory.models.SecureString
"""

_validation = {
'authorization_type': {'required': True},
'key': {'required': True},
}

_attribute_map = {
'authorization_type': {'key': 'authorizationType', 'type': 'str'},
'key': {'key': 'key', 'type': 'SecureString'},
}

def __init__(self, *, key, **kwargs) -> None:
super(LinkedIntegrationRuntimeKeyAuthorization, self).__init__(**kwargs)
self.key = key
self.authorization_type = 'Key'
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# 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 LinkedIntegrationRuntime(Model):
"""The linked integration runtime information.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar name: The name of the linked integration runtime.
:vartype name: str
:ivar subscription_id: The subscription ID for which the linked
integration runtime belong to.
:vartype subscription_id: str
:ivar data_factory_name: The name of the data factory for which the linked
integration runtime belong to.
:vartype data_factory_name: str
:ivar data_factory_location: The location of the data factory for which
the linked integration runtime belong to.
:vartype data_factory_location: str
:ivar create_time: The creating time of the linked integration runtime.
:vartype create_time: datetime
"""

_validation = {
'name': {'readonly': True},
'subscription_id': {'readonly': True},
'data_factory_name': {'readonly': True},
'data_factory_location': {'readonly': True},
'create_time': {'readonly': True},
}

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'subscription_id': {'key': 'subscriptionId', 'type': 'str'},
'data_factory_name': {'key': 'dataFactoryName', 'type': 'str'},
'data_factory_location': {'key': 'dataFactoryLocation', 'type': 'str'},
'create_time': {'key': 'createTime', 'type': 'iso-8601'},
}

def __init__(self, **kwargs) -> None:
super(LinkedIntegrationRuntime, self).__init__(**kwargs)
self.name = None
self.subscription_id = None
self.data_factory_name = None
self.data_factory_location = None
self.create_time = None
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 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 .linked_integration_runtime_type import LinkedIntegrationRuntimeType


class LinkedIntegrationRuntimeRbacAuthorization(LinkedIntegrationRuntimeType):
"""The role based access control (RBAC) authorization type integration
runtime.

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

:param authorization_type: Required. Constant filled by server.
:type authorization_type: str
:param resource_id: Required. The resource identifier of the integration
runtime to be shared.
:type resource_id: str
"""

_validation = {
'authorization_type': {'required': True},
'resource_id': {'required': True},
}

_attribute_map = {
'authorization_type': {'key': 'authorizationType', 'type': 'str'},
'resource_id': {'key': 'resourceId', 'type': 'str'},
}

def __init__(self, **kwargs):
super(LinkedIntegrationRuntimeRbacAuthorization, self).__init__(**kwargs)
self.resource_id = kwargs.get('resource_id', None)
self.authorization_type = 'RBAC'
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 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 .linked_integration_runtime_type_py3 import LinkedIntegrationRuntimeType


class LinkedIntegrationRuntimeRbacAuthorization(LinkedIntegrationRuntimeType):
"""The role based access control (RBAC) authorization type integration
runtime.

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

:param authorization_type: Required. Constant filled by server.
:type authorization_type: str
:param resource_id: Required. The resource identifier of the integration
runtime to be shared.
:type resource_id: str
"""

_validation = {
'authorization_type': {'required': True},
'resource_id': {'required': True},
}

_attribute_map = {
'authorization_type': {'key': 'authorizationType', 'type': 'str'},
'resource_id': {'key': 'resourceId', 'type': 'str'},
}

def __init__(self, *, resource_id: str, **kwargs) -> None:
super(LinkedIntegrationRuntimeRbacAuthorization, self).__init__(**kwargs)
self.resource_id = resource_id
self.authorization_type = 'RBAC'
Loading