RaiPolicyOperations interface
Interface representing a RaiPolicy operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create | Update the state of specified Content Filters associated with the Azure OpenAI account. |
| delete | Deletes the specified Content Filters associated with the Azure OpenAI account. |
| get | Gets the specified Content Filters associated with the Azure OpenAI account. |
Property Details
beginCreate
Warning
This API is now deprecated.
use create instead
beginCreate: (resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams) => Promise<SimplePollerLike<OperationState<RaiPolicyPropertiesBasicResource>, RaiPolicyPropertiesBasicResource>>
Property Value
(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams) => Promise<SimplePollerLike<OperationState<RaiPolicyPropertiesBasicResource>, RaiPolicyPropertiesBasicResource>>
beginCreateAndWait
Warning
This API is now deprecated.
use create instead
beginCreateAndWait: (resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams) => Promise<RaiPolicyPropertiesBasicResource>
Property Value
(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams) => Promise<RaiPolicyPropertiesBasicResource>
beginDelete
Warning
This API is now deprecated.
use delete instead
beginDelete: (resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
Warning
This API is now deprecated.
use delete instead
beginDeleteAndWait: (resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams) => Promise<void>
create
Update the state of specified Content Filters associated with the Azure OpenAI account.
create: (resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams) => PollerLike<OperationState<RaiPolicyPropertiesBasicResource>, RaiPolicyPropertiesBasicResource>
Property Value
(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, body: RaiPolicyPropertiesBasicResource, options?: RaiPolicyCreateOptionalParams) => PollerLike<OperationState<RaiPolicyPropertiesBasicResource>, RaiPolicyPropertiesBasicResource>
delete
Deletes the specified Content Filters associated with the Azure OpenAI account.
delete: (resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Gets the specified Content Filters associated with the Azure OpenAI account.
get: (resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyGetOptionalParams) => Promise<RaiPolicyPropertiesBasicResource>
Property Value
(resourceGroupName: string, workspaceName: string, endpointName: string, raiPolicyName: string, options?: RaiPolicyGetOptionalParams) => Promise<RaiPolicyPropertiesBasicResource>