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 Summary
Constructors Constructor Description AzureStorageLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureKeyVaultSecretReference
accountKey()
Get the accountKey property: The Azure key vault secret reference of accountKey in connection string.Object
connectionString()
Get the connectionString property: The connection string.String
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.AzureKeyVaultSecretReference
sasToken()
Get the sasToken property: The Azure key vault secret reference of sasToken in sas uri.Object
sasUri()
Get the sasUri property: SAS URI of the Azure Storage resource.void
validate()
Validates the instance.AzureStorageLinkedService
withAccountKey(AzureKeyVaultSecretReference accountKey)
Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.AzureStorageLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.AzureStorageLinkedService
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.AzureStorageLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.AzureStorageLinkedService
withDescription(String description)
Set the description property: Linked service description.AzureStorageLinkedService
withEncryptedCredential(String encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.AzureStorageLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.AzureStorageLinkedService
withSasToken(AzureKeyVaultSecretReference sasToken)
Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.AzureStorageLinkedService
withSasUri(Object sasUri)
Set the sasUri property: SAS URI of the Azure Storage resource.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public AzureStorageLinkedService 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 AzureStorageLinkedService 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 AzureStorageLinkedService 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 AzureStorageLinkedService 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.
-
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
public AzureStorageLinkedService withSasToken(AzureKeyVaultSecretReference sasToken)
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 classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-