Class HttpLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.HttpLinkedService
-
public final class HttpLinkedService extends LinkedService
Linked service for an HTTP source.
-
-
Constructor Summary
Constructors Constructor Description HttpLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpAuthenticationTypeauthenticationType()Get the authenticationType property: The authentication type to be used to connect to the HTTP server.ObjectauthHeaders()Get the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.ObjectcertThumbprint()Get the certThumbprint property: Thumbprint of certificate for ClientCertificate authentication.ObjectembeddedCertData()Get the embeddedCertData property: Base64 encoded certificate data for ClientCertificate authentication.ObjectenableServerCertificateValidation()Get the enableServerCertificateValidation property: If true, validate the HTTPS server SSL certificate.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.SecretBasepassword()Get the password property: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.Objecturl()Get the url property: The base URL of the HTTP endpoint, e.g.Objectusername()Get the username property: User name for Basic, Digest, or Windows authentication.voidvalidate()Validates the instance.HttpLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.HttpLinkedServicewithAuthenticationType(HttpAuthenticationType authenticationType)Set the authenticationType property: The authentication type to be used to connect to the HTTP server.HttpLinkedServicewithAuthHeaders(Object authHeaders)Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.HttpLinkedServicewithCertThumbprint(Object certThumbprint)Set the certThumbprint property: Thumbprint of certificate for ClientCertificate authentication.HttpLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.HttpLinkedServicewithDescription(String description)Set the description property: Linked service description.HttpLinkedServicewithEmbeddedCertData(Object embeddedCertData)Set the embeddedCertData property: Base64 encoded certificate data for ClientCertificate authentication.HttpLinkedServicewithEnableServerCertificateValidation(Object enableServerCertificateValidation)Set the enableServerCertificateValidation property: If true, validate the HTTPS server SSL certificate.HttpLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.HttpLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.HttpLinkedServicewithPassword(SecretBase password)Set the password property: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.HttpLinkedServicewithUrl(Object url)Set the url property: The base URL of the HTTP endpoint, e.g.HttpLinkedServicewithUsername(Object username)Set the username property: User name for Basic, Digest, or Windows authentication.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public HttpLinkedService 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 HttpLinkedService 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 HttpLinkedService 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 HttpLinkedService 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.
-
url
public Object url()
Get the url property: The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression with resultType string).- Returns:
- the url value.
-
withUrl
public HttpLinkedService withUrl(Object url)
Set the url property: The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression with resultType string).- Parameters:
url- the url value to set.- Returns:
- the HttpLinkedService object itself.
-
authenticationType
public HttpAuthenticationType authenticationType()
Get the authenticationType property: The authentication type to be used to connect to the HTTP server.- Returns:
- the authenticationType value.
-
withAuthenticationType
public HttpLinkedService withAuthenticationType(HttpAuthenticationType authenticationType)
Set the authenticationType property: The authentication type to be used to connect to the HTTP server.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the HttpLinkedService object itself.
-
username
public Object username()
Get the username property: User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public HttpLinkedService withUsername(Object username)
Set the username property: User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string).- Parameters:
username- the username value to set.- Returns:
- the HttpLinkedService object itself.
-
password
public SecretBase password()
Get the password property: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.- Returns:
- the password value.
-
withPassword
public HttpLinkedService withPassword(SecretBase password)
Set the password property: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.- Parameters:
password- the password value to set.- Returns:
- the HttpLinkedService object itself.
-
authHeaders
public Object authHeaders()
Get the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object).- Returns:
- the authHeaders value.
-
withAuthHeaders
public HttpLinkedService withAuthHeaders(Object authHeaders)
Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object).- Parameters:
authHeaders- the authHeaders value to set.- Returns:
- the HttpLinkedService object itself.
-
embeddedCertData
public Object embeddedCertData()
Get the embeddedCertData property: Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).- Returns:
- the embeddedCertData value.
-
withEmbeddedCertData
public HttpLinkedService withEmbeddedCertData(Object embeddedCertData)
Set the embeddedCertData property: Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).- Parameters:
embeddedCertData- the embeddedCertData value to set.- Returns:
- the HttpLinkedService object itself.
-
certThumbprint
public Object certThumbprint()
Get the certThumbprint property: Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).- Returns:
- the certThumbprint value.
-
withCertThumbprint
public HttpLinkedService withCertThumbprint(Object certThumbprint)
Set the certThumbprint property: Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType string).- Parameters:
certThumbprint- the certThumbprint value to set.- Returns:
- the HttpLinkedService 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 HttpLinkedService 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 HttpLinkedService object itself.
-
enableServerCertificateValidation
public Object enableServerCertificateValidation()
Get the enableServerCertificateValidation property: If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean).- Returns:
- the enableServerCertificateValidation value.
-
withEnableServerCertificateValidation
public HttpLinkedService withEnableServerCertificateValidation(Object enableServerCertificateValidation)
Set the enableServerCertificateValidation property: If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or Expression with resultType boolean).- Parameters:
enableServerCertificateValidation- the enableServerCertificateValidation value to set.- Returns:
- the HttpLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-