public final class ODataLinkedServiceTypeProperties extends Object
| Constructor and Description |
|---|
ODataLinkedServiceTypeProperties() |
| Modifier and Type | Method and 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.
|
public Object url()
public ODataLinkedServiceTypeProperties withUrl(Object url)
url - the url value to set.public ODataAuthenticationType authenticationType()
public ODataLinkedServiceTypeProperties withAuthenticationType(ODataAuthenticationType authenticationType)
authenticationType - the authenticationType value to set.public Object username()
public ODataLinkedServiceTypeProperties withUsername(Object username)
username - the username value to set.public SecretBase password()
public ODataLinkedServiceTypeProperties withPassword(SecretBase password)
password - the password value to set.public Object authHeaders()
public ODataLinkedServiceTypeProperties withAuthHeaders(Object authHeaders)
authHeaders - the authHeaders value to set.public Object tenant()
public ODataLinkedServiceTypeProperties withTenant(Object tenant)
tenant - the tenant value to set.public Object servicePrincipalId()
public ODataLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId)
servicePrincipalId - the servicePrincipalId value to set.public Object azureCloudType()
public ODataLinkedServiceTypeProperties withAzureCloudType(Object azureCloudType)
azureCloudType - the azureCloudType value to set.public Object aadResourceId()
public ODataLinkedServiceTypeProperties withAadResourceId(Object aadResourceId)
aadResourceId - the aadResourceId value to set.public ODataAadServicePrincipalCredentialType aadServicePrincipalCredentialType()
public ODataLinkedServiceTypeProperties withAadServicePrincipalCredentialType(ODataAadServicePrincipalCredentialType aadServicePrincipalCredentialType)
aadServicePrincipalCredentialType - the aadServicePrincipalCredentialType value to set.public SecretBase servicePrincipalKey()
public ODataLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey)
servicePrincipalKey - the servicePrincipalKey value to set.public SecretBase servicePrincipalEmbeddedCert()
public ODataLinkedServiceTypeProperties withServicePrincipalEmbeddedCert(SecretBase servicePrincipalEmbeddedCert)
servicePrincipalEmbeddedCert - the servicePrincipalEmbeddedCert value to set.public SecretBase servicePrincipalEmbeddedCertPassword()
public ODataLinkedServiceTypeProperties withServicePrincipalEmbeddedCertPassword(SecretBase servicePrincipalEmbeddedCertPassword)
servicePrincipalEmbeddedCertPassword - the servicePrincipalEmbeddedCertPassword value to set.public Object encryptedCredential()
public ODataLinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.