Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
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 .integration_runtime_permission_response_py3 import IntegrationRuntimePermissionResponse
from .parameter_specification_py3 import ParameterSpecification
from .linked_service_py3 import LinkedService
from .linked_service_resource_py3 import LinkedServiceResource
Expand Down Expand Up @@ -355,6 +357,8 @@
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 .integration_runtime_permission_response import IntegrationRuntimePermissionResponse
from .parameter_specification import ParameterSpecification
from .linked_service import LinkedService
from .linked_service_resource import LinkedServiceResource
Expand Down Expand Up @@ -751,6 +755,8 @@
'IntegrationRuntimeStatusListResponse',
'UpdateIntegrationRuntimeRequest',
'UpdateIntegrationRuntimeNodeRequest',
'IntegrationRuntimePermissionRequest',
'IntegrationRuntimePermissionResponse',
'ParameterSpecification',
'LinkedService',
'LinkedServiceResource',
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
@@ -0,0 +1,38 @@
# 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 IntegrationRuntimePermissionRequest(Model):
"""Grant or revoke access to integration runtime request.

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

:param factory_name: The data factory name.
:type factory_name: str
:param factory_identity: Required. The data factory identity.
:type factory_identity: str
"""

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

_attribute_map = {
'factory_name': {'key': 'factoryName', 'type': 'str'},
'factory_identity': {'key': 'factoryIdentity', 'type': 'str'},
}

def __init__(self, **kwargs):
super(IntegrationRuntimePermissionRequest, self).__init__(**kwargs)
self.factory_name = kwargs.get('factory_name', None)
self.factory_identity = kwargs.get('factory_identity', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 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 IntegrationRuntimePermissionRequest(Model):
"""Grant or revoke access to integration runtime request.

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

:param factory_name: The data factory name.
:type factory_name: str
:param factory_identity: Required. The data factory identity.
:type factory_identity: str
"""

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

_attribute_map = {
'factory_name': {'key': 'factoryName', 'type': 'str'},
'factory_identity': {'key': 'factoryIdentity', 'type': 'str'},
}

def __init__(self, *, factory_identity: str, factory_name: str=None, **kwargs) -> None:
super(IntegrationRuntimePermissionRequest, self).__init__(**kwargs)
self.factory_name = factory_name
self.factory_identity = factory_identity
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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 IntegrationRuntimePermissionResponse(Model):
"""The response of granting/revoking integration runtime permission operation.

:param shared_integration_runtime_count: The number of the integration
runtimes to which the given data factory has been granted access.
:type shared_integration_runtime_count: int
"""

_attribute_map = {
'shared_integration_runtime_count': {'key': 'sharedIntegrationRuntimeCount', 'type': 'int'},
}

def __init__(self, **kwargs):
super(IntegrationRuntimePermissionResponse, self).__init__(**kwargs)
self.shared_integration_runtime_count = kwargs.get('shared_integration_runtime_count', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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 IntegrationRuntimePermissionResponse(Model):
"""The response of granting/revoking integration runtime permission operation.

:param shared_integration_runtime_count: The number of the integration
runtimes to which the given data factory has been granted access.
:type shared_integration_runtime_count: int
"""

_attribute_map = {
'shared_integration_runtime_count': {'key': 'sharedIntegrationRuntimeCount', 'type': 'int'},
}

def __init__(self, *, shared_integration_runtime_count: int=None, **kwargs) -> None:
super(IntegrationRuntimePermissionResponse, self).__init__(**kwargs)
self.shared_integration_runtime_count = shared_integration_runtime_count
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ class IntegrationRuntimeStatus(Model):

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]
:ivar data_factory_name: The data factory name which the integration
runtime belong to.
: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 All @@ -46,7 +43,6 @@ class IntegrationRuntimeStatus(Model):
}

_attribute_map = {
'additional_properties': {'key': '', 'type': '{object}'},
'data_factory_name': {'key': 'dataFactoryName', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
Expand All @@ -58,7 +54,6 @@ class IntegrationRuntimeStatus(Model):

def __init__(self, **kwargs):
super(IntegrationRuntimeStatus, self).__init__(**kwargs)
self.additional_properties = kwargs.get('additional_properties', None)
self.data_factory_name = None
self.state = None
self.type = None
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ class IntegrationRuntimeStatus(Model):

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]
:ivar data_factory_name: The data factory name which the integration
runtime belong to.
: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 All @@ -46,7 +43,6 @@ class IntegrationRuntimeStatus(Model):
}

