Skip to content

Latest commit

 

History

History
114 lines (72 loc) · 2.02 KB

File metadata and controls

114 lines (72 loc) · 2.02 KB

Azure OpenAI

Consume Azure OpenAI 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.

Sample Code:

{
    "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/my-openai-account",
    "subResource": "account",
    "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.

Sample Code:

{
    ...
    "privatelink": [
        {
            ...
            "credentials": {
                "hostname": "my-openai-account.openai.azure.com"
            }
        }
    ]
}

There is no custom configuration needed for your application to consume Azure OpenAI via Private Link.

You can follow any tutorial using the Azure SDK for the language of your choice.