Class ODataLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.ODataLinkedService
-
public final class ODataLinkedService extends LinkedService
Open Data Protocol (OData) linked service.
-
-
Constructor Summary
Constructors Constructor Description ODataLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectaadResourceId()Get the aadResourceId property: Specify the resource you are requesting authorization to use Directory.ODataAadServicePrincipalCredentialTypeaadServicePrincipalCredentialType()Get the aadServicePrincipalCredentialType property: Specify the credential type (key or cert) is used for service principal.ODataAuthenticationTypeauthenticationType()Get the authenticationType property: Type of authentication used to connect to the OData service.ObjectauthHeaders()Get the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.ObjectazureCloudType()Get the azureCloudType property: Indicates the azure cloud type of the service principle auth.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.SecretBasepassword()Get the password property: Password of the OData service.SecretBaseservicePrincipalEmbeddedCert()Get the servicePrincipalEmbeddedCert property: Specify the base64 encoded certificate of your application registered in Azure Active Directory.SecretBaseservicePrincipalEmbeddedCertPassword()Get the servicePrincipalEmbeddedCertPassword property: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication.ObjectservicePrincipalId()Get the servicePrincipalId property: Specify the application id of your application registered in Azure Active Directory.SecretBaseservicePrincipalKey()Get the servicePrincipalKey property: Specify the secret of your application registered in Azure Active Directory.Objecttenant()Get the tenant property: Specify the tenant information (domain name or tenant ID) under which your application resides.Objecturl()Get the url property: The URL of the OData service endpoint.Objectusername()Get the username property: User name of the OData service.voidvalidate()Validates the instance.ODataLinkedServicewithAadResourceId(Object aadResourceId)Set the aadResourceId property: Specify the resource you are requesting authorization to use Directory.ODataLinkedServicewithAadServicePrincipalCredentialType(ODataAadServicePrincipalCredentialType aadServicePrincipalCredentialType)Set the aadServicePrincipalCredentialType property: Specify the credential type (key or cert) is used for service principal.ODataLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.ODataLinkedServicewithAuthenticationType(ODataAuthenticationType authenticationType)Set the authenticationType property: Type of authentication used to connect to the OData service.ODataLinkedServicewithAuthHeaders(Object authHeaders)Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.ODataLinkedServicewithAzureCloudType(Object azureCloudType)Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.ODataLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.ODataLinkedServicewithDescription(String description)Set the description property: Linked service description.ODataLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.ODataLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.ODataLinkedServicewithPassword(SecretBase password)Set the password property: Password of the OData service.ODataLinkedServicewithServicePrincipalEmbeddedCert(SecretBase servicePrincipalEmbeddedCert)Set the servicePrincipalEmbeddedCert property: Specify the base64 encoded certificate of your application registered in Azure Active Directory.ODataLinkedServicewithServicePrincipalEmbeddedCertPassword(SecretBase servicePrincipalEmbeddedCertPassword)Set the servicePrincipalEmbeddedCertPassword property: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication.ODataLinkedServicewithServicePrincipalId(Object servicePrincipalId)Set the servicePrincipalId property: Specify the application id of your application registered in Azure Active Directory.ODataLinkedServicewithServicePrincipalKey(SecretBase servicePrincipalKey)Set the servicePrincipalKey property: Specify the secret of your application registered in Azure Active Directory.ODataLinkedServicewithTenant(Object tenant)Set the tenant property: Specify the tenant information (domain name or tenant ID) under which your application resides.ODataLinkedServicewithUrl(Object url)Set the url property: The URL of the OData service endpoint.ODataLinkedServicewithUsername(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
-
-
-
-
Method Detail
-
withConnectVia
public ODataLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public ODataLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public ODataLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public ODataLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotationsin classLinkedService- Parameters:
annotations- the annotations value to set.- Returns:
- the LinkedService object itself.
-
url
public Object url()
Get the url property: The URL of the OData service endpoint. Type: string (or Expression with resultType string).- Returns:
- the url value.
-
withUrl
public ODataLinkedService withUrl(Object url)
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
public ODataAuthenticationType authenticationType()
Get the authenticationType property: Type of authentication used to connect to the OData service.- Returns:
- the authenticationType value.
-
withAuthenticationType
public ODataLinkedService withAuthenticationType(ODataAuthenticationType authenticationType)
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
public Object username()
Get the username property: User name of the OData service. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public ODataLinkedService withUsername(Object username)
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
public SecretBase password()
Get the password property: Password of the OData service.- Returns:
- the password value.
-
withPassword
public ODataLinkedService withPassword(SecretBase password)
Set the password property: Password of the OData service.- Parameters:
password- the password value to set.- Returns:
- the ODataLinkedService object itself.
-
authHeaders
public Object 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
public ODataLinkedService withAuthHeaders(Object authHeaders)
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
public Object 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
public ODataLinkedService withTenant(Object tenant)
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
public Object 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
public ODataLinkedService withServicePrincipalId(Object servicePrincipalId)
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
public Object 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
public ODataLinkedService withAzureCloudType(Object azureCloudType)
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
public Object 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
public ODataLinkedService withAadResourceId(Object aadResourceId)
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
public ODataAadServicePrincipalCredentialType 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
public SecretBase 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
public ODataLinkedService withServicePrincipalKey(SecretBase servicePrincipalKey)
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
public SecretBase 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
public ODataLinkedService withServicePrincipalEmbeddedCert(SecretBase servicePrincipalEmbeddedCert)
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
public SecretBase 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
public Object 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
public ODataLinkedService withEncryptedCredential(Object encryptedCredential)
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:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-