Class WebClientCertificateAuthentication
java.lang.Object
com.azure.resourcemanager.datafactory.models.WebLinkedServiceTypeProperties
com.azure.resourcemanager.datafactory.models.WebClientCertificateAuthentication
A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This
scheme follows mutual authentication; the server must also provide valid credentials to the client.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WebClientCertificateAuthentication class. -
Method Summary
Modifier and TypeMethodDescriptionpassword()
Get the password property: Password for the PFX file.pfx()
Get the pfx property: Base64-encoded contents of a PFX file.void
validate()
Validates the instance.withPassword
(SecretBase password) Set the password property: Password for the PFX file.withPfx
(SecretBase pfx) Set the pfx property: Base64-encoded contents of a PFX file.Set the url property: The URL of the web service endpoint, e.g.Methods inherited from class com.azure.resourcemanager.datafactory.models.WebLinkedServiceTypeProperties
url
-
Constructor Details
-
WebClientCertificateAuthentication
public WebClientCertificateAuthentication()Creates an instance of WebClientCertificateAuthentication class.
-
-
Method Details
-
pfx
Get the pfx property: Base64-encoded contents of a PFX file.- Returns:
- the pfx value.
-
withPfx
Set the pfx property: Base64-encoded contents of a PFX file.- Parameters:
pfx
- the pfx value to set.- Returns:
- the WebClientCertificateAuthentication object itself.
-
password
Get the password property: Password for the PFX file.- Returns:
- the password value.
-
withPassword
Set the password property: Password for the PFX file.- Parameters:
password
- the password value to set.- Returns:
- the WebClientCertificateAuthentication object itself.
-
withUrl
Set the url property: The URL of the web service endpoint, e.g. https://www.microsoft.com . Type: string (or Expression with resultType string).- Overrides:
withUrl
in classWebLinkedServiceTypeProperties
- Parameters:
url
- the url value to set.- Returns:
- the WebLinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classWebLinkedServiceTypeProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-