Class RestServiceLinkedService
java.lang.Object
com.azure.analytics.synapse.artifacts.models.LinkedService
com.azure.analytics.synapse.artifacts.models.RestServiceLinkedService
Rest Service linked service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aadResourceId property: The resource you are requesting authorization to use.Get the authenticationType property: Type of authentication used to connect to the REST service.Get the azureCloudType property: Indicates the azure cloud type of the service principle auth.Get the clientId property: The client ID associated with your application.Get the clientSecret property: The client secret associated with your application.Get the enableServerCertificateValidation property: Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true.Get the encryptedCredential property: The encrypted credential used for authentication.Get the password property: The password used in Basic authentication type.Get the resource property: The target service or resource to which the access will be requested.getScope()
Get the scope property: The scope of the access required.Get the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.Get the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.Get the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.Get the tokenEndpoint property: The token endpoint of the authorization server to acquire access token.getUrl()
Get the url property: The base URL of the REST service.Get the userName property: The user name used in Basic authentication type.setAadResourceId
(Object aadResourceId) Set the aadResourceId property: The resource you are requesting authorization to use.setAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.setAuthenticationType
(RestServiceAuthenticationType authenticationType) Set the authenticationType property: Type of authentication used to connect to the REST service.setAzureCloudType
(Object azureCloudType) Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.setClientId
(Object clientId) Set the clientId property: The client ID associated with your application.setClientSecret
(SecretBase clientSecret) Set the clientSecret property: The client secret associated with your application.setConnectVia
(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.setDescription
(String description) Set the description property: Linked service description.setEnableServerCertificateValidation
(Object enableServerCertificateValidation) Set the enableServerCertificateValidation property: Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true.setEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.setParameters
(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.setPassword
(SecretBase password) Set the password property: The password used in Basic authentication type.setResource
(Object resource) Set the resource property: The target service or resource to which the access will be requested.Set the scope property: The scope of the access required.setServicePrincipalId
(Object servicePrincipalId) Set the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.setServicePrincipalKey
(SecretBase servicePrincipalKey) Set the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.Set the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.setTokenEndpoint
(Object tokenEndpoint) Set the tokenEndpoint property: The token endpoint of the authorization server to acquire access token.Set the url property: The base URL of the REST service.setUserName
(Object userName) Set the userName property: The user name used in Basic authentication type.Methods inherited from class com.azure.analytics.synapse.artifacts.models.LinkedService
getAdditionalProperties, getAnnotations, getConnectVia, getDescription, getParameters, setAdditionalProperties
-
Constructor Details
-
RestServiceLinkedService
public RestServiceLinkedService()
-
-
Method Details
-
getUrl
Get the url property: The base URL of the REST service.- Returns:
- the url value.
-
setUrl
Set the url property: The base URL of the REST service.- Parameters:
url
- the url value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getEnableServerCertificateValidation
Get the enableServerCertificateValidation property: Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean).- Returns:
- the enableServerCertificateValidation value.
-
setEnableServerCertificateValidation
public RestServiceLinkedService setEnableServerCertificateValidation(Object enableServerCertificateValidation) Set the enableServerCertificateValidation property: Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean).- Parameters:
enableServerCertificateValidation
- the enableServerCertificateValidation value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getAuthenticationType
Get the authenticationType property: Type of authentication used to connect to the REST service.- Returns:
- the authenticationType value.
-
setAuthenticationType
public RestServiceLinkedService setAuthenticationType(RestServiceAuthenticationType authenticationType) Set the authenticationType property: Type of authentication used to connect to the REST service.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getUserName
Get the userName property: The user name used in Basic authentication type.- Returns:
- the userName value.
-
setUserName
Set the userName property: The user name used in Basic authentication type.- Parameters:
userName
- the userName value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getPassword
Get the password property: The password used in Basic authentication type.- Returns:
- the password value.
-
setPassword
Set the password property: The password used in Basic authentication type.- Parameters:
password
- the password value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getServicePrincipalId
Get the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.- Returns:
- the servicePrincipalId value.
-
setServicePrincipalId
Set the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.- Parameters:
servicePrincipalId
- the servicePrincipalId value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getServicePrincipalKey
Get the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.- Returns:
- the servicePrincipalKey value.
-
setServicePrincipalKey
Set the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.- Parameters:
servicePrincipalKey
- the servicePrincipalKey value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getTenant
Get the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.- Returns:
- the tenant value.
-
setTenant
Set the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.- Parameters:
tenant
- the tenant value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getAzureCloudType
Get the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).- Returns:
- the azureCloudType value.
-
setAzureCloudType
Set the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).- Parameters:
azureCloudType
- the azureCloudType value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getAadResourceId
Get the aadResourceId property: The resource you are requesting authorization to use.- Returns:
- the aadResourceId value.
-
setAadResourceId
Set the aadResourceId property: The resource you are requesting authorization to use.- Parameters:
aadResourceId
- the aadResourceId value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getEncryptedCredential
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.
-
setEncryptedCredential
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 RestServiceLinkedService object itself.
-
getClientId
Get the clientId property: The client ID associated with your application. Type: string (or Expression with resultType string).- Returns:
- the clientId value.
-
setClientId
Set the clientId property: The client ID associated with your application. Type: string (or Expression with resultType string).- Parameters:
clientId
- the clientId value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getClientSecret
Get the clientSecret property: The client secret associated with your application.- Returns:
- the clientSecret value.
-
setClientSecret
Set the clientSecret property: The client secret associated with your application.- Parameters:
clientSecret
- the clientSecret value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getTokenEndpoint
Get the tokenEndpoint property: The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string).- Returns:
- the tokenEndpoint value.
-
setTokenEndpoint
Set the tokenEndpoint property: The token endpoint of the authorization server to acquire access token. Type: string (or Expression with resultType string).- Parameters:
tokenEndpoint
- the tokenEndpoint value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getResource
Get the resource property: The target service or resource to which the access will be requested. Type: string (or Expression with resultType string).- Returns:
- the resource value.
-
setResource
Set the resource property: The target service or resource to which the access will be requested. Type: string (or Expression with resultType string).- Parameters:
resource
- the resource value to set.- Returns:
- the RestServiceLinkedService object itself.
-
getScope
Get the scope property: The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string).- Returns:
- the scope value.
-
setScope
Set the scope property: The scope of the access required. It describes what kind of access will be requested. Type: string (or Expression with resultType string).- Parameters:
scope
- the scope value to set.- Returns:
- the RestServiceLinkedService object itself.
-
setConnectVia
Set the connectVia property: The integration runtime reference.- Overrides:
setConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
setDescription
Set the description property: Linked service description.- Overrides:
setDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
setParameters
Set the parameters property: Parameters for linked service.- Overrides:
setParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
setAnnotations
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
setAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-