Skip to content

Commit 9b85252

Browse files
committed
reflect comment
1 parent 9019e04 commit 9b85252

2 files changed

Lines changed: 18 additions & 34 deletions

File tree

  • specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/WorkspaceConnection/testConnection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"properties": {
1010
"category": "ContainerRegistry",
1111
"expiryTime": "2024-03-15T14:30:00Z",
12-
"target": "www.facebook.com",
12+
"target": "target_url",
1313
"authType": "None"
1414
}
1515
}

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/workspaceRP.json

Lines changed: 17 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,7 @@
189189
"Retry-After": {
190190
"description": "Duration the client should wait between requests, in seconds.",
191191
"type": "integer",
192-
"format": "int32",
193-
"maximum": 600,
194-
"minimum": 10
192+
"format": "int32"
195193
}
196194
}
197195
},
@@ -758,9 +756,7 @@
758756
"Retry-After": {
759757
"description": "Duration the client should wait between requests, in seconds.",
760758
"type": "integer",
761-
"format": "int32",
762-
"maximum": 600,
763-
"minimum": 10
759+
"format": "int32"
764760
}
765761
}
766762
},
@@ -2429,32 +2425,14 @@
24292425
"additionalProperties": {
24302426
"description": "Outbound Rule for the managed network of a machine learning workspace.",
24312427
"$ref": "#/definitions/OutboundRule"
2432-
},
2433-
"x-nullable": true
2428+
}
24342429
},
24352430
"status": {
24362431
"description": "Status of the Provisioning for the managed network of a machine learning workspace.",
24372432
"$ref": "#/definitions/ManagedNetworkProvisionStatus"
24382433
}
24392434
}
24402435
},
2441-
"ManagedNetworkSettingsEx": {
2442-
"type": "object",
2443-
"allOf": [
2444-
{
2445-
"$ref": "#/definitions/ManagedNetworkSettings"
2446-
}
2447-
],
2448-
"properties": {
2449-
"changeableIsolationModes": {
2450-
"type": "array",
2451-
"items": {
2452-
"$ref": "#/definitions/IsolationMode"
2453-
},
2454-
"readOnly": true
2455-
}
2456-
}
2457-
},
24582436
"ManagedNetworkStatus": {
24592437
"description": "Status for the managed network of a machine learning workspace.",
24602438
"enum": [
@@ -2572,22 +2550,22 @@
25722550
}
25732551
},
25742552
"OutboundRule": {
2575-
"description": "Outbound Rule for the managed network of a machine learning workspace.",
2553+
"description": "Outbound rule for the managed network of a machine learning workspace.",
25762554
"required": [
25772555
"type"
25782556
],
25792557
"type": "object",
25802558
"properties": {
25812559
"category": {
2582-
"description": "Category of a managed network Outbound Rule of a machine learning workspace.",
2560+
"description": "Category of a managed network outbound rule of a machine learning workspace.",
25832561
"$ref": "#/definitions/RuleCategory"
25842562
},
25852563
"status": {
2586-
"description": "Type of a managed network Outbound Rule of a machine learning workspace.",
2564+
"description": "Type of a managed network outbound rule of a machine learning workspace.",
25872565
"$ref": "#/definitions/RuleStatus"
25882566
},
25892567
"type": {
2590-
"description": "Type of a managed network Outbound Rule of a machine learning workspace.",
2568+
"description": "Type of a managed network outbound rule of a machine learning workspace.",
25912569
"$ref": "#/definitions/RuleType"
25922570
}
25932571
},
@@ -2743,7 +2721,8 @@
27432721
"type": "object",
27442722
"properties": {
27452723
"serviceResourceId": {
2746-
"type": "string"
2724+
"type": "string",
2725+
"format": "arm-id"
27472726
},
27482727
"sparkEnabled": {
27492728
"type": "boolean"
@@ -3203,13 +3182,17 @@
32033182
"$ref": "#/definitions/ConnectionCategory"
32043183
},
32053184
"createdByWorkspaceArmId": {
3206-
"type": "string"
3185+
"description": "The arm id of the workspace which created this connection",
3186+
"type": "string",
3187+
"format": "arm-id",
3188+
"readOnly": true
32073189
},
32083190
"expiryTime": {
32093191
"format": "date-time",
32103192
"type": "string"
32113193
},
32123194
"isSharedToAll": {
3195+
"description": "whether this connection will be shared to all the project workspace under the hub",
32133196
"type": "boolean"
32143197
},
32153198
"metadata": {
@@ -3219,6 +3202,7 @@
32193202
}
32203203
},
32213204
"sharedUserList": {
3205+
"description": "list of user id who can access this connection",
32223206
"type": "array",
32233207
"items": {
32243208
"type": "string"
@@ -3435,7 +3419,7 @@
34353419
}
34363420
},
34373421
"managedNetwork": {
3438-
"$ref": "#/definitions/ManagedNetworkSettingsEx"
3422+
"$ref": "#/definitions/ManagedNetworkSettings"
34393423
},
34403424
"mlFlowTrackingUri": {
34413425
"description": "The URI associated with this workspace that machine learning flow must point at to set up tracking.",
@@ -3602,7 +3586,7 @@
36023586
"type": "string"
36033587
},
36043588
"managedNetwork": {
3605-
"$ref": "#/definitions/ManagedNetworkSettingsEx"
3589+
"$ref": "#/definitions/ManagedNetworkSettings"
36063590
},
36073591
"primaryUserAssignedIdentity": {
36083592
"description": "The user assigned identity resource id that represents the workspace identity.",

0 commit comments

Comments
 (0)