Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* azurerm_kusto_eventgrid_data_connection
Adding validation support for ORC

* Adding all other data formats support for EventGrid
according to
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-09-18/kusto.json

* adding supported format to the documentation
  • Loading branch information
ocassetti authored and yupwei68 committed Jul 26, 2021
1 parent fe6fa76 commit bcd5dea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,22 @@ func resourceKustoEventGridDataConnection() *pluginsdk.Resource {
Type: pluginsdk.TypeString,
Optional: true,
ValidateFunc: validation.StringInSlice([]string{
string(kusto.APACHEAVRO),
string(kusto.AVRO),
string(kusto.CSV),
string(kusto.JSON),
string(kusto.MULTIJSON),
string(kusto.ORC),
string(kusto.PARQUET),
string(kusto.PSV),
string(kusto.RAW),
string(kusto.SCSV),
string(kusto.SINGLEJSON),
string(kusto.SOHSV),
string(kusto.TSV),
string(kusto.TSVE),
string(kusto.TXT),
string(kusto.W3CLOGFILE),
}, false),
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ The following arguments are supported:

* `mapping_rule_name` - (Optional) Specifies the mapping rule used for the message ingestion. Mapping rule must exist before resource is created.

* `data_format` - (Optional) Specifies the data format of the EventHub messages. Allowed values: `APACHEAVRO`, `AVRO`, `CSV`, `JSON`, `MULTIJSON`, `PSV`, `RAW`, `SCSV`, `SINGLEJSON`, `SOHSV`, `TSV` and `TXT`
* `data_format` - (Optional) Specifies the data format of the EventHub messages. Allowed values: `APACHEAVRO`, `AVRO`, `CSV`, `JSON`, `MULTIJSON`, `ORC`, `PARQUET`, `PSV`, `RAW`, `SCSV`, `SINGLEJSON`, `SOHSV`, `TSVE`, `TSV`, `TXT`, and `W3CLOGFILE`.

## Attributes Reference

Expand Down

0 comments on commit bcd5dea

Please sign in to comment.