Class Office365LinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.Office365LinkedService
-
public final class Office365LinkedService extends LinkedService
Office365 linked service.
-
-
Constructor Summary
Constructors Constructor Description Office365LinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
office365TenantId()
Get the office365TenantId property: Azure tenant ID to which the Office 365 account belongs.Object
servicePrincipalId()
Get the servicePrincipalId property: Specify the application's client ID.SecretBase
servicePrincipalKey()
Get the servicePrincipalKey property: Specify the application's key.Object
servicePrincipalTenantId()
Get the servicePrincipalTenantId property: Specify the tenant information under which your Azure AD web application resides.void
validate()
Validates the instance.Office365LinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.Office365LinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.Office365LinkedService
withDescription(String description)
Set the description property: Linked service description.Office365LinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.Office365LinkedService
withOffice365TenantId(Object office365TenantId)
Set the office365TenantId property: Azure tenant ID to which the Office 365 account belongs.Office365LinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.Office365LinkedService
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: Specify the application's client ID.Office365LinkedService
withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the servicePrincipalKey property: Specify the application's key.Office365LinkedService
withServicePrincipalTenantId(Object servicePrincipalTenantId)
Set the servicePrincipalTenantId property: Specify the tenant information under which your Azure AD web application resides.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public Office365LinkedService withConnectVia(IntegrationRuntimeReference connectVia)
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
public Office365LinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public Office365LinkedService withParameters(Map<String,ParameterSpecification> parameters)
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
public Office365LinkedService withAnnotations(List<Object> annotations)
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.
-
office365TenantId
public Object office365TenantId()
Get the office365TenantId property: Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string).- Returns:
- the office365TenantId value.
-
withOffice365TenantId
public Office365LinkedService withOffice365TenantId(Object office365TenantId)
Set the office365TenantId property: Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with resultType string).- Parameters:
office365TenantId
- the office365TenantId value to set.- Returns:
- the Office365LinkedService object itself.
-
servicePrincipalTenantId
public Object servicePrincipalTenantId()
Get the servicePrincipalTenantId property: Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalTenantId value.
-
withServicePrincipalTenantId
public Office365LinkedService withServicePrincipalTenantId(Object servicePrincipalTenantId)
Set the servicePrincipalTenantId property: Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalTenantId
- the servicePrincipalTenantId value to set.- Returns:
- the Office365LinkedService object itself.
-
servicePrincipalId
public Object servicePrincipalId()
Get the servicePrincipalId property: Specify the application's client ID. Type: string (or Expression with resultType string).- Returns:
- the servicePrincipalId value.
-
withServicePrincipalId
public Office365LinkedService withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: Specify the application's client ID. Type: string (or Expression with resultType string).- Parameters:
servicePrincipalId
- the servicePrincipalId value to set.- Returns:
- the Office365LinkedService object itself.
-
servicePrincipalKey
public SecretBase servicePrincipalKey()
Get the servicePrincipalKey property: Specify the application's key.- Returns:
- the servicePrincipalKey value.
-
withServicePrincipalKey
public Office365LinkedService withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the servicePrincipalKey property: Specify the application's key.- Parameters:
servicePrincipalKey
- the servicePrincipalKey value to set.- Returns:
- the Office365LinkedService 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 Office365LinkedService 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 Office365LinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-