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 AzureKeyVaultSecretReferenceaccountKey()Get the accountKey property: The Azure key vault secret reference of accountKey in connection string.ObjectconnectionString()Get the connectionString property: The connection string.StringencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.AzureKeyVaultSecretReferencesasToken()Get the sasToken property: The Azure key vault secret reference of sasToken in sas uri.ObjectsasUri()Get the sasUri property: SAS URI of the Azure Storage resource.voidvalidate()Validates the instance.AzureStorageLinkedServicewithAccountKey(AzureKeyVaultSecretReference accountKey)Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.AzureStorageLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.AzureStorageLinkedServicewithConnectionString(Object connectionString)Set the connectionString property: The connection string.AzureStorageLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.AzureStorageLinkedServicewithDescription(String description)Set the description property: Linked service description.AzureStorageLinkedServicewithEncryptedCredential(String encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.AzureStorageLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.AzureStorageLinkedServicewithSasToken(AzureKeyVaultSecretReference sasToken)Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.AzureStorageLinkedServicewithSasUri(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:
withConnectViain 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:
withDescriptionin 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:
withParametersin 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:
withAnnotationsin 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:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-