Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Path and example #20425

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"subscriptionId": "89e2c1d6-3f1d-45d1-8ddf-d8ea6cab925e",
"resourceGroupName": "lee-synapse-dev",
"workspaceName": "lee-synws-dw-dev",
"checkDefaultStorageAccountStatus": {
"properties": {
"isPrivateLinked": true,
"privateEndpointResourceId": "abc123"
}
},
"api-version": "2021-06-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/89e2c1d6-3f1d-45d1-8ddf-d8ea6cab925e/resourceGroups/lee-synapse-dev/providers/Microsoft.Synapse/workspaces/lee-synws-dw-dev/checkDefaultStorageAccountStatus",
"type": "Microsoft.Synapse/workspaces/checkDefaultStorageAccountStatus",
"location": "Japan East",
"properties": {
"isPrivateLinked": true,
"privateEndpointResourceId": "abc123"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,66 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/checkDefaultStorageAccountStatus": {
"post": {
"tags": [
"Workspaces, checkDefaultStorageAccountStatus"
],
"operationId": "WorkspaceCheckDefaultStorageAccountStatus_Create",
"description": "Check Default Storage Account Status",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$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../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"schema": {
"type": "object",
"items": {
"$ref": "#/definitions/CheckDefaultStorageAccountStatus"
}
},
"name": "checkDefaultStorageAccountStatus",
"in": "body",
"description": "Check Default Storage Account Status",
"required": true
}
],
"responses": {
"200": {
"schema": {
"type": "object",
"items": {
"$ref": "#/definitions/CheckDefaultStorageAccountStatus"
}
},
"description": "OK"
},
"default": {
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": "Error"
}
},
"produces": [
"application/json"
],
"x-ms-examples": {
"Workspace check default storage account status": {
"$ref": "./examples/CheckDefaultStorageAccountStatus.json"
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -1599,6 +1659,43 @@
"x-ms-client-flatten": true
}
}
},
"CheckDefaultStorageAccountStatusProperties": {
"description": "Properties of the Check Default Storage Account Status.",
"type": "object",
"properties": {
"isPrivateLinked": {
"description": "Is Storage Account Status Linked.",
"type": "boolean",
"readOnly": true
},
"privateEndpointResourceId": {
"description": "Endpoint ResourceId.",
"type": "string",
"readOnly": true
}
}
},
"CheckDefaultStorageAccountStatus": {
"description": "Workspace Check Default Storage Account Status.",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
}
],
"properties": {
"location": {
"type": "string",
"readOnly": true,
"description": "The geo-location where the resource lives"
},
"properties": {
"$ref": "#/definitions/CheckDefaultStorageAccountStatusProperties",
"description": "Workspace Check Default Storage Account Status Properties.",
"x-ms-client-flatten": true
}
}
}
}
}