Skip to content

Commit 8bf610c

Browse files
committed
lint
1 parent b14fcf7 commit 8bf610c

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

internal/services/search/search_service_datasource_blob_resource.go

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ type SearchServiceDatasourceBlobResource struct{}
2626
var _ sdk.ResourceWithUpdate = SearchServiceDatasourceBlobResource{}
2727

2828
type SearchServiceDatasourceBlobModel struct {
29-
Name string `tfschema:"name"`
30-
SearchServiceId string `tfschema:"search_service_id"`
31-
ContainerName string `tfschema:"container_name"`
32-
ConnectionString string `tfschema:"connection_string"`
33-
Description string `tfschema:"description"`
34-
ContainerQuery string `tfschema:"container_query"`
35-
SoftDeleteColumnName string `tfschema:"soft_delete_column_name"`
36-
SoftDeleteMarkerValue string `tfschema:"soft_delete_marker_value"`
29+
Name string `tfschema:"name"`
30+
SearchServiceId string `tfschema:"search_service_id"`
31+
ContainerName string `tfschema:"container_name"`
32+
ConnectionString string `tfschema:"connection_string"`
33+
Description string `tfschema:"description"`
34+
ContainerQuery string `tfschema:"container_query"`
35+
SoftDeleteColumnName string `tfschema:"soft_delete_column_name"`
36+
SoftDeleteMarkerValue string `tfschema:"soft_delete_marker_value"`
3737
EncryptionKey []searchSchema.SearchDatasourceEncryptionKeyModel `tfschema:"encryption_key"`
38-
Etag string `tfschema:"etag"`
38+
Etag string `tfschema:"etag"`
3939
}
4040

4141
func (r SearchServiceDatasourceBlobResource) Arguments() map[string]*pluginsdk.Schema {
@@ -57,17 +57,17 @@ func (r SearchServiceDatasourceBlobResource) Arguments() map[string]*pluginsdk.S
5757
ValidateFunc: services.ValidateSearchServiceID,
5858
},
5959

60-
"container_name": {
60+
"connection_string": {
6161
Type: pluginsdk.TypeString,
6262
Required: true,
63-
ValidateFunc: validate.StorageContainerName,
63+
Sensitive: true,
64+
ValidateFunc: validation.StringIsNotEmpty,
6465
},
6566

66-
"connection_string": {
67+
"container_name": {
6768
Type: pluginsdk.TypeString,
6869
Required: true,
69-
Sensitive: true,
70-
ValidateFunc: validation.StringIsNotEmpty,
70+
ValidateFunc: validate.StorageContainerName,
7171
},
7272

7373
"container_query": {

0 commit comments

Comments
 (0)