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

Adding Microsoft.Synapse/workspace/eventstreams resource #13714

Closed
Closed
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
"swagger": "2.0",
"info": {
"version": "2021-04-01-preview",
"title": "SynapseManagementClient",
"description": "Azure Synapse Analytics APIs"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"securityDefinitions": {
"azure_auth": {
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"type": "oauth2",
"scopes": {
"user_impersonation": "impersonate your user account"
},
"description": "Azure Active Directory OAuth2 Flow"
}
},
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/checkNameAvailability": {
"post": {
"operationId": "Operations_CheckNameAvailability",
"summary": "Check name availability",
"description": "Check whether a workspace name is available",
"tags": [
"Operations"
],
"deprecated": false,
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"schema": {
"$ref": "#/definitions/CheckNameAvailabilityRequest"
},
"in": "body",
"name": "request",
"required": true,
"description": "The check request"
}
],
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/CheckNameAvailabilityResponse"
},
"description": ""
},
"default": {
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"x-ms-examples": {
"Check for a workspace name that is available": {
"$ref": "./examples/CheckNameAvailabilityWorkspaceAvailable.json"
},
"Check for a workspace name that already exists": {
"$ref": "./examples/CheckNameAvailabilityWorkspaceAlreadyExists.json"
}
}
}
}
},
"definitions": {
"CheckNameAvailabilityRequest": {
"type": "object",
"title": "Check name availability request",
"description": "A request about whether a workspace name is available",
"properties": {
"name": {
"type": "string",
"description": "Workspace name"
},
"type": {
"type": "string",
"description": "Type: workspace"
}
}
},
"CheckNameAvailabilityResponse": {
"type": "object",
"title": "Check name availability response",
"description": "A response saying whether the workspace name is available",
"properties": {
"message": {
"type": "string",
"description": "Validation message"
},
"available": {
"type": "boolean",
"description": "Whether the workspace name is available"
},
"reason": {
"type": "string",
"description": "Reason the workspace name is or is not available"
},
"name": {
"type": "string",
"description": "Workspace name"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"parameters": {
"subscriptionId": "01234567-89ab-4def-0123-456789abcdef",
"resourceGroupName": "ExampleResourceGroup",
"workspaceName": "ExampleWorkspace",
"privateEndpointConnectionName": "ExamplePrivateEndpointConnection",
"api-version": "2021-04-01-preview",
"request": {
"properties": {
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection",
"name": "sql",
"type": "Microsoft.Synapse/workspaces/privateEndpointConnections",
"properties": {
"provisioningState": "Provisioning",
"privateEndpoint": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
"actionsRequired": "None"
}
}
}
},
"200": {
"body": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection",
"name": "sql",
"type": "Microsoft.Synapse/workspaces/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
"actionsRequired": "None"
}
}
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"api-version": "2021-04-01-preview",
"request": {
"name": "workspace1",
"type": "Microsoft.Synapse/workspaces"
}
},
"responses": {
"200": {
"body": {
"name": "workspace1",
"available": false,
"reason": "AlreadyExists",
"message": "Specified workspace name is already used"
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"api-version": "2021-04-01-preview",
"request": {
"name": "workspace1",
"type": "Microsoft.ProjectArcadia/workspaces"
}
},
"responses": {
"200": {
"body": {
"name": "workspace1",
"available": true,
"reason": null,
"message": null
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"subscriptionId": "01234567-89ab-4def-0123-456789abcdef",
"resourceGroupName": "ExampleResourceGroup",
"workspaceName": "ExampleWorkspace",
"ruleName": "ExampleIpFirewallRule",
"api-version": "2021-04-01-preview",
"ipFirewallRuleInfo": {
"properties": {
"startIpAddress": "10.0.0.0",
"endIpAddress": "10.0.0.254"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule",
"type": "Microsoft.Synapse/workspaces/firewallRules",
"name": "ExampleIpFirewallRule",
"properties": {
"startIpAddress": "10.0.0.0",
"endIpAddress": "10.0.0.254",
"provisioningState": "Provisioning"
}
}
},
"201": {
"body": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule",
"type": "Microsoft.Synapse/workspaces/firewallRules",
"name": "ExampleIpFirewallRule",
"properties": {
"startIpAddress": "10.0.0.0",
"endIpAddress": "10.0.0.254",
"provisioningState": "Provisioning"
}
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Loading