# \AzureTriggerApi

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_azure_trigger**](AzureTriggerApi.md#create_azure_trigger) | **POST** /w/{workspace}/azure_triggers/create | create an Azure Event Grid trigger
[**delete_azure_subscription**](AzureTriggerApi.md#delete_azure_subscription) | **DELETE** /w/{workspace}/azure_triggers/subscriptions/delete/{path} | delete an Event Grid subscription on Azure
[**delete_azure_trigger**](AzureTriggerApi.md#delete_azure_trigger) | **DELETE** /w/{workspace}/azure_triggers/delete/{path} | delete an Azure Event Grid trigger
[**exists_azure_trigger**](AzureTriggerApi.md#exists_azure_trigger) | **GET** /w/{workspace}/azure_triggers/exists/{path} | check whether an azure trigger exists
[**get_azure_trigger**](AzureTriggerApi.md#get_azure_trigger) | **GET** /w/{workspace}/azure_triggers/get/{path} | get an Azure Event Grid trigger
[**list_azure_basic_topics**](AzureTriggerApi.md#list_azure_basic_topics) | **POST** /w/{workspace}/azure_triggers/basic/topics/list/{path} | list Basic Event Grid topics + system topics the service principal can access
[**list_azure_namespace_subscriptions**](AzureTriggerApi.md#list_azure_namespace_subscriptions) | **POST** /w/{workspace}/azure_triggers/namespaces/subscriptions/list/{path} | list subscriptions under a Namespace topic
[**list_azure_namespace_topics**](AzureTriggerApi.md#list_azure_namespace_topics) | **POST** /w/{workspace}/azure_triggers/namespaces/topics/list/{path} | list topics under an Event Grid Namespace
[**list_azure_namespaces**](AzureTriggerApi.md#list_azure_namespaces) | **POST** /w/{workspace}/azure_triggers/namespaces/list/{path} | list Event Grid Namespaces the service principal can access
[**list_azure_triggers**](AzureTriggerApi.md#list_azure_triggers) | **GET** /w/{workspace}/azure_triggers/list | list azure triggers
[**set_azure_trigger_mode**](AzureTriggerApi.md#set_azure_trigger_mode) | **POST** /w/{workspace}/azure_triggers/setmode/{path} | set azure trigger mode
[**test_azure_connection**](AzureTriggerApi.md#test_azure_connection) | **POST** /w/{workspace}/azure_triggers/test | test Azure service principal connection
[**update_azure_trigger**](AzureTriggerApi.md#update_azure_trigger) | **POST** /w/{workspace}/azure_triggers/update/{path} | update an Azure Event Grid trigger



## create_azure_trigger

> String create_azure_trigger(workspace, azure_trigger_data)
create an Azure Event Grid trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**azure_trigger_data** | [**AzureTriggerData**](AzureTriggerData.md) |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## delete_azure_subscription

> String delete_azure_subscription(workspace, path, azure_delete_subscription)
delete an Event Grid subscription on Azure

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |
**azure_delete_subscription** | [**AzureDeleteSubscription**](AzureDeleteSubscription.md) |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## delete_azure_trigger

> String delete_azure_trigger(workspace, path)
delete an Azure Event Grid trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## exists_azure_trigger

> bool exists_azure_trigger(workspace, path)
check whether an azure trigger exists

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |

### Return type

**bool**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_azure_trigger

> models::AzureTrigger get_azure_trigger(workspace, path)
get an Azure Event Grid trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |

### Return type

[**models::AzureTrigger**](AzureTrigger.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_azure_basic_topics

> Vec<models::AzureArmResource> list_azure_basic_topics(workspace, path)
list Basic Event Grid topics + system topics the service principal can access

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |

### Return type

[**Vec<models::AzureArmResource>**](AzureArmResource.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_azure_namespace_subscriptions

> Vec<serde_json::Value> list_azure_namespace_subscriptions(workspace, path, azure_list_subscriptions)
list subscriptions under a Namespace topic

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |
**azure_list_subscriptions** | [**AzureListSubscriptions**](AzureListSubscriptions.md) |  | [required] |

### Return type

[**Vec<serde_json::Value>**](serde_json::Value.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_azure_namespace_topics

> Vec<serde_json::Value> list_azure_namespace_topics(workspace, path, azure_list_topics)
list topics under an Event Grid Namespace

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |
**azure_list_topics** | [**AzureListTopics**](AzureListTopics.md) |  | [required] |

### Return type

[**Vec<serde_json::Value>**](serde_json::Value.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_azure_namespaces

> Vec<models::AzureArmResource> list_azure_namespaces(workspace, path)
list Event Grid Namespaces the service principal can access

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |

### Return type

[**Vec<models::AzureArmResource>**](AzureArmResource.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_azure_triggers

> Vec<models::AzureTrigger> list_azure_triggers(workspace, page, per_page, path, is_flow, path_start)
list azure triggers

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**page** | Option<**i32**> | which page to return (start at 1, default 1) |  |
**per_page** | Option<**i32**> | number of items to return for a given page (default 30, max 100) |  |
**path** | Option<**String**> | filter by exact path |  |
**is_flow** | Option<**bool**> |  |  |
**path_start** | Option<**String**> |  |  |

### Return type

[**Vec<models::AzureTrigger>**](AzureTrigger.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## set_azure_trigger_mode

> String set_azure_trigger_mode(workspace, path, set_http_trigger_mode_request)
set azure trigger mode

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |
**set_http_trigger_mode_request** | [**SetHttpTriggerModeRequest**](SetHttpTriggerModeRequest.md) |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## test_azure_connection

> String test_azure_connection(workspace, test_azure_connection)
test Azure service principal connection

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**test_azure_connection** | [**TestAzureConnection**](TestAzureConnection.md) |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_azure_trigger

> String update_azure_trigger(workspace, path, azure_trigger_data)
update an Azure Event Grid trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**path** | **String** |  | [required] |
**azure_trigger_data** | [**AzureTriggerData**](AzureTriggerData.md) |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

