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
Original file line number Diff line number Diff line change
Expand Up @@ -24254,9 +24254,6 @@ class SalesforceLinkedService(LinkedService):
:param security_token: The security token is required to remotely access
Salesforce instance.
:type security_token: ~azure.mgmt.datafactory.models.SecretBase
:param api_version: The Salesforce API version used in ADF. Type: string
(or Expression with resultType string).
:type api_version: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -24278,7 +24275,6 @@ class SalesforceLinkedService(LinkedService):
'username': {'key': 'typeProperties.username', 'type': 'object'},
'password': {'key': 'typeProperties.password', 'type': 'SecretBase'},
'security_token': {'key': 'typeProperties.securityToken', 'type': 'SecretBase'},
'api_version': {'key': 'typeProperties.apiVersion', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}

Expand All @@ -24288,7 +24284,6 @@ def __init__(self, **kwargs):
self.username = kwargs.get('username', None)
self.password = kwargs.get('password', None)
self.security_token = kwargs.get('security_token', None)
self.api_version = kwargs.get('api_version', None)
self.encrypted_credential = kwargs.get('encrypted_credential', None)
self.type = 'Salesforce'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24254,9 +24254,6 @@ class SalesforceLinkedService(LinkedService):
:param security_token: The security token is required to remotely access
Salesforce instance.
:type security_token: ~azure.mgmt.datafactory.models.SecretBase
:param api_version: The Salesforce API version used in ADF. Type: string
(or Expression with resultType string).
:type api_version: object
:param encrypted_credential: The encrypted credential used for
authentication. Credentials are encrypted using the integration runtime
credential manager. Type: string (or Expression with resultType string).
Expand All @@ -24278,17 +24275,15 @@ class SalesforceLinkedService(LinkedService):
'username': {'key': 'typeProperties.username', 'type': 'object'},
'password': {'key': 'typeProperties.password', 'type': 'SecretBase'},
'security_token': {'key': 'typeProperties.securityToken', 'type': 'SecretBase'},
'api_version': {'key': 'typeProperties.apiVersion', 'type': 'object'},
'encrypted_credential': {'key': 'typeProperties.encryptedCredential', 'type': 'object'},
}

def __init__(self, *, additional_properties=None, connect_via=None, description: str=None, parameters=None, annotations=None, environment_url=None, username=None, password=None, security_token=None, api_version=None, encrypted_credential=None, **kwargs) -> None:
def __init__(self, *, additional_properties=None, connect_via=None, description: str=None, parameters=None, annotations=None, environment_url=None, username=None, password=None, security_token=None, encrypted_credential=None, **kwargs) -> None:
super(SalesforceLinkedService, self).__init__(additional_properties=additional_properties, connect_via=connect_via, description=description, parameters=parameters, annotations=annotations, **kwargs)
self.environment_url = environment_url
self.username = username
self.password = password
self.security_token = security_token
self.api_version = api_version
self.encrypted_credential = encrypted_credential
self.type = 'Salesforce'

Expand Down