Class AzureFunctionLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.AzureFunctionLinkedService
-
public final class AzureFunctionLinkedService extends LinkedService
Azure Function linked service.
-
-
Constructor Summary
Constructors Constructor Description AzureFunctionLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
authentication()
Get the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureFunction.CredentialReference
credential()
Get the credential property: The credential reference containing authentication information.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
functionAppUrl()
Get the functionAppUrl property: The endpoint of the Azure Function App.SecretBase
functionKey()
Get the functionKey property: Function or Host key for Azure Function App.Object
resourceId()
Get the resourceId property: Allowed token audiences for azure function.void
validate()
Validates the instance.AzureFunctionLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.AzureFunctionLinkedService
withAuthentication(Object authentication)
Set the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureFunction.AzureFunctionLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.AzureFunctionLinkedService
withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information.AzureFunctionLinkedService
withDescription(String description)
Set the description property: Linked service description.AzureFunctionLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.AzureFunctionLinkedService
withFunctionAppUrl(Object functionAppUrl)
Set the functionAppUrl property: The endpoint of the Azure Function App.AzureFunctionLinkedService
withFunctionKey(SecretBase functionKey)
Set the functionKey property: Function or Host key for Azure Function App.AzureFunctionLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.AzureFunctionLinkedService
withResourceId(Object resourceId)
Set the resourceId property: Allowed token audiences for azure function.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public AzureFunctionLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public AzureFunctionLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public AzureFunctionLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public AzureFunctionLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-
functionAppUrl
public Object functionAppUrl()
Get the functionAppUrl property: The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net.- Returns:
- the functionAppUrl value.
-
withFunctionAppUrl
public AzureFunctionLinkedService withFunctionAppUrl(Object functionAppUrl)
Set the functionAppUrl property: The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net.- Parameters:
functionAppUrl
- the functionAppUrl value to set.- Returns:
- the AzureFunctionLinkedService object itself.
-
functionKey
public SecretBase functionKey()
Get the functionKey property: Function or Host key for Azure Function App.- Returns:
- the functionKey value.
-
withFunctionKey
public AzureFunctionLinkedService withFunctionKey(SecretBase functionKey)
Set the functionKey property: Function or Host key for Azure Function App.- Parameters:
functionKey
- the functionKey value to set.- Returns:
- the AzureFunctionLinkedService object itself.
-
encryptedCredential
public Object encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Returns:
- the encryptedCredential value.
-
withEncryptedCredential
public AzureFunctionLinkedService withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Parameters:
encryptedCredential
- the encryptedCredential value to set.- Returns:
- the AzureFunctionLinkedService object itself.
-
credential
public CredentialReference credential()
Get the credential property: The credential reference containing authentication information.- Returns:
- the credential value.
-
withCredential
public AzureFunctionLinkedService withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information.- Parameters:
credential
- the credential value to set.- Returns:
- the AzureFunctionLinkedService object itself.
-
resourceId
public Object resourceId()
Get the resourceId property: Allowed token audiences for azure function.- Returns:
- the resourceId value.
-
withResourceId
public AzureFunctionLinkedService withResourceId(Object resourceId)
Set the resourceId property: Allowed token audiences for azure function.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the AzureFunctionLinkedService object itself.
-
authentication
public Object authentication()
Get the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string).- Returns:
- the authentication value.
-
withAuthentication
public AzureFunctionLinkedService withAuthentication(Object authentication)
Set the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string).- Parameters:
authentication
- the authentication value to set.- Returns:
- the AzureFunctionLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-