Class AzureStorageLinkedService

java.lang.Object
com.azure.resourcemanager.datafactory.models.LinkedService
com.azure.resourcemanager.datafactory.models.AzureStorageLinkedService

public final class AzureStorageLinkedService extends LinkedService
The storage account linked service.
  • Constructor Details

    • AzureStorageLinkedService

      public AzureStorageLinkedService()
  • Method Details

    • withConnectVia

      public AzureStorageLinkedService 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 AzureStorageLinkedService 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 AzureStorageLinkedService 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 AzureStorageLinkedService 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.
    • connectionString

      public Object connectionString()
      Get the connectionString property: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference.
      Returns:
      the connectionString value.
    • withConnectionString

      public AzureStorageLinkedService withConnectionString(Object connectionString)
      Set the connectionString property: The connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference.
      Parameters:
      connectionString - the connectionString value to set.
      Returns:
      the AzureStorageLinkedService object itself.
    • accountKey

      public AzureKeyVaultSecretReference accountKey()
      Get the accountKey property: The Azure key vault secret reference of accountKey in connection string.
      Returns:
      the accountKey value.
    • withAccountKey

      public AzureStorageLinkedService withAccountKey(AzureKeyVaultSecretReference accountKey)
      Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.
      Parameters:
      accountKey - the accountKey value to set.
      Returns:
      the AzureStorageLinkedService object itself.
    • sasUri

      public Object sasUri()
      Get the sasUri property: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.
      Returns:
      the sasUri value.
    • withSasUri

      public AzureStorageLinkedService withSasUri(Object sasUri)
      Set the sasUri property: SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.
      Parameters:
      sasUri - the sasUri value to set.
      Returns:
      the AzureStorageLinkedService object itself.
    • sasToken

      public AzureKeyVaultSecretReference sasToken()
      Get the sasToken property: The Azure key vault secret reference of sasToken in sas uri.
      Returns:
      the sasToken value.
    • withSasToken

      Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.
      Parameters:
      sasToken - the sasToken value to set.
      Returns:
      the AzureStorageLinkedService object itself.
    • encryptedCredential

      public String 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 AzureStorageLinkedService withEncryptedCredential(String 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 AzureStorageLinkedService object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class LinkedService
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.