Skip to content

Commit 7245d0f

Browse files
authored
Fixing Access Connector / Workspace Swagger Correctness (#21783)
* Fixing Access Connector Swagger Correctness * Addressing Swagger Correctness Issues * Fixing diskEncryptionSetId readOnly attribute
1 parent 350511c commit 7245d0f

File tree

6 files changed

+23
-7
lines changed

6 files changed

+23
-7
lines changed

specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-04-01-preview/accessconnector.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,10 @@
318318
"identity": {
319319
"$ref": "#/definitions/IdentityData"
320320
},
321+
"systemData": {
322+
"description": "The system metadata relating to this resource",
323+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData"
324+
},
321325
"properties": {
322326
"description": "Azure Databricks accessConnector properties",
323327
"$ref": "#/definitions/AccessConnectorProperties"

specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-04-01-preview/databricks.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@
795795
"$ref": "#/definitions/ManagedIdentityConfiguration"
796796
},
797797
"diskEncryptionSetId": {
798+
"readOnly": true,
798799
"type": "string",
799800
"description": "The resource Id of the managed disk encryption set."
800801
},
@@ -1413,7 +1414,7 @@
14131414
"description": "The object that represents the operation.",
14141415
"properties": {
14151416
"provider": {
1416-
"description": "Service provider: Microsoft.ResourceProvider",
1417+
"description": "Service provider: ex Microsoft.Databricks",
14171418
"type": "string"
14181419
},
14191420
"resource": {
@@ -1423,6 +1424,10 @@
14231424
"operation": {
14241425
"description": "Operation type: Read, write, delete, etc.",
14251426
"type": "string"
1427+
},
1428+
"description": {
1429+
"description": "Description for the resource operation.",
1430+
"type": "string"
14261431
}
14271432
}
14281433
}
@@ -1578,6 +1583,13 @@
15781583
"description": "Private endpoint",
15791584
"$ref": "#/definitions/PrivateEndpoint"
15801585
},
1586+
"groupIds": {
1587+
"type": "array",
1588+
"description": "GroupIds from the private link service resource.",
1589+
"items": {
1590+
"type": "string"
1591+
}
1592+
},
15811593
"privateLinkServiceConnectionState": {
15821594
"title": "Private link service service connection state",
15831595
"description": "Private endpoint connection state",
@@ -1625,7 +1637,7 @@
16251637
"type": "string",
16261638
"description": "The description for the current state of a private endpoint connection"
16271639
},
1628-
"actionRequired": {
1640+
"actionsRequired": {
16291641
"type": "string",
16301642
"description": "Actions required for a private endpoint connection"
16311643
}

specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-04-01-preview/examples/ListPrivateEndpointConnections.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"privateLinkServiceConnectionState": {
2121
"status": "Approved",
2222
"description": "Approved by [email protected]",
23-
"actionRequired": "None"
23+
"actionsRequired": "None"
2424
},
2525
"provisioningState": "Succeeded"
2626
}

specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-04-01-preview/examples/PrivateEndpointConnectionsGet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"privateLinkServiceConnectionState": {
2020
"status": "Pending",
2121
"description": "Please approve my request!",
22-
"actionRequired": "None"
22+
"actionsRequired": "None"
2323
},
2424
"provisioningState": "Succeeded"
2525
}

specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-04-01-preview/examples/PrivateEndpointConnectionsUpdate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"privateLinkServiceConnectionState": {
2828
"status": "Approved",
2929
"description": "Approved by [email protected]",
30-
"actionRequired": "None"
30+
"actionsRequired": "None"
3131
},
3232
"provisioningState": "Succeeded"
3333
}
@@ -45,7 +45,7 @@
4545
"privateLinkServiceConnectionState": {
4646
"status": "Approved",
4747
"description": "Approved by [email protected]",
48-
"actionRequired": "None"
48+
"actionsRequired": "None"
4949
},
5050
"provisioningState": "Succeeded"
5151
}

specification/databricks/resource-manager/Microsoft.Databricks/preview/2022-04-01-preview/examples/WorkspaceGetParameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"privateLinkServiceConnectionState": {
6666
"status": "Approved",
6767
"description": "Auto-Approved",
68-
"actionRequired": "None"
68+
"actionsRequired": "None"
6969
},
7070
"provisioningState": "Succeeded"
7171
}

0 commit comments

Comments
 (0)