Class AzureFileStorageLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.AzureFileStorageLinkedService
-
public final class AzureFileStorageLinkedService extends LinkedService
Azure File Storage linked service.
-
-
Constructor Summary
Constructors Constructor Description AzureFileStorageLinkedService()
-
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.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
fileShare()
Get the fileShare property: The azure file share name.Object
host()
Get the host property: Host name of the server.SecretBase
password()
Get the password property: Password to logon the server.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 File resource.Object
snapshot()
Get the snapshot property: The azure file share snapshot version.Object
userId()
Get the userId property: User ID to logon the server.void
validate()
Validates the instance.AzureFileStorageLinkedService
withAccountKey(AzureKeyVaultSecretReference accountKey)
Set the accountKey property: The Azure key vault secret reference of accountKey in connection string.AzureFileStorageLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.AzureFileStorageLinkedService
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.AzureFileStorageLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.AzureFileStorageLinkedService
withDescription(String description)
Set the description property: Linked service description.AzureFileStorageLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.AzureFileStorageLinkedService
withFileShare(Object fileShare)
Set the fileShare property: The azure file share name.AzureFileStorageLinkedService
withHost(Object host)
Set the host property: Host name of the server.AzureFileStorageLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.AzureFileStorageLinkedService
withPassword(SecretBase password)
Set the password property: Password to logon the server.AzureFileStorageLinkedService
withSasToken(AzureKeyVaultSecretReference sasToken)
Set the sasToken property: The Azure key vault secret reference of sasToken in sas uri.AzureFileStorageLinkedService
withSasUri(Object sasUri)
Set the sasUri property: SAS URI of the Azure File resource.AzureFileStorageLinkedService
withSnapshot(Object snapshot)
Set the snapshot property: The azure file share snapshot version.AzureFileStorageLinkedService
withUserId(Object userId)
Set the userId property: User ID to logon the server.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public AzureFileStorageLinkedService 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 AzureFileStorageLinkedService 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 AzureFileStorageLinkedService 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 AzureFileStorageLinkedService 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.
-
host
public Object host()
Get the host property: Host name of the server. Type: string (or Expression with resultType string).- Returns:
- the host value.
-
withHost
public AzureFileStorageLinkedService withHost(Object host)
Set the host property: Host name of the server. Type: string (or Expression with resultType string).- Parameters:
host
- the host value to set.- Returns:
- the AzureFileStorageLinkedService object itself.
-
userId
public Object userId()
Get the userId property: User ID to logon the server. Type: string (or Expression with resultType string).- Returns:
- the userId value.
-
withUserId
public AzureFileStorageLinkedService withUserId(Object userId)
Set the userId property: User ID to logon the server. Type: string (or Expression with resultType string).- Parameters:
userId
- the userId value to set.- Returns:
- the AzureFileStorageLinkedService object itself.
-
password
public SecretBase password()
Get the password property: Password to logon the server.- Returns:
- the password value.
-
withPassword
public AzureFileStorageLinkedService withPassword(SecretBase password)
Set the password property: Password to logon the server.- Parameters:
password
- the password value to set.- Returns:
- the AzureFileStorageLinkedService 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 AzureFileStorageLinkedService 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 AzureFileStorageLinkedService 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 AzureFileStorageLinkedService 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 AzureFileStorageLinkedService object itself.
-
sasUri
public Object sasUri()
Get the sasUri property: SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the sasUri value.
-
withSasUri
public AzureFileStorageLinkedService withSasUri(Object sasUri)
Set the sasUri property: SAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
sasUri
- the sasUri value to set.- Returns:
- the AzureFileStorageLinkedService 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 AzureFileStorageLinkedService 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 AzureFileStorageLinkedService object itself.
-
fileShare
public Object fileShare()
Get the fileShare property: The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string).- Returns:
- the fileShare value.
-
withFileShare
public AzureFileStorageLinkedService withFileShare(Object fileShare)
Set the fileShare property: The azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string).- Parameters:
fileShare
- the fileShare value to set.- Returns:
- the AzureFileStorageLinkedService object itself.
-
snapshot
public Object snapshot()
Get the snapshot property: The azure file share snapshot version. Type: string (or Expression with resultType string).- Returns:
- the snapshot value.
-
withSnapshot
public AzureFileStorageLinkedService withSnapshot(Object snapshot)
Set the snapshot property: The azure file share snapshot version. Type: string (or Expression with resultType string).- Parameters:
snapshot
- the snapshot value to set.- Returns:
- the AzureFileStorageLinkedService 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 AzureFileStorageLinkedService 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 AzureFileStorageLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-