Class ODataLinkedService
java.lang.Object
com.azure.resourcemanager.datafactory.models.LinkedService
com.azure.resourcemanager.datafactory.models.ODataLinkedService
Open Data Protocol (OData) linked service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aadResourceId property: Specify the resource you are requesting authorization to use Directory.Get the aadServicePrincipalCredentialType property: Specify the credential type (key or cert) is used for service principal.Get the authenticationType property: Type of authentication used to connect to the OData service.Get the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.Get the azureCloudType property: Indicates the azure cloud type of the service principle auth.Get the encryptedCredential property: The encrypted credential used for authentication.password()
Get the password property: Password of the OData service.Get the servicePrincipalEmbeddedCert property: Specify the base64 encoded certificate of your application registered in Azure Active Directory.Get the servicePrincipalEmbeddedCertPassword property: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication.Get the servicePrincipalId property: Specify the application id of your application registered in Azure Active Directory.Get the servicePrincipalKey property: Specify the secret of your application registered in Azure Active Directory.tenant()
Get the tenant property: Specify the tenant information (domain name or tenant ID) under which your application resides.url()
Get the url property: The URL of the OData service endpoint.username()
Get the username property: User name of the OData service.void
validate()
Validates the instance.withAadResourceId
(Object aadResourceId) Set the aadResourceId property: Specify the resource you are requesting authorization to use Directory.withAadServicePrincipalCredentialType
(ODataAadServicePrincipalCredentialType aadServicePrincipalCredentialType) Set the aadServicePrincipalCredentialType property: Specify the credential type (key or cert) is used for service principal.withAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.withAuthenticationType
(ODataAuthenticationType authenticationType) Set the authenticationType property: Type of authentication used to connect to the OData service.withAuthHeaders
(Object authHeaders) Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.withAzureCloudType
(Object azureCloudType) Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.withConnectVia
(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.withDescription
(String description) Set the description property: Linked service description.withEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withParameters
(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.withPassword
(SecretBase password) Set the password property: Password of the OData service.withServicePrincipalEmbeddedCert
(SecretBase servicePrincipalEmbeddedCert) Set the servicePrincipalEmbeddedCert property: Specify the base64 encoded certificate of your application registered in Azure Active Directory.withServicePrincipalEmbeddedCertPassword
(SecretBase servicePrincipalEmbeddedCertPassword) Set the servicePrincipalEmbeddedCertPassword property: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication.withServicePrincipalId
(Object servicePrincipalId) Set the servicePrincipalId property: Specify the application id of your application registered in Azure Active Directory.withServicePrincipalKey
(SecretBase servicePrincipalKey) Set the servicePrincipalKey property: Specify the secret of your application registered in Azure Active Directory.withTenant
(Object tenant) Set the tenant property: Specify the tenant information (domain name or tenant ID) under which your application resides.Set the url property: The URL of the OData service endpoint.withUsername
(Object username) Set the username property: User name of the OData service.Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
Constructor Details
-
ODataLinkedService
public ODataLinkedService()Creates an instance of ODataLinkedService class.
-
-
Method Details
-
withConnectVia
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
Set the parameters property: Parameters for linked service.- Overrides:
withParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-
url
Get the url property: The URL of the OData service endpoint. Type: string (or Expression with resultType string).- Returns:
- the url value.
-
withUrl
Set the url property: The URL of the OData service endpoint. Type: string (or Expression with resultType string).- Parameters:
url
- the url value to set.- Returns:
- the ODataLinkedService object itself.
-
authenticationType
Get the authenticationType property: Type of authentication used to connect to the OData service.- Returns:
- the authenticationType value.
-
withAuthenticationType
Set the authenticationType property: Type of authentication used to connect to the OData service.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the ODataLinkedService object itself.
-
username
Get the username property: User name of the OData service. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
Set the username property: User name of the OData service. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the ODataLinkedService object itself.
-
password
Get the password property: Password of the OData service.- Returns:
- the password value.
-
withPassword
Set the password property: Password of the OData service.- Parameters:
password
- the password value to set.- Returns:
- the ODataLinkedService object itself.
-
authHeaders
Get the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object).- Returns:
- the authHeaders value.
-
withAuthHeaders
Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object).- Parameters:
authHeaders
- the authHeaders value to set.- Returns:
- the ODataLinkedService object itself.
-
tenant
Get the tenant property: Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string).- Returns:
- the tenant value.
-
withTenant
Set the tenant property: Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string).- Parameters:
tenant
- the tenant value to set.- Returns:
- the ODataLinkedService object itself.
-
servicePrincipalId
Get the servicePrincipalId property: Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalId value.
-
withServicePrincipalId
Set the servicePrincipalId property: Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalId
- the servicePrincipalId value to set.- Returns:
- the ODataLinkedService object itself.
-
azureCloudType
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.
-
withAzureCloudType
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 ODataLinkedService object itself.
-
aadResourceId
Get the aadResourceId property: Specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string).- Returns:
- the aadResourceId value.
-
withAadResourceId
Set the aadResourceId property: Specify the resource you are requesting authorization to use Directory. Type: string (or Expression with resultType string).- Parameters:
aadResourceId
- the aadResourceId value to set.- Returns:
- the ODataLinkedService object itself.
-
aadServicePrincipalCredentialType
Get the aadServicePrincipalCredentialType property: Specify the credential type (key or cert) is used for service principal.- Returns:
- the aadServicePrincipalCredentialType value.
-
withAadServicePrincipalCredentialType
public ODataLinkedService withAadServicePrincipalCredentialType(ODataAadServicePrincipalCredentialType aadServicePrincipalCredentialType) Set the aadServicePrincipalCredentialType property: Specify the credential type (key or cert) is used for service principal.- Parameters:
aadServicePrincipalCredentialType
- the aadServicePrincipalCredentialType value to set.- Returns:
- the ODataLinkedService object itself.
-
servicePrincipalKey
Get the servicePrincipalKey property: Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalKey value.
-
withServicePrincipalKey
Set the servicePrincipalKey property: Specify the secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalKey
- the servicePrincipalKey value to set.- Returns:
- the ODataLinkedService object itself.
-
servicePrincipalEmbeddedCert
Get the servicePrincipalEmbeddedCert property: Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalEmbeddedCert value.
-
withServicePrincipalEmbeddedCert
Set the servicePrincipalEmbeddedCert property: Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalEmbeddedCert
- the servicePrincipalEmbeddedCert value to set.- Returns:
- the ODataLinkedService object itself.
-
servicePrincipalEmbeddedCertPassword
Get the servicePrincipalEmbeddedCertPassword property: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalEmbeddedCertPassword value.
-
withServicePrincipalEmbeddedCertPassword
public ODataLinkedService withServicePrincipalEmbeddedCertPassword(SecretBase servicePrincipalEmbeddedCertPassword) Set the servicePrincipalEmbeddedCertPassword property: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalEmbeddedCertPassword
- the servicePrincipalEmbeddedCertPassword value to set.- Returns:
- the ODataLinkedService object itself.
-
encryptedCredential
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.
-
withEncryptedCredential
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 ODataLinkedService object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-