Class DynamicsCrmLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.DynamicsCrmLinkedServiceTypeProperties
-
public final class DynamicsCrmLinkedServiceTypeProperties extends Object
Dynamics CRM linked service properties.
-
-
Constructor Summary
Constructors Constructor Description DynamicsCrmLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
authenticationType()
Get the authenticationType property: The authentication type to connect to Dynamics CRM server.Object
deploymentType()
Get the deploymentType property: The deployment type of the Dynamics CRM instance.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
hostname()
Get the hostname property: The host name of the on-premises Dynamics CRM server.Object
organizationName()
Get the organizationName property: The organization name of the Dynamics CRM instance.SecretBase
password()
Get the password property: Password to access the Dynamics CRM instance.Object
port()
Get the port property: The port of on-premises Dynamics CRM server.SecretBase
servicePrincipalCredential()
Get the servicePrincipalCredential property: The credential of the service principal object in Azure Active Directory.Object
servicePrincipalCredentialType()
Get the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server authentication.Object
servicePrincipalId()
Get the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Server-To-Server authentication.Object
serviceUri()
Get the serviceUri property: The URL to the Microsoft Dynamics CRM server.Object
username()
Get the username property: User name to access the Dynamics CRM instance.void
validate()
Validates the instance.DynamicsCrmLinkedServiceTypeProperties
withAuthenticationType(Object authenticationType)
Set the authenticationType property: The authentication type to connect to Dynamics CRM server.DynamicsCrmLinkedServiceTypeProperties
withDeploymentType(Object deploymentType)
Set the deploymentType property: The deployment type of the Dynamics CRM instance.DynamicsCrmLinkedServiceTypeProperties
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.DynamicsCrmLinkedServiceTypeProperties
withHostname(Object hostname)
Set the hostname property: The host name of the on-premises Dynamics CRM server.DynamicsCrmLinkedServiceTypeProperties
withOrganizationName(Object organizationName)
Set the organizationName property: The organization name of the Dynamics CRM instance.DynamicsCrmLinkedServiceTypeProperties
withPassword(SecretBase password)
Set the password property: Password to access the Dynamics CRM instance.DynamicsCrmLinkedServiceTypeProperties
withPort(Object port)
Set the port property: The port of on-premises Dynamics CRM server.DynamicsCrmLinkedServiceTypeProperties
withServicePrincipalCredential(SecretBase servicePrincipalCredential)
Set the servicePrincipalCredential property: The credential of the service principal object in Azure Active Directory.DynamicsCrmLinkedServiceTypeProperties
withServicePrincipalCredentialType(Object servicePrincipalCredentialType)
Set the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server authentication.DynamicsCrmLinkedServiceTypeProperties
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Server-To-Server authentication.DynamicsCrmLinkedServiceTypeProperties
withServiceUri(Object serviceUri)
Set the serviceUri property: The URL to the Microsoft Dynamics CRM server.DynamicsCrmLinkedServiceTypeProperties
withUsername(Object username)
Set the username property: User name to access the Dynamics CRM instance.
-
-
-
Method Detail
-
deploymentType
public Object deploymentType()
Get the deploymentType property: The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string).- Returns:
- the deploymentType value.
-
withDeploymentType
public DynamicsCrmLinkedServiceTypeProperties withDeploymentType(Object deploymentType)
Set the deploymentType property: The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string).- Parameters:
deploymentType
- the deploymentType value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
hostname
public Object hostname()
Get the hostname property: The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string).- Returns:
- the hostname value.
-
withHostname
public DynamicsCrmLinkedServiceTypeProperties withHostname(Object hostname)
Set the hostname property: The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string).- Parameters:
hostname
- the hostname value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
port
public Object port()
Get the port property: The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.- Returns:
- the port value.
-
withPort
public DynamicsCrmLinkedServiceTypeProperties withPort(Object port)
Set the port property: The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.- Parameters:
port
- the port value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
serviceUri
public Object serviceUri()
Get the serviceUri property: The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string).- Returns:
- the serviceUri value.
-
withServiceUri
public DynamicsCrmLinkedServiceTypeProperties withServiceUri(Object serviceUri)
Set the serviceUri property: The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string).- Parameters:
serviceUri
- the serviceUri value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
organizationName
public Object organizationName()
Get the organizationName property: The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string).- Returns:
- the organizationName value.
-
withOrganizationName
public DynamicsCrmLinkedServiceTypeProperties withOrganizationName(Object organizationName)
Set the organizationName property: The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string).- Parameters:
organizationName
- the organizationName value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
authenticationType
public Object authenticationType()
Get the authenticationType property: The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string).- Returns:
- the authenticationType value.
-
withAuthenticationType
public DynamicsCrmLinkedServiceTypeProperties withAuthenticationType(Object authenticationType)
Set the authenticationType property: The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication in online scenario. Type: string (or Expression with resultType string).- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
username
public Object username()
Get the username property: User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public DynamicsCrmLinkedServiceTypeProperties withUsername(Object username)
Set the username property: User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
password
public SecretBase password()
Get the password property: Password to access the Dynamics CRM instance.- Returns:
- the password value.
-
withPassword
public DynamicsCrmLinkedServiceTypeProperties withPassword(SecretBase password)
Set the password property: Password to access the Dynamics CRM instance.- Parameters:
password
- the password value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
servicePrincipalId
public Object servicePrincipalId()
Get the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalId value.
-
withServicePrincipalId
public DynamicsCrmLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The client ID of the application in Azure Active Directory used for Server-To-Server authentication. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalId
- the servicePrincipalId value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
servicePrincipalCredentialType
public Object servicePrincipalCredentialType()
Get the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalCredentialType value.
-
withServicePrincipalCredentialType
public DynamicsCrmLinkedServiceTypeProperties withServicePrincipalCredentialType(Object servicePrincipalCredentialType)
Set the servicePrincipalCredentialType property: The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalCredentialType
- the servicePrincipalCredentialType value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties object itself.
-
servicePrincipalCredential
public SecretBase servicePrincipalCredential()
Get the servicePrincipalCredential property: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.- Returns:
- the servicePrincipalCredential value.
-
withServicePrincipalCredential
public DynamicsCrmLinkedServiceTypeProperties withServicePrincipalCredential(SecretBase servicePrincipalCredential)
Set the servicePrincipalCredential property: The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.- Parameters:
servicePrincipalCredential
- the servicePrincipalCredential value to set.- Returns:
- the DynamicsCrmLinkedServiceTypeProperties 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 DynamicsCrmLinkedServiceTypeProperties 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 DynamicsCrmLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-