Class HttpLinkedService
java.lang.Object
com.azure.resourcemanager.datafactory.models.LinkedService
com.azure.resourcemanager.datafactory.models.HttpLinkedService
Linked service for an HTTP source.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: The authentication type to be used to connect to the HTTP server.Get the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.Get the certThumbprint property: Thumbprint of certificate for ClientCertificate authentication.Get the embeddedCertData property: Base64 encoded certificate data for ClientCertificate authentication.Get the enableServerCertificateValidation property: If true, validate the HTTPS server SSL certificate.Get the encryptedCredential property: The encrypted credential used for authentication.password()
Get the password property: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.url()
Get the url property: The base URL of the HTTP endpoint, e.g.username()
Get the username property: User name for Basic, Digest, or Windows authentication.void
validate()
Validates the instance.withAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.withAuthenticationType
(HttpAuthenticationType authenticationType) Set the authenticationType property: The authentication type to be used to connect to the HTTP server.withAuthHeaders
(Object authHeaders) Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.withCertThumbprint
(Object certThumbprint) Set the certThumbprint property: Thumbprint of certificate for ClientCertificate authentication.withConnectVia
(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.withDescription
(String description) Set the description property: Linked service description.withEmbeddedCertData
(Object embeddedCertData) Set the embeddedCertData property: Base64 encoded certificate data for ClientCertificate authentication.withEnableServerCertificateValidation
(Object enableServerCertificateValidation) Set the enableServerCertificateValidation property: If true, validate the HTTPS server SSL certificate.withEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withParameters
(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.withPassword
(SecretBase password) Set the password property: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.Set the url property: The base URL of the HTTP endpoint, e.g.withUsername
(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
-
Constructor Details
-
HttpLinkedService
public HttpLinkedService()Creates an instance of HttpLinkedService class.
-
-
Method Details
-
withConnectVia
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
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
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
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.
-
url
Get the url property: The base URL of the HTTP endpoint, e.g. https://www.microsoft.com. Type: string (or Expression with resultType string).- Returns:
- the url value.
-
withUrl
Set the url property: The base URL of the HTTP endpoint, e.g. https://www.microsoft.com. Type: string (or Expression with resultType string).- Parameters:
url
- the url value to set.- Returns:
- the HttpLinkedService object itself.
-
authenticationType
Get the authenticationType property: The authentication type to be used to connect to the HTTP server.- Returns:
- the authenticationType value.
-
withAuthenticationType
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
Get the username property: User name for Basic, Digest, or Windows authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
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
Get the password property: Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData authentication.- Returns:
- the password value.
-
withPassword
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
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
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
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
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
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
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
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
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
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:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-