public final class RestServiceLinkedServiceTypeProperties extends Object
| Constructor and Description |
|---|
RestServiceLinkedServiceTypeProperties() |
| Modifier and Type | Method and Description |
|---|---|
Object |
aadResourceId()
Get the aadResourceId property: The resource you are requesting authorization to use.
|
RestServiceAuthenticationType |
authenticationType()
Get the authenticationType property: Type of authentication used to connect to the REST service.
|
Object |
authHeaders()
Get the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.
|
Object |
azureCloudType()
Get the azureCloudType property: Indicates the azure cloud type of the service principle auth.
|
CredentialReference |
credential()
Get the credential property: The credential reference containing authentication information.
|
Object |
enableServerCertificateValidation()
Get the enableServerCertificateValidation property: Whether to validate server side SSL certificate when
connecting to the endpoint.The default value is true.
|
Object |
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.
|
SecretBase |
password()
Get the password property: The password used in Basic authentication type.
|
Object |
servicePrincipalId()
Get the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.
|
SecretBase |
servicePrincipalKey()
Get the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.
|
Object |
tenant()
Get the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal
authentication type under which your application resides.
|
Object |
url()
Get the url property: The base URL of the REST service.
|
Object |
username()
Get the username property: The user name used in Basic authentication type.
|
void |
validate()
Validates the instance.
|
RestServiceLinkedServiceTypeProperties |
withAadResourceId(Object aadResourceId)
Set the aadResourceId property: The resource you are requesting authorization to use.
|
RestServiceLinkedServiceTypeProperties |
withAuthenticationType(RestServiceAuthenticationType authenticationType)
Set the authenticationType property: Type of authentication used to connect to the REST service.
|
RestServiceLinkedServiceTypeProperties |
withAuthHeaders(Object authHeaders)
Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.
|
RestServiceLinkedServiceTypeProperties |
withAzureCloudType(Object azureCloudType)
Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.
|
RestServiceLinkedServiceTypeProperties |
withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information.
|
RestServiceLinkedServiceTypeProperties |
withEnableServerCertificateValidation(Object enableServerCertificateValidation)
Set the enableServerCertificateValidation property: Whether to validate server side SSL certificate when
connecting to the endpoint.The default value is true.
|
RestServiceLinkedServiceTypeProperties |
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.
|
RestServiceLinkedServiceTypeProperties |
withPassword(SecretBase password)
Set the password property: The password used in Basic authentication type.
|
RestServiceLinkedServiceTypeProperties |
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.
|
RestServiceLinkedServiceTypeProperties |
withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.
|
RestServiceLinkedServiceTypeProperties |
withTenant(Object tenant)
Set the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal
authentication type under which your application resides.
|
RestServiceLinkedServiceTypeProperties |
withUrl(Object url)
Set the url property: The base URL of the REST service.
|
RestServiceLinkedServiceTypeProperties |
withUsername(Object username)
Set the username property: The user name used in Basic authentication type.
|
public RestServiceLinkedServiceTypeProperties()
public Object url()
public RestServiceLinkedServiceTypeProperties withUrl(Object url)
url - the url value to set.public Object enableServerCertificateValidation()
public RestServiceLinkedServiceTypeProperties withEnableServerCertificateValidation(Object enableServerCertificateValidation)
enableServerCertificateValidation - the enableServerCertificateValidation value to set.public RestServiceAuthenticationType authenticationType()
public RestServiceLinkedServiceTypeProperties withAuthenticationType(RestServiceAuthenticationType authenticationType)
authenticationType - the authenticationType value to set.public Object username()
public RestServiceLinkedServiceTypeProperties withUsername(Object username)
username - the username value to set.public SecretBase password()
public RestServiceLinkedServiceTypeProperties withPassword(SecretBase password)
password - the password value to set.public Object authHeaders()
public RestServiceLinkedServiceTypeProperties withAuthHeaders(Object authHeaders)
authHeaders - the authHeaders value to set.public Object servicePrincipalId()
public RestServiceLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId)
servicePrincipalId - the servicePrincipalId value to set.public SecretBase servicePrincipalKey()
public RestServiceLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey)
servicePrincipalKey - the servicePrincipalKey value to set.public Object tenant()
public RestServiceLinkedServiceTypeProperties withTenant(Object tenant)
tenant - the tenant value to set.public Object azureCloudType()
public RestServiceLinkedServiceTypeProperties withAzureCloudType(Object azureCloudType)
azureCloudType - the azureCloudType value to set.public Object aadResourceId()
public RestServiceLinkedServiceTypeProperties withAadResourceId(Object aadResourceId)
aadResourceId - the aadResourceId value to set.public Object encryptedCredential()
public RestServiceLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public CredentialReference credential()
public RestServiceLinkedServiceTypeProperties withCredential(CredentialReference credential)
credential - the credential value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.