Class AzureFunctionLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.AzureFunctionLinkedServiceTypeProperties
-
public final class AzureFunctionLinkedServiceTypeProperties extends Object
Azure Function linked service properties.
-
-
Constructor Summary
Constructors Constructor Description AzureFunctionLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
authentication()
Get the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureFunction.CredentialReference
credential()
Get the credential property: The credential reference containing authentication information.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
functionAppUrl()
Get the functionAppUrl property: The endpoint of the Azure Function App.SecretBase
functionKey()
Get the functionKey property: Function or Host key for Azure Function App.Object
resourceId()
Get the resourceId property: Allowed token audiences for azure function.void
validate()
Validates the instance.AzureFunctionLinkedServiceTypeProperties
withAuthentication(Object authentication)
Set the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureFunction.AzureFunctionLinkedServiceTypeProperties
withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information.AzureFunctionLinkedServiceTypeProperties
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.AzureFunctionLinkedServiceTypeProperties
withFunctionAppUrl(Object functionAppUrl)
Set the functionAppUrl property: The endpoint of the Azure Function App.AzureFunctionLinkedServiceTypeProperties
withFunctionKey(SecretBase functionKey)
Set the functionKey property: Function or Host key for Azure Function App.AzureFunctionLinkedServiceTypeProperties
withResourceId(Object resourceId)
Set the resourceId property: Allowed token audiences for azure function.
-
-
-
Method Detail
-
functionAppUrl
public Object functionAppUrl()
Get the functionAppUrl property: The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net.- Returns:
- the functionAppUrl value.
-
withFunctionAppUrl
public AzureFunctionLinkedServiceTypeProperties withFunctionAppUrl(Object functionAppUrl)
Set the functionAppUrl property: The endpoint of the Azure Function App. URL will be in the format https://<accountName>.azurewebsites.net.- Parameters:
functionAppUrl
- the functionAppUrl value to set.- Returns:
- the AzureFunctionLinkedServiceTypeProperties object itself.
-
functionKey
public SecretBase functionKey()
Get the functionKey property: Function or Host key for Azure Function App.- Returns:
- the functionKey value.
-
withFunctionKey
public AzureFunctionLinkedServiceTypeProperties withFunctionKey(SecretBase functionKey)
Set the functionKey property: Function or Host key for Azure Function App.- Parameters:
functionKey
- the functionKey value to set.- Returns:
- the AzureFunctionLinkedServiceTypeProperties 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 AzureFunctionLinkedServiceTypeProperties 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 AzureFunctionLinkedServiceTypeProperties object itself.
-
credential
public CredentialReference credential()
Get the credential property: The credential reference containing authentication information.- Returns:
- the credential value.
-
withCredential
public AzureFunctionLinkedServiceTypeProperties withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information.- Parameters:
credential
- the credential value to set.- Returns:
- the AzureFunctionLinkedServiceTypeProperties object itself.
-
resourceId
public Object resourceId()
Get the resourceId property: Allowed token audiences for azure function.- Returns:
- the resourceId value.
-
withResourceId
public AzureFunctionLinkedServiceTypeProperties withResourceId(Object resourceId)
Set the resourceId property: Allowed token audiences for azure function.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the AzureFunctionLinkedServiceTypeProperties object itself.
-
authentication
public Object authentication()
Get the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string).- Returns:
- the authentication value.
-
withAuthentication
public AzureFunctionLinkedServiceTypeProperties withAuthentication(Object authentication)
Set the authentication property: Type of authentication (Required to specify MSI) used to connect to AzureFunction. Type: string (or Expression with resultType string).- Parameters:
authentication
- the authentication value to set.- Returns:
- the AzureFunctionLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-