_attribute_map = {
'additional_properties': {'key': '', 'type': '{object}'},
'data_factory_name': {'key': 'dataFactoryName', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
Expand All @@ -56,9 +52,8 @@ class IntegrationRuntimeStatus(Model):
'type': {'SelfHosted': 'SelfHostedIntegrationRuntimeStatus', 'Managed': 'ManagedIntegrationRuntimeStatus'}
}

def __init__(self, *, additional_properties=None, **kwargs) -> None:
def __init__(self, **kwargs) -> None:
super(IntegrationRuntimeStatus, self).__init__(**kwargs)
self.additional_properties = additional_properties
self.data_factory_name = None
self.state = None
self.type = None
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@


class LinkedIntegrationRuntimeKey(LinkedIntegrationRuntimeProperties):
"""The base definition of a secret type.
"""The key authorization type.

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. Type of the secret.
:param key: Required. The key used for authorization.
:type key: ~azure.mgmt.datafactory.models.SecureString
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@


class LinkedIntegrationRuntimeKey(LinkedIntegrationRuntimeProperties):
"""The base definition of a secret type.
"""The key authorization type.

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. Type of the secret.
:param key: Required. The key used for authorization.
:type key: ~azure.mgmt.datafactory.models.SecureString
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class LinkedIntegrationRuntimeProperties(Model):
"""The base definition of a secret type.
"""The base definition of a linked integration runtime properties.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: LinkedIntegrationRuntimeRbac, LinkedIntegrationRuntimeKey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class LinkedIntegrationRuntimeProperties(Model):
"""The base definition of a secret type.
"""The base definition of a linked integration runtime properties.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: LinkedIntegrationRuntimeRbac, LinkedIntegrationRuntimeKey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@


class LinkedIntegrationRuntimeRbac(LinkedIntegrationRuntimeProperties):
"""The base definition of a secret type.
"""The role based access control (RBAC) authorization type.

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 ID of the integration runtime
to be shared.
:param resource_id: Required. The resource identifier of the integration
runtime to be shared.
:type resource_id: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@


class LinkedIntegrationRuntimeRbac(LinkedIntegrationRuntimeProperties):
"""The base definition of a secret type.
"""The role based access control (RBAC) authorization type.

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 ID of the integration runtime
to be shared.
:param resource_id: Required. The resource identifier of the integration
runtime to be shared.
:type resource_id: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ManagedIntegrationRuntime(IntegrationRuntime):
:ivar state: Integration runtime state, only valid for managed dedicated
integration runtime. Possible values include: 'Initial', 'Stopped',
'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online',
'Limited', 'Offline'
'Limited', 'Offline', 'AccessDenied'
:vartype state: str or
~azure.mgmt.datafactory.models.IntegrationRuntimeState
:param compute_properties: The compute resource for managed integration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ManagedIntegrationRuntime(IntegrationRuntime):
:ivar state: Integration runtime state, only valid for managed dedicated
integration runtime. Possible values include: 'Initial', 'Stopped',
'Started', 'Starting', 'Stopping', 'NeedRegistration', 'Online',
'Limited', 'Offline'
'Limited', 'Offline', 'AccessDenied'
:vartype state: str or
~azure.mgmt.datafactory.models.IntegrationRuntimeState
:param compute_properties: The compute resource for managed integration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ class ManagedIntegrationRuntimeStatus(IntegrationRuntimeStatus):

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]
:ivar data_factory_name: The data factory name which the integration
runtime belong to.
: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.
:type type: str
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, object]
:ivar create_time: The time at which the integration runtime was created,
in ISO8601 format.
:vartype create_time: datetime
Expand All @@ -59,10 +59,10 @@ class ManagedIntegrationRuntimeStatus(IntegrationRuntimeStatus):
}

_attribute_map = {
'additional_properties': {'key': '', 'type': '{object}'},
'data_factory_name': {'key': 'dataFactoryName', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'additional_properties': {'key': 'typeProperties.', 'type': '{object}'},
'create_time': {'key': 'typeProperties.createTime', 'type': 'iso-8601'},
'nodes': {'key': 'typeProperties.nodes', 'type': '[ManagedIntegrationRuntimeNode]'},
'other_errors': {'key': 'typeProperties.otherErrors', 'type': '[ManagedIntegrationRuntimeError]'},
Expand All @@ -71,6 +71,7 @@ class ManagedIntegrationRuntimeStatus(IntegrationRuntimeStatus):

def __init__(self, **kwargs):
super(ManagedIntegrationRuntimeStatus, self).__init__(**kwargs)
self.additional_properties = kwargs.get('additional_properties', None)
self.create_time = None
self.nodes = None
self.other_errors = None
Expand Down
Loading