From 6f4e22cb49e391c92b8b94ce29df8d41a8634902 Mon Sep 17 00:00:00 2001 From: 12VamshiKrishna <109329038+12VamshiKrishna@users.noreply.github.com> Date: Thu, 6 Oct 2022 11:30:44 +0530 Subject: [PATCH] Added Path and Properties (#20887) * Added Path and Properties * Path order * Example changes * members change * Changes * Path Order * params Co-authored-by: VamshiKrishna Chirra (Quadrant Resource) --- .../KustoPoolPrivateLinkResourcesList.json | 42 +++++++ .../preview/2021-06-01-preview/kustoPool.json | 114 ++++++++++++++++++ 2 files changed, 156 insertions(+) create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrivateLinkResourcesList.json diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrivateLinkResourcesList.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrivateLinkResourcesList.json new file mode 100644 index 000000000000..c133d7578e66 --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrivateLinkResourcesList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "7a587823-959d-4ad0-85bd-cf2a7cef436a", + "resourceGroupName": "DP-900", + "workspaceName": "synapse-ws-ebi-data", + "kustoPoolName": "dataexplorerpool900", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/7a587823-959d-4ad0-85bd-cf2a7cef436a/resourceGroups/DP-900/providers/Microsoft.Synapse/workspaces/synapse-ws-ebi-data/kustoPools/dataexplorerpool900/privateLinkResources", + "name": "synapseWorkspaceName/dataexplorerpool900/privateLinkResources", + "type": "Microsoft.Synapse/Workspaces/KustoPools/privateLinkResources", + "properties": { + "groupId": "aaaaa", + "requiredMembers": [ + "Engine", + "DataManagement", + "blob-ne3kstrldkustoCluster00", + "queue-ne3kstrldkustoCluster00", + "table-ne3kstrldkustoCluster00", + "blob-qmukstrldkustoCluster01", + "queue-qmukstrldkustoCluster01", + "table-qmukstrldkustoCluster01" + ], + "requiredZoneNames": [ + "privatelink.westus2.kusto.windows.net", + "privatelink.blob.core.windows.net", + "privatelink.queue.core.windows.net", + "privatelink.table.core.windows.net" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/kustoPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/kustoPool.json index 3e760c042708..f9be99f10e34 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/kustoPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/kustoPool.json @@ -2299,6 +2299,54 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/privateLinkResources": { + "get": { + "tags": [ + "KustoPoolPrivateLinkResources" + ], + "operationId": "KustoPoolPrivateLinkResources_List", + "x-ms-examples": { + "KustoPoolPrivateLinkResourcesList": { + "$ref": "./examples/KustoPoolPrivateLinkResourcesList.json" + } + }, + "description": "Lists all Kusto pool PrivateLinkResources.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/kustoPoolNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/PrivateLinkResources" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } } }, "definitions": { @@ -3874,6 +3922,72 @@ "description": "The collection of available SKUs for an existing resource." } } + }, + "PrivateLinkResources": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/KustoPoolPrivateLinkResources" + }, + "description": "The list of Kusto Private Link Resources." + } + }, + "description": "The list Kusto Private Link Resources operation response." + }, + "KustoPoolPrivateLinkResources": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PrivateLinkResourcesProperties", + "description": "The Private Link Resources." + }, + "systemData": { + "readOnly": true, + "type": "object", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Class representing a Private Link Resources." + }, + "PrivateLinkResourcesProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "readOnly": true, + "description": "The Private link resources GroupId" + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "description": "The private link resource required zone names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ResourceProvisioningState", + "description": "The provisioned state of the resource." + } + }, + "description": "Private Link Resources Properties." } }, "parameters": {