public class RestServiceLinkedService extends LinkedService
| Constructor and Description |
|---|
RestServiceLinkedService() |
| 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.
|
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.
|
RestServiceLinkedService |
withAadResourceId(Object aadResourceId)
Set the aadResourceId property: The resource you are requesting authorization to use.
|
RestServiceLinkedService |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.
|
RestServiceLinkedService |
withAuthenticationType(RestServiceAuthenticationType authenticationType)
Set the authenticationType property: Type of authentication used to connect to the REST service.
|
RestServiceLinkedService |
withAuthHeaders(Object authHeaders)
Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.
|
RestServiceLinkedService |
withAzureCloudType(Object azureCloudType)
Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.
|
RestServiceLinkedService |
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.
|
RestServiceLinkedService |
withDescription(String description)
Set the description property: Linked service description.
|
RestServiceLinkedService |
withEnableServerCertificateValidation(Object enableServerCertificateValidation)
Set the enableServerCertificateValidation property: Whether to validate server side SSL certificate when
connecting to the endpoint.The default value is true.
|
RestServiceLinkedService |
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.
|
RestServiceLinkedService |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.
|
RestServiceLinkedService |
withPassword(SecretBase password)
Set the password property: The password used in Basic authentication type.
|
RestServiceLinkedService |
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.
|
RestServiceLinkedService |
withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.
|
RestServiceLinkedService |
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.
|
RestServiceLinkedService |
withUrl(Object url)
Set the url property: The base URL of the REST service.
|
RestServiceLinkedService |
withUsername(Object username)
Set the username property: The user name used in Basic authentication type.
|
additionalProperties, annotations, connectVia, description, parameters, withAdditionalPropertiespublic Object url()
public RestServiceLinkedService withUrl(Object url)
url - the url value to set.public Object enableServerCertificateValidation()
public RestServiceLinkedService withEnableServerCertificateValidation(Object enableServerCertificateValidation)
enableServerCertificateValidation - the enableServerCertificateValidation value to set.public RestServiceAuthenticationType authenticationType()
public RestServiceLinkedService withAuthenticationType(RestServiceAuthenticationType authenticationType)
authenticationType - the authenticationType value to set.public Object username()
public RestServiceLinkedService withUsername(Object username)
username - the username value to set.public SecretBase password()
public RestServiceLinkedService withPassword(SecretBase password)
password - the password value to set.public Object authHeaders()
public RestServiceLinkedService withAuthHeaders(Object authHeaders)
authHeaders - the authHeaders value to set.public Object servicePrincipalId()
public RestServiceLinkedService withServicePrincipalId(Object servicePrincipalId)
servicePrincipalId - the servicePrincipalId value to set.public SecretBase servicePrincipalKey()
public RestServiceLinkedService withServicePrincipalKey(SecretBase servicePrincipalKey)
servicePrincipalKey - the servicePrincipalKey value to set.public Object tenant()
public RestServiceLinkedService withTenant(Object tenant)
tenant - the tenant value to set.public Object azureCloudType()
public RestServiceLinkedService withAzureCloudType(Object azureCloudType)
azureCloudType - the azureCloudType value to set.public Object aadResourceId()
public RestServiceLinkedService withAadResourceId(Object aadResourceId)
aadResourceId - the aadResourceId value to set.public Object encryptedCredential()
public RestServiceLinkedService withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public RestServiceLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
withConnectVia in class LinkedServiceconnectVia - the connectVia value to set.public RestServiceLinkedService withDescription(String description)
withDescription in class LinkedServicedescription - the description value to set.public RestServiceLinkedService withParameters(Map<String,ParameterSpecification> parameters)
withParameters in class LinkedServiceparameters - the parameters value to set.public RestServiceLinkedService withAnnotations(List<Object> annotations)
withAnnotations in class LinkedServiceannotations - the annotations value to set.public void validate()
validate in class LinkedServiceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.