Skip to content

Commit 11e3e18

Browse files
ZhidaLiuaviyerMSFT
authored andcommitted
Update SoftDelete/FeatureStore changes to MachineLearningService 2023-02-01-preview (Azure#22998)
* Add soft delete and FeatureStore support for new api version * remove unused property * fix format
1 parent 5122780 commit 11e3e18

File tree

1 file changed

+68
-1
lines changed
  • specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview

1 file changed

+68
-1
lines changed

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-02-01-preview/machineLearningServices.json

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@
188188
},
189189
{
190190
"$ref": "#/parameters/WorkspaceNameParameter"
191+
},
192+
{
193+
"$ref": "#/parameters/WorkspaceForceToPurgeParameter"
191194
}
192195
],
193196
"responses": {
@@ -286,6 +289,9 @@
286289
},
287290
{
288291
"$ref": "#/parameters/PaginationParameter"
292+
},
293+
{
294+
"$ref": "#/parameters/WorkspaceKindParameter"
289295
}
290296
],
291297
"responses": {
@@ -680,6 +686,9 @@
680686
},
681687
{
682688
"$ref": "#/parameters/PaginationParameter"
689+
},
690+
{
691+
"$ref": "#/parameters/WorkspaceKindParameter"
683692
}
684693
],
685694
"responses": {
@@ -2079,6 +2088,22 @@
20792088
"description": "Category of the workspace connection.",
20802089
"required": false,
20812090
"x-ms-parameter-location": "method"
2091+
},
2092+
"WorkspaceKindParameter": {
2093+
"in": "query",
2094+
"name": "kind",
2095+
"type": "string",
2096+
"description": "Kind of workspace.",
2097+
"required": false,
2098+
"x-ms-parameter-location": "method"
2099+
},
2100+
"WorkspaceForceToPurgeParameter": {
2101+
"in": "query",
2102+
"name": "forceToPurge",
2103+
"type": "boolean",
2104+
"description": "Flag to indicate delete is a purge request.",
2105+
"required": false,
2106+
"x-ms-parameter-location": "method"
20822107
}
20832108
},
20842109
"definitions": {
@@ -2166,6 +2191,9 @@
21662191
"sku": {
21672192
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku",
21682193
"description": "The sku of the workspace."
2194+
},
2195+
"kind": {
2196+
"type": "string"
21692197
}
21702198
}
21712199
},
@@ -2334,6 +2362,15 @@
23342362
"systemDatastoresAuthMode": {
23352363
"description": "The auth mode used for accessing the system datastores of the workspace",
23362364
"type": "string"
2365+
},
2366+
"featureStoreSettings": {
2367+
"description": "Settings for feature store type workspace.",
2368+
"$ref": "#/definitions/FeatureStoreSettings"
2369+
},
2370+
"softDeleteRetentionInDays": {
2371+
"type": "integer",
2372+
"format": "int32",
2373+
"description": "Retention time in days after workspace get soft deleted."
23372374
}
23382375
}
23392376
},
@@ -2410,6 +2447,10 @@
24102447
"encryption": {
24112448
"$ref": "#/definitions/EncryptionUpdateProperties",
24122449
"description": "The encryption settings of the workspace."
2450+
},
2451+
"featureStoreSettings": {
2452+
"description": "Settings for feature store type workspace.",
2453+
"$ref": "#/definitions/FeatureStoreSettings"
24132454
}
24142455
}
24152456
},
@@ -5795,7 +5836,11 @@
57955836
"S3",
57965837
"Snowflake",
57975838
"AzureSqlDb",
5798-
"AzureSynapseAnalytics"
5839+
"AzureSynapseAnalytics",
5840+
"AzureMySqlDb",
5841+
"AzurePostgresDb",
5842+
"AzureDataLakeGen2",
5843+
"Redis"
57995844
],
58005845
"type": "string",
58015846
"description": "Category of the connection",
@@ -6228,6 +6273,28 @@
62286273
"description": "Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days."
62296274
}
62306275
}
6276+
},
6277+
"FeatureStoreSettings": {
6278+
"type": "object",
6279+
"properties": {
6280+
"computeRuntime": {
6281+
"$ref": "#/definitions/ComputeRuntimeDto"
6282+
},
6283+
"offlineStoreConnectionName": {
6284+
"type": "string"
6285+
},
6286+
"onlineStoreConnectionName": {
6287+
"type": "string"
6288+
}
6289+
}
6290+
},
6291+
"ComputeRuntimeDto": {
6292+
"type": "object",
6293+
"properties": {
6294+
"sparkRuntimeVersion": {
6295+
"type": "string"
6296+
}
6297+
}
62316298
}
62326299
}
62336300
}

0 commit comments

Comments
 (0)