Consume Azure Database for MariaDB with SAP Private Link service.
The following Cloud Foundry service-specific configuration parameters are supported during a service instance creation:
resourceId (required) |
Identifies the resource on Azure the private link should be created for. |
subResource (required) |
Identifies the subresource on Azure the private link should be created for. |
requestMessage (optional) |
Specifies a message which is shown for the approval request on Azure for the specified resource. |
{ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DBForMariaDB/servers/myMariaDB", "subResource": "mariadbServer", "requestMessage": "Please approve connection" }
The following binding credentials are provided:
hostname |
DNS entry to connect to the Azure resource. This DNS entry resolves to the internal IP address associated with this private link. |
{ ... "privatelink": [ { ... "credentials": { "hostname": "myMariaDB.mariadb.database.azure.com" } } ] }
Basic
version of MariaDB is not supported since it does not allow Private Endpoints creation. All supported versions can be found in the official Azure Database for MariaDB documentation.
There is no custom configuration needed to connect to the MariaDB server via SAP Private Link.
Just use a MariaDB client library of your choice and configure it to use the hostname from the service binding (and of course, username, password and any other settings).