Skip to content

Commit

Permalink
Add dynamic_container_enabled field to the schemas. Fix hashicorp#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Apr 24, 2022
1 parent 7c27c45 commit 23a81d8
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/datafactory/data_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ func flattenDataFactoryDatasetAzureBlobStorageLocation(input *datafactory.AzureB
result := make(map[string]interface{})

if input.Container != nil {
container, dynamicContainerEnabled := flattenDataFactoryExpressionResultType(input.FolderPath)
container, dynamicContainerEnabled := flattenDataFactoryExpressionResultType(input.Container)
result["container"] = container
result["dynamic_container_enabled"] = dynamicContainerEnabled
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ func resourceDataFactoryDatasetBinary() *pluginsdk.Resource {
Optional: true,
Default: false,
},
"dynamic_container_enabled": {
Type: pluginsdk.TypeBool,
Optional: true,
Default: false,
},
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ func resourceDataFactoryDatasetDelimitedText() *pluginsdk.Resource {
Optional: true,
Default: false,
},
"dynamic_container_enabled": {
Type: pluginsdk.TypeBool,
Optional: true,
Default: false,
},
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ func resourceDataFactoryDatasetJSON() *pluginsdk.Resource {
Optional: true,
Default: false,
},
"dynamic_container_enabled": {
Type: pluginsdk.TypeBool,
Optional: true,
Default: false,
},
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ func resourceDataFactoryDatasetParquet() *pluginsdk.Resource {
Optional: true,
Default: false,
},
"dynamic_container_enabled": {
Type: pluginsdk.TypeBool,
Optional: true,
Default: false,
},
},
},
},
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/data_factory_dataset_binary.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ A `azure_blob_storage_location` block supports the following:

* `filename` - (Optional) The filename of the file in the blob container.

* `dynamic_container_enabled` - (Optional) Is the `container` using dynamic expression, function or system variables? Defaults to `false`.

* `dynamic_path_enabled` - (Optional) Is the `path` using dynamic expression, function or system variables? Defaults to `false`.

* `dynamic_filename_enabled` - (Optional) Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ An `azure_blob_storage_location` block supports the following:

* `filename` - (Optional) The filename of the file.

* `dynamic_container_enabled` - (Optional) Is the `container` using dynamic expression, function or system variables? Defaults to `false`.

* `dynamic_path_enabled` - (Optional) Is the `path` using dynamic expression, function or system variables? Defaults to `false`.

* `dynamic_filename_enabled` - (Optional) Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/data_factory_dataset_json.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ A `azure_blob_storage_location` block supports the following:

* `filename` - (Required) The filename of the file on the web server.

* `dynamic_container_enabled` - (Optional) Is the `container` using dynamic expression, function or system variables? Defaults to `false`.

* `dynamic_path_enabled` - (Optional) Is the `path` using dynamic expression, function or system variables? Defaults to `false`.

* `dynamic_filename_enabled` - (Optional) Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/data_factory_dataset_parquet.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ A `azure_blob_storage_location` block supports the following:

* `filename` - (Required) The filename of the file on the web server.

* `dynamic_container_enabled` - (Optional) Is the `container` using dynamic expression, function or system variables? Defaults to `false`.

* `dynamic_path_enabled` - (Optional) Is the `path` using dynamic expression, function or system variables? Defaults to `false`.

* `dynamic_filename_enabled` - (Optional) Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
Expand Down

0 comments on commit 23a81d8

Please sign in to comment.