Class ODataLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.ODataLinkedServiceTypeProperties
-
public final class ODataLinkedServiceTypeProperties extends Object
OData linked service properties.
-
-
Constructor Summary
Constructors Constructor Description ODataLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
aadResourceId()
Get the aadResourceId property: Specify the resource you are requesting authorization to use Directory.ODataAadServicePrincipalCredentialType
aadServicePrincipalCredentialType()
Get the aadServicePrincipalCredentialType property: Specify the credential type (key or cert) is used for service principal.ODataAuthenticationType
authenticationType()
Get the authenticationType property: Type of authentication used to connect to the OData 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
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.SecretBase
password()
Get the password property: Password of the OData service.SecretBase
servicePrincipalEmbeddedCert()
Get the servicePrincipalEmbeddedCert property: Specify the base64 encoded certificate of your application registered in Azure Active Directory.SecretBase
servicePrincipalEmbeddedCertPassword()
Get the servicePrincipalEmbeddedCertPassword property: Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication.Object
servicePrincipalId()
Get the servicePrincipalId property: Specify the application id of your application registered in Azure Active Directory.SecretBase
servicePrincipalKey()
Get the servicePrincipalKey property: Specify the secret of your application registered in Azure Active Directory.Object
tenant()
Get the tenant property: Specify the tenant information (domain name or tenant ID) under which your application resides.Object
url()
Get the url property: The URL of the OData service endpoint.Object
username()
Get the username property: User name of the OData service.void
validate()
Validates the instance.ODataLinkedServiceTypeProperties
withAadResourceId(Object aadResourceId)
Set the aadResourceId property: Specify the resource you are requesting authorization to use Directory.ODataLinkedServiceTypeProperties
withAadServicePrincipalCredentialType(ODataAadServicePrincipalCredentialType aadServicePrincipalCredentialType)
Set the aadServicePrincipalCredentialType property: Specify the credential type (key or cert) is used for service principal.ODataLinkedServiceTypeProperties
withAuthenticationType(ODataAuthenticationType authenticationType)
Set the authenticationType property: Type of authentication used to connect to the OData service.ODataLinkedServiceTypeProperties
withAuthHeaders(Object authHeaders)
Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.ODataLinkedServiceTypeProperties
withAzureCloudType(Object azureCloudType)
Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.ODataLinkedServiceTypeProperties
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.ODataLinkedServiceTypeProperties
withPassword(SecretBase password)
Set the password property: Password of the OData service.ODataLinkedServiceTypeProperties
withServicePrincipalEmbeddedCert(SecretBase servicePrincipalEmbeddedCert)
Set the servicePrincipalEmbeddedCert property: Specify the base64 encoded certificate of your application registered in Azure Active Directory.ODataLinkedServiceTypeProperties
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.ODataLinkedServiceTypeProperties
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: Specify the application id of your application registered in Azure Active Directory.ODataLinkedServiceTypeProperties
withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the servicePrincipalKey property: Specify the secret of your application registered in Azure Active Directory.ODataLinkedServiceTypeProperties
withTenant(Object tenant)
Set the tenant property: Specify the tenant information (domain name or tenant ID) under which your application resides.ODataLinkedServiceTypeProperties
withUrl(Object url)
Set the url property: The URL of the OData service endpoint.ODataLinkedServiceTypeProperties
withUsername(Object username)
Set the username property: User name of the OData service.
-
-
-
Method Detail
-
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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties object itself.
-
password
public SecretBase password()
Get the password property: Password of the OData service.- Returns:
- the password value.
-
withPassword
public ODataLinkedServiceTypeProperties withPassword(SecretBase password)
Set the password property: Password of the OData service.- Parameters:
password
- the password value to set.- Returns:
- the ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties 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 ODataLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-