@azure/arm-customerinsights 3.1.0 → 4.0.0
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/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +75 -73
- package/dist/index.js +8925 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/customerInsightsManagementClient.d.ts +35 -0
- package/dist-esm/src/customerInsightsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/customerInsightsManagementClient.js +68 -0
- package/dist-esm/src/customerInsightsManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2222 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +72 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +88 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +2237 -2527
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +53 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +243 -163
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/authorizationPolicies.d.ts +71 -0
- package/dist-esm/src/operations/authorizationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/authorizationPolicies.js +259 -0
- package/dist-esm/src/operations/authorizationPolicies.js.map +1 -0
- package/dist-esm/src/operations/connectorMappings.d.ts +69 -0
- package/dist-esm/src/operations/connectorMappings.d.ts.map +1 -0
- package/dist-esm/src/operations/connectorMappings.js +237 -0
- package/dist-esm/src/operations/connectorMappings.js.map +1 -0
- package/dist-esm/src/operations/connectors.d.ts +81 -0
- package/dist-esm/src/operations/connectors.d.ts.map +1 -0
- package/dist-esm/src/operations/connectors.js +310 -0
- package/dist-esm/src/operations/connectors.js.map +1 -0
- package/dist-esm/src/operations/hubs.d.ts +91 -0
- package/dist-esm/src/operations/hubs.d.ts.map +1 -0
- package/dist-esm/src/operations/hubs.js +373 -0
- package/dist-esm/src/operations/hubs.js.map +1 -0
- package/dist-esm/src/operations/images.d.ts +29 -0
- package/dist-esm/src/operations/images.d.ts.map +1 -0
- package/dist-esm/src/operations/images.js +83 -0
- package/dist-esm/src/operations/images.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/interactions.d.ts +73 -0
- package/dist-esm/src/operations/interactions.d.ts.map +1 -0
- package/dist-esm/src/operations/interactions.js +274 -0
- package/dist-esm/src/operations/interactions.js.map +1 -0
- package/dist-esm/src/operations/kpi.d.ts +89 -0
- package/dist-esm/src/operations/kpi.d.ts.map +1 -0
- package/dist-esm/src/operations/kpi.js +334 -0
- package/dist-esm/src/operations/kpi.js.map +1 -0
- package/dist-esm/src/operations/links.d.ts +73 -0
- package/dist-esm/src/operations/links.d.ts.map +1 -0
- package/dist-esm/src/operations/links.js +269 -0
- package/dist-esm/src/operations/links.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +114 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/predictions.d.ts +106 -0
- package/dist-esm/src/operations/predictions.d.ts.map +1 -0
- package/dist-esm/src/operations/predictions.js +396 -0
- package/dist-esm/src/operations/predictions.js.map +1 -0
- package/dist-esm/src/operations/profiles.d.ts +91 -0
- package/dist-esm/src/operations/profiles.d.ts.map +1 -0
- package/dist-esm/src/operations/profiles.js +346 -0
- package/dist-esm/src/operations/profiles.js.map +1 -0
- package/dist-esm/src/operations/relationshipLinks.d.ts +81 -0
- package/dist-esm/src/operations/relationshipLinks.d.ts.map +1 -0
- package/dist-esm/src/operations/relationshipLinks.js +310 -0
- package/dist-esm/src/operations/relationshipLinks.js.map +1 -0
- package/dist-esm/src/operations/relationships.d.ts +81 -0
- package/dist-esm/src/operations/relationships.d.ts.map +1 -0
- package/dist-esm/src/operations/relationships.js +310 -0
- package/dist-esm/src/operations/relationships.js.map +1 -0
- package/dist-esm/src/operations/roleAssignments.d.ts +73 -0
- package/dist-esm/src/operations/roleAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/roleAssignments.js +269 -0
- package/dist-esm/src/operations/roleAssignments.js.map +1 -0
- package/dist-esm/src/operations/roles.d.ts +38 -0
- package/dist-esm/src/operations/roles.d.ts.map +1 -0
- package/dist-esm/src/operations/roles.js +131 -0
- package/dist-esm/src/operations/roles.js.map +1 -0
- package/dist-esm/src/operations/views.d.ts +68 -0
- package/dist-esm/src/operations/views.d.ts.map +1 -0
- package/dist-esm/src/operations/views.js +221 -0
- package/dist-esm/src/operations/views.js.map +1 -0
- package/dist-esm/src/operations/widgetTypes.d.ts +46 -0
- package/dist-esm/src/operations/widgetTypes.d.ts.map +1 -0
- package/dist-esm/src/operations/widgetTypes.js +160 -0
- package/dist-esm/src/operations/widgetTypes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/authorizationPolicies.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/authorizationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/authorizationPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/authorizationPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectorMappings.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/connectorMappings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectorMappings.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectorMappings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectors.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/connectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hubs.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/hubs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hubs.js +9 -0
- package/dist-esm/src/operationsInterfaces/hubs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.js +9 -0
- package/dist-esm/src/operationsInterfaces/images.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +25 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/interactions.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/interactions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/interactions.js +9 -0
- package/dist-esm/src/operationsInterfaces/interactions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/kpi.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/kpi.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/kpi.js +9 -0
- package/dist-esm/src/operationsInterfaces/kpi.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/links.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/links.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/links.js +9 -0
- package/dist-esm/src/operationsInterfaces/links.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/predictions.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/predictions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/predictions.js +9 -0
- package/dist-esm/src/operationsInterfaces/predictions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/profiles.d.ts +66 -0
- package/dist-esm/src/operationsInterfaces/profiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/profiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/profiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/relationshipLinks.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/relationshipLinks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/relationshipLinks.js +9 -0
- package/dist-esm/src/operationsInterfaces/relationshipLinks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/relationships.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/relationships.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/relationships.js +9 -0
- package/dist-esm/src/operationsInterfaces/relationships.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/roleAssignments.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/roleAssignments.js +9 -0
- package/dist-esm/src/operationsInterfaces/roleAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/roles.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/roles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/roles.js +9 -0
- package/dist-esm/src/operationsInterfaces/roles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/views.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/views.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/views.js +9 -0
- package/dist-esm/src/operationsInterfaces/views.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/widgetTypes.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/widgetTypes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/widgetTypes.js +9 -0
- package/dist-esm/src/operationsInterfaces/widgetTypes.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +70 -34
- package/review/arm-customerinsights.api.md +1833 -0
- package/rollup.config.js +184 -27
- package/src/customerInsightsManagementClient.ts +144 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2454 -0
- package/{lib → src}/models/mappers.ts +2289 -2562
- package/src/models/parameters.ts +569 -0
- package/src/operations/authorizationPolicies.ts +348 -0
- package/src/operations/connectorMappings.ts +338 -0
- package/src/operations/connectors.ts +443 -0
- package/src/operations/hubs.ts +477 -0
- package/src/operations/images.ts +116 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/interactions.ts +383 -0
- package/src/operations/kpi.ts +478 -0
- package/src/operations/links.ts +377 -0
- package/src/operations/operations.ts +131 -0
- package/src/operations/predictions.ts +566 -0
- package/src/operations/profiles.ts +491 -0
- package/src/operations/relationshipLinks.ts +443 -0
- package/src/operations/relationships.ts +443 -0
- package/src/operations/roleAssignments.ts +377 -0
- package/src/operations/roles.ts +171 -0
- package/src/operations/views.ts +321 -0
- package/src/operations/widgetTypes.ts +212 -0
- package/src/operationsInterfaces/authorizationPolicies.ts +91 -0
- package/src/operationsInterfaces/connectorMappings.ts +83 -0
- package/src/operationsInterfaces/connectors.ts +109 -0
- package/src/operationsInterfaces/hubs.ts +100 -0
- package/src/operationsInterfaces/images.ts +45 -0
- package/src/operationsInterfaces/index.ts +25 -0
- package/src/operationsInterfaces/interactions.ts +97 -0
- package/src/operationsInterfaces/kpi.ts +123 -0
- package/src/operationsInterfaces/links.ts +96 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/predictions.ts +156 -0
- package/src/operationsInterfaces/profiles.ts +126 -0
- package/src/operationsInterfaces/relationshipLinks.ts +109 -0
- package/src/operationsInterfaces/relationships.ts +109 -0
- package/src/operationsInterfaces/roleAssignments.ts +96 -0
- package/src/operationsInterfaces/roles.ts +26 -0
- package/src/operationsInterfaces/views.ts +81 -0
- package/src/operationsInterfaces/widgetTypes.ts +44 -0
- package/tsconfig.json +4 -4
- package/types/arm-customerinsights.d.ts +3254 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-customerinsights.js +0 -9229
- package/dist/arm-customerinsights.js.map +0 -1
- package/dist/arm-customerinsights.min.js +0 -1
- package/dist/arm-customerinsights.min.js.map +0 -1
- package/esm/customerInsightsManagementClient.d.ts +0 -35
- package/esm/customerInsightsManagementClient.d.ts.map +0 -1
- package/esm/customerInsightsManagementClient.js +0 -50
- package/esm/customerInsightsManagementClient.js.map +0 -1
- package/esm/customerInsightsManagementClientContext.d.ts +0 -17
- package/esm/customerInsightsManagementClientContext.d.ts.map +0 -1
- package/esm/customerInsightsManagementClientContext.js +0 -57
- package/esm/customerInsightsManagementClientContext.js.map +0 -1
- package/esm/models/authorizationPoliciesMappers.d.ts +0 -2
- package/esm/models/authorizationPoliciesMappers.d.ts.map +0 -1
- package/esm/models/authorizationPoliciesMappers.js +0 -11
- package/esm/models/authorizationPoliciesMappers.js.map +0 -1
- package/esm/models/connectorMappingsMappers.d.ts +0 -2
- package/esm/models/connectorMappingsMappers.d.ts.map +0 -1
- package/esm/models/connectorMappingsMappers.js +0 -11
- package/esm/models/connectorMappingsMappers.js.map +0 -1
- package/esm/models/connectorsMappers.d.ts +0 -2
- package/esm/models/connectorsMappers.d.ts.map +0 -1
- package/esm/models/connectorsMappers.js +0 -11
- package/esm/models/connectorsMappers.js.map +0 -1
- package/esm/models/hubsMappers.d.ts +0 -2
- package/esm/models/hubsMappers.d.ts.map +0 -1
- package/esm/models/hubsMappers.js +0 -11
- package/esm/models/hubsMappers.js.map +0 -1
- package/esm/models/imagesMappers.d.ts +0 -2
- package/esm/models/imagesMappers.d.ts.map +0 -1
- package/esm/models/imagesMappers.js +0 -11
- package/esm/models/imagesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4582
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/interactionsMappers.d.ts +0 -2
- package/esm/models/interactionsMappers.d.ts.map +0 -1
- package/esm/models/interactionsMappers.js +0 -11
- package/esm/models/interactionsMappers.js.map +0 -1
- package/esm/models/kpiMappers.d.ts +0 -2
- package/esm/models/kpiMappers.d.ts.map +0 -1
- package/esm/models/kpiMappers.js +0 -11
- package/esm/models/kpiMappers.js.map +0 -1
- package/esm/models/linksMappers.d.ts +0 -2
- package/esm/models/linksMappers.d.ts.map +0 -1
- package/esm/models/linksMappers.js +0 -11
- package/esm/models/linksMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -88
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -36
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/predictionsMappers.d.ts +0 -2
- package/esm/models/predictionsMappers.d.ts.map +0 -1
- package/esm/models/predictionsMappers.js +0 -11
- package/esm/models/predictionsMappers.js.map +0 -1
- package/esm/models/profilesMappers.d.ts +0 -2
- package/esm/models/profilesMappers.d.ts.map +0 -1
- package/esm/models/profilesMappers.js +0 -11
- package/esm/models/profilesMappers.js.map +0 -1
- package/esm/models/relationshipLinksMappers.d.ts +0 -2
- package/esm/models/relationshipLinksMappers.d.ts.map +0 -1
- package/esm/models/relationshipLinksMappers.js +0 -11
- package/esm/models/relationshipLinksMappers.js.map +0 -1
- package/esm/models/relationshipsMappers.d.ts +0 -2
- package/esm/models/relationshipsMappers.d.ts.map +0 -1
- package/esm/models/relationshipsMappers.js +0 -11
- package/esm/models/relationshipsMappers.js.map +0 -1
- package/esm/models/roleAssignmentsMappers.d.ts +0 -2
- package/esm/models/roleAssignmentsMappers.d.ts.map +0 -1
- package/esm/models/roleAssignmentsMappers.js +0 -11
- package/esm/models/roleAssignmentsMappers.js.map +0 -1
- package/esm/models/rolesMappers.d.ts +0 -2
- package/esm/models/rolesMappers.d.ts.map +0 -1
- package/esm/models/rolesMappers.js +0 -11
- package/esm/models/rolesMappers.js.map +0 -1
- package/esm/models/viewsMappers.d.ts +0 -2
- package/esm/models/viewsMappers.d.ts.map +0 -1
- package/esm/models/viewsMappers.js +0 -11
- package/esm/models/viewsMappers.js.map +0 -1
- package/esm/models/widgetTypesMappers.d.ts +0 -2
- package/esm/models/widgetTypesMappers.d.ts.map +0 -1
- package/esm/models/widgetTypesMappers.js +0 -11
- package/esm/models/widgetTypesMappers.js.map +0 -1
- package/esm/operations/authorizationPolicies.d.ts +0 -151
- package/esm/operations/authorizationPolicies.d.ts.map +0 -1
- package/esm/operations/authorizationPolicies.js +0 -225
- package/esm/operations/authorizationPolicies.js.map +0 -1
- package/esm/operations/connectorMappings.d.ts +0 -139
- package/esm/operations/connectorMappings.d.ts.map +0 -1
- package/esm/operations/connectorMappings.js +0 -199
- package/esm/operations/connectorMappings.js.map +0 -1
- package/esm/operations/connectors.d.ts +0 -115
- package/esm/operations/connectors.d.ts.map +0 -1
- package/esm/operations/connectors.js +0 -232
- package/esm/operations/connectors.js.map +0 -1
- package/esm/operations/hubs.d.ts +0 -168
- package/esm/operations/hubs.d.ts.map +0 -1
- package/esm/operations/hubs.js +0 -291
- package/esm/operations/hubs.js.map +0 -1
- package/esm/operations/images.d.ts +0 -61
- package/esm/operations/images.d.ts.map +0 -1
- package/esm/operations/images.js +0 -100
- package/esm/operations/images.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/interactions.d.ts +0 -121
- package/esm/operations/interactions.d.ts.map +0 -1
- package/esm/operations/interactions.js +0 -214
- package/esm/operations/interactions.js.map +0 -1
- package/esm/operations/kpi.d.ts +0 -139
- package/esm/operations/kpi.d.ts.map +0 -1
- package/esm/operations/kpi.js +0 -262
- package/esm/operations/kpi.js.map +0 -1
- package/esm/operations/links.d.ts +0 -121
- package/esm/operations/links.d.ts.map +0 -1
- package/esm/operations/links.js +0 -211
- package/esm/operations/links.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/predictions.d.ts +0 -190
- package/esm/operations/predictions.d.ts.map +0 -1
- package/esm/operations/predictions.js +0 -333
- package/esm/operations/predictions.js.map +0 -1
- package/esm/operations/profiles.d.ts +0 -141
- package/esm/operations/profiles.d.ts.map +0 -1
- package/esm/operations/profiles.js +0 -279
- package/esm/operations/profiles.js.map +0 -1
- package/esm/operations/relationshipLinks.d.ts +0 -115
- package/esm/operations/relationshipLinks.d.ts.map +0 -1
- package/esm/operations/relationshipLinks.js +0 -231
- package/esm/operations/relationshipLinks.js.map +0 -1
- package/esm/operations/relationships.d.ts +0 -115
- package/esm/operations/relationships.d.ts.map +0 -1
- package/esm/operations/relationships.js +0 -231
- package/esm/operations/relationships.js.map +0 -1
- package/esm/operations/roleAssignments.d.ts +0 -121
- package/esm/operations/roleAssignments.d.ts.map +0 -1
- package/esm/operations/roleAssignments.js +0 -212
- package/esm/operations/roleAssignments.js.map +0 -1
- package/esm/operations/roles.d.ts +0 -52
- package/esm/operations/roles.d.ts.map +0 -1
- package/esm/operations/roles.js +0 -84
- package/esm/operations/roles.js.map +0 -1
- package/esm/operations/views.d.ts +0 -136
- package/esm/operations/views.d.ts.map +0 -1
- package/esm/operations/views.js +0 -193
- package/esm/operations/views.js.map +0 -1
- package/esm/operations/widgetTypes.d.ts +0 -76
- package/esm/operations/widgetTypes.d.ts.map +0 -1
- package/esm/operations/widgetTypes.js +0 -117
- package/esm/operations/widgetTypes.js.map +0 -1
- package/lib/customerInsightsManagementClient.ts +0 -75
- package/lib/customerInsightsManagementClientContext.ts +0 -63
- package/lib/models/authorizationPoliciesMappers.ts +0 -62
- package/lib/models/connectorMappingsMappers.ts +0 -61
- package/lib/models/connectorsMappers.ts +0 -61
- package/lib/models/hubsMappers.ts +0 -61
- package/lib/models/imagesMappers.ts +0 -16
- package/lib/models/index.ts +0 -4702
- package/lib/models/interactionsMappers.ts +0 -63
- package/lib/models/kpiMappers.ts +0 -61
- package/lib/models/linksMappers.ts +0 -61
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -419
- package/lib/models/predictionsMappers.ts +0 -67
- package/lib/models/profilesMappers.ts +0 -63
- package/lib/models/relationshipLinksMappers.ts +0 -61
- package/lib/models/relationshipsMappers.ts +0 -61
- package/lib/models/roleAssignmentsMappers.ts +0 -61
- package/lib/models/rolesMappers.ts +0 -61
- package/lib/models/viewsMappers.ts +0 -61
- package/lib/models/widgetTypesMappers.ts +0 -61
- package/lib/operations/authorizationPolicies.ts +0 -398
- package/lib/operations/connectorMappings.ts +0 -355
- package/lib/operations/connectors.ts +0 -328
- package/lib/operations/hubs.ts +0 -479
- package/lib/operations/images.ts +0 -166
- package/lib/operations/interactions.ts +0 -333
- package/lib/operations/kpi.ts +0 -387
- package/lib/operations/links.ts +0 -330
- package/lib/operations/operations.ts +0 -123
- package/lib/operations/predictions.ts +0 -522
- package/lib/operations/profiles.ts +0 -406
- package/lib/operations/relationshipLinks.ts +0 -327
- package/lib/operations/relationships.ts +0 -327
- package/lib/operations/roleAssignments.ts +0 -331
- package/lib/operations/roles.ts +0 -136
- package/lib/operations/views.ts +0 -346
- package/lib/operations/widgetTypes.ts +0 -198
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { AuthorizationPolicies } from "../operationsInterfaces";
|
|
3
|
+
import { CustomerInsightsManagementClient } from "../customerInsightsManagementClient";
|
|
4
|
+
import { AuthorizationPolicyResourceFormat, AuthorizationPoliciesListByHubOptionalParams, AuthorizationPoliciesCreateOrUpdateOptionalParams, AuthorizationPoliciesCreateOrUpdateResponse, AuthorizationPoliciesGetOptionalParams, AuthorizationPoliciesGetResponse, AuthorizationPoliciesRegeneratePrimaryKeyOptionalParams, AuthorizationPoliciesRegeneratePrimaryKeyResponse, AuthorizationPoliciesRegenerateSecondaryKeyOptionalParams, AuthorizationPoliciesRegenerateSecondaryKeyResponse } from "../models";
|
|
5
|
+
/** Class containing AuthorizationPolicies operations. */
|
|
6
|
+
export declare class AuthorizationPoliciesImpl implements AuthorizationPolicies {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class AuthorizationPolicies class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: CustomerInsightsManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Gets all the authorization policies in a specified hub.
|
|
15
|
+
* @param resourceGroupName The name of the resource group.
|
|
16
|
+
* @param hubName The name of the hub.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listByHub(resourceGroupName: string, hubName: string, options?: AuthorizationPoliciesListByHubOptionalParams): PagedAsyncIterableIterator<AuthorizationPolicyResourceFormat>;
|
|
20
|
+
private listByHubPagingPage;
|
|
21
|
+
private listByHubPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Creates an authorization policy or updates an existing authorization policy.
|
|
24
|
+
* @param resourceGroupName The name of the resource group.
|
|
25
|
+
* @param hubName The name of the hub.
|
|
26
|
+
* @param authorizationPolicyName The name of the policy.
|
|
27
|
+
* @param parameters Parameters supplied to the CreateOrUpdate authorization policy operation.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
createOrUpdate(resourceGroupName: string, hubName: string, authorizationPolicyName: string, parameters: AuthorizationPolicyResourceFormat, options?: AuthorizationPoliciesCreateOrUpdateOptionalParams): Promise<AuthorizationPoliciesCreateOrUpdateResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Gets an authorization policy in the hub.
|
|
33
|
+
* @param resourceGroupName The name of the resource group.
|
|
34
|
+
* @param hubName The name of the hub.
|
|
35
|
+
* @param authorizationPolicyName The name of the policy.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: AuthorizationPoliciesGetOptionalParams): Promise<AuthorizationPoliciesGetResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Gets all the authorization policies in a specified hub.
|
|
41
|
+
* @param resourceGroupName The name of the resource group.
|
|
42
|
+
* @param hubName The name of the hub.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
private _listByHub;
|
|
46
|
+
/**
|
|
47
|
+
* Regenerates the primary policy key of the specified authorization policy.
|
|
48
|
+
* @param resourceGroupName The name of the resource group.
|
|
49
|
+
* @param hubName The name of the hub.
|
|
50
|
+
* @param authorizationPolicyName The name of the policy.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
regeneratePrimaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: AuthorizationPoliciesRegeneratePrimaryKeyOptionalParams): Promise<AuthorizationPoliciesRegeneratePrimaryKeyResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Regenerates the secondary policy key of the specified authorization policy.
|
|
56
|
+
* @param resourceGroupName The name of the resource group.
|
|
57
|
+
* @param hubName The name of the hub.
|
|
58
|
+
* @param authorizationPolicyName The name of the policy.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
regenerateSecondaryKey(resourceGroupName: string, hubName: string, authorizationPolicyName: string, options?: AuthorizationPoliciesRegenerateSecondaryKeyOptionalParams): Promise<AuthorizationPoliciesRegenerateSecondaryKeyResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* ListByHubNext
|
|
64
|
+
* @param resourceGroupName The name of the resource group.
|
|
65
|
+
* @param hubName The name of the hub.
|
|
66
|
+
* @param nextLink The nextLink from the previous successful call to the ListByHub method.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
private _listByHubNext;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=authorizationPolicies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizationPolicies.d.ts","sourceRoot":"","sources":["../../../src/operations/authorizationPolicies.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EACL,iCAAiC,EAEjC,4CAA4C,EAC5C,iDAAiD,EACjD,2CAA2C,EAC3C,sCAAsC,EACtC,gCAAgC,EAEhC,uDAAuD,EACvD,iDAAiD,EACjD,yDAAyD,EACzD,mDAAmD,EAEpD,MAAM,WAAW,CAAC;AAGnB,yDAAyD;AACzD,qBAAa,yBAA0B,YAAW,qBAAqB;IACrE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;;OAKG;IACI,SAAS,CACd,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,iCAAiC,CAAC;YAejD,mBAAmB;YAoBnB,kBAAkB;IAcjC;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,uBAAuB,EAAE,MAAM,EAC/B,UAAU,EAAE,iCAAiC,EAC7C,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAavD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;;OAKG;IACH,OAAO,CAAC,UAAU;IAWlB;;;;;;OAMG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC;IAO7D;;;;;;OAMG;IACH,sBAAsB,CACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,yDAAyD,GAClE,OAAO,CAAC,mDAAmD,CAAC;IAO/D;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;CAWvB"}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing AuthorizationPolicies operations. */
|
|
14
|
+
export class AuthorizationPoliciesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class AuthorizationPolicies class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Gets all the authorization policies in a specified hub.
|
|
24
|
+
* @param resourceGroupName The name of the resource group.
|
|
25
|
+
* @param hubName The name of the hub.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listByHub(resourceGroupName, hubName, options) {
|
|
29
|
+
const iter = this.listByHubPagingAll(resourceGroupName, hubName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listByHubPagingPage(resourceGroupName, hubName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listByHubPagingPage(resourceGroupName, hubName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listByHubPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._listByHub(resourceGroupName, hubName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listByHubNext(resourceGroupName, hubName, continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listByHubPagingAll(resourceGroupName, hubName, options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listByHubPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listByHubPagingPage(resourceGroupName, hubName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Creates an authorization policy or updates an existing authorization policy.
|
|
74
|
+
* @param resourceGroupName The name of the resource group.
|
|
75
|
+
* @param hubName The name of the hub.
|
|
76
|
+
* @param authorizationPolicyName The name of the policy.
|
|
77
|
+
* @param parameters Parameters supplied to the CreateOrUpdate authorization policy operation.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
createOrUpdate(resourceGroupName, hubName, authorizationPolicyName, parameters, options) {
|
|
81
|
+
return this.client.sendOperationRequest({
|
|
82
|
+
resourceGroupName,
|
|
83
|
+
hubName,
|
|
84
|
+
authorizationPolicyName,
|
|
85
|
+
parameters,
|
|
86
|
+
options
|
|
87
|
+
}, createOrUpdateOperationSpec);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Gets an authorization policy in the hub.
|
|
91
|
+
* @param resourceGroupName The name of the resource group.
|
|
92
|
+
* @param hubName The name of the hub.
|
|
93
|
+
* @param authorizationPolicyName The name of the policy.
|
|
94
|
+
* @param options The options parameters.
|
|
95
|
+
*/
|
|
96
|
+
get(resourceGroupName, hubName, authorizationPolicyName, options) {
|
|
97
|
+
return this.client.sendOperationRequest({ resourceGroupName, hubName, authorizationPolicyName, options }, getOperationSpec);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Gets all the authorization policies in a specified hub.
|
|
101
|
+
* @param resourceGroupName The name of the resource group.
|
|
102
|
+
* @param hubName The name of the hub.
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
_listByHub(resourceGroupName, hubName, options) {
|
|
106
|
+
return this.client.sendOperationRequest({ resourceGroupName, hubName, options }, listByHubOperationSpec);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Regenerates the primary policy key of the specified authorization policy.
|
|
110
|
+
* @param resourceGroupName The name of the resource group.
|
|
111
|
+
* @param hubName The name of the hub.
|
|
112
|
+
* @param authorizationPolicyName The name of the policy.
|
|
113
|
+
* @param options The options parameters.
|
|
114
|
+
*/
|
|
115
|
+
regeneratePrimaryKey(resourceGroupName, hubName, authorizationPolicyName, options) {
|
|
116
|
+
return this.client.sendOperationRequest({ resourceGroupName, hubName, authorizationPolicyName, options }, regeneratePrimaryKeyOperationSpec);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Regenerates the secondary policy key of the specified authorization policy.
|
|
120
|
+
* @param resourceGroupName The name of the resource group.
|
|
121
|
+
* @param hubName The name of the hub.
|
|
122
|
+
* @param authorizationPolicyName The name of the policy.
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
regenerateSecondaryKey(resourceGroupName, hubName, authorizationPolicyName, options) {
|
|
126
|
+
return this.client.sendOperationRequest({ resourceGroupName, hubName, authorizationPolicyName, options }, regenerateSecondaryKeyOperationSpec);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* ListByHubNext
|
|
130
|
+
* @param resourceGroupName The name of the resource group.
|
|
131
|
+
* @param hubName The name of the hub.
|
|
132
|
+
* @param nextLink The nextLink from the previous successful call to the ListByHub method.
|
|
133
|
+
* @param options The options parameters.
|
|
134
|
+
*/
|
|
135
|
+
_listByHubNext(resourceGroupName, hubName, nextLink, options) {
|
|
136
|
+
return this.client.sendOperationRequest({ resourceGroupName, hubName, nextLink, options }, listByHubNextOperationSpec);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
// Operation Specifications
|
|
140
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
141
|
+
const createOrUpdateOperationSpec = {
|
|
142
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}",
|
|
143
|
+
httpMethod: "PUT",
|
|
144
|
+
responses: {
|
|
145
|
+
200: {
|
|
146
|
+
bodyMapper: Mappers.AuthorizationPolicyResourceFormat
|
|
147
|
+
},
|
|
148
|
+
201: {
|
|
149
|
+
bodyMapper: Mappers.AuthorizationPolicyResourceFormat
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
requestBody: Parameters.parameters5,
|
|
153
|
+
queryParameters: [Parameters.apiVersion],
|
|
154
|
+
urlParameters: [
|
|
155
|
+
Parameters.$host,
|
|
156
|
+
Parameters.resourceGroupName,
|
|
157
|
+
Parameters.subscriptionId,
|
|
158
|
+
Parameters.hubName1,
|
|
159
|
+
Parameters.authorizationPolicyName
|
|
160
|
+
],
|
|
161
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
162
|
+
mediaType: "json",
|
|
163
|
+
serializer
|
|
164
|
+
};
|
|
165
|
+
const getOperationSpec = {
|
|
166
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}",
|
|
167
|
+
httpMethod: "GET",
|
|
168
|
+
responses: {
|
|
169
|
+
200: {
|
|
170
|
+
bodyMapper: Mappers.AuthorizationPolicyResourceFormat
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
queryParameters: [Parameters.apiVersion],
|
|
174
|
+
urlParameters: [
|
|
175
|
+
Parameters.$host,
|
|
176
|
+
Parameters.resourceGroupName,
|
|
177
|
+
Parameters.subscriptionId,
|
|
178
|
+
Parameters.hubName1,
|
|
179
|
+
Parameters.authorizationPolicyName1
|
|
180
|
+
],
|
|
181
|
+
headerParameters: [Parameters.accept],
|
|
182
|
+
serializer
|
|
183
|
+
};
|
|
184
|
+
const listByHubOperationSpec = {
|
|
185
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies",
|
|
186
|
+
httpMethod: "GET",
|
|
187
|
+
responses: {
|
|
188
|
+
200: {
|
|
189
|
+
bodyMapper: Mappers.AuthorizationPolicyListResult
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
queryParameters: [Parameters.apiVersion],
|
|
193
|
+
urlParameters: [
|
|
194
|
+
Parameters.$host,
|
|
195
|
+
Parameters.resourceGroupName,
|
|
196
|
+
Parameters.subscriptionId,
|
|
197
|
+
Parameters.hubName1
|
|
198
|
+
],
|
|
199
|
+
headerParameters: [Parameters.accept],
|
|
200
|
+
serializer
|
|
201
|
+
};
|
|
202
|
+
const regeneratePrimaryKeyOperationSpec = {
|
|
203
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}/regeneratePrimaryKey",
|
|
204
|
+
httpMethod: "POST",
|
|
205
|
+
responses: {
|
|
206
|
+
200: {
|
|
207
|
+
bodyMapper: Mappers.AuthorizationPolicy
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
queryParameters: [Parameters.apiVersion],
|
|
211
|
+
urlParameters: [
|
|
212
|
+
Parameters.$host,
|
|
213
|
+
Parameters.resourceGroupName,
|
|
214
|
+
Parameters.subscriptionId,
|
|
215
|
+
Parameters.hubName1,
|
|
216
|
+
Parameters.authorizationPolicyName1
|
|
217
|
+
],
|
|
218
|
+
headerParameters: [Parameters.accept],
|
|
219
|
+
serializer
|
|
220
|
+
};
|
|
221
|
+
const regenerateSecondaryKeyOperationSpec = {
|
|
222
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}/regenerateSecondaryKey",
|
|
223
|
+
httpMethod: "POST",
|
|
224
|
+
responses: {
|
|
225
|
+
200: {
|
|
226
|
+
bodyMapper: Mappers.AuthorizationPolicy
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
queryParameters: [Parameters.apiVersion],
|
|
230
|
+
urlParameters: [
|
|
231
|
+
Parameters.$host,
|
|
232
|
+
Parameters.resourceGroupName,
|
|
233
|
+
Parameters.subscriptionId,
|
|
234
|
+
Parameters.hubName1,
|
|
235
|
+
Parameters.authorizationPolicyName1
|
|
236
|
+
],
|
|
237
|
+
headerParameters: [Parameters.accept],
|
|
238
|
+
serializer
|
|
239
|
+
};
|
|
240
|
+
const listByHubNextOperationSpec = {
|
|
241
|
+
path: "{nextLink}",
|
|
242
|
+
httpMethod: "GET",
|
|
243
|
+
responses: {
|
|
244
|
+
200: {
|
|
245
|
+
bodyMapper: Mappers.AuthorizationPolicyListResult
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
queryParameters: [Parameters.apiVersion],
|
|
249
|
+
urlParameters: [
|
|
250
|
+
Parameters.$host,
|
|
251
|
+
Parameters.nextLink,
|
|
252
|
+
Parameters.resourceGroupName,
|
|
253
|
+
Parameters.subscriptionId,
|
|
254
|
+
Parameters.hubName1
|
|
255
|
+
],
|
|
256
|
+
headerParameters: [Parameters.accept],
|
|
257
|
+
serializer
|
|
258
|
+
};
|
|
259
|
+
//# sourceMappingURL=authorizationPolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizationPolicies.js","sourceRoot":"","sources":["../../../src/operations/authorizationPolicies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,M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AE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ConnectorMappings } from "../operationsInterfaces";
|
|
3
|
+
import { CustomerInsightsManagementClient } from "../customerInsightsManagementClient";
|
|
4
|
+
import { ConnectorMappingResourceFormat, ConnectorMappingsListByConnectorOptionalParams, ConnectorMappingsCreateOrUpdateOptionalParams, ConnectorMappingsCreateOrUpdateResponse, ConnectorMappingsGetOptionalParams, ConnectorMappingsGetResponse, ConnectorMappingsDeleteOptionalParams } from "../models";
|
|
5
|
+
/** Class containing ConnectorMappings operations. */
|
|
6
|
+
export declare class ConnectorMappingsImpl implements ConnectorMappings {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class ConnectorMappings class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: CustomerInsightsManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Gets all the connector mappings in the specified connector.
|
|
15
|
+
* @param resourceGroupName The name of the resource group.
|
|
16
|
+
* @param hubName The name of the hub.
|
|
17
|
+
* @param connectorName The name of the connector.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listByConnector(resourceGroupName: string, hubName: string, connectorName: string, options?: ConnectorMappingsListByConnectorOptionalParams): PagedAsyncIterableIterator<ConnectorMappingResourceFormat>;
|
|
21
|
+
private listByConnectorPagingPage;
|
|
22
|
+
private listByConnectorPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Creates a connector mapping or updates an existing connector mapping in the connector.
|
|
25
|
+
* @param resourceGroupName The name of the resource group.
|
|
26
|
+
* @param hubName The name of the hub.
|
|
27
|
+
* @param connectorName The name of the connector.
|
|
28
|
+
* @param mappingName The name of the connector mapping.
|
|
29
|
+
* @param parameters Parameters supplied to the CreateOrUpdate Connector Mapping operation.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
createOrUpdate(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, parameters: ConnectorMappingResourceFormat, options?: ConnectorMappingsCreateOrUpdateOptionalParams): Promise<ConnectorMappingsCreateOrUpdateResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Gets a connector mapping in the connector.
|
|
35
|
+
* @param resourceGroupName The name of the resource group.
|
|
36
|
+
* @param hubName The name of the hub.
|
|
37
|
+
* @param connectorName The name of the connector.
|
|
38
|
+
* @param mappingName The name of the connector mapping.
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
get(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, options?: ConnectorMappingsGetOptionalParams): Promise<ConnectorMappingsGetResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Deletes a connector mapping in the connector.
|
|
44
|
+
* @param resourceGroupName The name of the resource group.
|
|
45
|
+
* @param hubName The name of the hub.
|
|
46
|
+
* @param connectorName The name of the connector.
|
|
47
|
+
* @param mappingName The name of the connector mapping.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
delete(resourceGroupName: string, hubName: string, connectorName: string, mappingName: string, options?: ConnectorMappingsDeleteOptionalParams): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Gets all the connector mappings in the specified connector.
|
|
53
|
+
* @param resourceGroupName The name of the resource group.
|
|
54
|
+
* @param hubName The name of the hub.
|
|
55
|
+
* @param connectorName The name of the connector.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
private _listByConnector;
|
|
59
|
+
/**
|
|
60
|
+
* ListByConnectorNext
|
|
61
|
+
* @param resourceGroupName The name of the resource group.
|
|
62
|
+
* @param hubName The name of the hub.
|
|
63
|
+
* @param connectorName The name of the connector.
|
|
64
|
+
* @param nextLink The nextLink from the previous successful call to the ListByConnector method.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
private _listByConnectorNext;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=connectorMappings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorMappings.d.ts","sourceRoot":"","sources":["../../../src/operations/connectorMappings.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EACL,8BAA8B,EAE9B,8CAA8C,EAC9C,6CAA6C,EAC7C,uCAAuC,EACvC,kCAAkC,EAClC,4BAA4B,EAC5B,qCAAqC,EAGtC,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;;;OAMG;IACI,eAAe,CACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,8BAA8B,CAAC;YAyB9C,yBAAyB;YA2BzB,wBAAwB;IAgBvC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,8BAA8B,EAC1C,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAcnD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;;;;;;OAOG;IACH,OAAO,CAAC,oBAAoB;CAY7B"}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing ConnectorMappings operations. */
|
|
14
|
+
export class ConnectorMappingsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class ConnectorMappings class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Gets all the connector mappings in the specified connector.
|
|
24
|
+
* @param resourceGroupName The name of the resource group.
|
|
25
|
+
* @param hubName The name of the hub.
|
|
26
|
+
* @param connectorName The name of the connector.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listByConnector(resourceGroupName, hubName, connectorName, options) {
|
|
30
|
+
const iter = this.listByConnectorPagingAll(resourceGroupName, hubName, connectorName, options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: () => {
|
|
39
|
+
return this.listByConnectorPagingPage(resourceGroupName, hubName, connectorName, options);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
listByConnectorPagingPage(resourceGroupName, hubName, connectorName, options) {
|
|
44
|
+
return __asyncGenerator(this, arguments, function* listByConnectorPagingPage_1() {
|
|
45
|
+
let result = yield __await(this._listByConnector(resourceGroupName, hubName, connectorName, options));
|
|
46
|
+
yield yield __await(result.value || []);
|
|
47
|
+
let continuationToken = result.nextLink;
|
|
48
|
+
while (continuationToken) {
|
|
49
|
+
result = yield __await(this._listByConnectorNext(resourceGroupName, hubName, connectorName, continuationToken, options));
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
yield yield __await(result.value || []);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listByConnectorPagingAll(resourceGroupName, hubName, connectorName, options) {
|
|
56
|
+
return __asyncGenerator(this, arguments, function* listByConnectorPagingAll_1() {
|
|
57
|
+
var e_1, _a;
|
|
58
|
+
try {
|
|
59
|
+
for (var _b = __asyncValues(this.listByConnectorPagingPage(resourceGroupName, hubName, connectorName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
+
const page = _c.value;
|
|
61
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
+
}
|
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Creates a connector mapping or updates an existing connector mapping in the connector.
|
|
75
|
+
* @param resourceGroupName The name of the resource group.
|
|
76
|
+
* @param hubName The name of the hub.
|
|
77
|
+
* @param connectorName The name of the connector.
|
|
78
|
+
* @param mappingName The name of the connector mapping.
|
|
79
|
+
* @param parameters Parameters supplied to the CreateOrUpdate Connector Mapping operation.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
createOrUpdate(resourceGroupName, hubName, connectorName, mappingName, parameters, options) {
|
|
83
|
+
return this.client.sendOperationRequest({
|
|
84
|
+
resourceGroupName,
|
|
85
|
+
hubName,
|
|
86
|
+
connectorName,
|
|
87
|
+
mappingName,
|
|
88
|
+
parameters,
|
|
89
|
+
options
|
|
90
|
+
}, createOrUpdateOperationSpec);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Gets a connector mapping in the connector.
|
|
94
|
+
* @param resourceGroupName The name of the resource group.
|
|
95
|
+
* @param hubName The name of the hub.
|
|
96
|
+
* @param connectorName The name of the connector.
|
|
97
|
+
* @param mappingName The name of the connector mapping.
|
|
98
|
+
* @param options The options parameters.
|
|
99
|
+
*/
|
|
100
|
+
get(resourceGroupName, hubName, connectorName, mappingName, options) {
|
|
101
|
+
return this.client.sendOperationRequest({ resourceGroupName, hubName, connectorName, mappingName, options }, getOperationSpec);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Deletes a connector mapping in the connector.
|
|
105
|
+
* @param resourceGroupName The name of the resource group.
|
|
106
|
+
* @param hubName The name of the hub.
|
|
107
|
+
* @param connectorName The name of the connector.
|
|
108
|
+
* @param mappingName The name of the connector mapping.
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
delete(resourceGroupName, hubName, connectorName, mappingName, options) {
|
|
112
|
+
return this.client.sendOperationRequest({ resourceGroupName, hubName, connectorName, mappingName, options }, deleteOperationSpec);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Gets all the connector mappings in the specified connector.
|
|
116
|
+
* @param resourceGroupName The name of the resource group.
|
|
117
|
+
* @param hubName The name of the hub.
|
|
118
|
+
* @param connectorName The name of the connector.
|
|
119
|
+
* @param options The options parameters.
|
|
120
|
+
*/
|
|
121
|
+
_listByConnector(resourceGroupName, hubName, connectorName, options) {
|
|
122
|
+
return this.client.sendOperationRequest({ resourceGroupName, hubName, connectorName, options }, listByConnectorOperationSpec);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* ListByConnectorNext
|
|
126
|
+
* @param resourceGroupName The name of the resource group.
|
|
127
|
+
* @param hubName The name of the hub.
|
|
128
|
+
* @param connectorName The name of the connector.
|
|
129
|
+
* @param nextLink The nextLink from the previous successful call to the ListByConnector method.
|
|
130
|
+
* @param options The options parameters.
|
|
131
|
+
*/
|
|
132
|
+
_listByConnectorNext(resourceGroupName, hubName, connectorName, nextLink, options) {
|
|
133
|
+
return this.client.sendOperationRequest({ resourceGroupName, hubName, connectorName, nextLink, options }, listByConnectorNextOperationSpec);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
// Operation Specifications
|
|
137
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
138
|
+
const createOrUpdateOperationSpec = {
|
|
139
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}/mappings/{mappingName}",
|
|
140
|
+
httpMethod: "PUT",
|
|
141
|
+
responses: {
|
|
142
|
+
200: {
|
|
143
|
+
bodyMapper: Mappers.ConnectorMappingResourceFormat
|
|
144
|
+
},
|
|
145
|
+
201: {
|
|
146
|
+
bodyMapper: Mappers.ConnectorMappingResourceFormat
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
requestBody: Parameters.parameters7,
|
|
150
|
+
queryParameters: [Parameters.apiVersion],
|
|
151
|
+
urlParameters: [
|
|
152
|
+
Parameters.$host,
|
|
153
|
+
Parameters.resourceGroupName,
|
|
154
|
+
Parameters.subscriptionId,
|
|
155
|
+
Parameters.hubName1,
|
|
156
|
+
Parameters.connectorName1,
|
|
157
|
+
Parameters.mappingName
|
|
158
|
+
],
|
|
159
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
160
|
+
mediaType: "json",
|
|
161
|
+
serializer
|
|
162
|
+
};
|
|
163
|
+
const getOperationSpec = {
|
|
164
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}/mappings/{mappingName}",
|
|
165
|
+
httpMethod: "GET",
|
|
166
|
+
responses: {
|
|
167
|
+
200: {
|
|
168
|
+
bodyMapper: Mappers.ConnectorMappingResourceFormat
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
queryParameters: [Parameters.apiVersion],
|
|
172
|
+
urlParameters: [
|
|
173
|
+
Parameters.$host,
|
|
174
|
+
Parameters.resourceGroupName,
|
|
175
|
+
Parameters.subscriptionId,
|
|
176
|
+
Parameters.hubName1,
|
|
177
|
+
Parameters.connectorName1,
|
|
178
|
+
Parameters.mappingName1
|
|
179
|
+
],
|
|
180
|
+
headerParameters: [Parameters.accept],
|
|
181
|
+
serializer
|
|
182
|
+
};
|
|
183
|
+
const deleteOperationSpec = {
|
|
184
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}/mappings/{mappingName}",
|
|
185
|
+
httpMethod: "DELETE",
|
|
186
|
+
responses: { 200: {}, 204: {} },
|
|
187
|
+
queryParameters: [Parameters.apiVersion],
|
|
188
|
+
urlParameters: [
|
|
189
|
+
Parameters.$host,
|
|
190
|
+
Parameters.resourceGroupName,
|
|
191
|
+
Parameters.subscriptionId,
|
|
192
|
+
Parameters.hubName1,
|
|
193
|
+
Parameters.connectorName1,
|
|
194
|
+
Parameters.mappingName1
|
|
195
|
+
],
|
|
196
|
+
serializer
|
|
197
|
+
};
|
|
198
|
+
const listByConnectorOperationSpec = {
|
|
199
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}/mappings",
|
|
200
|
+
httpMethod: "GET",
|
|
201
|
+
responses: {
|
|
202
|
+
200: {
|
|
203
|
+
bodyMapper: Mappers.ConnectorMappingListResult
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
queryParameters: [Parameters.apiVersion],
|
|
207
|
+
urlParameters: [
|
|
208
|
+
Parameters.$host,
|
|
209
|
+
Parameters.resourceGroupName,
|
|
210
|
+
Parameters.subscriptionId,
|
|
211
|
+
Parameters.hubName1,
|
|
212
|
+
Parameters.connectorName1
|
|
213
|
+
],
|
|
214
|
+
headerParameters: [Parameters.accept],
|
|
215
|
+
serializer
|
|
216
|
+
};
|
|
217
|
+
const listByConnectorNextOperationSpec = {
|
|
218
|
+
path: "{nextLink}",
|
|
219
|
+
httpMethod: "GET",
|
|
220
|
+
responses: {
|
|
221
|
+
200: {
|
|
222
|
+
bodyMapper: Mappers.ConnectorMappingListResult
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
queryParameters: [Parameters.apiVersion],
|
|
226
|
+
urlParameters: [
|
|
227
|
+
Parameters.$host,
|
|
228
|
+
Parameters.nextLink,
|
|
229
|
+
Parameters.resourceGroupName,
|
|
230
|
+
Parameters.subscriptionId,
|
|
231
|
+
Parameters.hubName1,
|
|
232
|
+
Parameters.connectorName1
|
|
233
|
+
],
|
|
234
|
+
headerParameters: [Parameters.accept],
|
|
235
|
+
serializer
|
|
236
|
+
};
|
|
237
|
+
//# sourceMappingURL=connectorMappings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorMappings.js","sourceRoot":"","sources":["../../../src/operations/connectorMappings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAenD,4CAA4C;AAC5C,qDAAqD;AACrD,MAAM,OAAO,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,eAAe,CACpB,iBAAyB,EACzB,OAAe,EACf,aAAqB,EACrB,OAAwD;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CACxC,iBAAiB,EACjB,OAAO,EACP,aAAa,EACb,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CA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