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
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,7 @@
from ._paged_models import PipelineResourcePaged
from ._paged_models import TriggerResourcePaged
from ._data_factory_management_client_enums import (
FactoryIdentityType,
GlobalParameterType,
PublicNetworkAccess,
IntegrationRuntimeState,
Expand Down Expand Up @@ -2023,6 +2024,7 @@
'DataFlowDebugSessionInfoPaged',
'ManagedVirtualNetworkResourcePaged',
'ManagedPrivateEndpointResourcePaged',
'FactoryIdentityType',
'GlobalParameterType',
'PublicNetworkAccess',
'IntegrationRuntimeState',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
from enum import Enum


class FactoryIdentityType(str, Enum):

system_assigned = "SystemAssigned"
user_assigned = "UserAssigned"
system_assigned_user_assigned = "SystemAssigned,UserAssigned"


class GlobalParameterType(str, Enum):

object_enum = "Object"
Expand Down Expand Up @@ -245,6 +252,7 @@ class SftpAuthenticationType(str, Enum):

basic = "Basic"
ssh_public_key = "SshPublicKey"
multi_factor = "MultiFactor"


class FtpAuthenticationType(str, Enum):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14195,8 +14195,9 @@ class FactoryIdentity(Model):

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

:ivar type: Required. The identity type. Default value: "SystemAssigned" .
:vartype type: str
:param type: Required. The identity type. Possible values include:
'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned'
:type type: str or ~azure.mgmt.datafactory.models.FactoryIdentityType
:ivar principal_id: The principal id of the identity.
:vartype principal_id: str
:ivar tenant_id: The client tenant id of the identity.
Expand All @@ -14207,7 +14208,7 @@ class FactoryIdentity(Model):
"""

_validation = {
'type': {'required': True, 'constant': True},
'type': {'required': True},
'principal_id': {'readonly': True},
'tenant_id': {'readonly': True},
}
Expand All @@ -14219,10 +14220,9 @@ class FactoryIdentity(Model):
'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{object}'},
}

type = "SystemAssigned"

def __init__(self, **kwargs):
super(FactoryIdentity, self).__init__(**kwargs)
self.type = kwargs.get('type', None)
self.principal_id = None
self.tenant_id = None
self.user_assigned_identities = kwargs.get('user_assigned_identities', None)
Expand Down Expand Up @@ -17643,6 +17643,10 @@ class HttpLinkedService(LinkedService):
:param password: Password for Basic, Digest, Windows, or ClientCertificate
with EmbeddedCertData authentication.
:type password: ~azure.mgmt.datafactory.models.SecretBase
:param auth_headers: The additional HTTP headers in the request to RESTful
API used for authorization. Type: object (or Expression with resultType
object).
:type auth_headers: object
:param embedded_cert_data: Base64 encoded certificate data for
ClientCertificate authentication. For on-premises copy with
ClientCertificate authentication, either CertThumbprint or
Expand Down Expand Up @@ -17681,6 +17685,7 @@ class HttpLinkedService(LinkedService):
'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'},
'user_name': {'key': 'typeProperties.userName', 'type': 'object'},
'password': {'key': 'typeProperties.password', 'type': 'SecretBase'},
'auth_headers': {'key': 'typeProperties.authHeaders', 'type': 'object'},
'embedded_cert_data': {'key': 'typeProperties.embeddedCertData', 'type': 'object'},
'cert_thumbprint': {'key': 'typeProperties.certThumbprint', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
Expand All @@ -17693,6 +17698,7 @@ def __init__(self, **kwargs):
self.authentication_type = kwargs.get('authentication_type', None)
self.user_name = kwargs.get('user_name', None)
self.password = kwargs.get('password', None)
self.auth_headers = kwargs.get('auth_headers', None)
self.embedded_cert_data = kwargs.get('embedded_cert_data', None)
self.cert_thumbprint = kwargs.get('cert_thumbprint', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
Expand Down Expand Up @@ -22629,6 +22635,10 @@ class ODataLinkedService(LinkedService):
:type user_name: object
:param password: Password of the OData service.
:type password: ~azure.mgmt.datafactory.models.SecretBase
:param auth_headers: The additional HTTP headers in the request to RESTful
API used for authorization. Type: object (or Expression with resultType
object).
:type auth_headers: object
:param tenant: Specify the tenant information (domain name or tenant ID)
under which your application resides. Type: string (or Expression with
resultType string).
Expand Down Expand Up @@ -22688,6 +22698,7 @@ class ODataLinkedService(LinkedService):
'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'},
'user_name': {'key': 'typeProperties.userName', 'type': 'object'},
'password': {'key': 'typeProperties.password', 'type': 'SecretBase'},
'auth_headers': {'key': 'typeProperties.authHeaders', 'type': 'object'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'azure_cloud_type': {'key': 'typeProperties.azureCloudType', 'type': 'object'},
Expand All @@ -22705,6 +22716,7 @@ def __init__(self, **kwargs):
self.authentication_type = kwargs.get('authentication_type', None)
self.user_name = kwargs.get('user_name', None)
self.password = kwargs.get('password', None)
self.auth_headers = kwargs.get('auth_headers', None)
self.tenant = kwargs.get('tenant', None)
self.service_principal_id = kwargs.get('service_principal_id', None)
self.azure_cloud_type = kwargs.get('azure_cloud_type', None)
Expand Down Expand Up @@ -26582,6 +26594,10 @@ class RestServiceLinkedService(LinkedService):
:type user_name: object
:param password: The password used in Basic authentication type.
:type password: ~azure.mgmt.datafactory.models.SecretBase
:param auth_headers: The additional HTTP headers in the request to RESTful
API used for authorization. Type: object (or Expression with resultType
object).
:type auth_headers: object
:param service_principal_id: The application's client ID used in
AadServicePrincipal authentication type.
:type service_principal_id: object
Expand Down Expand Up @@ -26624,6 +26640,7 @@ class RestServiceLinkedService(LinkedService):
'authentication_type': {'key': 'typeProperties.authenticationType', 'type': 'str'},
'user_name': {'key': 'typeProperties.userName', 'type': 'object'},
'password': {'key': 'typeProperties.password', 'type': 'SecretBase'},
'auth_headers': {'key': 'typeProperties.authHeaders', 'type': 'object'},
'service_principal_id': {'key': 'typeProperties.servicePrincipalId', 'type': 'object'},
'service_principal_key': {'key': 'typeProperties.servicePrincipalKey', 'type': 'SecretBase'},
'tenant': {'key': 'typeProperties.tenant', 'type': 'object'},
Expand All @@ -26639,6 +26656,7 @@ def __init__(self, **kwargs):
self.authentication_type = kwargs.get('authentication_type', None)
self.user_name = kwargs.get('user_name', None)
self.password = kwargs.get('password', None)
self.auth_headers = kwargs.get('auth_headers', None)
self.service_principal_id = kwargs.get('service_principal_id', None)
self.service_principal_key = kwargs.get('service_principal_key', None)
self.tenant = kwargs.get('tenant', None)
Expand Down Expand Up @@ -30015,7 +30033,8 @@ class SftpServerLinkedService(LinkedService):
resultType integer), minimum: 0.
:type port: object
:param authentication_type: The authentication type to be used to connect
to the FTP server. Possible values include: 'Basic', 'SshPublicKey'
to the FTP server. Possible values include: 'Basic', 'SshPublicKey',
'MultiFactor'
:type authentication_type: str or
~azure.mgmt.datafactory.models.SftpAuthenticationType
:param user_name: The username used to log on to the SFTP server. Type:
Expand Down Expand Up @@ -34723,14 +34742,16 @@ class WebActivityAuthentication(Model):
for ServicePrincipal
:type pfx: ~azure.mgmt.datafactory.models.SecretBase
:param username: Web activity authentication user name for basic
authentication or ClientID when used for ServicePrincipal
:type username: str
authentication or ClientID when used for ServicePrincipal. Type: string
(or Expression with resultType string).
:type username: object
:param password: Password for the PFX file or basic authentication /
Secret when used for ServicePrincipal
:type password: ~azure.mgmt.datafactory.models.SecretBase
:param resource: Resource for which Azure Auth token will be requested
when using MSI Authentication.
:type resource: str
when using MSI Authentication. Type: string (or Expression with resultType
string).
:type resource: object
:param user_tenant: TenantId for which Azure Auth token will be requested
when using ServicePrincipal Authentication. Type: string (or Expression
with resultType string).
Expand All @@ -34744,9 +34765,9 @@ class WebActivityAuthentication(Model):
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'pfx': {'key': 'pfx', 'type': 'SecretBase'},
'username': {'key': 'username', 'type': 'str'},
'username': {'key': 'username', 'type': 'object'},
'password': {'key': 'password', 'type': 'SecretBase'},
'resource': {'key': 'resource', 'type': 'str'},
'resource': {'key': 'resource', 'type': 'object'},
'user_tenant': {'key': 'userTenant', 'type': 'object'},
}

Expand Down
Loading