@azure/arm-signalr 6.0.0-alpha.20250214.1 → 6.0.0-alpha.20250217.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +10 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +17 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalR.d.ts +3 -3
- package/dist/browser/operations/signalR.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalR.js +190 -210
- package/dist/browser/operations/signalR.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRCustomCertificates.d.ts +3 -3
- package/dist/browser/operations/signalRCustomCertificates.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRCustomCertificates.js +48 -52
- package/dist/browser/operations/signalRCustomCertificates.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRCustomDomains.d.ts +3 -3
- package/dist/browser/operations/signalRCustomDomains.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRCustomDomains.js +79 -87
- package/dist/browser/operations/signalRCustomDomains.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRPrivateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRPrivateEndpointConnections.js +47 -51
- package/dist/browser/operations/signalRPrivateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRPrivateLinkResources.d.ts +3 -3
- package/dist/browser/operations/signalRPrivateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRPrivateLinkResources.js +3 -3
- package/dist/browser/operations/signalRPrivateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRReplicas.d.ts +3 -3
- package/dist/browser/operations/signalRReplicas.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRReplicas.js +128 -140
- package/dist/browser/operations/signalRReplicas.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRSharedPrivateLinkResources.d.ts +3 -3
- package/dist/browser/operations/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/signalRSharedPrivateLinkResources.js +90 -98
- package/dist/browser/operations/signalRSharedPrivateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.d.ts +3 -3
- package/dist/browser/operations/usages.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.js +3 -3
- package/dist/browser/operations/usages.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +10 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +17 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/signalR.d.ts +1 -1
- package/dist/browser/operationsInterfaces/signalR.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/signalR.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRCustomCertificates.d.ts +1 -1
- package/dist/browser/operationsInterfaces/signalRCustomCertificates.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/signalRCustomCertificates.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRCustomDomains.d.ts +1 -1
- package/dist/browser/operationsInterfaces/signalRCustomDomains.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/signalRCustomDomains.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRPrivateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/signalRPrivateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRPrivateLinkResources.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRPrivateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/signalRPrivateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRReplicas.d.ts +1 -1
- package/dist/browser/operationsInterfaces/signalRReplicas.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/signalRReplicas.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/signalRSharedPrivateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/usages.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/signalRManagementClient.d.ts +2 -2
- package/dist/browser/signalRManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/signalRManagementClient.js +15 -18
- package/dist/browser/signalRManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-signalr.d.ts → dist/commonjs/models/index.d.ts} +1435 -2094
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +161 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +70 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1961 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +24 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +203 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +10 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +20 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/signalR.d.ts +168 -0
- package/dist/commonjs/operations/signalR.d.ts.map +1 -0
- package/dist/commonjs/operations/signalR.js +831 -0
- package/dist/commonjs/operations/signalR.js.map +1 -0
- package/dist/commonjs/operations/signalRCustomCertificates.d.ts +73 -0
- package/dist/commonjs/operations/signalRCustomCertificates.d.ts.map +1 -0
- package/dist/commonjs/operations/signalRCustomCertificates.js +314 -0
- package/dist/commonjs/operations/signalRCustomCertificates.js.map +1 -0
- package/dist/commonjs/operations/signalRCustomDomains.d.ts +81 -0
- package/dist/commonjs/operations/signalRCustomDomains.d.ts.map +1 -0
- package/dist/commonjs/operations/signalRCustomDomains.js +354 -0
- package/dist/commonjs/operations/signalRCustomDomains.js.map +1 -0
- package/dist/commonjs/operations/signalRPrivateEndpointConnections.d.ts +76 -0
- package/dist/commonjs/operations/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/signalRPrivateEndpointConnections.js +320 -0
- package/dist/commonjs/operations/signalRPrivateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/signalRPrivateLinkResources.d.ts +38 -0
- package/dist/commonjs/operations/signalRPrivateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/signalRPrivateLinkResources.js +154 -0
- package/dist/commonjs/operations/signalRPrivateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/signalRReplicas.d.ts +107 -0
- package/dist/commonjs/operations/signalRReplicas.d.ts.map +1 -0
- package/dist/commonjs/operations/signalRReplicas.js +494 -0
- package/dist/commonjs/operations/signalRReplicas.js.map +1 -0
- package/dist/commonjs/operations/signalRSharedPrivateLinkResources.d.ts +81 -0
- package/dist/commonjs/operations/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/signalRSharedPrivateLinkResources.js +370 -0
- package/dist/commonjs/operations/signalRSharedPrivateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/usages.d.ts +35 -0
- package/dist/commonjs/operations/usages.d.ts.map +1 -0
- package/dist/commonjs/operations/usages.js +149 -0
- package/dist/commonjs/operations/usages.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +20 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalR.d.ts +132 -0
- package/dist/commonjs/operationsInterfaces/signalR.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalR.js +10 -0
- package/dist/commonjs/operationsInterfaces/signalR.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRCustomCertificates.d.ts +48 -0
- package/dist/commonjs/operationsInterfaces/signalRCustomCertificates.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRCustomCertificates.js +10 -0
- package/dist/commonjs/operationsInterfaces/signalRCustomCertificates.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRCustomDomains.d.ts +56 -0
- package/dist/commonjs/operationsInterfaces/signalRCustomDomains.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRCustomDomains.js +10 -0
- package/dist/commonjs/operationsInterfaces/signalRCustomDomains.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRPrivateEndpointConnections.d.ts +51 -0
- package/dist/commonjs/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRPrivateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/signalRPrivateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRPrivateLinkResources.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/signalRPrivateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRPrivateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/signalRPrivateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRReplicas.d.ts +82 -0
- package/dist/commonjs/operationsInterfaces/signalRReplicas.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRReplicas.js +10 -0
- package/dist/commonjs/operationsInterfaces/signalRReplicas.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts +56 -0
- package/dist/commonjs/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/signalRSharedPrivateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/signalRSharedPrivateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.js +10 -0
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/signalRManagementClient.d.ts +28 -0
- package/dist/commonjs/signalRManagementClient.d.ts.map +1 -0
- package/dist/commonjs/signalRManagementClient.js +110 -0
- package/dist/commonjs/signalRManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1435 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +158 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +70 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1957 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +24 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +200 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +10 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +17 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/signalR.d.ts +168 -0
- package/dist/esm/operations/signalR.d.ts.map +1 -0
- package/dist/esm/operations/signalR.js +827 -0
- package/dist/esm/operations/signalR.js.map +1 -0
- package/dist/esm/operations/signalRCustomCertificates.d.ts +73 -0
- package/dist/esm/operations/signalRCustomCertificates.d.ts.map +1 -0
- package/dist/esm/operations/signalRCustomCertificates.js +310 -0
- package/dist/esm/operations/signalRCustomCertificates.js.map +1 -0
- package/dist/esm/operations/signalRCustomDomains.d.ts +81 -0
- package/dist/esm/operations/signalRCustomDomains.d.ts.map +1 -0
- package/dist/esm/operations/signalRCustomDomains.js +350 -0
- package/dist/esm/operations/signalRCustomDomains.js.map +1 -0
- package/dist/esm/operations/signalRPrivateEndpointConnections.d.ts +76 -0
- package/dist/esm/operations/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/signalRPrivateEndpointConnections.js +316 -0
- package/dist/esm/operations/signalRPrivateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/signalRPrivateLinkResources.d.ts +38 -0
- package/dist/esm/operations/signalRPrivateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/signalRPrivateLinkResources.js +150 -0
- package/dist/esm/operations/signalRPrivateLinkResources.js.map +1 -0
- package/dist/esm/operations/signalRReplicas.d.ts +107 -0
- package/dist/esm/operations/signalRReplicas.d.ts.map +1 -0
- package/dist/esm/operations/signalRReplicas.js +490 -0
- package/dist/esm/operations/signalRReplicas.js.map +1 -0
- package/dist/esm/operations/signalRSharedPrivateLinkResources.d.ts +81 -0
- package/dist/esm/operations/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/signalRSharedPrivateLinkResources.js +366 -0
- package/dist/esm/operations/signalRSharedPrivateLinkResources.js.map +1 -0
- package/dist/esm/operations/usages.d.ts +35 -0
- package/dist/esm/operations/usages.d.ts.map +1 -0
- package/dist/esm/operations/usages.js +145 -0
- package/dist/esm/operations/usages.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +10 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +17 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/signalR.d.ts +132 -0
- package/dist/esm/operationsInterfaces/signalR.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/signalR.js +9 -0
- package/dist/esm/operationsInterfaces/signalR.js.map +1 -0
- package/dist/esm/operationsInterfaces/signalRCustomCertificates.d.ts +48 -0
- package/dist/esm/operationsInterfaces/signalRCustomCertificates.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/signalRCustomCertificates.js +9 -0
- package/dist/esm/operationsInterfaces/signalRCustomCertificates.js.map +1 -0
- package/dist/esm/operationsInterfaces/signalRCustomDomains.d.ts +56 -0
- package/dist/esm/operationsInterfaces/signalRCustomDomains.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/signalRCustomDomains.js +9 -0
- package/dist/esm/operationsInterfaces/signalRCustomDomains.js.map +1 -0
- package/dist/esm/operationsInterfaces/signalRPrivateEndpointConnections.d.ts +51 -0
- package/dist/esm/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/signalRPrivateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/signalRPrivateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/signalRPrivateLinkResources.d.ts +13 -0
- package/dist/esm/operationsInterfaces/signalRPrivateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/signalRPrivateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/signalRPrivateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/signalRReplicas.d.ts +82 -0
- package/dist/esm/operationsInterfaces/signalRReplicas.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/signalRReplicas.js +9 -0
- package/dist/esm/operationsInterfaces/signalRReplicas.js.map +1 -0
- package/dist/esm/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts +56 -0
- package/dist/esm/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/signalRSharedPrivateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/signalRSharedPrivateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/usages.d.ts +12 -0
- package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/usages.js +9 -0
- package/dist/esm/operationsInterfaces/usages.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/signalRManagementClient.d.ts +28 -0
- package/dist/esm/signalRManagementClient.d.ts.map +1 -0
- package/dist/esm/signalRManagementClient.js +105 -0
- package/dist/esm/signalRManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1435 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +158 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +70 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1957 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +24 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +200 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +10 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +17 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/signalR.d.ts +168 -0
- package/dist/react-native/operations/signalR.d.ts.map +1 -0
- package/dist/react-native/operations/signalR.js +827 -0
- package/dist/react-native/operations/signalR.js.map +1 -0
- package/dist/react-native/operations/signalRCustomCertificates.d.ts +73 -0
- package/dist/react-native/operations/signalRCustomCertificates.d.ts.map +1 -0
- package/dist/react-native/operations/signalRCustomCertificates.js +310 -0
- package/dist/react-native/operations/signalRCustomCertificates.js.map +1 -0
- package/dist/react-native/operations/signalRCustomDomains.d.ts +81 -0
- package/dist/react-native/operations/signalRCustomDomains.d.ts.map +1 -0
- package/dist/react-native/operations/signalRCustomDomains.js +350 -0
- package/dist/react-native/operations/signalRCustomDomains.js.map +1 -0
- package/dist/react-native/operations/signalRPrivateEndpointConnections.d.ts +76 -0
- package/dist/react-native/operations/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/signalRPrivateEndpointConnections.js +316 -0
- package/dist/react-native/operations/signalRPrivateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/signalRPrivateLinkResources.d.ts +38 -0
- package/dist/react-native/operations/signalRPrivateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/signalRPrivateLinkResources.js +150 -0
- package/dist/react-native/operations/signalRPrivateLinkResources.js.map +1 -0
- package/dist/react-native/operations/signalRReplicas.d.ts +107 -0
- package/dist/react-native/operations/signalRReplicas.d.ts.map +1 -0
- package/dist/react-native/operations/signalRReplicas.js +490 -0
- package/dist/react-native/operations/signalRReplicas.js.map +1 -0
- package/dist/react-native/operations/signalRSharedPrivateLinkResources.d.ts +81 -0
- package/dist/react-native/operations/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/signalRSharedPrivateLinkResources.js +366 -0
- package/dist/react-native/operations/signalRSharedPrivateLinkResources.js.map +1 -0
- package/dist/react-native/operations/usages.d.ts +35 -0
- package/dist/react-native/operations/usages.d.ts.map +1 -0
- package/dist/react-native/operations/usages.js +145 -0
- package/dist/react-native/operations/usages.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +17 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/signalR.d.ts +132 -0
- package/dist/react-native/operationsInterfaces/signalR.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/signalR.js +9 -0
- package/dist/react-native/operationsInterfaces/signalR.js.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRCustomCertificates.d.ts +48 -0
- package/dist/react-native/operationsInterfaces/signalRCustomCertificates.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRCustomCertificates.js +9 -0
- package/dist/react-native/operationsInterfaces/signalRCustomCertificates.js.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRCustomDomains.d.ts +56 -0
- package/dist/react-native/operationsInterfaces/signalRCustomDomains.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRCustomDomains.js +9 -0
- package/dist/react-native/operationsInterfaces/signalRCustomDomains.js.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRPrivateEndpointConnections.d.ts +51 -0
- package/dist/react-native/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRPrivateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/signalRPrivateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRPrivateLinkResources.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/signalRPrivateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRPrivateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/signalRPrivateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRReplicas.d.ts +82 -0
- package/dist/react-native/operationsInterfaces/signalRReplicas.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRReplicas.js +9 -0
- package/dist/react-native/operationsInterfaces/signalRReplicas.js.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts +56 -0
- package/dist/react-native/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/signalRSharedPrivateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/signalRSharedPrivateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.js +9 -0
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/signalRManagementClient.d.ts +28 -0
- package/dist/react-native/signalRManagementClient.d.ts.map +1 -0
- package/dist/react-native/signalRManagementClient.js +105 -0
- package/dist/react-native/signalRManagementClient.js.map +1 -0
- package/package.json +67 -36
- package/dist/index.js +0 -5653
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -50
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCheckNameAvailabilitySample.js +0 -32
- package/dist-esm/samples-dev/signalRCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCreateOrUpdateSample.js +0 -76
- package/dist-esm/samples-dev/signalRCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCustomCertificatesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesCreateOrUpdateSample.js +0 -35
- package/dist-esm/samples-dev/signalRCustomCertificatesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCustomCertificatesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/signalRCustomCertificatesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCustomCertificatesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesGetSample.js +0 -37
- package/dist-esm/samples-dev/signalRCustomCertificatesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCustomCertificatesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCustomCertificatesListSample.js +0 -52
- package/dist-esm/samples-dev/signalRCustomCertificatesListSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCustomDomainsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCustomDomainsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCustomDomainsCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/signalRCustomDomainsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCustomDomainsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCustomDomainsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCustomDomainsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/signalRCustomDomainsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCustomDomainsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCustomDomainsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCustomDomainsGetSample.js +0 -37
- package/dist-esm/samples-dev/signalRCustomDomainsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRCustomDomainsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRCustomDomainsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRCustomDomainsListSample.js +0 -52
- package/dist-esm/samples-dev/signalRCustomDomainsListSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRDeleteSample.js +0 -36
- package/dist-esm/samples-dev/signalRDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRGetSample.js +0 -36
- package/dist-esm/samples-dev/signalRGetSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/signalRListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/signalRListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRListKeysSample.js +0 -36
- package/dist-esm/samples-dev/signalRListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRListReplicaSkusSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRListReplicaSkusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRListReplicaSkusSample.js +0 -37
- package/dist-esm/samples-dev/signalRListReplicaSkusSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRListSkusSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRListSkusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRListSkusSample.js +0 -36
- package/dist-esm/samples-dev/signalRListSkusSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGetSample.js +0 -37
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsListSample.js +0 -52
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.js +0 -37
- package/dist-esm/samples-dev/signalRPrivateEndpointConnectionsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateLinkResourcesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRPrivateLinkResourcesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRPrivateLinkResourcesListSample.js +0 -52
- package/dist-esm/samples-dev/signalRPrivateLinkResourcesListSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRRegenerateKeySample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRRegenerateKeySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRRegenerateKeySample.js +0 -30
- package/dist-esm/samples-dev/signalRRegenerateKeySample.js.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/signalRReplicasCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRReplicasDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasDeleteSample.js +0 -37
- package/dist-esm/samples-dev/signalRReplicasDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRReplicasGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasGetSample.js +0 -37
- package/dist-esm/samples-dev/signalRReplicasGetSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasListSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRReplicasListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasListSample.js +0 -52
- package/dist-esm/samples-dev/signalRReplicasListSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasRestartSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRReplicasRestartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasRestartSample.js +0 -37
- package/dist-esm/samples-dev/signalRReplicasRestartSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRReplicasUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRReplicasUpdateSample.js +0 -36
- package/dist-esm/samples-dev/signalRReplicasUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRRestartSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRRestartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRRestartSample.js +0 -36
- package/dist-esm/samples-dev/signalRRestartSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdateSample.js +0 -35
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGetSample.js +0 -37
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesListSample.js +0 -52
- package/dist-esm/samples-dev/signalRSharedPrivateLinkResourcesListSample.js.map +0 -1
- package/dist-esm/samples-dev/signalRUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/signalRUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/signalRUpdateSample.js +0 -76
- package/dist-esm/samples-dev/signalRUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/usagesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/usagesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usagesListSample.js +0 -51
- package/dist-esm/samples-dev/usagesListSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -10
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -17
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/signalR.d.ts.map +0 -1
- package/dist-esm/src/operations/signalR.js.map +0 -1
- package/dist-esm/src/operations/signalRCustomCertificates.d.ts.map +0 -1
- package/dist-esm/src/operations/signalRCustomCertificates.js.map +0 -1
- package/dist-esm/src/operations/signalRCustomDomains.d.ts.map +0 -1
- package/dist-esm/src/operations/signalRCustomDomains.js.map +0 -1
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/signalRPrivateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/signalRPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/signalRPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/signalRReplicas.d.ts.map +0 -1
- package/dist-esm/src/operations/signalRReplicas.js.map +0 -1
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/signalRSharedPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/usages.d.ts.map +0 -1
- package/dist-esm/src/operations/usages.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -17
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalR.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalR.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRCustomCertificates.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRCustomCertificates.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRCustomDomains.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRCustomDomains.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRPrivateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRReplicas.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRReplicas.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/signalRSharedPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/signalRManagementClient.d.ts.map +0 -1
- package/dist-esm/src/signalRManagementClient.js.map +0 -1
- package/dist-esm/test/signalr_examples.spec.d.ts +0 -4
- package/dist-esm/test/signalr_examples.spec.d.ts.map +0 -1
- package/dist-esm/test/signalr_examples.spec.js +0 -157
- package/dist-esm/test/signalr_examples.spec.js.map +0 -1
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -1633
- package/src/models/mappers.ts +0 -2098
- package/src/models/parameters.ts +0 -236
- package/src/operations/index.ts +0 -17
- package/src/operations/operations.ts +0 -149
- package/src/operations/signalR.ts +0 -1146
- package/src/operations/signalRCustomCertificates.ts +0 -430
- package/src/operations/signalRCustomDomains.ts +0 -494
- package/src/operations/signalRPrivateEndpointConnections.ts +0 -426
- package/src/operations/signalRPrivateLinkResources.ts +0 -195
- package/src/operations/signalRReplicas.ts +0 -702
- package/src/operations/signalRSharedPrivateLinkResources.ts +0 -511
- package/src/operations/usages.ts +0 -170
- package/src/operationsInterfaces/index.ts +0 -17
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/signalR.ts +0 -258
- package/src/operationsInterfaces/signalRCustomCertificates.ts +0 -96
- package/src/operationsInterfaces/signalRCustomDomains.ts +0 -109
- package/src/operationsInterfaces/signalRPrivateEndpointConnections.ts +0 -93
- package/src/operationsInterfaces/signalRPrivateLinkResources.ts +0 -29
- package/src/operationsInterfaces/signalRReplicas.ts +0 -166
- package/src/operationsInterfaces/signalRSharedPrivateLinkResources.ts +0 -109
- package/src/operationsInterfaces/usages.ts +0 -24
- package/src/pagingHelper.ts +0 -39
- package/src/signalRManagementClient.ts +0 -182
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/signalR.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRCustomCertificates.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRCustomDomains.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRPrivateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRPrivateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRReplicas.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/signalRSharedPrivateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SignalRPrivateEndpointConnectionsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Class containing SignalRPrivateEndpointConnections operations. */
|
|
20
|
+
class SignalRPrivateEndpointConnectionsImpl {
|
|
21
|
+
/**
|
|
22
|
+
* Initialize a new instance of the class SignalRPrivateEndpointConnections class.
|
|
23
|
+
* @param client Reference to the service client
|
|
24
|
+
*/
|
|
25
|
+
constructor(client) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* List private endpoint connections
|
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param resourceName The name of the resource.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
list(resourceGroupName, resourceName, options) {
|
|
35
|
+
const iter = this.listPagingAll(resourceGroupName, resourceName, options);
|
|
36
|
+
return {
|
|
37
|
+
next() {
|
|
38
|
+
return iter.next();
|
|
39
|
+
},
|
|
40
|
+
[Symbol.asyncIterator]() {
|
|
41
|
+
return this;
|
|
42
|
+
},
|
|
43
|
+
byPage: (settings) => {
|
|
44
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
45
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
|
+
}
|
|
47
|
+
return this.listPagingPage(resourceGroupName, resourceName, options, settings);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
listPagingPage(resourceGroupName, resourceName, options, settings) {
|
|
52
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = yield tslib_1.__await(this._list(resourceGroupName, resourceName, options));
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield yield tslib_1.__await(page);
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = yield tslib_1.__await(this._listNext(resourceGroupName, resourceName, continuationToken, options));
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
|
+
yield yield tslib_1.__await(page);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
listPagingAll(resourceGroupName, resourceName, options) {
|
|
72
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
73
|
+
var _a, e_1, _b, _c;
|
|
74
|
+
try {
|
|
75
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
+
_c = _f.value;
|
|
77
|
+
_d = false;
|
|
78
|
+
const page = _c;
|
|
79
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
+
finally {
|
|
84
|
+
try {
|
|
85
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
86
|
+
}
|
|
87
|
+
finally { if (e_1) throw e_1.error; }
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* List private endpoint connections
|
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
|
+
* @param resourceName The name of the resource.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
_list(resourceGroupName, resourceName, options) {
|
|
98
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Get the specified private endpoint connection
|
|
102
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
103
|
+
* Azure resource.
|
|
104
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
105
|
+
* @param resourceName The name of the resource.
|
|
106
|
+
* @param options The options parameters.
|
|
107
|
+
*/
|
|
108
|
+
get(privateEndpointConnectionName, resourceGroupName, resourceName, options) {
|
|
109
|
+
return this.client.sendOperationRequest({
|
|
110
|
+
privateEndpointConnectionName,
|
|
111
|
+
resourceGroupName,
|
|
112
|
+
resourceName,
|
|
113
|
+
options
|
|
114
|
+
}, getOperationSpec);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Update the state of specified private endpoint connection
|
|
118
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
119
|
+
* Azure resource.
|
|
120
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
|
+
* @param resourceName The name of the resource.
|
|
122
|
+
* @param parameters The resource of private endpoint and its properties
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
update(privateEndpointConnectionName, resourceGroupName, resourceName, parameters, options) {
|
|
126
|
+
return this.client.sendOperationRequest({
|
|
127
|
+
privateEndpointConnectionName,
|
|
128
|
+
resourceGroupName,
|
|
129
|
+
resourceName,
|
|
130
|
+
parameters,
|
|
131
|
+
options
|
|
132
|
+
}, updateOperationSpec);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Delete the specified private endpoint connection
|
|
136
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
137
|
+
* Azure resource.
|
|
138
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
139
|
+
* @param resourceName The name of the resource.
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
async beginDelete(privateEndpointConnectionName, resourceGroupName, resourceName, options) {
|
|
143
|
+
const directSendOperation = async (args, spec) => {
|
|
144
|
+
return this.client.sendOperationRequest(args, spec);
|
|
145
|
+
};
|
|
146
|
+
const sendOperationFn = async (args, spec) => {
|
|
147
|
+
var _a;
|
|
148
|
+
let currentRawResponse = undefined;
|
|
149
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
150
|
+
const callback = (rawResponse, flatResponse) => {
|
|
151
|
+
currentRawResponse = rawResponse;
|
|
152
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
153
|
+
};
|
|
154
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
155
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
156
|
+
return {
|
|
157
|
+
flatResponse,
|
|
158
|
+
rawResponse: {
|
|
159
|
+
statusCode: currentRawResponse.status,
|
|
160
|
+
body: currentRawResponse.parsedBody,
|
|
161
|
+
headers: currentRawResponse.headers.toJSON()
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
166
|
+
sendOperationFn,
|
|
167
|
+
args: {
|
|
168
|
+
privateEndpointConnectionName,
|
|
169
|
+
resourceGroupName,
|
|
170
|
+
resourceName,
|
|
171
|
+
options
|
|
172
|
+
},
|
|
173
|
+
spec: deleteOperationSpec
|
|
174
|
+
});
|
|
175
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
176
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
177
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
178
|
+
resourceLocationConfig: "location"
|
|
179
|
+
});
|
|
180
|
+
await poller.poll();
|
|
181
|
+
return poller;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Delete the specified private endpoint connection
|
|
185
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
186
|
+
* Azure resource.
|
|
187
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
188
|
+
* @param resourceName The name of the resource.
|
|
189
|
+
* @param options The options parameters.
|
|
190
|
+
*/
|
|
191
|
+
async beginDeleteAndWait(privateEndpointConnectionName, resourceGroupName, resourceName, options) {
|
|
192
|
+
const poller = await this.beginDelete(privateEndpointConnectionName, resourceGroupName, resourceName, options);
|
|
193
|
+
return poller.pollUntilDone();
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* ListNext
|
|
197
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
198
|
+
* @param resourceName The name of the resource.
|
|
199
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
200
|
+
* @param options The options parameters.
|
|
201
|
+
*/
|
|
202
|
+
_listNext(resourceGroupName, resourceName, nextLink, options) {
|
|
203
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
exports.SignalRPrivateEndpointConnectionsImpl = SignalRPrivateEndpointConnectionsImpl;
|
|
207
|
+
// Operation Specifications
|
|
208
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
209
|
+
const listOperationSpec = {
|
|
210
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections",
|
|
211
|
+
httpMethod: "GET",
|
|
212
|
+
responses: {
|
|
213
|
+
200: {
|
|
214
|
+
bodyMapper: Mappers.PrivateEndpointConnectionList
|
|
215
|
+
},
|
|
216
|
+
default: {
|
|
217
|
+
bodyMapper: Mappers.ErrorResponse
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
queryParameters: [Parameters.apiVersion],
|
|
221
|
+
urlParameters: [
|
|
222
|
+
Parameters.$host,
|
|
223
|
+
Parameters.subscriptionId,
|
|
224
|
+
Parameters.resourceGroupName,
|
|
225
|
+
Parameters.resourceName
|
|
226
|
+
],
|
|
227
|
+
headerParameters: [Parameters.accept],
|
|
228
|
+
serializer
|
|
229
|
+
};
|
|
230
|
+
const getOperationSpec = {
|
|
231
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
232
|
+
httpMethod: "GET",
|
|
233
|
+
responses: {
|
|
234
|
+
200: {
|
|
235
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
236
|
+
},
|
|
237
|
+
default: {
|
|
238
|
+
bodyMapper: Mappers.ErrorResponse
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
queryParameters: [Parameters.apiVersion],
|
|
242
|
+
urlParameters: [
|
|
243
|
+
Parameters.$host,
|
|
244
|
+
Parameters.subscriptionId,
|
|
245
|
+
Parameters.resourceGroupName,
|
|
246
|
+
Parameters.resourceName,
|
|
247
|
+
Parameters.privateEndpointConnectionName
|
|
248
|
+
],
|
|
249
|
+
headerParameters: [Parameters.accept],
|
|
250
|
+
serializer
|
|
251
|
+
};
|
|
252
|
+
const updateOperationSpec = {
|
|
253
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
254
|
+
httpMethod: "PUT",
|
|
255
|
+
responses: {
|
|
256
|
+
200: {
|
|
257
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
258
|
+
},
|
|
259
|
+
default: {
|
|
260
|
+
bodyMapper: Mappers.ErrorResponse
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
requestBody: Parameters.parameters5,
|
|
264
|
+
queryParameters: [Parameters.apiVersion],
|
|
265
|
+
urlParameters: [
|
|
266
|
+
Parameters.$host,
|
|
267
|
+
Parameters.subscriptionId,
|
|
268
|
+
Parameters.resourceGroupName,
|
|
269
|
+
Parameters.resourceName,
|
|
270
|
+
Parameters.privateEndpointConnectionName
|
|
271
|
+
],
|
|
272
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
273
|
+
mediaType: "json",
|
|
274
|
+
serializer
|
|
275
|
+
};
|
|
276
|
+
const deleteOperationSpec = {
|
|
277
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
278
|
+
httpMethod: "DELETE",
|
|
279
|
+
responses: {
|
|
280
|
+
200: {},
|
|
281
|
+
201: {},
|
|
282
|
+
202: {},
|
|
283
|
+
204: {},
|
|
284
|
+
default: {
|
|
285
|
+
bodyMapper: Mappers.ErrorResponse
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
queryParameters: [Parameters.apiVersion],
|
|
289
|
+
urlParameters: [
|
|
290
|
+
Parameters.$host,
|
|
291
|
+
Parameters.subscriptionId,
|
|
292
|
+
Parameters.resourceGroupName,
|
|
293
|
+
Parameters.resourceName,
|
|
294
|
+
Parameters.privateEndpointConnectionName
|
|
295
|
+
],
|
|
296
|
+
headerParameters: [Parameters.accept],
|
|
297
|
+
serializer
|
|
298
|
+
};
|
|
299
|
+
const listNextOperationSpec = {
|
|
300
|
+
path: "{nextLink}",
|
|
301
|
+
httpMethod: "GET",
|
|
302
|
+
responses: {
|
|
303
|
+
200: {
|
|
304
|
+
bodyMapper: Mappers.PrivateEndpointConnectionList
|
|
305
|
+
},
|
|
306
|
+
default: {
|
|
307
|
+
bodyMapper: Mappers.ErrorResponse
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
urlParameters: [
|
|
311
|
+
Parameters.$host,
|
|
312
|
+
Parameters.nextLink,
|
|
313
|
+
Parameters.subscriptionId,
|
|
314
|
+
Parameters.resourceGroupName,
|
|
315
|
+
Parameters.resourceName
|
|
316
|
+
],
|
|
317
|
+
headerParameters: [Parameters.accept],
|
|
318
|
+
serializer
|
|
319
|
+
};
|
|
320
|
+
//# sourceMappingURL=signalRPrivateEndpointConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signalRPrivateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/signalRPrivateEndpointConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,qEAAqE;AACrE,MAAa,qCAAqC;IAIhD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,YAAoB,EACpB,OAA6D,EAC7D,QAAuB;;YAEvB,IAAI,MAAqD,CAAC;YAC1D,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;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AAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SignalRPrivateEndpointConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SignalRManagementClient } from \"../signalRManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnection,\n SignalRPrivateEndpointConnectionsListNextOptionalParams,\n SignalRPrivateEndpointConnectionsListOptionalParams,\n SignalRPrivateEndpointConnectionsListResponse,\n SignalRPrivateEndpointConnectionsGetOptionalParams,\n SignalRPrivateEndpointConnectionsGetResponse,\n SignalRPrivateEndpointConnectionsUpdateOptionalParams,\n SignalRPrivateEndpointConnectionsUpdateResponse,\n SignalRPrivateEndpointConnectionsDeleteOptionalParams,\n SignalRPrivateEndpointConnectionsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SignalRPrivateEndpointConnections operations. */\nexport class SignalRPrivateEndpointConnectionsImpl\n implements SignalRPrivateEndpointConnections {\n private readonly client: SignalRManagementClient;\n\n /**\n * Initialize a new instance of the class SignalRPrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: SignalRManagementClient) {\n this.client = client;\n }\n\n /**\n * List private endpoint connections\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateEndpointConnectionsListOptionalParams\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: SignalRPrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateEndpointConnectionsListOptionalParams\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * List private endpoint connections\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateEndpointConnectionsListOptionalParams\n ): Promise<SignalRPrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec\n );\n }\n\n /**\n * Get the specified private endpoint connection\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n get(\n privateEndpointConnectionName: string,\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateEndpointConnectionsGetOptionalParams\n ): Promise<SignalRPrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n privateEndpointConnectionName,\n resourceGroupName,\n resourceName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Update the state of specified private endpoint connection\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param parameters The resource of private endpoint and its properties\n * @param options The options parameters.\n */\n update(\n privateEndpointConnectionName: string,\n resourceGroupName: string,\n resourceName: string,\n parameters: PrivateEndpointConnection,\n options?: SignalRPrivateEndpointConnectionsUpdateOptionalParams\n ): Promise<SignalRPrivateEndpointConnectionsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n privateEndpointConnectionName,\n resourceGroupName,\n resourceName,\n parameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Delete the specified private endpoint connection\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n async beginDelete(\n privateEndpointConnectionName: string,\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n privateEndpointConnectionName,\n resourceGroupName,\n resourceName,\n options\n },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete the specified private endpoint connection\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n privateEndpointConnectionName: string,\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n privateEndpointConnectionName,\n resourceGroupName,\n resourceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: SignalRPrivateEndpointConnectionsListNextOptionalParams\n ): Promise<SignalRPrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.privateEndpointConnectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SignalRPrivateLinkResources } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { SignalRManagementClient } from "../signalRManagementClient.js";
|
|
4
|
+
import { PrivateLinkResource, SignalRPrivateLinkResourcesListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing SignalRPrivateLinkResources operations. */
|
|
6
|
+
export declare class SignalRPrivateLinkResourcesImpl implements SignalRPrivateLinkResources {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class SignalRPrivateLinkResources class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SignalRManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Get the private link resources that need to be created for a resource.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param resourceName The name of the resource.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(resourceGroupName: string, resourceName: string, options?: SignalRPrivateLinkResourcesListOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
20
|
+
private listPagingPage;
|
|
21
|
+
private listPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Get the private link resources that need to be created for a resource.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param resourceName The name of the resource.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
private _list;
|
|
29
|
+
/**
|
|
30
|
+
* ListNext
|
|
31
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
+
* @param resourceName The name of the resource.
|
|
33
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
private _listNext;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=signalRPrivateLinkResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signalRPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/signalRPrivateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAI/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,mBAAmB,EAEnB,6CAA6C,EAG9C,MAAM,oBAAoB,CAAC;AAG5B,+DAA+D;AAC/D,qBAAa,+BACX,YAAW,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,mBAAmB,CAAC;YAuBnC,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SignalRPrivateLinkResourcesImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing SignalRPrivateLinkResources operations. */
|
|
18
|
+
class SignalRPrivateLinkResourcesImpl {
|
|
19
|
+
/**
|
|
20
|
+
* Initialize a new instance of the class SignalRPrivateLinkResources class.
|
|
21
|
+
* @param client Reference to the service client
|
|
22
|
+
*/
|
|
23
|
+
constructor(client) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Get the private link resources that need to be created for a resource.
|
|
28
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
29
|
+
* @param resourceName The name of the resource.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
list(resourceGroupName, resourceName, options) {
|
|
33
|
+
const iter = this.listPagingAll(resourceGroupName, resourceName, options);
|
|
34
|
+
return {
|
|
35
|
+
next() {
|
|
36
|
+
return iter.next();
|
|
37
|
+
},
|
|
38
|
+
[Symbol.asyncIterator]() {
|
|
39
|
+
return this;
|
|
40
|
+
},
|
|
41
|
+
byPage: (settings) => {
|
|
42
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
43
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
|
+
}
|
|
45
|
+
return this.listPagingPage(resourceGroupName, resourceName, options, settings);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
listPagingPage(resourceGroupName, resourceName, options, settings) {
|
|
50
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = yield tslib_1.__await(this._list(resourceGroupName, resourceName, options));
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield yield tslib_1.__await(page);
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = yield tslib_1.__await(this._listNext(resourceGroupName, resourceName, continuationToken, options));
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield yield tslib_1.__await(page);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
listPagingAll(resourceGroupName, resourceName, options) {
|
|
70
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
71
|
+
var _a, e_1, _b, _c;
|
|
72
|
+
try {
|
|
73
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
+
_c = _f.value;
|
|
75
|
+
_d = false;
|
|
76
|
+
const page = _c;
|
|
77
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
+
finally {
|
|
82
|
+
try {
|
|
83
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
+
}
|
|
85
|
+
finally { if (e_1) throw e_1.error; }
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Get the private link resources that need to be created for a resource.
|
|
91
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
92
|
+
* @param resourceName The name of the resource.
|
|
93
|
+
* @param options The options parameters.
|
|
94
|
+
*/
|
|
95
|
+
_list(resourceGroupName, resourceName, options) {
|
|
96
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* ListNext
|
|
100
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
101
|
+
* @param resourceName The name of the resource.
|
|
102
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
_listNext(resourceGroupName, resourceName, nextLink, options) {
|
|
106
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listNextOperationSpec);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.SignalRPrivateLinkResourcesImpl = SignalRPrivateLinkResourcesImpl;
|
|
110
|
+
// Operation Specifications
|
|
111
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
112
|
+
const listOperationSpec = {
|
|
113
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateLinkResources",
|
|
114
|
+
httpMethod: "GET",
|
|
115
|
+
responses: {
|
|
116
|
+
200: {
|
|
117
|
+
bodyMapper: Mappers.PrivateLinkResourceList
|
|
118
|
+
},
|
|
119
|
+
default: {
|
|
120
|
+
bodyMapper: Mappers.ErrorResponse
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
queryParameters: [Parameters.apiVersion],
|
|
124
|
+
urlParameters: [
|
|
125
|
+
Parameters.$host,
|
|
126
|
+
Parameters.subscriptionId,
|
|
127
|
+
Parameters.resourceGroupName,
|
|
128
|
+
Parameters.resourceName
|
|
129
|
+
],
|
|
130
|
+
headerParameters: [Parameters.accept],
|
|
131
|
+
serializer
|
|
132
|
+
};
|
|
133
|
+
const listNextOperationSpec = {
|
|
134
|
+
path: "{nextLink}",
|
|
135
|
+
httpMethod: "GET",
|
|
136
|
+
responses: {
|
|
137
|
+
200: {
|
|
138
|
+
bodyMapper: Mappers.PrivateLinkResourceList
|
|
139
|
+
},
|
|
140
|
+
default: {
|
|
141
|
+
bodyMapper: Mappers.ErrorResponse
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
urlParameters: [
|
|
145
|
+
Parameters.$host,
|
|
146
|
+
Parameters.nextLink,
|
|
147
|
+
Parameters.subscriptionId,
|
|
148
|
+
Parameters.resourceGroupName,
|
|
149
|
+
Parameters.resourceName
|
|
150
|
+
],
|
|
151
|
+
headerParameters: [Parameters.accept],
|
|
152
|
+
serializer
|
|
153
|
+
};
|
|
154
|
+
//# sourceMappingURL=signalRPrivateLinkResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signalRPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/signalRPrivateLinkResources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAa,+BAA+B;IAI1C;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAuD;QAEvD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,YAAoB,EACpB,OAAuD,EACvD,QAAuB;;YAEvB,IAAI,MAA+C,CAAC;YACpD,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,C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* Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SignalRPrivateLinkResources } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SignalRManagementClient } from \"../signalRManagementClient.js\";\nimport {\n PrivateLinkResource,\n SignalRPrivateLinkResourcesListNextOptionalParams,\n SignalRPrivateLinkResourcesListOptionalParams,\n SignalRPrivateLinkResourcesListResponse,\n SignalRPrivateLinkResourcesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SignalRPrivateLinkResources operations. */\nexport class SignalRPrivateLinkResourcesImpl\n implements SignalRPrivateLinkResources {\n private readonly client: SignalRManagementClient;\n\n /**\n * Initialize a new instance of the class SignalRPrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: SignalRManagementClient) {\n this.client = client;\n }\n\n /**\n * Get the private link resources that need to be created for a resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateLinkResourcesListOptionalParams\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateLinkResourcesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: SignalRPrivateLinkResourcesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateLinkResourcesListOptionalParams\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the private link resources that need to be created for a resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: SignalRPrivateLinkResourcesListOptionalParams\n ): Promise<SignalRPrivateLinkResourcesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the resource.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: SignalRPrivateLinkResourcesListNextOptionalParams\n ): Promise<SignalRPrivateLinkResourcesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|