OpenAI interface
Interface representing a OpenAI.
Methods
create |
Create or update a OpenAI integration rule for a given monitor resource. |
delete(string, string, string, Open |
Delete OpenAI integration rule for a given monitor resource. |
get(string, string, string, Open |
Get OpenAI integration rule for a given monitor resource. |
get |
Get OpenAI integration status for a given integration. |
list(string, string, Open |
List OpenAI integration rule for a given monitor resource. |
Method Details
createOrUpdate(string, string, string, OpenAICreateOrUpdateOptionalParams)
Create or update a OpenAI integration rule for a given monitor resource.
function createOrUpdate(resourceGroupName: string, monitorName: string, integrationName: string, options?: OpenAICreateOrUpdateOptionalParams): Promise<OpenAIIntegrationRPModel>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- integrationName
-
string
OpenAI Integration name
The options parameters.
Returns
Promise<OpenAIIntegrationRPModel>
delete(string, string, string, OpenAIDeleteOptionalParams)
Delete OpenAI integration rule for a given monitor resource.
function delete(resourceGroupName: string, monitorName: string, integrationName: string, options?: OpenAIDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- integrationName
-
string
OpenAI Integration name
- options
- OpenAIDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, OpenAIGetOptionalParams)
Get OpenAI integration rule for a given monitor resource.
function get(resourceGroupName: string, monitorName: string, integrationName: string, options?: OpenAIGetOptionalParams): Promise<OpenAIIntegrationRPModel>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- integrationName
-
string
OpenAI Integration name
- options
- OpenAIGetOptionalParams
The options parameters.
Returns
Promise<OpenAIIntegrationRPModel>
getStatus(string, string, string, OpenAIGetStatusOptionalParams)
Get OpenAI integration status for a given integration.
function getStatus(resourceGroupName: string, monitorName: string, integrationName: string, options?: OpenAIGetStatusOptionalParams): Promise<OpenAIIntegrationStatusResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- integrationName
-
string
OpenAI Integration name
- options
- OpenAIGetStatusOptionalParams
The options parameters.
Returns
Promise<OpenAIIntegrationStatusResponse>
list(string, string, OpenAIListOptionalParams)
List OpenAI integration rule for a given monitor resource.
function list(resourceGroupName: string, monitorName: string, options?: OpenAIListOptionalParams): PagedAsyncIterableIterator<OpenAIIntegrationRPModel, OpenAIIntegrationRPModel[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- options
- OpenAIListOptionalParams
The options parameters.