-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ info: | |
name: StackQL Studios | ||
url: https://stackql.io/ | ||
email: [email protected] | ||
version: 2024-09-27-stackql-generated | ||
version: 2024-10-11-stackql-generated | ||
security: | ||
- azure_auth: | ||
- user_impersonation | ||
|
@@ -50,7 +50,7 @@ components: | |
name: api-version | ||
in: query | ||
description: The API version to use for the request | ||
required: true | ||
required: false | ||
schema: | ||
type: string | ||
SubscriptionIdParameter: | ||
|
@@ -65,7 +65,7 @@ components: | |
name: api-version | ||
in: query | ||
description: API version to use for the request. | ||
required: true | ||
required: false | ||
x-ms-parameter-location: client | ||
schema: | ||
type: string | ||
|
@@ -580,10 +580,12 @@ components: | |
methods: | ||
list: | ||
operation: | ||
$ref: '#/paths/~1providers~1Microsoft.AzureData~1operations~1?api-version=2019-07-24-preview/get' | ||
$ref: '#/paths/~1providers~1Microsoft.AzureData~1operations?api-version=2019-07-24-preview/get' | ||
operationId: Operations_List | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
schemaRef: OperationListResult | ||
objectKey: $.value | ||
sqlVerbs: | ||
select: | ||
|
@@ -599,41 +601,52 @@ components: | |
methods: | ||
get: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1?api-version=2019-07-24-preview/get' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}?api-version=2019-07-24-preview/get' | ||
operationId: SqlServerRegistrations_Get | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
schemaRef: SqlServerRegistration | ||
create_or_update: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1?api-version=2019-07-24-preview/put' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}?api-version=2019-07-24-preview/put' | ||
operationId: SqlServerRegistrations_CreateOrUpdate | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
schemaRef: SqlServerRegistration | ||
delete: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1?api-version=2019-07-24-preview/delete' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}?api-version=2019-07-24-preview/delete' | ||
operationId: SqlServerRegistrations_Delete | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
update: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1?api-version=2019-07-24-preview/patch' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}?api-version=2019-07-24-preview/patch' | ||
operationId: SqlServerRegistrations_Update | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
schemaRef: SqlServerRegistration | ||
list_by_resource_group: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1?api-version=2019-07-24-preview/get' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations?api-version=2019-07-24-preview/get' | ||
operationId: SqlServerRegistrations_ListByResourceGroup | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
schemaRef: SqlServerRegistrationListResult | ||
objectKey: $.value | ||
list: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1?api-version=2019-07-24-preview/get' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1providers~1Microsoft.AzureData~1sqlServerRegistrations?api-version=2019-07-24-preview/get' | ||
operationId: SqlServerRegistrations_List | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
schemaRef: SqlServerRegistrationListResult | ||
objectKey: $.value | ||
sqlVerbs: | ||
select: | ||
|
@@ -642,7 +655,8 @@ components: | |
- $ref: '#/components/x-stackQL-resources/sql_server_registrations/methods/list' | ||
insert: | ||
- $ref: '#/components/x-stackQL-resources/sql_server_registrations/methods/create_or_update' | ||
update: [] | ||
update: | ||
- $ref: '#/components/x-stackQL-resources/sql_server_registrations/methods/update' | ||
replace: [] | ||
delete: | ||
- $ref: '#/components/x-stackQL-resources/sql_server_registrations/methods/delete' | ||
|
@@ -653,28 +667,35 @@ components: | |
methods: | ||
get: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1sqlServers~1{sqlServerName}~1?api-version=2019-07-24-preview/get' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1sqlServers~1{sqlServerName}?api-version=2019-07-24-preview/get' | ||
operationId: SqlServers_Get | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
schemaRef: SqlServer | ||
create_or_update: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1sqlServers~1{sqlServerName}~1?api-version=2019-07-24-preview/put' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1sqlServers~1{sqlServerName}?api-version=2019-07-24-preview/put' | ||
operationId: SqlServers_CreateOrUpdate | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
schemaRef: SqlServer | ||
delete: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1sqlServers~1{sqlServerName}~1?api-version=2019-07-24-preview/delete' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1sqlServers~1{sqlServerName}?api-version=2019-07-24-preview/delete' | ||
operationId: SqlServers_Delete | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
list_by_resource_group: | ||
operation: | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1sqlServers~1?api-version=2019-07-24-preview/get' | ||
$ref: '#/paths/~1subscriptions~1{subscriptionId}~1resourceGroups~1{resourceGroupName}~1providers~1Microsoft.AzureData~1sqlServerRegistrations~1{sqlServerRegistrationName}~1sqlServers?api-version=2019-07-24-preview/get' | ||
operationId: SqlServers_ListByResourceGroup | ||
response: | ||
mediaType: application/json | ||
openAPIDocKey: '200' | ||
schemaRef: SqlServerListResult | ||
objectKey: $.value | ||
sqlVerbs: | ||
select: | ||
|
@@ -698,9 +719,9 @@ components: | |
location as location, | ||
tags as tags, | ||
systemData as system_data, | ||
JSON_EXTRACT(properties, '$.subscriptionId') as subscription_id, | ||
JSON_EXTRACT(properties, '$.resourceGroup') as resource_group, | ||
JSON_EXTRACT(properties, '$.propertyBag') as property_bag, | ||
JSON_EXTRACT(properties, '$.subscriptionId') as "subscription_id", | ||
JSON_EXTRACT(properties, '$.resourceGroup') as "resource_group", | ||
JSON_EXTRACT(properties, '$.propertyBag') as "property_bag", | ||
subscriptionId, | ||
resourceGroupName, | ||
sqlServerRegistrationName | ||
|
@@ -713,9 +734,9 @@ components: | |
location as location, | ||
tags as tags, | ||
systemData as system_data, | ||
json_extract_path_text(properties, '$.subscriptionId') as subscription_id, | ||
JSON_EXTRACT(properties, '$.resourceGroup') as resource_group, | ||
JSON_EXTRACT(properties, '$.propertyBag') as property_bag, | ||
json_extract_path_text(properties, '$.subscriptionId') as "subscription_id", | ||
json_extract_path_text(properties, '$.resourceGroup') as "resource_group", | ||
json_extract_path_text(properties, '$.propertyBag') as "property_bag", | ||
subscriptionId, | ||
resourceGroupName, | ||
sqlServerRegistrationName | ||
|
@@ -730,11 +751,11 @@ components: | |
predicate: sqlDialect == "sqlite3" | ||
ddl: |- | ||
SELECT | ||
JSON_EXTRACT(properties, '$.cores') as cores, | ||
JSON_EXTRACT(properties, '$.version') as version, | ||
JSON_EXTRACT(properties, '$.edition') as edition, | ||
JSON_EXTRACT(properties, '$.registrationID') as registration_id, | ||
JSON_EXTRACT(properties, '$.propertyBag') as property_bag, | ||
JSON_EXTRACT(properties, '$.cores') as "cores", | ||
JSON_EXTRACT(properties, '$.version') as "version", | ||
JSON_EXTRACT(properties, '$.edition') as "edition", | ||
JSON_EXTRACT(properties, '$.registrationID') as "registration_id", | ||
JSON_EXTRACT(properties, '$.propertyBag') as "property_bag", | ||
subscriptionId, | ||
resourceGroupName, | ||
sqlServerRegistrationName, | ||
|
@@ -745,19 +766,19 @@ components: | |
predicate: sqlDialect == "postgres" | ||
ddl: |- | ||
SELECT | ||
json_extract_path_text(properties, '$.cores') as cores, | ||
JSON_EXTRACT(properties, '$.version') as version, | ||
JSON_EXTRACT(properties, '$.edition') as edition, | ||
JSON_EXTRACT(properties, '$.registrationID') as registration_id, | ||
JSON_EXTRACT(properties, '$.propertyBag') as property_bag, | ||
json_extract_path_text(properties, '$.cores') as "cores", | ||
json_extract_path_text(properties, '$.version') as "version", | ||
json_extract_path_text(properties, '$.edition') as "edition", | ||
json_extract_path_text(properties, '$.registrationID') as "registration_id", | ||
json_extract_path_text(properties, '$.propertyBag') as "property_bag", | ||
subscriptionId, | ||
resourceGroupName, | ||
sqlServerRegistrationName, | ||
sqlServerName | ||
FROM azure.azure_data.sql_servers | ||
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND sqlServerRegistrationName = 'replace-me'; | ||
paths: | ||
/providers/Microsoft.AzureData/operations/?api-version=2019-07-24-preview: | ||
/providers/Microsoft.AzureData/operations?api-version=2019-07-24-preview: | ||
get: | ||
tags: | ||
- Operations | ||
|
@@ -822,7 +843,7 @@ paths: | |
$ref: '#/components/schemas/CloudError' | ||
x-ms-pageable: | ||
nextLinkName: nextLink | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}/?api-version=2019-07-24-preview: | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}?api-version=2019-07-24-preview: | ||
get: | ||
tags: | ||
- SqlServerRegistrations | ||
|
@@ -1175,7 +1196,7 @@ paths: | |
application/json: | ||
schema: | ||
$ref: '#/components/schemas/CloudError' | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/?api-version=2019-07-24-preview: | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations?api-version=2019-07-24-preview: | ||
get: | ||
tags: | ||
- SqlServerRegistrations | ||
|
@@ -1199,7 +1220,7 @@ paths: | |
$ref: '#/components/schemas/CloudError' | ||
x-ms-pageable: | ||
nextLinkName: nextLink | ||
/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlServerRegistrations/?api-version=2019-07-24-preview: | ||
/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlServerRegistrations?api-version=2019-07-24-preview: | ||
get: | ||
tags: | ||
- SqlServerRegistrations | ||
|
@@ -1229,7 +1250,7 @@ paths: | |
$ref: '#/components/schemas/CloudError' | ||
x-ms-pageable: | ||
nextLinkName: nextLink | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}/sqlServers/{sqlServerName}/?api-version=2019-07-24-preview: | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}/sqlServers/{sqlServerName}?api-version=2019-07-24-preview: | ||
get: | ||
tags: | ||
- SqlServers | ||
|
@@ -1604,7 +1625,7 @@ paths: | |
application/json: | ||
schema: | ||
$ref: '#/components/schemas/CloudError' | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}/sqlServers/?api-version=2019-07-24-preview: | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}/sqlServers?api-version=2019-07-24-preview: | ||
get: | ||
tags: | ||
- SqlServers | ||
|