Class WebActivityAuthentication
java.lang.Object
com.azure.resourcemanager.datafactory.models.WebActivityAuthentication
Web activity authentication properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WebActivityAuthentication class. -
Method Summary
Modifier and TypeMethodDescriptionGet the credential property: The credential reference containing authentication information.password()
Get the password property: Password for the PFX file or basic authentication / Secret when used for ServicePrincipal.pfx()
Get the pfx property: Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal.resource()
Get the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.type()
Get the type property: Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal).username()
Get the username property: Web activity authentication user name for basic authentication or ClientID when used for ServicePrincipal.Get the userTenant property: TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication.void
validate()
Validates the instance.withCredential
(CredentialReference credential) Set the credential property: The credential reference containing authentication information.withPassword
(SecretBase password) Set the password property: Password for the PFX file or basic authentication / Secret when used for ServicePrincipal.withPfx
(SecretBase pfx) Set the pfx property: Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal.withResource
(Object resource) Set the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.Set the type property: Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal).withUsername
(Object username) Set the username property: Web activity authentication user name for basic authentication or ClientID when used for ServicePrincipal.withUserTenant
(Object userTenant) Set the userTenant property: TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication.
-
Constructor Details
-
WebActivityAuthentication
public WebActivityAuthentication()Creates an instance of WebActivityAuthentication class.
-
-
Method Details
-
type
Get the type property: Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal).- Returns:
- the type value.
-
withType
Set the type property: Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal).- Parameters:
type
- the type value to set.- Returns:
- the WebActivityAuthentication object itself.
-
pfx
Get the pfx property: Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal.- Returns:
- the pfx value.
-
withPfx
Set the pfx property: Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal.- Parameters:
pfx
- the pfx value to set.- Returns:
- the WebActivityAuthentication object itself.
-
username
Get the username property: Web activity authentication user name for basic authentication or ClientID when used for ServicePrincipal. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
Set the username property: Web activity authentication user name for basic authentication or ClientID when used for ServicePrincipal. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the WebActivityAuthentication object itself.
-
password
Get the password property: Password for the PFX file or basic authentication / Secret when used for ServicePrincipal.- Returns:
- the password value.
-
withPassword
Set the password property: Password for the PFX file or basic authentication / Secret when used for ServicePrincipal.- Parameters:
password
- the password value to set.- Returns:
- the WebActivityAuthentication object itself.
-
resource
Get the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication. Type: string (or Expression with resultType string).- Returns:
- the resource value.
-
withResource
Set the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication. Type: string (or Expression with resultType string).- Parameters:
resource
- the resource value to set.- Returns:
- the WebActivityAuthentication object itself.
-
userTenant
Get the userTenant property: TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication. Type: string (or Expression with resultType string).- Returns:
- the userTenant value.
-
withUserTenant
Set the userTenant property: TenantId for which Azure Auth token will be requested when using ServicePrincipal Authentication. Type: string (or Expression with resultType string).- Parameters:
userTenant
- the userTenant value to set.- Returns:
- the WebActivityAuthentication object itself.
-
credential
Get the credential property: The credential reference containing authentication information.- Returns:
- the credential value.
-
withCredential
Set the credential property: The credential reference containing authentication information.- Parameters:
credential
- the credential value to set.- Returns:
- the WebActivityAuthentication object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-