File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ type DataFederationInstance struct {
4747 DataProcessRegion * DataProcessRegion `json:"dataProcessRegion,omitempty"`
4848 Storage * DataFederationStorage `json:"storage,omitempty"`
4949 Name string `json:"name,omitempty"`
50+ State string `json:"state,omitempty"`
51+ Hostnames []string `json:"hostnames,omitempty"`
5052}
5153
5254// DataFederationStorage represents the storage configuration for a data lake.
Original file line number Diff line number Diff line change @@ -343,6 +343,8 @@ func TestDataFederation_Create(t *testing.T) {
343343 "region" : "VIRGINIA_USA"
344344 },
345345 "name": "UserMetricData",
346+ "state": "ACTIVE",
347+ "hostnames": ["test.mongodb-dev.net"],
346348 "storage": {
347349 "databases": [
348350 {
@@ -471,7 +473,9 @@ func TestDataFederation_Create(t *testing.T) {
471473 CloudProvider : "AWS" ,
472474 Region : "VIRGINIA_USA" ,
473475 },
474- Name : "UserMetricData" ,
476+ Name : "UserMetricData" ,
477+ State : "ACTIVE" ,
478+ Hostnames : []string {"test.mongodb-dev.net" },
475479 Storage : & DataFederationStorage {
476480 Databases : []* DataFederationDatabase {
477481 {
You can’t perform that action at this time.
0 commit comments