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 Details

    • AzureFunctionLinkedService

      public AzureFunctionLinkedService()
      Creates an instance of AzureFunctionLinkedService class.
  • Method Details

    • withConnectVia

      public AzureFunctionLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
      Set the connectVia property: The integration runtime reference.
      Overrides:
      withConnectVia in class LinkedService
      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 class LinkedService
      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 class LinkedService
      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 class LinkedService
      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 class LinkedService
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.