@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
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import * as Models from "../models";
|
|
14
|
-
import * as Mappers from "../models/relationshipLinksMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { CustomerInsightsManagementClientContext } from "../customerInsightsManagementClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a RelationshipLinks. */
|
|
19
|
-
export class RelationshipLinks {
|
|
20
|
-
private readonly client: CustomerInsightsManagementClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a RelationshipLinks.
|
|
24
|
-
* @param {CustomerInsightsManagementClientContext} client Reference to the service client.
|
|
25
|
-
*/
|
|
26
|
-
constructor(client: CustomerInsightsManagementClientContext) {
|
|
27
|
-
this.client = client;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Creates a relationship link or updates an existing relationship link within a hub.
|
|
32
|
-
* @param resourceGroupName The name of the resource group.
|
|
33
|
-
* @param hubName The name of the hub.
|
|
34
|
-
* @param relationshipLinkName The name of the relationship link.
|
|
35
|
-
* @param parameters Parameters supplied to the CreateOrUpdate relationship link operation.
|
|
36
|
-
* @param [options] The optional parameters
|
|
37
|
-
* @returns Promise<Models.RelationshipLinksCreateOrUpdateResponse>
|
|
38
|
-
*/
|
|
39
|
-
createOrUpdate(resourceGroupName: string, hubName: string, relationshipLinkName: string, parameters: Models.RelationshipLinkResourceFormat, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipLinksCreateOrUpdateResponse> {
|
|
40
|
-
return this.beginCreateOrUpdate(resourceGroupName,hubName,relationshipLinkName,parameters,options)
|
|
41
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.RelationshipLinksCreateOrUpdateResponse>;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Gets information about the specified relationship Link.
|
|
46
|
-
* @param resourceGroupName The name of the resource group.
|
|
47
|
-
* @param hubName The name of the hub.
|
|
48
|
-
* @param relationshipLinkName The name of the relationship link.
|
|
49
|
-
* @param [options] The optional parameters
|
|
50
|
-
* @returns Promise<Models.RelationshipLinksGetResponse>
|
|
51
|
-
*/
|
|
52
|
-
get(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipLinksGetResponse>;
|
|
53
|
-
/**
|
|
54
|
-
* @param resourceGroupName The name of the resource group.
|
|
55
|
-
* @param hubName The name of the hub.
|
|
56
|
-
* @param relationshipLinkName The name of the relationship link.
|
|
57
|
-
* @param callback The callback
|
|
58
|
-
*/
|
|
59
|
-
get(resourceGroupName: string, hubName: string, relationshipLinkName: string, callback: msRest.ServiceCallback<Models.RelationshipLinkResourceFormat>): void;
|
|
60
|
-
/**
|
|
61
|
-
* @param resourceGroupName The name of the resource group.
|
|
62
|
-
* @param hubName The name of the hub.
|
|
63
|
-
* @param relationshipLinkName The name of the relationship link.
|
|
64
|
-
* @param options The optional parameters
|
|
65
|
-
* @param callback The callback
|
|
66
|
-
*/
|
|
67
|
-
get(resourceGroupName: string, hubName: string, relationshipLinkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipLinkResourceFormat>): void;
|
|
68
|
-
get(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipLinkResourceFormat>, callback?: msRest.ServiceCallback<Models.RelationshipLinkResourceFormat>): Promise<Models.RelationshipLinksGetResponse> {
|
|
69
|
-
return this.client.sendOperationRequest(
|
|
70
|
-
{
|
|
71
|
-
resourceGroupName,
|
|
72
|
-
hubName,
|
|
73
|
-
relationshipLinkName,
|
|
74
|
-
options
|
|
75
|
-
},
|
|
76
|
-
getOperationSpec,
|
|
77
|
-
callback) as Promise<Models.RelationshipLinksGetResponse>;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Deletes a relationship link within a hub.
|
|
82
|
-
* @param resourceGroupName The name of the resource group.
|
|
83
|
-
* @param hubName The name of the hub.
|
|
84
|
-
* @param relationshipLinkName The name of the relationship.
|
|
85
|
-
* @param [options] The optional parameters
|
|
86
|
-
* @returns Promise<msRest.RestResponse>
|
|
87
|
-
*/
|
|
88
|
-
deleteMethod(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
89
|
-
return this.beginDeleteMethod(resourceGroupName,hubName,relationshipLinkName,options)
|
|
90
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Gets all relationship links in the hub.
|
|
95
|
-
* @param resourceGroupName The name of the resource group.
|
|
96
|
-
* @param hubName The name of the hub.
|
|
97
|
-
* @param [options] The optional parameters
|
|
98
|
-
* @returns Promise<Models.RelationshipLinksListByHubResponse>
|
|
99
|
-
*/
|
|
100
|
-
listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipLinksListByHubResponse>;
|
|
101
|
-
/**
|
|
102
|
-
* @param resourceGroupName The name of the resource group.
|
|
103
|
-
* @param hubName The name of the hub.
|
|
104
|
-
* @param callback The callback
|
|
105
|
-
*/
|
|
106
|
-
listByHub(resourceGroupName: string, hubName: string, callback: msRest.ServiceCallback<Models.RelationshipLinkListResult>): void;
|
|
107
|
-
/**
|
|
108
|
-
* @param resourceGroupName The name of the resource group.
|
|
109
|
-
* @param hubName The name of the hub.
|
|
110
|
-
* @param options The optional parameters
|
|
111
|
-
* @param callback The callback
|
|
112
|
-
*/
|
|
113
|
-
listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipLinkListResult>): void;
|
|
114
|
-
listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipLinkListResult>, callback?: msRest.ServiceCallback<Models.RelationshipLinkListResult>): Promise<Models.RelationshipLinksListByHubResponse> {
|
|
115
|
-
return this.client.sendOperationRequest(
|
|
116
|
-
{
|
|
117
|
-
resourceGroupName,
|
|
118
|
-
hubName,
|
|
119
|
-
options
|
|
120
|
-
},
|
|
121
|
-
listByHubOperationSpec,
|
|
122
|
-
callback) as Promise<Models.RelationshipLinksListByHubResponse>;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Creates a relationship link or updates an existing relationship link within a hub.
|
|
127
|
-
* @param resourceGroupName The name of the resource group.
|
|
128
|
-
* @param hubName The name of the hub.
|
|
129
|
-
* @param relationshipLinkName The name of the relationship link.
|
|
130
|
-
* @param parameters Parameters supplied to the CreateOrUpdate relationship link operation.
|
|
131
|
-
* @param [options] The optional parameters
|
|
132
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
133
|
-
*/
|
|
134
|
-
beginCreateOrUpdate(resourceGroupName: string, hubName: string, relationshipLinkName: string, parameters: Models.RelationshipLinkResourceFormat, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
135
|
-
return this.client.sendLRORequest(
|
|
136
|
-
{
|
|
137
|
-
resourceGroupName,
|
|
138
|
-
hubName,
|
|
139
|
-
relationshipLinkName,
|
|
140
|
-
parameters,
|
|
141
|
-
options
|
|
142
|
-
},
|
|
143
|
-
beginCreateOrUpdateOperationSpec,
|
|
144
|
-
options);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Deletes a relationship link within a hub.
|
|
149
|
-
* @param resourceGroupName The name of the resource group.
|
|
150
|
-
* @param hubName The name of the hub.
|
|
151
|
-
* @param relationshipLinkName The name of the relationship.
|
|
152
|
-
* @param [options] The optional parameters
|
|
153
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
154
|
-
*/
|
|
155
|
-
beginDeleteMethod(resourceGroupName: string, hubName: string, relationshipLinkName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
156
|
-
return this.client.sendLRORequest(
|
|
157
|
-
{
|
|
158
|
-
resourceGroupName,
|
|
159
|
-
hubName,
|
|
160
|
-
relationshipLinkName,
|
|
161
|
-
options
|
|
162
|
-
},
|
|
163
|
-
beginDeleteMethodOperationSpec,
|
|
164
|
-
options);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Gets all relationship links in the hub.
|
|
169
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
170
|
-
* @param [options] The optional parameters
|
|
171
|
-
* @returns Promise<Models.RelationshipLinksListByHubNextResponse>
|
|
172
|
-
*/
|
|
173
|
-
listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipLinksListByHubNextResponse>;
|
|
174
|
-
/**
|
|
175
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
176
|
-
* @param callback The callback
|
|
177
|
-
*/
|
|
178
|
-
listByHubNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RelationshipLinkListResult>): void;
|
|
179
|
-
/**
|
|
180
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
181
|
-
* @param options The optional parameters
|
|
182
|
-
* @param callback The callback
|
|
183
|
-
*/
|
|
184
|
-
listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipLinkListResult>): void;
|
|
185
|
-
listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipLinkListResult>, callback?: msRest.ServiceCallback<Models.RelationshipLinkListResult>): Promise<Models.RelationshipLinksListByHubNextResponse> {
|
|
186
|
-
return this.client.sendOperationRequest(
|
|
187
|
-
{
|
|
188
|
-
nextPageLink,
|
|
189
|
-
options
|
|
190
|
-
},
|
|
191
|
-
listByHubNextOperationSpec,
|
|
192
|
-
callback) as Promise<Models.RelationshipLinksListByHubNextResponse>;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// Operation Specifications
|
|
197
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
198
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
199
|
-
httpMethod: "GET",
|
|
200
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks/{relationshipLinkName}",
|
|
201
|
-
urlParameters: [
|
|
202
|
-
Parameters.resourceGroupName,
|
|
203
|
-
Parameters.hubName1,
|
|
204
|
-
Parameters.relationshipLinkName1,
|
|
205
|
-
Parameters.subscriptionId
|
|
206
|
-
],
|
|
207
|
-
queryParameters: [
|
|
208
|
-
Parameters.apiVersion
|
|
209
|
-
],
|
|
210
|
-
headerParameters: [
|
|
211
|
-
Parameters.acceptLanguage
|
|
212
|
-
],
|
|
213
|
-
responses: {
|
|
214
|
-
200: {
|
|
215
|
-
bodyMapper: Mappers.RelationshipLinkResourceFormat
|
|
216
|
-
},
|
|
217
|
-
default: {
|
|
218
|
-
bodyMapper: Mappers.CloudError
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
serializer
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
const listByHubOperationSpec: msRest.OperationSpec = {
|
|
225
|
-
httpMethod: "GET",
|
|
226
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks",
|
|
227
|
-
urlParameters: [
|
|
228
|
-
Parameters.resourceGroupName,
|
|
229
|
-
Parameters.hubName1,
|
|
230
|
-
Parameters.subscriptionId
|
|
231
|
-
],
|
|
232
|
-
queryParameters: [
|
|
233
|
-
Parameters.apiVersion
|
|
234
|
-
],
|
|
235
|
-
headerParameters: [
|
|
236
|
-
Parameters.acceptLanguage
|
|
237
|
-
],
|
|
238
|
-
responses: {
|
|
239
|
-
200: {
|
|
240
|
-
bodyMapper: Mappers.RelationshipLinkListResult
|
|
241
|
-
},
|
|
242
|
-
default: {
|
|
243
|
-
bodyMapper: Mappers.CloudError
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
serializer
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
250
|
-
httpMethod: "PUT",
|
|
251
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks/{relationshipLinkName}",
|
|
252
|
-
urlParameters: [
|
|
253
|
-
Parameters.resourceGroupName,
|
|
254
|
-
Parameters.hubName1,
|
|
255
|
-
Parameters.relationshipLinkName0,
|
|
256
|
-
Parameters.subscriptionId
|
|
257
|
-
],
|
|
258
|
-
queryParameters: [
|
|
259
|
-
Parameters.apiVersion
|
|
260
|
-
],
|
|
261
|
-
headerParameters: [
|
|
262
|
-
Parameters.acceptLanguage
|
|
263
|
-
],
|
|
264
|
-
requestBody: {
|
|
265
|
-
parameterPath: "parameters",
|
|
266
|
-
mapper: {
|
|
267
|
-
...Mappers.RelationshipLinkResourceFormat,
|
|
268
|
-
required: true
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
responses: {
|
|
272
|
-
200: {
|
|
273
|
-
bodyMapper: Mappers.RelationshipLinkResourceFormat
|
|
274
|
-
},
|
|
275
|
-
202: {},
|
|
276
|
-
default: {
|
|
277
|
-
bodyMapper: Mappers.CloudError
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
serializer
|
|
281
|
-
};
|
|
282
|
-
|
|
283
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
284
|
-
httpMethod: "DELETE",
|
|
285
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationshipLinks/{relationshipLinkName}",
|
|
286
|
-
urlParameters: [
|
|
287
|
-
Parameters.resourceGroupName,
|
|
288
|
-
Parameters.hubName1,
|
|
289
|
-
Parameters.relationshipLinkName1,
|
|
290
|
-
Parameters.subscriptionId
|
|
291
|
-
],
|
|
292
|
-
queryParameters: [
|
|
293
|
-
Parameters.apiVersion
|
|
294
|
-
],
|
|
295
|
-
headerParameters: [
|
|
296
|
-
Parameters.acceptLanguage
|
|
297
|
-
],
|
|
298
|
-
responses: {
|
|
299
|
-
200: {},
|
|
300
|
-
202: {},
|
|
301
|
-
default: {
|
|
302
|
-
bodyMapper: Mappers.CloudError
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
serializer
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
const listByHubNextOperationSpec: msRest.OperationSpec = {
|
|
309
|
-
httpMethod: "GET",
|
|
310
|
-
baseUrl: "https://management.azure.com",
|
|
311
|
-
path: "{nextLink}",
|
|
312
|
-
urlParameters: [
|
|
313
|
-
Parameters.nextPageLink
|
|
314
|
-
],
|
|
315
|
-
headerParameters: [
|
|
316
|
-
Parameters.acceptLanguage
|
|
317
|
-
],
|
|
318
|
-
responses: {
|
|
319
|
-
200: {
|
|
320
|
-
bodyMapper: Mappers.RelationshipLinkListResult
|
|
321
|
-
},
|
|
322
|
-
default: {
|
|
323
|
-
bodyMapper: Mappers.CloudError
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
serializer
|
|
327
|
-
};
|
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import * as Models from "../models";
|
|
14
|
-
import * as Mappers from "../models/relationshipsMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { CustomerInsightsManagementClientContext } from "../customerInsightsManagementClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a Relationships. */
|
|
19
|
-
export class Relationships {
|
|
20
|
-
private readonly client: CustomerInsightsManagementClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a Relationships.
|
|
24
|
-
* @param {CustomerInsightsManagementClientContext} client Reference to the service client.
|
|
25
|
-
*/
|
|
26
|
-
constructor(client: CustomerInsightsManagementClientContext) {
|
|
27
|
-
this.client = client;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Creates a relationship or updates an existing relationship within a hub.
|
|
32
|
-
* @param resourceGroupName The name of the resource group.
|
|
33
|
-
* @param hubName The name of the hub.
|
|
34
|
-
* @param relationshipName The name of the Relationship.
|
|
35
|
-
* @param parameters Parameters supplied to the CreateOrUpdate Relationship operation.
|
|
36
|
-
* @param [options] The optional parameters
|
|
37
|
-
* @returns Promise<Models.RelationshipsCreateOrUpdateResponse>
|
|
38
|
-
*/
|
|
39
|
-
createOrUpdate(resourceGroupName: string, hubName: string, relationshipName: string, parameters: Models.RelationshipResourceFormat, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipsCreateOrUpdateResponse> {
|
|
40
|
-
return this.beginCreateOrUpdate(resourceGroupName,hubName,relationshipName,parameters,options)
|
|
41
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.RelationshipsCreateOrUpdateResponse>;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Gets information about the specified relationship.
|
|
46
|
-
* @param resourceGroupName The name of the resource group.
|
|
47
|
-
* @param hubName The name of the hub.
|
|
48
|
-
* @param relationshipName The name of the relationship.
|
|
49
|
-
* @param [options] The optional parameters
|
|
50
|
-
* @returns Promise<Models.RelationshipsGetResponse>
|
|
51
|
-
*/
|
|
52
|
-
get(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipsGetResponse>;
|
|
53
|
-
/**
|
|
54
|
-
* @param resourceGroupName The name of the resource group.
|
|
55
|
-
* @param hubName The name of the hub.
|
|
56
|
-
* @param relationshipName The name of the relationship.
|
|
57
|
-
* @param callback The callback
|
|
58
|
-
*/
|
|
59
|
-
get(resourceGroupName: string, hubName: string, relationshipName: string, callback: msRest.ServiceCallback<Models.RelationshipResourceFormat>): void;
|
|
60
|
-
/**
|
|
61
|
-
* @param resourceGroupName The name of the resource group.
|
|
62
|
-
* @param hubName The name of the hub.
|
|
63
|
-
* @param relationshipName The name of the relationship.
|
|
64
|
-
* @param options The optional parameters
|
|
65
|
-
* @param callback The callback
|
|
66
|
-
*/
|
|
67
|
-
get(resourceGroupName: string, hubName: string, relationshipName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipResourceFormat>): void;
|
|
68
|
-
get(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipResourceFormat>, callback?: msRest.ServiceCallback<Models.RelationshipResourceFormat>): Promise<Models.RelationshipsGetResponse> {
|
|
69
|
-
return this.client.sendOperationRequest(
|
|
70
|
-
{
|
|
71
|
-
resourceGroupName,
|
|
72
|
-
hubName,
|
|
73
|
-
relationshipName,
|
|
74
|
-
options
|
|
75
|
-
},
|
|
76
|
-
getOperationSpec,
|
|
77
|
-
callback) as Promise<Models.RelationshipsGetResponse>;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Deletes a relationship within a hub.
|
|
82
|
-
* @param resourceGroupName The name of the resource group.
|
|
83
|
-
* @param hubName The name of the hub.
|
|
84
|
-
* @param relationshipName The name of the relationship.
|
|
85
|
-
* @param [options] The optional parameters
|
|
86
|
-
* @returns Promise<msRest.RestResponse>
|
|
87
|
-
*/
|
|
88
|
-
deleteMethod(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
89
|
-
return this.beginDeleteMethod(resourceGroupName,hubName,relationshipName,options)
|
|
90
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Gets all relationships in the hub.
|
|
95
|
-
* @param resourceGroupName The name of the resource group.
|
|
96
|
-
* @param hubName The name of the hub.
|
|
97
|
-
* @param [options] The optional parameters
|
|
98
|
-
* @returns Promise<Models.RelationshipsListByHubResponse>
|
|
99
|
-
*/
|
|
100
|
-
listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipsListByHubResponse>;
|
|
101
|
-
/**
|
|
102
|
-
* @param resourceGroupName The name of the resource group.
|
|
103
|
-
* @param hubName The name of the hub.
|
|
104
|
-
* @param callback The callback
|
|
105
|
-
*/
|
|
106
|
-
listByHub(resourceGroupName: string, hubName: string, callback: msRest.ServiceCallback<Models.RelationshipListResult>): void;
|
|
107
|
-
/**
|
|
108
|
-
* @param resourceGroupName The name of the resource group.
|
|
109
|
-
* @param hubName The name of the hub.
|
|
110
|
-
* @param options The optional parameters
|
|
111
|
-
* @param callback The callback
|
|
112
|
-
*/
|
|
113
|
-
listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipListResult>): void;
|
|
114
|
-
listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipListResult>, callback?: msRest.ServiceCallback<Models.RelationshipListResult>): Promise<Models.RelationshipsListByHubResponse> {
|
|
115
|
-
return this.client.sendOperationRequest(
|
|
116
|
-
{
|
|
117
|
-
resourceGroupName,
|
|
118
|
-
hubName,
|
|
119
|
-
options
|
|
120
|
-
},
|
|
121
|
-
listByHubOperationSpec,
|
|
122
|
-
callback) as Promise<Models.RelationshipsListByHubResponse>;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Creates a relationship or updates an existing relationship within a hub.
|
|
127
|
-
* @param resourceGroupName The name of the resource group.
|
|
128
|
-
* @param hubName The name of the hub.
|
|
129
|
-
* @param relationshipName The name of the Relationship.
|
|
130
|
-
* @param parameters Parameters supplied to the CreateOrUpdate Relationship operation.
|
|
131
|
-
* @param [options] The optional parameters
|
|
132
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
133
|
-
*/
|
|
134
|
-
beginCreateOrUpdate(resourceGroupName: string, hubName: string, relationshipName: string, parameters: Models.RelationshipResourceFormat, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
135
|
-
return this.client.sendLRORequest(
|
|
136
|
-
{
|
|
137
|
-
resourceGroupName,
|
|
138
|
-
hubName,
|
|
139
|
-
relationshipName,
|
|
140
|
-
parameters,
|
|
141
|
-
options
|
|
142
|
-
},
|
|
143
|
-
beginCreateOrUpdateOperationSpec,
|
|
144
|
-
options);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Deletes a relationship within a hub.
|
|
149
|
-
* @param resourceGroupName The name of the resource group.
|
|
150
|
-
* @param hubName The name of the hub.
|
|
151
|
-
* @param relationshipName The name of the relationship.
|
|
152
|
-
* @param [options] The optional parameters
|
|
153
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
154
|
-
*/
|
|
155
|
-
beginDeleteMethod(resourceGroupName: string, hubName: string, relationshipName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
156
|
-
return this.client.sendLRORequest(
|
|
157
|
-
{
|
|
158
|
-
resourceGroupName,
|
|
159
|
-
hubName,
|
|
160
|
-
relationshipName,
|
|
161
|
-
options
|
|
162
|
-
},
|
|
163
|
-
beginDeleteMethodOperationSpec,
|
|
164
|
-
options);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Gets all relationships in the hub.
|
|
169
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
170
|
-
* @param [options] The optional parameters
|
|
171
|
-
* @returns Promise<Models.RelationshipsListByHubNextResponse>
|
|
172
|
-
*/
|
|
173
|
-
listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RelationshipsListByHubNextResponse>;
|
|
174
|
-
/**
|
|
175
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
176
|
-
* @param callback The callback
|
|
177
|
-
*/
|
|
178
|
-
listByHubNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.RelationshipListResult>): void;
|
|
179
|
-
/**
|
|
180
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
181
|
-
* @param options The optional parameters
|
|
182
|
-
* @param callback The callback
|
|
183
|
-
*/
|
|
184
|
-
listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RelationshipListResult>): void;
|
|
185
|
-
listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RelationshipListResult>, callback?: msRest.ServiceCallback<Models.RelationshipListResult>): Promise<Models.RelationshipsListByHubNextResponse> {
|
|
186
|
-
return this.client.sendOperationRequest(
|
|
187
|
-
{
|
|
188
|
-
nextPageLink,
|
|
189
|
-
options
|
|
190
|
-
},
|
|
191
|
-
listByHubNextOperationSpec,
|
|
192
|
-
callback) as Promise<Models.RelationshipsListByHubNextResponse>;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// Operation Specifications
|
|
197
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
198
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
199
|
-
httpMethod: "GET",
|
|
200
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships/{relationshipName}",
|
|
201
|
-
urlParameters: [
|
|
202
|
-
Parameters.resourceGroupName,
|
|
203
|
-
Parameters.hubName1,
|
|
204
|
-
Parameters.relationshipName1,
|
|
205
|
-
Parameters.subscriptionId
|
|
206
|
-
],
|
|
207
|
-
queryParameters: [
|
|
208
|
-
Parameters.apiVersion
|
|
209
|
-
],
|
|
210
|
-
headerParameters: [
|
|
211
|
-
Parameters.acceptLanguage
|
|
212
|
-
],
|
|
213
|
-
responses: {
|
|
214
|
-
200: {
|
|
215
|
-
bodyMapper: Mappers.RelationshipResourceFormat
|
|
216
|
-
},
|
|
217
|
-
default: {
|
|
218
|
-
bodyMapper: Mappers.CloudError
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
serializer
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
const listByHubOperationSpec: msRest.OperationSpec = {
|
|
225
|
-
httpMethod: "GET",
|
|
226
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships",
|
|
227
|
-
urlParameters: [
|
|
228
|
-
Parameters.resourceGroupName,
|
|
229
|
-
Parameters.hubName1,
|
|
230
|
-
Parameters.subscriptionId
|
|
231
|
-
],
|
|
232
|
-
queryParameters: [
|
|
233
|
-
Parameters.apiVersion
|
|
234
|
-
],
|
|
235
|
-
headerParameters: [
|
|
236
|
-
Parameters.acceptLanguage
|
|
237
|
-
],
|
|
238
|
-
responses: {
|
|
239
|
-
200: {
|
|
240
|
-
bodyMapper: Mappers.RelationshipListResult
|
|
241
|
-
},
|
|
242
|
-
default: {
|
|
243
|
-
bodyMapper: Mappers.CloudError
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
serializer
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
250
|
-
httpMethod: "PUT",
|
|
251
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships/{relationshipName}",
|
|
252
|
-
urlParameters: [
|
|
253
|
-
Parameters.resourceGroupName,
|
|
254
|
-
Parameters.hubName1,
|
|
255
|
-
Parameters.relationshipName0,
|
|
256
|
-
Parameters.subscriptionId
|
|
257
|
-
],
|
|
258
|
-
queryParameters: [
|
|
259
|
-
Parameters.apiVersion
|
|
260
|
-
],
|
|
261
|
-
headerParameters: [
|
|
262
|
-
Parameters.acceptLanguage
|
|
263
|
-
],
|
|
264
|
-
requestBody: {
|
|
265
|
-
parameterPath: "parameters",
|
|
266
|
-
mapper: {
|
|
267
|
-
...Mappers.RelationshipResourceFormat,
|
|
268
|
-
required: true
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
responses: {
|
|
272
|
-
200: {
|
|
273
|
-
bodyMapper: Mappers.RelationshipResourceFormat
|
|
274
|
-
},
|
|
275
|
-
202: {},
|
|
276
|
-
default: {
|
|
277
|
-
bodyMapper: Mappers.CloudError
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
serializer
|
|
281
|
-
};
|
|
282
|
-
|
|
283
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
284
|
-
httpMethod: "DELETE",
|
|
285
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/relationships/{relationshipName}",
|
|
286
|
-
urlParameters: [
|
|
287
|
-
Parameters.resourceGroupName,
|
|
288
|
-
Parameters.hubName1,
|
|
289
|
-
Parameters.relationshipName1,
|
|
290
|
-
Parameters.subscriptionId
|
|
291
|
-
],
|
|
292
|
-
queryParameters: [
|
|
293
|
-
Parameters.apiVersion
|
|
294
|
-
],
|
|
295
|
-
headerParameters: [
|
|
296
|
-
Parameters.acceptLanguage
|
|
297
|
-
],
|
|
298
|
-
responses: {
|
|
299
|
-
200: {},
|
|
300
|
-
202: {},
|
|
301
|
-
default: {
|
|
302
|
-
bodyMapper: Mappers.CloudError
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
serializer
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
const listByHubNextOperationSpec: msRest.OperationSpec = {
|
|
309
|
-
httpMethod: "GET",
|
|
310
|
-
baseUrl: "https://management.azure.com",
|
|
311
|
-
path: "{nextLink}",
|
|
312
|
-
urlParameters: [
|
|
313
|
-
Parameters.nextPageLink
|
|
314
|
-
],
|
|
315
|
-
headerParameters: [
|
|
316
|
-
Parameters.acceptLanguage
|
|
317
|
-
],
|
|
318
|
-
responses: {
|
|
319
|
-
200: {
|
|
320
|
-
bodyMapper: Mappers.RelationshipListResult
|
|
321
|
-
},
|
|
322
|
-
default: {
|
|
323
|
-
bodyMapper: Mappers.CloudError
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
serializer
|
|
327
|
-
};
|