@@ -26,16 +26,16 @@ type SearchServiceDatasourceBlobResource struct{}
2626var _ sdk.ResourceWithUpdate = SearchServiceDatasourceBlobResource {}
2727
2828type 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
4141func (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