Azure-sdk-for-go: Support for Microsoft.web/connections (API Connections)

Created on 15 May 2020  路  4Comments  路  Source: Azure/azure-sdk-for-go

Feature Request

Can we add support for API Connections available here https://github.com/Azure/azure-rest-api-specs/blob/master/specification/web/resource-manager/Microsoft.Web/stable/2019-08-01/examples/ListOperations.json#L581

  {
        "type": "Microsoft.Web/connections",
        "name": "[parameters('connections_servicebus_name')]",
        "apiVersion": "2016-06-01",
        "location": "northeurope",
        "scale": null,
        "properties": {
            "displayName": "ServiceBus",
            "api": {
                "id": "[concat(subscription().id, '/providers/Microsoft.Web/locations/',resourceGroup().location, '/managedApis/servicebus')]"
            },
            "parameterValues": {
                "connectionString": "[listkeys(resourceId('Microsoft.ServiceBus/namespaces/AuthorizationRules', parameters('serviceBusNamespace_name'), 'Listen'), '2017-04-01').primaryConnectionString]"
            }
        },
        "dependsOn": []
    }
Service Attention Web Apps customer-reported feature-request

Most helpful comment

Hey @favoretti sorry but I have to correct my previous statement - we do have some swaggers of the connection resource here: https://github.com/Azure/azure-rest-api-specs/blob/e10fd5f5f0b3444e589cd816321fce7036e33554/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/logicAppsManagementClient.json#L753
But the problem is that this swagger is not included in SDK generation. I will write some email to the corresponding owner of the swaggers of web and see if they could do something about this.

All 4 comments

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.

Hi @szaher thanks for this issue!

Despite the example shows that they have the Microsoft.Web/connections related operations, but I searched all the swaggers for web about Microsoft.Web/connections but found nothing. This means that the service team must first give us the API in the swaggers then we can release those in the go SDK.

HI @ArcturusZhang, it this still the case, or do you guys have swaggers for this already?

Hey @favoretti sorry but I have to correct my previous statement - we do have some swaggers of the connection resource here: https://github.com/Azure/azure-rest-api-specs/blob/e10fd5f5f0b3444e589cd816321fce7036e33554/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/logicAppsManagementClient.json#L753
But the problem is that this swagger is not included in SDK generation. I will write some email to the corresponding owner of the swaggers of web and see if they could do something about this.

Was this page helpful?
0 / 5 - 0 ratings