@azure/arm-dashboard 2.0.0-beta.1 → 2.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/dist/browser/api/dashboardManagementContext.d.ts +3 -3
- package/dist/browser/api/dashboardManagementContext.js +2 -2
- package/dist/browser/api/dashboardManagementContext.js.map +1 -1
- package/dist/browser/api/grafana/operations.d.ts +6 -6
- package/dist/browser/api/grafana/operations.js +3 -9
- package/dist/browser/api/grafana/operations.js.map +1 -1
- package/dist/browser/api/grafana/options.d.ts +1 -1
- package/dist/browser/api/grafana/options.js.map +1 -1
- package/dist/browser/api/integrationFabrics/operations.d.ts +6 -6
- package/dist/browser/api/integrationFabrics/operations.js +3 -9
- package/dist/browser/api/integrationFabrics/operations.js.map +1 -1
- package/dist/browser/api/integrationFabrics/options.d.ts +1 -1
- package/dist/browser/api/integrationFabrics/options.js.map +1 -1
- package/dist/browser/api/managedDashboards/operations.d.ts +6 -6
- package/dist/browser/api/managedDashboards/operations.js +3 -9
- package/dist/browser/api/managedDashboards/operations.js.map +1 -1
- package/dist/browser/api/managedDashboards/options.d.ts +1 -1
- package/dist/browser/api/managedDashboards/options.js.map +1 -1
- package/dist/browser/api/managedPrivateEndpoints/operations.d.ts +6 -6
- package/dist/browser/api/managedPrivateEndpoints/operations.js +4 -16
- package/dist/browser/api/managedPrivateEndpoints/operations.js.map +1 -1
- package/dist/browser/api/managedPrivateEndpoints/options.d.ts +1 -1
- package/dist/browser/api/managedPrivateEndpoints/options.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +5 -5
- package/dist/browser/api/operations/operations.js +2 -2
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/operations/options.d.ts +1 -1
- package/dist/browser/api/operations/options.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +6 -6
- package/dist/browser/api/privateEndpointConnections/operations.js +3 -9
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/options.d.ts +2 -2
- package/dist/browser/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/browser/api/privateLinkResources/operations.d.ts +5 -5
- package/dist/browser/api/privateLinkResources/operations.js +2 -2
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/privateLinkResources/options.d.ts +1 -1
- package/dist/browser/api/privateLinkResources/options.js.map +1 -1
- package/dist/browser/classic/grafana/index.d.ts +5 -5
- package/dist/browser/classic/grafana/index.js.map +1 -1
- package/dist/browser/classic/integrationFabrics/index.d.ts +5 -5
- package/dist/browser/classic/integrationFabrics/index.js.map +1 -1
- package/dist/browser/classic/managedDashboards/index.d.ts +5 -5
- package/dist/browser/classic/managedDashboards/index.js.map +1 -1
- package/dist/browser/classic/managedPrivateEndpoints/index.d.ts +5 -5
- package/dist/browser/classic/managedPrivateEndpoints/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +4 -4
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +5 -5
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/classic/privateLinkResources/index.d.ts +4 -4
- package/dist/browser/classic/privateLinkResources/index.js.map +1 -1
- package/dist/browser/dashboardManagementClient.d.ts +10 -10
- package/dist/browser/dashboardManagementClient.js +6 -6
- package/dist/browser/dashboardManagementClient.js.map +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +74 -3
- package/dist/browser/models/models.js +54 -3
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts +4 -4
- package/dist/browser/restorePollerHelpers.js +1 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +10 -1
- package/dist/browser/static-helpers/cloudSettingHelpers.js +10 -1
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +22 -6
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/dashboardManagementContext.d.ts +3 -3
- package/dist/commonjs/api/dashboardManagementContext.js +2 -2
- package/dist/commonjs/api/dashboardManagementContext.js.map +1 -1
- package/dist/commonjs/api/grafana/operations.d.ts +6 -6
- package/dist/commonjs/api/grafana/operations.js +1 -7
- package/dist/commonjs/api/grafana/operations.js.map +1 -1
- package/dist/commonjs/api/grafana/options.d.ts +1 -1
- package/dist/commonjs/api/grafana/options.js.map +1 -1
- package/dist/commonjs/api/integrationFabrics/operations.d.ts +6 -6
- package/dist/commonjs/api/integrationFabrics/operations.js +1 -7
- package/dist/commonjs/api/integrationFabrics/operations.js.map +1 -1
- package/dist/commonjs/api/integrationFabrics/options.d.ts +1 -1
- package/dist/commonjs/api/integrationFabrics/options.js.map +1 -1
- package/dist/commonjs/api/managedDashboards/operations.d.ts +6 -6
- package/dist/commonjs/api/managedDashboards/operations.js +1 -7
- package/dist/commonjs/api/managedDashboards/operations.js.map +1 -1
- package/dist/commonjs/api/managedDashboards/options.d.ts +1 -1
- package/dist/commonjs/api/managedDashboards/options.js.map +1 -1
- package/dist/commonjs/api/managedPrivateEndpoints/operations.d.ts +6 -6
- package/dist/commonjs/api/managedPrivateEndpoints/operations.js +2 -14
- package/dist/commonjs/api/managedPrivateEndpoints/operations.js.map +1 -1
- package/dist/commonjs/api/managedPrivateEndpoints/options.d.ts +1 -1
- package/dist/commonjs/api/managedPrivateEndpoints/options.js.map +1 -1
- package/dist/commonjs/api/operations/operations.d.ts +5 -5
- package/dist/commonjs/api/operations/operations.js.map +1 -1
- package/dist/commonjs/api/operations/options.d.ts +1 -1
- package/dist/commonjs/api/operations/options.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +6 -6
- package/dist/commonjs/api/privateEndpointConnections/operations.js +1 -7
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/options.d.ts +2 -2
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/commonjs/api/privateLinkResources/operations.d.ts +5 -5
- package/dist/commonjs/api/privateLinkResources/operations.js.map +1 -1
- package/dist/commonjs/api/privateLinkResources/options.d.ts +1 -1
- package/dist/commonjs/api/privateLinkResources/options.js.map +1 -1
- package/dist/commonjs/classic/grafana/index.d.ts +5 -5
- package/dist/commonjs/classic/grafana/index.js.map +1 -1
- package/dist/commonjs/classic/integrationFabrics/index.d.ts +5 -5
- package/dist/commonjs/classic/integrationFabrics/index.js.map +1 -1
- package/dist/commonjs/classic/managedDashboards/index.d.ts +5 -5
- package/dist/commonjs/classic/managedDashboards/index.js.map +1 -1
- package/dist/commonjs/classic/managedPrivateEndpoints/index.d.ts +5 -5
- package/dist/commonjs/classic/managedPrivateEndpoints/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.d.ts +4 -4
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +5 -5
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/commonjs/classic/privateLinkResources/index.d.ts +4 -4
- package/dist/commonjs/classic/privateLinkResources/index.js.map +1 -1
- package/dist/commonjs/dashboardManagementClient.d.ts +10 -10
- package/dist/commonjs/dashboardManagementClient.js.map +1 -1
- package/dist/commonjs/index.d.ts +1 -1
- package/dist/commonjs/index.js +3 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.js +3 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +74 -3
- package/dist/commonjs/models/models.js +55 -4
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +10 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +10 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +22 -6
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/dashboardManagementContext.d.ts +3 -3
- package/dist/esm/api/dashboardManagementContext.js +2 -2
- package/dist/esm/api/dashboardManagementContext.js.map +1 -1
- package/dist/esm/api/grafana/operations.d.ts +6 -6
- package/dist/esm/api/grafana/operations.js +3 -9
- package/dist/esm/api/grafana/operations.js.map +1 -1
- package/dist/esm/api/grafana/options.d.ts +1 -1
- package/dist/esm/api/grafana/options.js.map +1 -1
- package/dist/esm/api/integrationFabrics/operations.d.ts +6 -6
- package/dist/esm/api/integrationFabrics/operations.js +3 -9
- package/dist/esm/api/integrationFabrics/operations.js.map +1 -1
- package/dist/esm/api/integrationFabrics/options.d.ts +1 -1
- package/dist/esm/api/integrationFabrics/options.js.map +1 -1
- package/dist/esm/api/managedDashboards/operations.d.ts +6 -6
- package/dist/esm/api/managedDashboards/operations.js +3 -9
- package/dist/esm/api/managedDashboards/operations.js.map +1 -1
- package/dist/esm/api/managedDashboards/options.d.ts +1 -1
- package/dist/esm/api/managedDashboards/options.js.map +1 -1
- package/dist/esm/api/managedPrivateEndpoints/operations.d.ts +6 -6
- package/dist/esm/api/managedPrivateEndpoints/operations.js +4 -16
- package/dist/esm/api/managedPrivateEndpoints/operations.js.map +1 -1
- package/dist/esm/api/managedPrivateEndpoints/options.d.ts +1 -1
- package/dist/esm/api/managedPrivateEndpoints/options.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +5 -5
- package/dist/esm/api/operations/operations.js +2 -2
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/operations/options.d.ts +1 -1
- package/dist/esm/api/operations/options.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +6 -6
- package/dist/esm/api/privateEndpointConnections/operations.js +3 -9
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/options.d.ts +2 -2
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/esm/api/privateLinkResources/operations.d.ts +5 -5
- package/dist/esm/api/privateLinkResources/operations.js +2 -2
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -1
- package/dist/esm/api/privateLinkResources/options.d.ts +1 -1
- package/dist/esm/api/privateLinkResources/options.js.map +1 -1
- package/dist/esm/classic/grafana/index.d.ts +5 -5
- package/dist/esm/classic/grafana/index.js.map +1 -1
- package/dist/esm/classic/integrationFabrics/index.d.ts +5 -5
- package/dist/esm/classic/integrationFabrics/index.js.map +1 -1
- package/dist/esm/classic/managedDashboards/index.d.ts +5 -5
- package/dist/esm/classic/managedDashboards/index.js.map +1 -1
- package/dist/esm/classic/managedPrivateEndpoints/index.d.ts +5 -5
- package/dist/esm/classic/managedPrivateEndpoints/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +4 -4
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +5 -5
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/esm/classic/privateLinkResources/index.d.ts +4 -4
- package/dist/esm/classic/privateLinkResources/index.js.map +1 -1
- package/dist/esm/dashboardManagementClient.d.ts +10 -10
- package/dist/esm/dashboardManagementClient.js +6 -6
- package/dist/esm/dashboardManagementClient.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +74 -3
- package/dist/esm/models/models.js +54 -3
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts +4 -4
- package/dist/esm/restorePollerHelpers.js +1 -1
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +10 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.js +10 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/esm/static-helpers/pollingHelpers.js +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +22 -6
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/api/dashboardManagementContext.d.ts +3 -3
- package/dist/react-native/api/dashboardManagementContext.js +2 -2
- package/dist/react-native/api/dashboardManagementContext.js.map +1 -1
- package/dist/react-native/api/grafana/operations.d.ts +6 -6
- package/dist/react-native/api/grafana/operations.js +3 -9
- package/dist/react-native/api/grafana/operations.js.map +1 -1
- package/dist/react-native/api/grafana/options.d.ts +1 -1
- package/dist/react-native/api/grafana/options.js.map +1 -1
- package/dist/react-native/api/integrationFabrics/operations.d.ts +6 -6
- package/dist/react-native/api/integrationFabrics/operations.js +3 -9
- package/dist/react-native/api/integrationFabrics/operations.js.map +1 -1
- package/dist/react-native/api/integrationFabrics/options.d.ts +1 -1
- package/dist/react-native/api/integrationFabrics/options.js.map +1 -1
- package/dist/react-native/api/managedDashboards/operations.d.ts +6 -6
- package/dist/react-native/api/managedDashboards/operations.js +3 -9
- package/dist/react-native/api/managedDashboards/operations.js.map +1 -1
- package/dist/react-native/api/managedDashboards/options.d.ts +1 -1
- package/dist/react-native/api/managedDashboards/options.js.map +1 -1
- package/dist/react-native/api/managedPrivateEndpoints/operations.d.ts +6 -6
- package/dist/react-native/api/managedPrivateEndpoints/operations.js +4 -16
- package/dist/react-native/api/managedPrivateEndpoints/operations.js.map +1 -1
- package/dist/react-native/api/managedPrivateEndpoints/options.d.ts +1 -1
- package/dist/react-native/api/managedPrivateEndpoints/options.js.map +1 -1
- package/dist/react-native/api/operations/operations.d.ts +5 -5
- package/dist/react-native/api/operations/operations.js +2 -2
- package/dist/react-native/api/operations/operations.js.map +1 -1
- package/dist/react-native/api/operations/options.d.ts +1 -1
- package/dist/react-native/api/operations/options.js.map +1 -1
- package/dist/react-native/api/privateEndpointConnections/operations.d.ts +6 -6
- package/dist/react-native/api/privateEndpointConnections/operations.js +3 -9
- package/dist/react-native/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/react-native/api/privateEndpointConnections/options.d.ts +2 -2
- package/dist/react-native/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/react-native/api/privateLinkResources/operations.d.ts +5 -5
- package/dist/react-native/api/privateLinkResources/operations.js +2 -2
- package/dist/react-native/api/privateLinkResources/operations.js.map +1 -1
- package/dist/react-native/api/privateLinkResources/options.d.ts +1 -1
- package/dist/react-native/api/privateLinkResources/options.js.map +1 -1
- package/dist/react-native/classic/grafana/index.d.ts +5 -5
- package/dist/react-native/classic/grafana/index.js.map +1 -1
- package/dist/react-native/classic/integrationFabrics/index.d.ts +5 -5
- package/dist/react-native/classic/integrationFabrics/index.js.map +1 -1
- package/dist/react-native/classic/managedDashboards/index.d.ts +5 -5
- package/dist/react-native/classic/managedDashboards/index.js.map +1 -1
- package/dist/react-native/classic/managedPrivateEndpoints/index.d.ts +5 -5
- package/dist/react-native/classic/managedPrivateEndpoints/index.js.map +1 -1
- package/dist/react-native/classic/operations/index.d.ts +4 -4
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/classic/privateEndpointConnections/index.d.ts +5 -5
- package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/react-native/classic/privateLinkResources/index.d.ts +4 -4
- package/dist/react-native/classic/privateLinkResources/index.js.map +1 -1
- package/dist/react-native/dashboardManagementClient.d.ts +10 -10
- package/dist/react-native/dashboardManagementClient.js +6 -6
- package/dist/react-native/dashboardManagementClient.js.map +1 -1
- package/dist/react-native/index.d.ts +1 -1
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +74 -3
- package/dist/react-native/models/models.js +54 -3
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.d.ts +4 -4
- package/dist/react-native/restorePollerHelpers.js +1 -1
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +10 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +10 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +3 -3
- package/dist/react-native/static-helpers/pollingHelpers.js +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +22 -6
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +39 -35
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAUlC,4EAKC;AAED,gEAIC;AAgBD,sDAQC;AAcD,oEAOC;AA4CD,8DAIC;AAgBD,0DAUC;AAED,oEAIC;AAED,oFAIC;AAUD,0EAKC;AAQD,kFAMC;AAED,sFAYC;AAcD,sGAgBC;AAED,0GAiBC;AAQD,8DAEC;AAED,kEAIC;AAYD,kGAQC;AAED,sGAQC;AAkDD,0DAEC;AAED,8DASC;AAcD,gDAEC;AAED,oDASC;AAkBD,wDAWC;AAkCD,4GAOC;AAED,4FAMC;AAED,gGAMC;AAQD,0EAYC;AAcD,8FAiBC;AA0BD,gGAOC;AAED,oFAIC;AAOD,kEAQC;AAED,sEAcC;AAcD,sFAUC;AAED,0FAWC;AAUD,8DAEC;AAED,kEAWC;AAUD,kGASC;AAQD,sHAUC;AAUD,gGAOC;AAED,4EAIC;AAED,gFAIC;AAQD,gEAQC;AAED,oEAcC;AAQD,oFAEC;AAED,wFAIC;AAQD,gGAIC;AAUD,8FAOC;AAED,0EAIC;AAED,8EAIC;AAgBD,4DAYC;AAED,gEAkBC;AAoCD,gFAqBC;AAED,oFAgCC;AAgED,sEAMC;AAED,0EAQC;AAED,0GAMC;AAED,8GAMC;AAQD,gGAMC;AAED,oGAMC;AAUD,gFAKC;AAED,oFAKC;AAmCD,0EAUC;AAED,8EAUC;AAqCD,wCAWC;AAED,4CAWC;AA8BD,kDAEC;AAED,sDAIC;AAUD,0CAKC;AAED,8CAKC;AAQD,gDAEC;AAED,oDAIC;AAQD,oFAEC;AAED,wFAIC;AAED,sEAQC;AAED,0EAQC;AAQD,0DAEC;AAED,8DAIC;AAQD,sDAEC;AAED,0DAIC;AAcD,4EAOC;AAED,gFASC;AA0BD,oFAQC;AAED,wFAQC;AAUD,wEAEC;AAED,4EAKC;AAaD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EAAmB,CAAA;IACnB,oEAAqB,CAAA;IACrB,oEAAqB,CAAA;IACrB,4EAA6B,CAAA;AAC/B,CAAC,EALW,2CAA2C,2DAA3C,2CAA2C,QAKtD;AAoBD,SAAgB,gDAAgD,CAC9D,IAA4C;IAE5C,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;AAChC,CAAC;AAUD,SAAgB,oDAAoD,CAClE,IAAS;IAET,OAAO;QACL,KAAK,EAAE,4CAA4C,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClE,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,SAAgB,0CAA0C,CACxD,MAA0C;IAE1C,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qCAAqC,CAAC,IAAI,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,4CAA4C,CAC1D,MAA0C;IAE1C,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,uCAAuC,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACL,CAAC;AAED,kCAAkC;AAClC,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,0CAA0C;IAC1C,wDAAuC,CAAA;AACzC,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** The Private Endpoint Connection resource. */\nexport interface PrivateEndpointConnection extends ProxyResource {\n /** Resource properties. */\n properties?: PrivateEndpointConnectionProperties;\n}\n\nexport function privateEndpointConnectionSerializer(item: PrivateEndpointConnection): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : privateEndpointConnectionPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function privateEndpointConnectionDeserializer(item: any): PrivateEndpointConnection {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : privateEndpointConnectionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of the PrivateEndpointConnectProperties. */\nexport interface PrivateEndpointConnectionProperties {\n /** The resource of private end point. */\n privateEndpoint?: PrivateEndpoint;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;\n /** The private endpoint connection group ids. */\n groupIds?: string[];\n /** The provisioning state of the private endpoint connection resource. */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningState;\n}\n\nexport function privateEndpointConnectionPropertiesSerializer(\n item: PrivateEndpointConnectionProperties,\n): any {\n return {\n privateEndpoint: !item[\"privateEndpoint\"]\n ? item[\"privateEndpoint\"]\n : privateEndpointSerializer(item[\"privateEndpoint\"]),\n privateLinkServiceConnectionState: privateLinkServiceConnectionStateSerializer(\n item[\"privateLinkServiceConnectionState\"],\n ),\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function privateEndpointConnectionPropertiesDeserializer(\n item: any,\n): PrivateEndpointConnectionProperties {\n return {\n privateEndpoint: !item[\"privateEndpoint\"]\n ? item[\"privateEndpoint\"]\n : privateEndpointDeserializer(item[\"privateEndpoint\"]),\n privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(\n item[\"privateLinkServiceConnectionState\"],\n ),\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The private endpoint resource. */\nexport interface PrivateEndpoint {\n /** The resource identifier of the private endpoint */\n readonly id?: string;\n}\n\nexport function privateEndpointSerializer(item: PrivateEndpoint): any {\n return item;\n}\n\nexport function privateEndpointDeserializer(item: any): PrivateEndpoint {\n return {\n id: item[\"id\"],\n };\n}\n\n/** A collection of information about the state of the connection between service consumer and provider. */\nexport interface PrivateLinkServiceConnectionState {\n /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */\n status?: PrivateEndpointServiceConnectionStatus;\n /** The reason for approval/rejection of the connection. */\n description?: string;\n /** A message indicating if changes on the service provider require any updates on the consumer. */\n actionsRequired?: string;\n}\n\nexport function privateLinkServiceConnectionStateSerializer(\n item: PrivateLinkServiceConnectionState,\n): any {\n return {\n status: item[\"status\"],\n description: item[\"description\"],\n actionsRequired: item[\"actionsRequired\"],\n };\n}\n\nexport function privateLinkServiceConnectionStateDeserializer(\n item: any,\n): PrivateLinkServiceConnectionState {\n return {\n status: item[\"status\"],\n description: item[\"description\"],\n actionsRequired: item[\"actionsRequired\"],\n };\n}\n\n/** The private endpoint connection status. */\nexport enum KnownPrivateEndpointServiceConnectionStatus {\n /** Connection waiting for approval or rejection */\n Pending = \"Pending\",\n /** Connection approved */\n Approved = \"Approved\",\n /** Connection Rejected */\n Rejected = \"Rejected\",\n}\n\n/**\n * The private endpoint connection status. \\\n * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pending**: Connection waiting for approval or rejection \\\n * **Approved**: Connection approved \\\n * **Rejected**: Connection Rejected\n */\nexport type PrivateEndpointServiceConnectionStatus = string;\n\n/** The current provisioning state. */\nexport enum KnownPrivateEndpointConnectionProvisioningState {\n /** Connection has been provisioned */\n Succeeded = \"Succeeded\",\n /** Connection is being created */\n Creating = \"Creating\",\n /** Connection is being deleted */\n Deleting = \"Deleting\",\n /** Connection provisioning has failed */\n Failed = \"Failed\",\n}\n\n/**\n * The current provisioning state. \\\n * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Connection has been provisioned \\\n * **Creating**: Connection is being created \\\n * **Deleting**: Connection is being deleted \\\n * **Failed**: Connection provisioning has failed\n */\nexport type PrivateEndpointConnectionProvisioningState = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The response of a PrivateEndpointConnection list operation. */\nexport interface _PrivateEndpointConnectionListResult {\n /** The PrivateEndpointConnection items on this page */\n value: PrivateEndpointConnection[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _privateEndpointConnectionListResultDeserializer(\n item: any,\n): _PrivateEndpointConnectionListResult {\n return {\n value: privateEndpointConnectionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function privateEndpointConnectionArraySerializer(\n result: Array<PrivateEndpointConnection>,\n): any[] {\n return result.map((item) => {\n return privateEndpointConnectionSerializer(item);\n });\n}\n\nexport function privateEndpointConnectionArrayDeserializer(\n result: Array<PrivateEndpointConnection>,\n): any[] {\n return result.map((item) => {\n return privateEndpointConnectionDeserializer(item);\n });\n}\n\n/** A private link resource */\nexport interface PrivateLinkResource extends ProxyResource {\n /** Resource properties. */\n properties?: PrivateLinkResourceProperties;\n}\n\nexport function privateLinkResourceDeserializer(item: any): PrivateLinkResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : privateLinkResourcePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of a private link resource. */\nexport interface PrivateLinkResourceProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n /** The private link resource group id. */\n readonly groupId?: string;\n /** The private link resource required member names. */\n readonly requiredMembers?: string[];\n /** The private link resource Private link DNS zone name. */\n requiredZoneNames?: string[];\n}\n\nexport function privateLinkResourcePropertiesDeserializer(\n item: any,\n): PrivateLinkResourceProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n groupId: item[\"groupId\"],\n requiredMembers: !item[\"requiredMembers\"]\n ? item[\"requiredMembers\"]\n : item[\"requiredMembers\"].map((p: any) => {\n return p;\n }),\n requiredZoneNames: !item[\"requiredZoneNames\"]\n ? item[\"requiredZoneNames\"]\n : item[\"requiredZoneNames\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n Accepted = \"Accepted\",\n Creating = \"Creating\",\n Updating = \"Updating\",\n Deleting = \"Deleting\",\n Succeeded = \"Succeeded\",\n Failed = \"Failed\",\n Canceled = \"Canceled\",\n Deleted = \"Deleted\",\n NotSpecified = \"NotSpecified\",\n}\n\n/** Type of ProvisioningState */\nexport type ProvisioningState = string;\n\n/** The response of a PrivateLinkResource list operation. */\nexport interface _PrivateLinkResourceListResult {\n /** The PrivateLinkResource items on this page */\n value: PrivateLinkResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _privateLinkResourceListResultDeserializer(\n item: any,\n): _PrivateLinkResourceListResult {\n return {\n value: privateLinkResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function privateLinkResourceArrayDeserializer(result: Array<PrivateLinkResource>): any[] {\n return result.map((item) => {\n return privateLinkResourceDeserializer(item);\n });\n}\n\n/** The integration fabric resource type. */\nexport interface IntegrationFabric extends TrackedResource {\n properties?: IntegrationFabricProperties;\n}\n\nexport function integrationFabricSerializer(item: IntegrationFabric): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : integrationFabricPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function integrationFabricDeserializer(item: any): IntegrationFabric {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : integrationFabricPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** model interface IntegrationFabricProperties */\nexport interface IntegrationFabricProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n /** The resource Id of the Azure resource being integrated with Azure Managed Grafana. E.g., an Azure Kubernetes Service cluster. */\n targetResourceId?: string;\n /** The resource Id of the Azure resource which is used to configure Grafana data source. E.g., an Azure Monitor Workspace, an Azure Data Explorer cluster, etc. */\n dataSourceResourceId?: string;\n /** A list of integration scenarios covered by this integration fabric */\n scenarios?: string[];\n}\n\nexport function integrationFabricPropertiesSerializer(item: IntegrationFabricProperties): any {\n return {\n targetResourceId: item[\"targetResourceId\"],\n dataSourceResourceId: item[\"dataSourceResourceId\"],\n scenarios: !item[\"scenarios\"]\n ? item[\"scenarios\"]\n : item[\"scenarios\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function integrationFabricPropertiesDeserializer(item: any): IntegrationFabricProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n targetResourceId: item[\"targetResourceId\"],\n dataSourceResourceId: item[\"dataSourceResourceId\"],\n scenarios: !item[\"scenarios\"]\n ? item[\"scenarios\"]\n : item[\"scenarios\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** The parameters for a PATCH request to a Integration Fabric resource. */\nexport interface IntegrationFabricUpdateParameters {\n /** The new tags of the Integration Fabric resource. */\n tags?: Record<string, string>;\n /** The new properties of this Integration Fabric resource */\n properties?: IntegrationFabricPropertiesUpdateParameters;\n}\n\nexport function integrationFabricUpdateParametersSerializer(\n item: IntegrationFabricUpdateParameters,\n): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : integrationFabricPropertiesUpdateParametersSerializer(item[\"properties\"]),\n };\n}\n\n/** model interface IntegrationFabricPropertiesUpdateParameters */\nexport interface IntegrationFabricPropertiesUpdateParameters {\n /** The new integration scenarios covered by this integration fabric. */\n scenarios?: string[];\n}\n\nexport function integrationFabricPropertiesUpdateParametersSerializer(\n item: IntegrationFabricPropertiesUpdateParameters,\n): any {\n return {\n scenarios: !item[\"scenarios\"]\n ? item[\"scenarios\"]\n : item[\"scenarios\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Paged collection of IntegrationFabric items */\nexport interface _IntegrationFabricListResponse {\n /** The IntegrationFabric items on this page */\n value: IntegrationFabric[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _integrationFabricListResponseDeserializer(\n item: any,\n): _IntegrationFabricListResponse {\n return {\n value: integrationFabricArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function integrationFabricArraySerializer(result: Array<IntegrationFabric>): any[] {\n return result.map((item) => {\n return integrationFabricSerializer(item);\n });\n}\n\nexport function integrationFabricArrayDeserializer(result: Array<IntegrationFabric>): any[] {\n return result.map((item) => {\n return integrationFabricDeserializer(item);\n });\n}\n\n/** The managed dashboard resource type. */\nexport interface ManagedDashboard extends TrackedResource {\n /** Properties specific to the managed dashboard resource. */\n properties?: ManagedDashboardProperties;\n}\n\nexport function managedDashboardSerializer(item: ManagedDashboard): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedDashboardPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function managedDashboardDeserializer(item: any): ManagedDashboard {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedDashboardPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties specific to the grafana resource. */\nexport interface ManagedDashboardProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function managedDashboardPropertiesSerializer(item: ManagedDashboardProperties): any {\n return item;\n}\n\nexport function managedDashboardPropertiesDeserializer(item: any): ManagedDashboardProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The parameters for a PATCH request to a managed dashboard resource. */\nexport interface ManagedDashboardUpdateParameters {\n /** The new tags of the managed dashboard resource. */\n tags?: Record<string, string>;\n}\n\nexport function managedDashboardUpdateParametersSerializer(\n item: ManagedDashboardUpdateParameters,\n): any {\n return { tags: item[\"tags\"] };\n}\n\n/** Paged collection of ManagedDashboard items */\nexport interface _ManagedDashboardListResponse {\n /** The ManagedDashboard items on this page */\n value: ManagedDashboard[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _managedDashboardListResponseDeserializer(\n item: any,\n): _ManagedDashboardListResponse {\n return {\n value: managedDashboardArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function managedDashboardArraySerializer(result: Array<ManagedDashboard>): any[] {\n return result.map((item) => {\n return managedDashboardSerializer(item);\n });\n}\n\nexport function managedDashboardArrayDeserializer(result: Array<ManagedDashboard>): any[] {\n return result.map((item) => {\n return managedDashboardDeserializer(item);\n });\n}\n\n/** The grafana resource type. */\nexport interface ManagedGrafana extends ProxyResource {\n /** Properties specific to the grafana resource. */\n properties?: ManagedGrafanaProperties;\n /** The Sku of the grafana resource. */\n sku?: ResourceSku;\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location?: string;\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n}\n\nexport function managedGrafanaSerializer(item: ManagedGrafana): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedGrafanaPropertiesSerializer(item[\"properties\"]),\n sku: !item[\"sku\"] ? item[\"sku\"] : resourceSkuSerializer(item[\"sku\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n };\n}\n\nexport function managedGrafanaDeserializer(item: any): ManagedGrafana {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedGrafanaPropertiesDeserializer(item[\"properties\"]),\n sku: !item[\"sku\"] ? item[\"sku\"] : resourceSkuDeserializer(item[\"sku\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentityDeserializer(item[\"identity\"]),\n };\n}\n\n/** Properties specific to the grafana resource. */\nexport interface ManagedGrafanaProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n /** The Grafana software version. */\n readonly grafanaVersion?: string;\n /** The endpoint of the Grafana instance. */\n readonly endpoint?: string;\n /** Indicate the state for enable or disable traffic over the public interface. */\n publicNetworkAccess?: PublicNetworkAccess;\n /** The zone redundancy setting of the Grafana instance. */\n zoneRedundancy?: ZoneRedundancy;\n /** The api key setting of the Grafana instance. */\n apiKey?: ApiKey;\n /** Whether a Grafana instance uses deterministic outbound IPs. */\n deterministicOutboundIP?: DeterministicOutboundIP;\n /** List of outbound IPs if deterministicOutboundIP is enabled. */\n readonly outboundIPs?: string[];\n /** The private endpoint connections of the Grafana instance. */\n readonly privateEndpointConnections?: PrivateEndpointConnection[];\n /** Scope for dns deterministic name hash calculation. */\n autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;\n /** GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. */\n grafanaIntegrations?: GrafanaIntegrations;\n /** Enterprise settings of a Grafana instance */\n enterpriseConfigurations?: EnterpriseConfigurations;\n /** Server configurations of a Grafana instance */\n grafanaConfigurations?: GrafanaConfigurations;\n /** Installed plugin list of the Grafana instance. Key is plugin id, value is plugin definition. */\n grafanaPlugins?: Record<string, GrafanaPlugin>;\n /** The major Grafana software version to target. */\n grafanaMajorVersion?: string;\n}\n\nexport function managedGrafanaPropertiesSerializer(item: ManagedGrafanaProperties): any {\n return {\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n zoneRedundancy: item[\"zoneRedundancy\"],\n apiKey: item[\"apiKey\"],\n deterministicOutboundIP: item[\"deterministicOutboundIP\"],\n autoGeneratedDomainNameLabelScope: item[\"autoGeneratedDomainNameLabelScope\"],\n grafanaIntegrations: !item[\"grafanaIntegrations\"]\n ? item[\"grafanaIntegrations\"]\n : grafanaIntegrationsSerializer(item[\"grafanaIntegrations\"]),\n enterpriseConfigurations: !item[\"enterpriseConfigurations\"]\n ? item[\"enterpriseConfigurations\"]\n : enterpriseConfigurationsSerializer(item[\"enterpriseConfigurations\"]),\n grafanaConfigurations: !item[\"grafanaConfigurations\"]\n ? item[\"grafanaConfigurations\"]\n : grafanaConfigurationsSerializer(item[\"grafanaConfigurations\"]),\n grafanaPlugins: !item[\"grafanaPlugins\"]\n ? item[\"grafanaPlugins\"]\n : grafanaPluginRecordSerializer(item[\"grafanaPlugins\"]),\n grafanaMajorVersion: item[\"grafanaMajorVersion\"],\n };\n}\n\nexport function managedGrafanaPropertiesDeserializer(item: any): ManagedGrafanaProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n grafanaVersion: item[\"grafanaVersion\"],\n endpoint: item[\"endpoint\"],\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n zoneRedundancy: item[\"zoneRedundancy\"],\n apiKey: item[\"apiKey\"],\n deterministicOutboundIP: item[\"deterministicOutboundIP\"],\n outboundIPs: !item[\"outboundIPs\"]\n ? item[\"outboundIPs\"]\n : item[\"outboundIPs\"].map((p: any) => {\n return p;\n }),\n privateEndpointConnections: !item[\"privateEndpointConnections\"]\n ? item[\"privateEndpointConnections\"]\n : privateEndpointConnectionArrayDeserializer(item[\"privateEndpointConnections\"]),\n autoGeneratedDomainNameLabelScope: item[\"autoGeneratedDomainNameLabelScope\"],\n grafanaIntegrations: !item[\"grafanaIntegrations\"]\n ? item[\"grafanaIntegrations\"]\n : grafanaIntegrationsDeserializer(item[\"grafanaIntegrations\"]),\n enterpriseConfigurations: !item[\"enterpriseConfigurations\"]\n ? item[\"enterpriseConfigurations\"]\n : enterpriseConfigurationsDeserializer(item[\"enterpriseConfigurations\"]),\n grafanaConfigurations: !item[\"grafanaConfigurations\"]\n ? item[\"grafanaConfigurations\"]\n : grafanaConfigurationsDeserializer(item[\"grafanaConfigurations\"]),\n grafanaPlugins: !item[\"grafanaPlugins\"]\n ? item[\"grafanaPlugins\"]\n : grafanaPluginRecordDeserializer(item[\"grafanaPlugins\"]),\n grafanaMajorVersion: item[\"grafanaMajorVersion\"],\n };\n}\n\n/** Indicate the state for enable or disable traffic over the public interface. */\nexport enum KnownPublicNetworkAccess {\n Enabled = \"Enabled\",\n Disabled = \"Disabled\",\n}\n\n/**\n * Indicate the state for enable or disable traffic over the public interface. \\\n * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type PublicNetworkAccess = string;\n\n/** Known values of {@link ZoneRedundancy} that the service accepts. */\nexport enum KnownZoneRedundancy {\n Disabled = \"Disabled\",\n Enabled = \"Enabled\",\n}\n\n/** Type of ZoneRedundancy */\nexport type ZoneRedundancy = string;\n\n/** Known values of {@link ApiKey} that the service accepts. */\nexport enum KnownApiKey {\n Disabled = \"Disabled\",\n Enabled = \"Enabled\",\n}\n\n/** Type of ApiKey */\nexport type ApiKey = string;\n\n/** Known values of {@link DeterministicOutboundIP} that the service accepts. */\nexport enum KnownDeterministicOutboundIP {\n Disabled = \"Disabled\",\n Enabled = \"Enabled\",\n}\n\n/** Type of DeterministicOutboundIP */\nexport type DeterministicOutboundIP = string;\n\n/** Scope for dns deterministic name hash calculation */\nexport enum KnownAutoGeneratedDomainNameLabelScope {\n TenantReuse = \"TenantReuse\",\n}\n\n/**\n * Scope for dns deterministic name hash calculation \\\n * {@link KnownAutoGeneratedDomainNameLabelScope} can be used interchangeably with AutoGeneratedDomainNameLabelScope,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TenantReuse**\n */\nexport type AutoGeneratedDomainNameLabelScope = string;\n\n/** GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. */\nexport interface GrafanaIntegrations {\n azureMonitorWorkspaceIntegrations?: AzureMonitorWorkspaceIntegration[];\n}\n\nexport function grafanaIntegrationsSerializer(item: GrafanaIntegrations): any {\n return {\n azureMonitorWorkspaceIntegrations: !item[\"azureMonitorWorkspaceIntegrations\"]\n ? item[\"azureMonitorWorkspaceIntegrations\"]\n : azureMonitorWorkspaceIntegrationArraySerializer(item[\"azureMonitorWorkspaceIntegrations\"]),\n };\n}\n\nexport function grafanaIntegrationsDeserializer(item: any): GrafanaIntegrations {\n return {\n azureMonitorWorkspaceIntegrations: !item[\"azureMonitorWorkspaceIntegrations\"]\n ? item[\"azureMonitorWorkspaceIntegrations\"]\n : azureMonitorWorkspaceIntegrationArrayDeserializer(\n item[\"azureMonitorWorkspaceIntegrations\"],\n ),\n };\n}\n\nexport function azureMonitorWorkspaceIntegrationArraySerializer(\n result: Array<AzureMonitorWorkspaceIntegration>,\n): any[] {\n return result.map((item) => {\n return azureMonitorWorkspaceIntegrationSerializer(item);\n });\n}\n\nexport function azureMonitorWorkspaceIntegrationArrayDeserializer(\n result: Array<AzureMonitorWorkspaceIntegration>,\n): any[] {\n return result.map((item) => {\n return azureMonitorWorkspaceIntegrationDeserializer(item);\n });\n}\n\n/** Integrations for Azure Monitor Workspace. */\nexport interface AzureMonitorWorkspaceIntegration {\n /** The resource Id of the connected Azure Monitor Workspace. */\n azureMonitorWorkspaceResourceId?: string;\n}\n\nexport function azureMonitorWorkspaceIntegrationSerializer(\n item: AzureMonitorWorkspaceIntegration,\n): any {\n return {\n azureMonitorWorkspaceResourceId: item[\"azureMonitorWorkspaceResourceId\"],\n };\n}\n\nexport function azureMonitorWorkspaceIntegrationDeserializer(\n item: any,\n): AzureMonitorWorkspaceIntegration {\n return {\n azureMonitorWorkspaceResourceId: item[\"azureMonitorWorkspaceResourceId\"],\n };\n}\n\n/** Enterprise settings of a Grafana instance */\nexport interface EnterpriseConfigurations {\n /** The Plan Id of the Azure Marketplace subscription for the Enterprise plugins */\n marketplacePlanId?: string;\n /** The AutoRenew setting of the Enterprise subscription */\n marketplaceAutoRenew?: MarketplaceAutoRenew;\n}\n\nexport function enterpriseConfigurationsSerializer(item: EnterpriseConfigurations): any {\n return {\n marketplacePlanId: item[\"marketplacePlanId\"],\n marketplaceAutoRenew: item[\"marketplaceAutoRenew\"],\n };\n}\n\nexport function enterpriseConfigurationsDeserializer(item: any): EnterpriseConfigurations {\n return {\n marketplacePlanId: item[\"marketplacePlanId\"],\n marketplaceAutoRenew: item[\"marketplaceAutoRenew\"],\n };\n}\n\n/** The AutoRenew setting of the Enterprise subscription */\nexport enum KnownMarketplaceAutoRenew {\n Disabled = \"Disabled\",\n Enabled = \"Enabled\",\n}\n\n/**\n * The AutoRenew setting of the Enterprise subscription \\\n * {@link KnownMarketplaceAutoRenew} can be used interchangeably with MarketplaceAutoRenew,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Disabled** \\\n * **Enabled**\n */\nexport type MarketplaceAutoRenew = string;\n\n/** Server configurations of a Grafana instance */\nexport interface GrafanaConfigurations {\n /**\n * Email server settings.\n * https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp\n */\n smtp?: Smtp;\n /** Grafana Snapshots settings */\n snapshots?: Snapshots;\n /** Grafana users settings */\n users?: Users;\n /** Grafana security settings */\n security?: Security;\n /** Grafana Unified Alerting Screenshots settings */\n unifiedAlertingScreenshots?: UnifiedAlertingScreenshots;\n}\n\nexport function grafanaConfigurationsSerializer(item: GrafanaConfigurations): any {\n return {\n smtp: !item[\"smtp\"] ? item[\"smtp\"] : smtpSerializer(item[\"smtp\"]),\n snapshots: !item[\"snapshots\"] ? item[\"snapshots\"] : snapshotsSerializer(item[\"snapshots\"]),\n users: !item[\"users\"] ? item[\"users\"] : usersSerializer(item[\"users\"]),\n security: !item[\"security\"] ? item[\"security\"] : securitySerializer(item[\"security\"]),\n unifiedAlertingScreenshots: !item[\"unifiedAlertingScreenshots\"]\n ? item[\"unifiedAlertingScreenshots\"]\n : unifiedAlertingScreenshotsSerializer(item[\"unifiedAlertingScreenshots\"]),\n };\n}\n\nexport function grafanaConfigurationsDeserializer(item: any): GrafanaConfigurations {\n return {\n smtp: !item[\"smtp\"] ? item[\"smtp\"] : smtpDeserializer(item[\"smtp\"]),\n snapshots: !item[\"snapshots\"] ? item[\"snapshots\"] : snapshotsDeserializer(item[\"snapshots\"]),\n users: !item[\"users\"] ? item[\"users\"] : usersDeserializer(item[\"users\"]),\n security: !item[\"security\"] ? item[\"security\"] : securityDeserializer(item[\"security\"]),\n unifiedAlertingScreenshots: !item[\"unifiedAlertingScreenshots\"]\n ? item[\"unifiedAlertingScreenshots\"]\n : unifiedAlertingScreenshotsDeserializer(item[\"unifiedAlertingScreenshots\"]),\n };\n}\n\n/**\n * Email server settings.\n * https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp\n */\nexport interface Smtp {\n /** Enable this to allow Grafana to send email. Default is false */\n enabled?: boolean;\n /** SMTP server hostname with port, e.g. test.email.net:587 */\n host?: string;\n /** User of SMTP auth */\n user?: string;\n /** Password of SMTP auth. If the password contains # or ;, then you have to wrap it with triple quotes */\n password?: string;\n /**\n * Address used when sending out emails\n * https://pkg.go.dev/net/mail#Address\n */\n fromAddress?: string;\n /**\n * Name to be used when sending out emails. Default is \"Azure Managed Grafana Notification\"\n * https://pkg.go.dev/net/mail#Address\n */\n fromName?: string;\n /**\n * The StartTLSPolicy setting of the SMTP configuration\n * https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy\n */\n startTLSPolicy?: StartTLSPolicy;\n /**\n * Verify SSL for SMTP server. Default is false\n * https://pkg.go.dev/crypto/tls#Config\n */\n skipVerify?: boolean;\n}\n\nexport function smtpSerializer(item: Smtp): any {\n return {\n enabled: item[\"enabled\"],\n host: item[\"host\"],\n user: item[\"user\"],\n password: item[\"password\"],\n fromAddress: item[\"fromAddress\"],\n fromName: item[\"fromName\"],\n startTLSPolicy: item[\"startTLSPolicy\"],\n skipVerify: item[\"skipVerify\"],\n };\n}\n\nexport function smtpDeserializer(item: any): Smtp {\n return {\n enabled: item[\"enabled\"],\n host: item[\"host\"],\n user: item[\"user\"],\n password: item[\"password\"],\n fromAddress: item[\"fromAddress\"],\n fromName: item[\"fromName\"],\n startTLSPolicy: item[\"startTLSPolicy\"],\n skipVerify: item[\"skipVerify\"],\n };\n}\n\n/**\n * The StartTLSPolicy setting of the SMTP configuration\n * https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy\n */\nexport enum KnownStartTLSPolicy {\n OpportunisticStartTLS = \"OpportunisticStartTLS\",\n MandatoryStartTLS = \"MandatoryStartTLS\",\n NoStartTLS = \"NoStartTLS\",\n}\n\n/**\n * The StartTLSPolicy setting of the SMTP configuration\n * https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy \\\n * {@link KnownStartTLSPolicy} can be used interchangeably with StartTLSPolicy,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **OpportunisticStartTLS** \\\n * **MandatoryStartTLS** \\\n * **NoStartTLS**\n */\nexport type StartTLSPolicy = string;\n\n/** Grafana Snapshots settings */\nexport interface Snapshots {\n /** Set to false to disable external snapshot publish endpoint */\n externalEnabled?: boolean;\n}\n\nexport function snapshotsSerializer(item: Snapshots): any {\n return { externalEnabled: item[\"externalEnabled\"] };\n}\n\nexport function snapshotsDeserializer(item: any): Snapshots {\n return {\n externalEnabled: item[\"externalEnabled\"],\n };\n}\n\n/** Grafana users settings */\nexport interface Users {\n /** Set to true so viewers can access and use explore and perform temporary edits on panels in dashboards they have access to. They cannot save their changes. */\n viewersCanEdit?: boolean;\n /** Set to true so editors can administrate dashboards, folders and teams they create. */\n editorsCanAdmin?: boolean;\n}\n\nexport function usersSerializer(item: Users): any {\n return {\n viewersCanEdit: item[\"viewersCanEdit\"],\n editorsCanAdmin: item[\"editorsCanAdmin\"],\n };\n}\n\nexport function usersDeserializer(item: any): Users {\n return {\n viewersCanEdit: item[\"viewersCanEdit\"],\n editorsCanAdmin: item[\"editorsCanAdmin\"],\n };\n}\n\n/** Grafana security settings */\nexport interface Security {\n /** Set to true to execute the CSRF check even if the login cookie is not in a request (default false). */\n csrfAlwaysCheck?: boolean;\n}\n\nexport function securitySerializer(item: Security): any {\n return { csrfAlwaysCheck: item[\"csrfAlwaysCheck\"] };\n}\n\nexport function securityDeserializer(item: any): Security {\n return {\n csrfAlwaysCheck: item[\"csrfAlwaysCheck\"],\n };\n}\n\n/** Grafana Unified Alerting Screenshots settings */\nexport interface UnifiedAlertingScreenshots {\n /** Set to false to disable capture screenshot in Unified Alert due to performance issue. */\n captureEnabled?: boolean;\n}\n\nexport function unifiedAlertingScreenshotsSerializer(item: UnifiedAlertingScreenshots): any {\n return { captureEnabled: item[\"captureEnabled\"] };\n}\n\nexport function unifiedAlertingScreenshotsDeserializer(item: any): UnifiedAlertingScreenshots {\n return {\n captureEnabled: item[\"captureEnabled\"],\n };\n}\n\nexport function grafanaPluginRecordSerializer(\n item: Record<string, GrafanaPlugin>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : grafanaPluginSerializer(item[key]);\n });\n return result;\n}\n\nexport function grafanaPluginRecordDeserializer(\n item: Record<string, any>,\n): Record<string, GrafanaPlugin> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : grafanaPluginDeserializer(item[key]);\n });\n return result;\n}\n\n/** Plugin of Grafana */\nexport interface GrafanaPlugin {\n /** Grafana plugin id */\n readonly pluginId?: string;\n}\n\nexport function grafanaPluginSerializer(item: GrafanaPlugin): any {\n return item;\n}\n\nexport function grafanaPluginDeserializer(item: any): GrafanaPlugin {\n return {\n pluginId: item[\"pluginId\"],\n };\n}\n\n/** Represents the SKU of a resource. */\nexport interface ResourceSku {\n /** The name of the SKU. */\n name: string;\n}\n\nexport function resourceSkuSerializer(item: ResourceSku): any {\n return { name: item[\"name\"] };\n}\n\nexport function resourceSkuDeserializer(item: any): ResourceSku {\n return {\n name: item[\"name\"],\n };\n}\n\n/** Managed service identity (system assigned and/or user assigned identities) */\nexport interface ManagedServiceIdentity {\n /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly principalId?: string;\n /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly tenantId?: string;\n /** The type of managed identity assigned to this resource. */\n type: ManagedServiceIdentityType;\n /** The identities assigned to this resource by the user. */\n userAssignedIdentities?: Record<string, UserAssignedIdentity>;\n}\n\nexport function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : userAssignedIdentityRecordSerializer(item[\"userAssignedIdentities\"]),\n };\n}\n\nexport function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : userAssignedIdentityRecordDeserializer(item[\"userAssignedIdentities\"]),\n };\n}\n\n/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */\nexport enum KnownManagedServiceIdentityType {\n /** No managed identity. */\n None = \"None\",\n /** System assigned managed identity. */\n SystemAssigned = \"SystemAssigned\",\n /** User assigned managed identity. */\n UserAssigned = \"UserAssigned\",\n /** System and user assigned managed identity. */\n SystemAssignedUserAssigned = \"SystemAssigned,UserAssigned\",\n}\n\n/**\n * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \\\n * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: No managed identity. \\\n * **SystemAssigned**: System assigned managed identity. \\\n * **UserAssigned**: User assigned managed identity. \\\n * **SystemAssigned,UserAssigned**: System and user assigned managed identity.\n */\nexport type ManagedServiceIdentityType = string;\n\nexport function userAssignedIdentityRecordSerializer(\n item: Record<string, UserAssignedIdentity>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : userAssignedIdentitySerializer(item[key]);\n });\n return result;\n}\n\nexport function userAssignedIdentityRecordDeserializer(\n item: Record<string, any>,\n): Record<string, UserAssignedIdentity> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : userAssignedIdentityDeserializer(item[key]);\n });\n return result;\n}\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentity {\n /** The principal ID of the assigned identity. */\n readonly principalId?: string;\n /** The client ID of the assigned identity. */\n readonly clientId?: string;\n}\n\nexport function userAssignedIdentitySerializer(item: UserAssignedIdentity): any {\n return item;\n}\n\nexport function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** The parameters for a PATCH request to a grafana resource. */\nexport interface ManagedGrafanaUpdateParameters {\n sku?: ResourceSku;\n /** The managed identity of the grafana resource. */\n identity?: ManagedServiceIdentity;\n /** The new tags of the grafana resource. */\n tags?: Record<string, string>;\n /** Properties specific to the managed grafana resource. */\n properties?: ManagedGrafanaPropertiesUpdateParameters;\n}\n\nexport function managedGrafanaUpdateParametersSerializer(\n item: ManagedGrafanaUpdateParameters,\n): any {\n return {\n sku: !item[\"sku\"] ? item[\"sku\"] : resourceSkuSerializer(item[\"sku\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedGrafanaPropertiesUpdateParametersSerializer(item[\"properties\"]),\n };\n}\n\n/** The properties parameters for a PATCH request to a grafana resource. */\nexport interface ManagedGrafanaPropertiesUpdateParameters {\n /** The zone redundancy setting of the Grafana instance. */\n zoneRedundancy?: ZoneRedundancy;\n /** The api key setting of the Grafana instance. */\n apiKey?: ApiKey;\n /** Whether a Grafana instance uses deterministic outbound IPs. */\n deterministicOutboundIP?: DeterministicOutboundIP;\n /** Indicate the state for enable or disable traffic over the public interface. */\n publicNetworkAccess?: PublicNetworkAccess;\n /** GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. */\n grafanaIntegrations?: GrafanaIntegrations;\n /** Enterprise settings of a Grafana instance */\n enterpriseConfigurations?: EnterpriseConfigurations;\n /** Server configurations of a Grafana instance */\n grafanaConfigurations?: GrafanaConfigurations;\n /** Update of Grafana plugin. Key is plugin id, value is plugin definition. If plugin definition is null, plugin with given plugin id will be removed. Otherwise, given plugin will be installed. */\n grafanaPlugins?: Record<string, GrafanaPlugin>;\n /** The major Grafana software version to target. */\n grafanaMajorVersion?: string;\n}\n\nexport function managedGrafanaPropertiesUpdateParametersSerializer(\n item: ManagedGrafanaPropertiesUpdateParameters,\n): any {\n return {\n zoneRedundancy: item[\"zoneRedundancy\"],\n apiKey: item[\"apiKey\"],\n deterministicOutboundIP: item[\"deterministicOutboundIP\"],\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n grafanaIntegrations: !item[\"grafanaIntegrations\"]\n ? item[\"grafanaIntegrations\"]\n : grafanaIntegrationsSerializer(item[\"grafanaIntegrations\"]),\n enterpriseConfigurations: !item[\"enterpriseConfigurations\"]\n ? item[\"enterpriseConfigurations\"]\n : enterpriseConfigurationsSerializer(item[\"enterpriseConfigurations\"]),\n grafanaConfigurations: !item[\"grafanaConfigurations\"]\n ? item[\"grafanaConfigurations\"]\n : grafanaConfigurationsSerializer(item[\"grafanaConfigurations\"]),\n grafanaPlugins: !item[\"grafanaPlugins\"]\n ? item[\"grafanaPlugins\"]\n : grafanaPluginRecordSerializer(item[\"grafanaPlugins\"]),\n grafanaMajorVersion: item[\"grafanaMajorVersion\"],\n };\n}\n\n/** Paged collection of ManagedGrafana items */\nexport interface _ManagedGrafanaListResponse {\n /** The ManagedGrafana items on this page */\n value: ManagedGrafana[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _managedGrafanaListResponseDeserializer(item: any): _ManagedGrafanaListResponse {\n return {\n value: managedGrafanaArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function managedGrafanaArraySerializer(result: Array<ManagedGrafana>): any[] {\n return result.map((item) => {\n return managedGrafanaSerializer(item);\n });\n}\n\nexport function managedGrafanaArrayDeserializer(result: Array<ManagedGrafana>): any[] {\n return result.map((item) => {\n return managedGrafanaDeserializer(item);\n });\n}\n\n/** Enterprise details of a Grafana instance */\nexport interface EnterpriseDetails {\n /** SaaS subscription details of a Grafana instance */\n saasSubscriptionDetails?: SaasSubscriptionDetails;\n /** The allocation details of the per subscription free trial slot of the subscription. */\n marketplaceTrialQuota?: MarketplaceTrialQuota;\n}\n\nexport function enterpriseDetailsDeserializer(item: any): EnterpriseDetails {\n return {\n saasSubscriptionDetails: !item[\"saasSubscriptionDetails\"]\n ? item[\"saasSubscriptionDetails\"]\n : saasSubscriptionDetailsDeserializer(item[\"saasSubscriptionDetails\"]),\n marketplaceTrialQuota: !item[\"marketplaceTrialQuota\"]\n ? item[\"marketplaceTrialQuota\"]\n : marketplaceTrialQuotaDeserializer(item[\"marketplaceTrialQuota\"]),\n };\n}\n\n/** SaaS subscription details of a Grafana instance */\nexport interface SaasSubscriptionDetails {\n /** The plan Id of the SaaS subscription. */\n planId?: string;\n /** The offer Id of the SaaS subscription. */\n offerId?: string;\n /** The publisher Id of the SaaS subscription. */\n publisherId?: string;\n /** The billing term of the SaaS Subscription. */\n term?: SubscriptionTerm;\n}\n\nexport function saasSubscriptionDetailsDeserializer(item: any): SaasSubscriptionDetails {\n return {\n planId: item[\"planId\"],\n offerId: item[\"offerId\"],\n publisherId: item[\"publisherId\"],\n term: !item[\"term\"] ? item[\"term\"] : subscriptionTermDeserializer(item[\"term\"]),\n };\n}\n\n/** The current billing term of the SaaS Subscription. */\nexport interface SubscriptionTerm {\n /** The unit of the billing term. */\n termUnit?: string;\n /** The date and time in UTC of when the billing term starts. */\n startDate?: Date;\n /** The date and time in UTC of when the billing term ends. */\n endDate?: Date;\n}\n\nexport function subscriptionTermDeserializer(item: any): SubscriptionTerm {\n return {\n termUnit: item[\"termUnit\"],\n startDate: !item[\"startDate\"] ? item[\"startDate\"] : new Date(item[\"startDate\"]),\n endDate: !item[\"endDate\"] ? item[\"endDate\"] : new Date(item[\"endDate\"]),\n };\n}\n\n/** The allocation details of the per subscription free trial slot of the subscription. */\nexport interface MarketplaceTrialQuota {\n /** Available enterprise promotion for the subscription */\n availablePromotion?: AvailablePromotion;\n /** Resource Id of the Grafana resource which is doing the trial. */\n grafanaResourceId?: string;\n /** The date and time in UTC of when the trial starts. */\n trialStartAt?: Date;\n /** The date and time in UTC of when the trial ends. */\n trialEndAt?: Date;\n}\n\nexport function marketplaceTrialQuotaDeserializer(item: any): MarketplaceTrialQuota {\n return {\n availablePromotion: item[\"availablePromotion\"],\n grafanaResourceId: item[\"grafanaResourceId\"],\n trialStartAt: !item[\"trialStartAt\"] ? item[\"trialStartAt\"] : new Date(item[\"trialStartAt\"]),\n trialEndAt: !item[\"trialEndAt\"] ? item[\"trialEndAt\"] : new Date(item[\"trialEndAt\"]),\n };\n}\n\n/** Known values of {@link AvailablePromotion} that the service accepts. */\nexport enum KnownAvailablePromotion {\n None = \"None\",\n FreeTrial = \"FreeTrial\",\n}\n\n/** Type of AvailablePromotion */\nexport type AvailablePromotion = string;\n\n/** model interface GrafanaAvailablePluginListResponse */\nexport interface GrafanaAvailablePluginListResponse {\n value?: GrafanaAvailablePlugin[];\n nextLink?: string;\n}\n\nexport function grafanaAvailablePluginListResponseDeserializer(\n item: any,\n): GrafanaAvailablePluginListResponse {\n return {\n value: !item[\"value\"] ? item[\"value\"] : grafanaAvailablePluginArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function grafanaAvailablePluginArrayDeserializer(\n result: Array<GrafanaAvailablePlugin>,\n): any[] {\n return result.map((item) => {\n return grafanaAvailablePluginDeserializer(item);\n });\n}\n\n/** Available plugins of grafana */\nexport interface GrafanaAvailablePlugin {\n /** Grafana plugin id */\n readonly pluginId?: string;\n /** Grafana plugin display name */\n readonly name?: string;\n}\n\nexport function grafanaAvailablePluginDeserializer(item: any): GrafanaAvailablePlugin {\n return {\n pluginId: item[\"pluginId\"],\n name: item[\"name\"],\n };\n}\n\n/** The managed private endpoint resource type. */\nexport interface ManagedPrivateEndpointModel extends TrackedResource {\n /** Resource properties. */\n properties?: ManagedPrivateEndpointModelProperties;\n}\n\nexport function managedPrivateEndpointModelSerializer(item: ManagedPrivateEndpointModel): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedPrivateEndpointModelPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function managedPrivateEndpointModelDeserializer(item: any): ManagedPrivateEndpointModel {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedPrivateEndpointModelPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties specific to the managed private endpoint. */\nexport interface ManagedPrivateEndpointModelProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n /** The ARM resource ID of the resource for which the managed private endpoint is pointing to. */\n privateLinkResourceId?: string;\n /** The region of the resource to which the managed private endpoint is pointing to. */\n privateLinkResourceRegion?: string;\n /** The group Ids of the managed private endpoint. */\n groupIds?: string[];\n /** User input request message of the managed private endpoint. */\n requestMessage?: string;\n /** The state of managed private endpoint connection. */\n readonly connectionState?: ManagedPrivateEndpointConnectionState;\n /** The URL of the data store behind the private link service. It would be the URL in the Grafana data source configuration page without the protocol and port. */\n privateLinkServiceUrl?: string;\n /** The private IP of private endpoint after approval. This property is empty before connection is approved. */\n readonly privateLinkServicePrivateIP?: string;\n}\n\nexport function managedPrivateEndpointModelPropertiesSerializer(\n item: ManagedPrivateEndpointModelProperties,\n): any {\n return {\n privateLinkResourceId: item[\"privateLinkResourceId\"],\n privateLinkResourceRegion: item[\"privateLinkResourceRegion\"],\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n requestMessage: item[\"requestMessage\"],\n privateLinkServiceUrl: item[\"privateLinkServiceUrl\"],\n };\n}\n\nexport function managedPrivateEndpointModelPropertiesDeserializer(\n item: any,\n): ManagedPrivateEndpointModelProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n privateLinkResourceId: item[\"privateLinkResourceId\"],\n privateLinkResourceRegion: item[\"privateLinkResourceRegion\"],\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n requestMessage: item[\"requestMessage\"],\n connectionState: !item[\"connectionState\"]\n ? item[\"connectionState\"]\n : managedPrivateEndpointConnectionStateDeserializer(item[\"connectionState\"]),\n privateLinkServiceUrl: item[\"privateLinkServiceUrl\"],\n privateLinkServicePrivateIP: item[\"privateLinkServicePrivateIP\"],\n };\n}\n\n/** The state of managed private endpoint connection. */\nexport interface ManagedPrivateEndpointConnectionState {\n /** The approval/rejection status of managed private endpoint connection. */\n readonly status?: ManagedPrivateEndpointConnectionStatus;\n /** Gets or sets the reason for approval/rejection of the connection. */\n readonly description?: string;\n}\n\nexport function managedPrivateEndpointConnectionStateDeserializer(\n item: any,\n): ManagedPrivateEndpointConnectionState {\n return {\n status: item[\"status\"],\n description: item[\"description\"],\n };\n}\n\n/** The approval/rejection status of managed private endpoint connection. */\nexport enum KnownManagedPrivateEndpointConnectionStatus {\n Pending = \"Pending\",\n Approved = \"Approved\",\n Rejected = \"Rejected\",\n Disconnected = \"Disconnected\",\n}\n\n/**\n * The approval/rejection status of managed private endpoint connection. \\\n * {@link KnownManagedPrivateEndpointConnectionStatus} can be used interchangeably with ManagedPrivateEndpointConnectionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pending** \\\n * **Approved** \\\n * **Rejected** \\\n * **Disconnected**\n */\nexport type ManagedPrivateEndpointConnectionStatus = string;\n\n/** The parameters for a PATCH request to a managed private endpoint. */\nexport interface ManagedPrivateEndpointUpdateParameters {\n /** The new tags of the managed private endpoint. */\n tags?: Record<string, string>;\n}\n\nexport function managedPrivateEndpointUpdateParametersSerializer(\n item: ManagedPrivateEndpointUpdateParameters,\n): any {\n return { tags: item[\"tags\"] };\n}\n\n/** The list of managed private endpoints of a grafana resource */\nexport interface _ManagedPrivateEndpointModelListResponse {\n /** The ManagedPrivateEndpointModel items on this page */\n value: ManagedPrivateEndpointModel[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _managedPrivateEndpointModelListResponseDeserializer(\n item: any,\n): _ManagedPrivateEndpointModelListResponse {\n return {\n value: managedPrivateEndpointModelArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function managedPrivateEndpointModelArraySerializer(\n result: Array<ManagedPrivateEndpointModel>,\n): any[] {\n return result.map((item) => {\n return managedPrivateEndpointModelSerializer(item);\n });\n}\n\nexport function managedPrivateEndpointModelArrayDeserializer(\n result: Array<ManagedPrivateEndpointModel>,\n): any[] {\n return result.map((item) => {\n return managedPrivateEndpointModelDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2024-11-01-preview API version. */\n V20241101Preview = \"2024-11-01-preview\",\n}\n"]}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAUlC,4EAKC;AAED,gEAIC;AAgBD,sDAQC;AAcD,oEAOC;AA4CD,8DAIC;AAgBD,0DAUC;AAED,oEAIC;AAED,oFAIC;AAUD,0EAKC;AAQD,kFAMC;AAED,sFAYC;AAcD,sGAgBC;AAED,0GAiBC;AAQD,8DAEC;AAED,kEAIC;AAYD,kGAQC;AAED,sGAQC;AAkDD,0DAEC;AAED,8DASC;AAcD,gDAEC;AAED,oDASC;AAkBD,wDAWC;AAkCD,4GAOC;AAED,4FAMC;AAED,gGAMC;AAQD,0EAYC;AAcD,8FAiBC;AAmCD,gGAOC;AAED,oFAIC;AAOD,kEAQC;AAED,sEAcC;AAcD,sFAUC;AAED,0FAWC;AAUD,8DAEC;AAED,kEAWC;AAUD,kGASC;AAQD,sHAUC;AAUD,gGAOC;AAED,4EAIC;AAED,gFAIC;AAQD,gEAQC;AAED,oEAcC;AAQD,oFAEC;AAED,wFAIC;AAQD,gGAIC;AAUD,8FAOC;AAED,0EAIC;AAED,8EAIC;AAgBD,4DAYC;AAED,gEAkBC;AAsCD,gFAsBC;AAED,oFAiCC;AA2FD,sEAMC;AAED,0EAQC;AAED,0GAMC;AAED,8GAMC;AAQD,gG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5E,IAAY,2CASX;AATD,WAAY,2CAA2C;IACrD,cAAc;IACd,kEAAmB,CAAA;IACnB,eAAe;IACf,oEAAqB,CAAA;IACrB,eAAe;IACf,oEAAqB,CAAA;IACrB,mBAAmB;IACnB,4EAA6B,CAAA;AAC/B,CAAC,EATW,2CAA2C,2DAA3C,2CAA2C,QAStD;AAoBD,SAAgB,gDAAgD,CAC9D,IAA4C;IAE5C,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;AAChC,CAAC;AAUD,SAAgB,oDAAoD,CAClE,IAAS;IAET,OAAO;QACL,KAAK,EAAE,4CAA4C,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClE,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,SAAgB,0CAA0C,CACxD,MAA0C;IAE1C,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qCAAqC,CAAC,IAAI,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,4CAA4C,CAC1D,MAA0C;IAE1C,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,uCAAuC,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACL,CAAC;AAED,kCAAkC;AAClC,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,kCAAkC;IAClC,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** The Private Endpoint Connection resource. */\nexport interface PrivateEndpointConnection extends ProxyResource {\n /** Resource properties. */\n properties?: PrivateEndpointConnectionProperties;\n}\n\nexport function privateEndpointConnectionSerializer(item: PrivateEndpointConnection): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : privateEndpointConnectionPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function privateEndpointConnectionDeserializer(item: any): PrivateEndpointConnection {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : privateEndpointConnectionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of the PrivateEndpointConnectProperties. */\nexport interface PrivateEndpointConnectionProperties {\n /** The resource of private end point. */\n privateEndpoint?: PrivateEndpoint;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;\n /** The private endpoint connection group ids. */\n groupIds?: string[];\n /** The provisioning state of the private endpoint connection resource. */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningState;\n}\n\nexport function privateEndpointConnectionPropertiesSerializer(\n item: PrivateEndpointConnectionProperties,\n): any {\n return {\n privateEndpoint: !item[\"privateEndpoint\"]\n ? item[\"privateEndpoint\"]\n : privateEndpointSerializer(item[\"privateEndpoint\"]),\n privateLinkServiceConnectionState: privateLinkServiceConnectionStateSerializer(\n item[\"privateLinkServiceConnectionState\"],\n ),\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function privateEndpointConnectionPropertiesDeserializer(\n item: any,\n): PrivateEndpointConnectionProperties {\n return {\n privateEndpoint: !item[\"privateEndpoint\"]\n ? item[\"privateEndpoint\"]\n : privateEndpointDeserializer(item[\"privateEndpoint\"]),\n privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(\n item[\"privateLinkServiceConnectionState\"],\n ),\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The private endpoint resource. */\nexport interface PrivateEndpoint {\n /** The resource identifier of the private endpoint */\n readonly id?: string;\n}\n\nexport function privateEndpointSerializer(item: PrivateEndpoint): any {\n return item;\n}\n\nexport function privateEndpointDeserializer(item: any): PrivateEndpoint {\n return {\n id: item[\"id\"],\n };\n}\n\n/** A collection of information about the state of the connection between service consumer and provider. */\nexport interface PrivateLinkServiceConnectionState {\n /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */\n status?: PrivateEndpointServiceConnectionStatus;\n /** The reason for approval/rejection of the connection. */\n description?: string;\n /** A message indicating if changes on the service provider require any updates on the consumer. */\n actionsRequired?: string;\n}\n\nexport function privateLinkServiceConnectionStateSerializer(\n item: PrivateLinkServiceConnectionState,\n): any {\n return {\n status: item[\"status\"],\n description: item[\"description\"],\n actionsRequired: item[\"actionsRequired\"],\n };\n}\n\nexport function privateLinkServiceConnectionStateDeserializer(\n item: any,\n): PrivateLinkServiceConnectionState {\n return {\n status: item[\"status\"],\n description: item[\"description\"],\n actionsRequired: item[\"actionsRequired\"],\n };\n}\n\n/** The private endpoint connection status. */\nexport enum KnownPrivateEndpointServiceConnectionStatus {\n /** Connection waiting for approval or rejection */\n Pending = \"Pending\",\n /** Connection approved */\n Approved = \"Approved\",\n /** Connection Rejected */\n Rejected = \"Rejected\",\n}\n\n/**\n * The private endpoint connection status. \\\n * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pending**: Connection waiting for approval or rejection \\\n * **Approved**: Connection approved \\\n * **Rejected**: Connection Rejected\n */\nexport type PrivateEndpointServiceConnectionStatus = string;\n\n/** The current provisioning state. */\nexport enum KnownPrivateEndpointConnectionProvisioningState {\n /** Connection has been provisioned */\n Succeeded = \"Succeeded\",\n /** Connection is being created */\n Creating = \"Creating\",\n /** Connection is being deleted */\n Deleting = \"Deleting\",\n /** Connection provisioning has failed */\n Failed = \"Failed\",\n}\n\n/**\n * The current provisioning state. \\\n * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Connection has been provisioned \\\n * **Creating**: Connection is being created \\\n * **Deleting**: Connection is being deleted \\\n * **Failed**: Connection provisioning has failed\n */\nexport type PrivateEndpointConnectionProvisioningState = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The response of a PrivateEndpointConnection list operation. */\nexport interface _PrivateEndpointConnectionListResult {\n /** The PrivateEndpointConnection items on this page */\n value: PrivateEndpointConnection[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _privateEndpointConnectionListResultDeserializer(\n item: any,\n): _PrivateEndpointConnectionListResult {\n return {\n value: privateEndpointConnectionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function privateEndpointConnectionArraySerializer(\n result: Array<PrivateEndpointConnection>,\n): any[] {\n return result.map((item) => {\n return privateEndpointConnectionSerializer(item);\n });\n}\n\nexport function privateEndpointConnectionArrayDeserializer(\n result: Array<PrivateEndpointConnection>,\n): any[] {\n return result.map((item) => {\n return privateEndpointConnectionDeserializer(item);\n });\n}\n\n/** A private link resource */\nexport interface PrivateLinkResource extends ProxyResource {\n /** Resource properties. */\n properties?: PrivateLinkResourceProperties;\n}\n\nexport function privateLinkResourceDeserializer(item: any): PrivateLinkResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : privateLinkResourcePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of a private link resource. */\nexport interface PrivateLinkResourceProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n /** The private link resource group id. */\n readonly groupId?: string;\n /** The private link resource required member names. */\n readonly requiredMembers?: string[];\n /** The private link resource Private link DNS zone name. */\n requiredZoneNames?: string[];\n}\n\nexport function privateLinkResourcePropertiesDeserializer(\n item: any,\n): PrivateLinkResourceProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n groupId: item[\"groupId\"],\n requiredMembers: !item[\"requiredMembers\"]\n ? item[\"requiredMembers\"]\n : item[\"requiredMembers\"].map((p: any) => {\n return p;\n }),\n requiredZoneNames: !item[\"requiredZoneNames\"]\n ? item[\"requiredZoneNames\"]\n : item[\"requiredZoneNames\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Accepted */\n Accepted = \"Accepted\",\n /** Creating */\n Creating = \"Creating\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Deleted */\n Deleted = \"Deleted\",\n /** NotSpecified */\n NotSpecified = \"NotSpecified\",\n}\n\n/** Type of ProvisioningState */\nexport type ProvisioningState = string;\n\n/** The response of a PrivateLinkResource list operation. */\nexport interface _PrivateLinkResourceListResult {\n /** The PrivateLinkResource items on this page */\n value: PrivateLinkResource[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _privateLinkResourceListResultDeserializer(\n item: any,\n): _PrivateLinkResourceListResult {\n return {\n value: privateLinkResourceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function privateLinkResourceArrayDeserializer(result: Array<PrivateLinkResource>): any[] {\n return result.map((item) => {\n return privateLinkResourceDeserializer(item);\n });\n}\n\n/** The integration fabric resource type. */\nexport interface IntegrationFabric extends TrackedResource {\n properties?: IntegrationFabricProperties;\n}\n\nexport function integrationFabricSerializer(item: IntegrationFabric): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : integrationFabricPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function integrationFabricDeserializer(item: any): IntegrationFabric {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : integrationFabricPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** model interface IntegrationFabricProperties */\nexport interface IntegrationFabricProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n /** The resource Id of the Azure resource being integrated with Azure Managed Grafana. E.g., an Azure Kubernetes Service cluster. */\n targetResourceId?: string;\n /** The resource Id of the Azure resource which is used to configure Grafana data source. E.g., an Azure Monitor Workspace, an Azure Data Explorer cluster, etc. */\n dataSourceResourceId?: string;\n /** A list of integration scenarios covered by this integration fabric */\n scenarios?: string[];\n}\n\nexport function integrationFabricPropertiesSerializer(item: IntegrationFabricProperties): any {\n return {\n targetResourceId: item[\"targetResourceId\"],\n dataSourceResourceId: item[\"dataSourceResourceId\"],\n scenarios: !item[\"scenarios\"]\n ? item[\"scenarios\"]\n : item[\"scenarios\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function integrationFabricPropertiesDeserializer(item: any): IntegrationFabricProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n targetResourceId: item[\"targetResourceId\"],\n dataSourceResourceId: item[\"dataSourceResourceId\"],\n scenarios: !item[\"scenarios\"]\n ? item[\"scenarios\"]\n : item[\"scenarios\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** The parameters for a PATCH request to a Integration Fabric resource. */\nexport interface IntegrationFabricUpdateParameters {\n /** The new tags of the Integration Fabric resource. */\n tags?: Record<string, string>;\n /** The new properties of this Integration Fabric resource */\n properties?: IntegrationFabricPropertiesUpdateParameters;\n}\n\nexport function integrationFabricUpdateParametersSerializer(\n item: IntegrationFabricUpdateParameters,\n): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : integrationFabricPropertiesUpdateParametersSerializer(item[\"properties\"]),\n };\n}\n\n/** model interface IntegrationFabricPropertiesUpdateParameters */\nexport interface IntegrationFabricPropertiesUpdateParameters {\n /** The new integration scenarios covered by this integration fabric. */\n scenarios?: string[];\n}\n\nexport function integrationFabricPropertiesUpdateParametersSerializer(\n item: IntegrationFabricPropertiesUpdateParameters,\n): any {\n return {\n scenarios: !item[\"scenarios\"]\n ? item[\"scenarios\"]\n : item[\"scenarios\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Paged collection of IntegrationFabric items */\nexport interface _IntegrationFabricListResponse {\n /** The IntegrationFabric items on this page */\n value: IntegrationFabric[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _integrationFabricListResponseDeserializer(\n item: any,\n): _IntegrationFabricListResponse {\n return {\n value: integrationFabricArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function integrationFabricArraySerializer(result: Array<IntegrationFabric>): any[] {\n return result.map((item) => {\n return integrationFabricSerializer(item);\n });\n}\n\nexport function integrationFabricArrayDeserializer(result: Array<IntegrationFabric>): any[] {\n return result.map((item) => {\n return integrationFabricDeserializer(item);\n });\n}\n\n/** The managed dashboard resource type. */\nexport interface ManagedDashboard extends TrackedResource {\n /** Properties specific to the managed dashboard resource. */\n properties?: ManagedDashboardProperties;\n}\n\nexport function managedDashboardSerializer(item: ManagedDashboard): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedDashboardPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function managedDashboardDeserializer(item: any): ManagedDashboard {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedDashboardPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties specific to the grafana resource. */\nexport interface ManagedDashboardProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function managedDashboardPropertiesSerializer(item: ManagedDashboardProperties): any {\n return item;\n}\n\nexport function managedDashboardPropertiesDeserializer(item: any): ManagedDashboardProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The parameters for a PATCH request to a managed dashboard resource. */\nexport interface ManagedDashboardUpdateParameters {\n /** The new tags of the managed dashboard resource. */\n tags?: Record<string, string>;\n}\n\nexport function managedDashboardUpdateParametersSerializer(\n item: ManagedDashboardUpdateParameters,\n): any {\n return { tags: item[\"tags\"] };\n}\n\n/** Paged collection of ManagedDashboard items */\nexport interface _ManagedDashboardListResponse {\n /** The ManagedDashboard items on this page */\n value: ManagedDashboard[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _managedDashboardListResponseDeserializer(\n item: any,\n): _ManagedDashboardListResponse {\n return {\n value: managedDashboardArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function managedDashboardArraySerializer(result: Array<ManagedDashboard>): any[] {\n return result.map((item) => {\n return managedDashboardSerializer(item);\n });\n}\n\nexport function managedDashboardArrayDeserializer(result: Array<ManagedDashboard>): any[] {\n return result.map((item) => {\n return managedDashboardDeserializer(item);\n });\n}\n\n/** The grafana resource type. */\nexport interface ManagedGrafana extends ProxyResource {\n /** Properties specific to the grafana resource. */\n properties?: ManagedGrafanaProperties;\n /** The Sku of the grafana resource. */\n sku?: ResourceSku;\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location?: string;\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n}\n\nexport function managedGrafanaSerializer(item: ManagedGrafana): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedGrafanaPropertiesSerializer(item[\"properties\"]),\n sku: !item[\"sku\"] ? item[\"sku\"] : resourceSkuSerializer(item[\"sku\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n };\n}\n\nexport function managedGrafanaDeserializer(item: any): ManagedGrafana {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedGrafanaPropertiesDeserializer(item[\"properties\"]),\n sku: !item[\"sku\"] ? item[\"sku\"] : resourceSkuDeserializer(item[\"sku\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentityDeserializer(item[\"identity\"]),\n };\n}\n\n/** Properties specific to the grafana resource. */\nexport interface ManagedGrafanaProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n /** The Grafana software version. */\n readonly grafanaVersion?: string;\n /** The endpoint of the Grafana instance. */\n readonly endpoint?: string;\n /** Indicate the state for enable or disable traffic over the public interface. */\n publicNetworkAccess?: PublicNetworkAccess;\n /** The zone redundancy setting of the Grafana instance. */\n zoneRedundancy?: ZoneRedundancy;\n /** The api key setting of the Grafana instance. */\n apiKey?: ApiKey;\n /** The creator will have admin access for the Grafana instance. */\n creatorCanAdmin?: CreatorCanAdmin;\n /** Whether a Grafana instance uses deterministic outbound IPs. */\n deterministicOutboundIP?: DeterministicOutboundIP;\n /** List of outbound IPs if deterministicOutboundIP is enabled. */\n readonly outboundIPs?: string[];\n /** The private endpoint connections of the Grafana instance. */\n readonly privateEndpointConnections?: PrivateEndpointConnection[];\n /** Scope for dns deterministic name hash calculation. */\n autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;\n /** GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. */\n grafanaIntegrations?: GrafanaIntegrations;\n /** Enterprise settings of a Grafana instance */\n enterpriseConfigurations?: EnterpriseConfigurations;\n /** Server configurations of a Grafana instance */\n grafanaConfigurations?: GrafanaConfigurations;\n /** Installed plugin list of the Grafana instance. Key is plugin id, value is plugin definition. */\n grafanaPlugins?: Record<string, GrafanaPlugin>;\n /** The major Grafana software version to target. */\n grafanaMajorVersion?: string;\n}\n\nexport function managedGrafanaPropertiesSerializer(item: ManagedGrafanaProperties): any {\n return {\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n zoneRedundancy: item[\"zoneRedundancy\"],\n apiKey: item[\"apiKey\"],\n creatorCanAdmin: item[\"creatorCanAdmin\"],\n deterministicOutboundIP: item[\"deterministicOutboundIP\"],\n autoGeneratedDomainNameLabelScope: item[\"autoGeneratedDomainNameLabelScope\"],\n grafanaIntegrations: !item[\"grafanaIntegrations\"]\n ? item[\"grafanaIntegrations\"]\n : grafanaIntegrationsSerializer(item[\"grafanaIntegrations\"]),\n enterpriseConfigurations: !item[\"enterpriseConfigurations\"]\n ? item[\"enterpriseConfigurations\"]\n : enterpriseConfigurationsSerializer(item[\"enterpriseConfigurations\"]),\n grafanaConfigurations: !item[\"grafanaConfigurations\"]\n ? item[\"grafanaConfigurations\"]\n : grafanaConfigurationsSerializer(item[\"grafanaConfigurations\"]),\n grafanaPlugins: !item[\"grafanaPlugins\"]\n ? item[\"grafanaPlugins\"]\n : grafanaPluginRecordSerializer(item[\"grafanaPlugins\"]),\n grafanaMajorVersion: item[\"grafanaMajorVersion\"],\n };\n}\n\nexport function managedGrafanaPropertiesDeserializer(item: any): ManagedGrafanaProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n grafanaVersion: item[\"grafanaVersion\"],\n endpoint: item[\"endpoint\"],\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n zoneRedundancy: item[\"zoneRedundancy\"],\n apiKey: item[\"apiKey\"],\n creatorCanAdmin: item[\"creatorCanAdmin\"],\n deterministicOutboundIP: item[\"deterministicOutboundIP\"],\n outboundIPs: !item[\"outboundIPs\"]\n ? item[\"outboundIPs\"]\n : item[\"outboundIPs\"].map((p: any) => {\n return p;\n }),\n privateEndpointConnections: !item[\"privateEndpointConnections\"]\n ? item[\"privateEndpointConnections\"]\n : privateEndpointConnectionArrayDeserializer(item[\"privateEndpointConnections\"]),\n autoGeneratedDomainNameLabelScope: item[\"autoGeneratedDomainNameLabelScope\"],\n grafanaIntegrations: !item[\"grafanaIntegrations\"]\n ? item[\"grafanaIntegrations\"]\n : grafanaIntegrationsDeserializer(item[\"grafanaIntegrations\"]),\n enterpriseConfigurations: !item[\"enterpriseConfigurations\"]\n ? item[\"enterpriseConfigurations\"]\n : enterpriseConfigurationsDeserializer(item[\"enterpriseConfigurations\"]),\n grafanaConfigurations: !item[\"grafanaConfigurations\"]\n ? item[\"grafanaConfigurations\"]\n : grafanaConfigurationsDeserializer(item[\"grafanaConfigurations\"]),\n grafanaPlugins: !item[\"grafanaPlugins\"]\n ? item[\"grafanaPlugins\"]\n : grafanaPluginRecordDeserializer(item[\"grafanaPlugins\"]),\n grafanaMajorVersion: item[\"grafanaMajorVersion\"],\n };\n}\n\n/** Indicate the state for enable or disable traffic over the public interface. */\nexport enum KnownPublicNetworkAccess {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\",\n}\n\n/**\n * Indicate the state for enable or disable traffic over the public interface. \\\n * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type PublicNetworkAccess = string;\n\n/** Known values of {@link ZoneRedundancy} that the service accepts. */\nexport enum KnownZoneRedundancy {\n /** Disabled */\n Disabled = \"Disabled\",\n /** Enabled */\n Enabled = \"Enabled\",\n}\n\n/** Type of ZoneRedundancy */\nexport type ZoneRedundancy = string;\n\n/** Known values of {@link ApiKey} that the service accepts. */\nexport enum KnownApiKey {\n /** Disabled */\n Disabled = \"Disabled\",\n /** Enabled */\n Enabled = \"Enabled\",\n}\n\n/** Type of ApiKey */\nexport type ApiKey = string;\n\n/** The creator will have admin access for the Grafana instance. */\nexport enum KnownCreatorCanAdmin {\n /** Creator admin access is disabled */\n Disabled = \"Disabled\",\n /** Creator admin access is enabled */\n Enabled = \"Enabled\",\n}\n\n/**\n * The creator will have admin access for the Grafana instance. \\\n * {@link KnownCreatorCanAdmin} can be used interchangeably with CreatorCanAdmin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Disabled**: Creator admin access is disabled \\\n * **Enabled**: Creator admin access is enabled\n */\nexport type CreatorCanAdmin = string;\n\n/** Known values of {@link DeterministicOutboundIP} that the service accepts. */\nexport enum KnownDeterministicOutboundIP {\n /** Disabled */\n Disabled = \"Disabled\",\n /** Enabled */\n Enabled = \"Enabled\",\n}\n\n/** Type of DeterministicOutboundIP */\nexport type DeterministicOutboundIP = string;\n\n/** Scope for dns deterministic name hash calculation */\nexport enum KnownAutoGeneratedDomainNameLabelScope {\n /** TenantReuse */\n TenantReuse = \"TenantReuse\",\n}\n\n/**\n * Scope for dns deterministic name hash calculation \\\n * {@link KnownAutoGeneratedDomainNameLabelScope} can be used interchangeably with AutoGeneratedDomainNameLabelScope,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TenantReuse**\n */\nexport type AutoGeneratedDomainNameLabelScope = string;\n\n/** GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. */\nexport interface GrafanaIntegrations {\n azureMonitorWorkspaceIntegrations?: AzureMonitorWorkspaceIntegration[];\n}\n\nexport function grafanaIntegrationsSerializer(item: GrafanaIntegrations): any {\n return {\n azureMonitorWorkspaceIntegrations: !item[\"azureMonitorWorkspaceIntegrations\"]\n ? item[\"azureMonitorWorkspaceIntegrations\"]\n : azureMonitorWorkspaceIntegrationArraySerializer(item[\"azureMonitorWorkspaceIntegrations\"]),\n };\n}\n\nexport function grafanaIntegrationsDeserializer(item: any): GrafanaIntegrations {\n return {\n azureMonitorWorkspaceIntegrations: !item[\"azureMonitorWorkspaceIntegrations\"]\n ? item[\"azureMonitorWorkspaceIntegrations\"]\n : azureMonitorWorkspaceIntegrationArrayDeserializer(\n item[\"azureMonitorWorkspaceIntegrations\"],\n ),\n };\n}\n\nexport function azureMonitorWorkspaceIntegrationArraySerializer(\n result: Array<AzureMonitorWorkspaceIntegration>,\n): any[] {\n return result.map((item) => {\n return azureMonitorWorkspaceIntegrationSerializer(item);\n });\n}\n\nexport function azureMonitorWorkspaceIntegrationArrayDeserializer(\n result: Array<AzureMonitorWorkspaceIntegration>,\n): any[] {\n return result.map((item) => {\n return azureMonitorWorkspaceIntegrationDeserializer(item);\n });\n}\n\n/** Integrations for Azure Monitor Workspace. */\nexport interface AzureMonitorWorkspaceIntegration {\n /** The resource Id of the connected Azure Monitor Workspace. */\n azureMonitorWorkspaceResourceId?: string;\n}\n\nexport function azureMonitorWorkspaceIntegrationSerializer(\n item: AzureMonitorWorkspaceIntegration,\n): any {\n return {\n azureMonitorWorkspaceResourceId: item[\"azureMonitorWorkspaceResourceId\"],\n };\n}\n\nexport function azureMonitorWorkspaceIntegrationDeserializer(\n item: any,\n): AzureMonitorWorkspaceIntegration {\n return {\n azureMonitorWorkspaceResourceId: item[\"azureMonitorWorkspaceResourceId\"],\n };\n}\n\n/** Enterprise settings of a Grafana instance */\nexport interface EnterpriseConfigurations {\n /** The Plan Id of the Azure Marketplace subscription for the Enterprise plugins */\n marketplacePlanId?: string;\n /** The AutoRenew setting of the Enterprise subscription */\n marketplaceAutoRenew?: MarketplaceAutoRenew;\n}\n\nexport function enterpriseConfigurationsSerializer(item: EnterpriseConfigurations): any {\n return {\n marketplacePlanId: item[\"marketplacePlanId\"],\n marketplaceAutoRenew: item[\"marketplaceAutoRenew\"],\n };\n}\n\nexport function enterpriseConfigurationsDeserializer(item: any): EnterpriseConfigurations {\n return {\n marketplacePlanId: item[\"marketplacePlanId\"],\n marketplaceAutoRenew: item[\"marketplaceAutoRenew\"],\n };\n}\n\n/** The AutoRenew setting of the Enterprise subscription */\nexport enum KnownMarketplaceAutoRenew {\n /** Disabled */\n Disabled = \"Disabled\",\n /** Enabled */\n Enabled = \"Enabled\",\n}\n\n/**\n * The AutoRenew setting of the Enterprise subscription \\\n * {@link KnownMarketplaceAutoRenew} can be used interchangeably with MarketplaceAutoRenew,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Disabled** \\\n * **Enabled**\n */\nexport type MarketplaceAutoRenew = string;\n\n/** Server configurations of a Grafana instance */\nexport interface GrafanaConfigurations {\n /**\n * Email server settings.\n * https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp\n */\n smtp?: Smtp;\n /** Grafana Snapshots settings */\n snapshots?: Snapshots;\n /** Grafana users settings */\n users?: Users;\n /** Grafana security settings */\n security?: Security;\n /** Grafana Unified Alerting Screenshots settings */\n unifiedAlertingScreenshots?: UnifiedAlertingScreenshots;\n}\n\nexport function grafanaConfigurationsSerializer(item: GrafanaConfigurations): any {\n return {\n smtp: !item[\"smtp\"] ? item[\"smtp\"] : smtpSerializer(item[\"smtp\"]),\n snapshots: !item[\"snapshots\"] ? item[\"snapshots\"] : snapshotsSerializer(item[\"snapshots\"]),\n users: !item[\"users\"] ? item[\"users\"] : usersSerializer(item[\"users\"]),\n security: !item[\"security\"] ? item[\"security\"] : securitySerializer(item[\"security\"]),\n unifiedAlertingScreenshots: !item[\"unifiedAlertingScreenshots\"]\n ? item[\"unifiedAlertingScreenshots\"]\n : unifiedAlertingScreenshotsSerializer(item[\"unifiedAlertingScreenshots\"]),\n };\n}\n\nexport function grafanaConfigurationsDeserializer(item: any): GrafanaConfigurations {\n return {\n smtp: !item[\"smtp\"] ? item[\"smtp\"] : smtpDeserializer(item[\"smtp\"]),\n snapshots: !item[\"snapshots\"] ? item[\"snapshots\"] : snapshotsDeserializer(item[\"snapshots\"]),\n users: !item[\"users\"] ? item[\"users\"] : usersDeserializer(item[\"users\"]),\n security: !item[\"security\"] ? item[\"security\"] : securityDeserializer(item[\"security\"]),\n unifiedAlertingScreenshots: !item[\"unifiedAlertingScreenshots\"]\n ? item[\"unifiedAlertingScreenshots\"]\n : unifiedAlertingScreenshotsDeserializer(item[\"unifiedAlertingScreenshots\"]),\n };\n}\n\n/**\n * Email server settings.\n * https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp\n */\nexport interface Smtp {\n /** Enable this to allow Grafana to send email. Default is false */\n enabled?: boolean;\n /** SMTP server hostname with port, e.g. test.email.net:587 */\n host?: string;\n /** User of SMTP auth */\n user?: string;\n /** Password of SMTP auth. If the password contains # or ;, then you have to wrap it with triple quotes */\n password?: string;\n /**\n * Address used when sending out emails\n * https://pkg.go.dev/net/mail#Address\n */\n fromAddress?: string;\n /**\n * Name to be used when sending out emails. Default is \"Azure Managed Grafana Notification\"\n * https://pkg.go.dev/net/mail#Address\n */\n fromName?: string;\n /**\n * The StartTLSPolicy setting of the SMTP configuration\n * https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy\n */\n startTLSPolicy?: StartTLSPolicy;\n /**\n * Verify SSL for SMTP server. Default is false\n * https://pkg.go.dev/crypto/tls#Config\n */\n skipVerify?: boolean;\n}\n\nexport function smtpSerializer(item: Smtp): any {\n return {\n enabled: item[\"enabled\"],\n host: item[\"host\"],\n user: item[\"user\"],\n password: item[\"password\"],\n fromAddress: item[\"fromAddress\"],\n fromName: item[\"fromName\"],\n startTLSPolicy: item[\"startTLSPolicy\"],\n skipVerify: item[\"skipVerify\"],\n };\n}\n\nexport function smtpDeserializer(item: any): Smtp {\n return {\n enabled: item[\"enabled\"],\n host: item[\"host\"],\n user: item[\"user\"],\n password: item[\"password\"],\n fromAddress: item[\"fromAddress\"],\n fromName: item[\"fromName\"],\n startTLSPolicy: item[\"startTLSPolicy\"],\n skipVerify: item[\"skipVerify\"],\n };\n}\n\n/**\n * The StartTLSPolicy setting of the SMTP configuration\n * https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy\n */\nexport enum KnownStartTLSPolicy {\n /** OpportunisticStartTLS */\n OpportunisticStartTLS = \"OpportunisticStartTLS\",\n /** MandatoryStartTLS */\n MandatoryStartTLS = \"MandatoryStartTLS\",\n /** NoStartTLS */\n NoStartTLS = \"NoStartTLS\",\n}\n\n/**\n * The StartTLSPolicy setting of the SMTP configuration\n * https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy \\\n * {@link KnownStartTLSPolicy} can be used interchangeably with StartTLSPolicy,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **OpportunisticStartTLS** \\\n * **MandatoryStartTLS** \\\n * **NoStartTLS**\n */\nexport type StartTLSPolicy = string;\n\n/** Grafana Snapshots settings */\nexport interface Snapshots {\n /** Set to false to disable external snapshot publish endpoint */\n externalEnabled?: boolean;\n}\n\nexport function snapshotsSerializer(item: Snapshots): any {\n return { externalEnabled: item[\"externalEnabled\"] };\n}\n\nexport function snapshotsDeserializer(item: any): Snapshots {\n return {\n externalEnabled: item[\"externalEnabled\"],\n };\n}\n\n/** Grafana users settings */\nexport interface Users {\n /** Set to true so viewers can access and use explore and perform temporary edits on panels in dashboards they have access to. They cannot save their changes. */\n viewersCanEdit?: boolean;\n /** Set to true so editors can administrate dashboards, folders and teams they create. */\n editorsCanAdmin?: boolean;\n}\n\nexport function usersSerializer(item: Users): any {\n return {\n viewersCanEdit: item[\"viewersCanEdit\"],\n editorsCanAdmin: item[\"editorsCanAdmin\"],\n };\n}\n\nexport function usersDeserializer(item: any): Users {\n return {\n viewersCanEdit: item[\"viewersCanEdit\"],\n editorsCanAdmin: item[\"editorsCanAdmin\"],\n };\n}\n\n/** Grafana security settings */\nexport interface Security {\n /** Set to true to execute the CSRF check even if the login cookie is not in a request (default false). */\n csrfAlwaysCheck?: boolean;\n}\n\nexport function securitySerializer(item: Security): any {\n return { csrfAlwaysCheck: item[\"csrfAlwaysCheck\"] };\n}\n\nexport function securityDeserializer(item: any): Security {\n return {\n csrfAlwaysCheck: item[\"csrfAlwaysCheck\"],\n };\n}\n\n/** Grafana Unified Alerting Screenshots settings */\nexport interface UnifiedAlertingScreenshots {\n /** Set to false to disable capture screenshot in Unified Alert due to performance issue. */\n captureEnabled?: boolean;\n}\n\nexport function unifiedAlertingScreenshotsSerializer(item: UnifiedAlertingScreenshots): any {\n return { captureEnabled: item[\"captureEnabled\"] };\n}\n\nexport function unifiedAlertingScreenshotsDeserializer(item: any): UnifiedAlertingScreenshots {\n return {\n captureEnabled: item[\"captureEnabled\"],\n };\n}\n\nexport function grafanaPluginRecordSerializer(\n item: Record<string, GrafanaPlugin>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : grafanaPluginSerializer(item[key]);\n });\n return result;\n}\n\nexport function grafanaPluginRecordDeserializer(\n item: Record<string, any>,\n): Record<string, GrafanaPlugin> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : grafanaPluginDeserializer(item[key]);\n });\n return result;\n}\n\n/** Plugin of Grafana */\nexport interface GrafanaPlugin {\n /** Grafana plugin id */\n readonly pluginId?: string;\n}\n\nexport function grafanaPluginSerializer(item: GrafanaPlugin): any {\n return item;\n}\n\nexport function grafanaPluginDeserializer(item: any): GrafanaPlugin {\n return {\n pluginId: item[\"pluginId\"],\n };\n}\n\n/** Represents the SKU of a resource. */\nexport interface ResourceSku {\n /** The name of the SKU. */\n name: string;\n /** Specifies the capacity tier of the Grafana instance. */\n size?: Size;\n}\n\nexport function resourceSkuSerializer(item: ResourceSku): any {\n return { name: item[\"name\"], size: item[\"size\"] };\n}\n\nexport function resourceSkuDeserializer(item: any): ResourceSku {\n return {\n name: item[\"name\"],\n size: item[\"size\"],\n };\n}\n\n/** Specifies the capacity tier of the Grafana instance. */\nexport enum KnownSize {\n /** X1 capacity tier */\n X1 = \"X1\",\n /** X2 capacity tier */\n X2 = \"X2\",\n}\n\n/**\n * Specifies the capacity tier of the Grafana instance. \\\n * {@link KnownSize} can be used interchangeably with Size,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **X1**: X1 capacity tier \\\n * **X2**: X2 capacity tier\n */\nexport type Size = string;\n\n/** Managed service identity (system assigned and/or user assigned identities) */\nexport interface ManagedServiceIdentity {\n /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly principalId?: string;\n /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly tenantId?: string;\n /** The type of managed identity assigned to this resource. */\n type: ManagedServiceIdentityType;\n /** The identities assigned to this resource by the user. */\n userAssignedIdentities?: Record<string, UserAssignedIdentity>;\n}\n\nexport function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : userAssignedIdentityRecordSerializer(item[\"userAssignedIdentities\"]),\n };\n}\n\nexport function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n userAssignedIdentities: !item[\"userAssignedIdentities\"]\n ? item[\"userAssignedIdentities\"]\n : userAssignedIdentityRecordDeserializer(item[\"userAssignedIdentities\"]),\n };\n}\n\n/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */\nexport enum KnownManagedServiceIdentityType {\n /** No managed identity. */\n None = \"None\",\n /** System assigned managed identity. */\n SystemAssigned = \"SystemAssigned\",\n /** User assigned managed identity. */\n UserAssigned = \"UserAssigned\",\n /** System and user assigned managed identity. */\n SystemAssignedUserAssigned = \"SystemAssigned,UserAssigned\",\n}\n\n/**\n * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \\\n * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: No managed identity. \\\n * **SystemAssigned**: System assigned managed identity. \\\n * **UserAssigned**: User assigned managed identity. \\\n * **SystemAssigned,UserAssigned**: System and user assigned managed identity.\n */\nexport type ManagedServiceIdentityType = string;\n\nexport function userAssignedIdentityRecordSerializer(\n item: Record<string, UserAssignedIdentity>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : userAssignedIdentitySerializer(item[key]);\n });\n return result;\n}\n\nexport function userAssignedIdentityRecordDeserializer(\n item: Record<string, any>,\n): Record<string, UserAssignedIdentity> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : userAssignedIdentityDeserializer(item[key]);\n });\n return result;\n}\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentity {\n /** The principal ID of the assigned identity. */\n readonly principalId?: string;\n /** The client ID of the assigned identity. */\n readonly clientId?: string;\n}\n\nexport function userAssignedIdentitySerializer(item: UserAssignedIdentity): any {\n return item;\n}\n\nexport function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** The parameters for a PATCH request to a grafana resource. */\nexport interface ManagedGrafanaUpdateParameters {\n sku?: ResourceSku;\n /** The managed identity of the grafana resource. */\n identity?: ManagedServiceIdentity;\n /** The new tags of the grafana resource. */\n tags?: Record<string, string>;\n /** Properties specific to the managed grafana resource. */\n properties?: ManagedGrafanaPropertiesUpdateParameters;\n}\n\nexport function managedGrafanaUpdateParametersSerializer(\n item: ManagedGrafanaUpdateParameters,\n): any {\n return {\n sku: !item[\"sku\"] ? item[\"sku\"] : resourceSkuSerializer(item[\"sku\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedGrafanaPropertiesUpdateParametersSerializer(item[\"properties\"]),\n };\n}\n\n/** The properties parameters for a PATCH request to a grafana resource. */\nexport interface ManagedGrafanaPropertiesUpdateParameters {\n /** The zone redundancy setting of the Grafana instance. */\n zoneRedundancy?: ZoneRedundancy;\n /** The api key setting of the Grafana instance. */\n apiKey?: ApiKey;\n /** The creator will have admin access for the Grafana instance. */\n creatorCanAdmin?: CreatorCanAdmin;\n /** Whether a Grafana instance uses deterministic outbound IPs. */\n deterministicOutboundIP?: DeterministicOutboundIP;\n /** Indicate the state for enable or disable traffic over the public interface. */\n publicNetworkAccess?: PublicNetworkAccess;\n /** GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. */\n grafanaIntegrations?: GrafanaIntegrations;\n /** Enterprise settings of a Grafana instance */\n enterpriseConfigurations?: EnterpriseConfigurations;\n /** Server configurations of a Grafana instance */\n grafanaConfigurations?: GrafanaConfigurations;\n /** Update of Grafana plugin. Key is plugin id, value is plugin definition. If plugin definition is null, plugin with given plugin id will be removed. Otherwise, given plugin will be installed. */\n grafanaPlugins?: Record<string, GrafanaPlugin>;\n /** The major Grafana software version to target. */\n grafanaMajorVersion?: string;\n}\n\nexport function managedGrafanaPropertiesUpdateParametersSerializer(\n item: ManagedGrafanaPropertiesUpdateParameters,\n): any {\n return {\n zoneRedundancy: item[\"zoneRedundancy\"],\n apiKey: item[\"apiKey\"],\n creatorCanAdmin: item[\"creatorCanAdmin\"],\n deterministicOutboundIP: item[\"deterministicOutboundIP\"],\n publicNetworkAccess: item[\"publicNetworkAccess\"],\n grafanaIntegrations: !item[\"grafanaIntegrations\"]\n ? item[\"grafanaIntegrations\"]\n : grafanaIntegrationsSerializer(item[\"grafanaIntegrations\"]),\n enterpriseConfigurations: !item[\"enterpriseConfigurations\"]\n ? item[\"enterpriseConfigurations\"]\n : enterpriseConfigurationsSerializer(item[\"enterpriseConfigurations\"]),\n grafanaConfigurations: !item[\"grafanaConfigurations\"]\n ? item[\"grafanaConfigurations\"]\n : grafanaConfigurationsSerializer(item[\"grafanaConfigurations\"]),\n grafanaPlugins: !item[\"grafanaPlugins\"]\n ? item[\"grafanaPlugins\"]\n : grafanaPluginRecordSerializer(item[\"grafanaPlugins\"]),\n grafanaMajorVersion: item[\"grafanaMajorVersion\"],\n };\n}\n\n/** Paged collection of ManagedGrafana items */\nexport interface _ManagedGrafanaListResponse {\n /** The ManagedGrafana items on this page */\n value: ManagedGrafana[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _managedGrafanaListResponseDeserializer(item: any): _ManagedGrafanaListResponse {\n return {\n value: managedGrafanaArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function managedGrafanaArraySerializer(result: Array<ManagedGrafana>): any[] {\n return result.map((item) => {\n return managedGrafanaSerializer(item);\n });\n}\n\nexport function managedGrafanaArrayDeserializer(result: Array<ManagedGrafana>): any[] {\n return result.map((item) => {\n return managedGrafanaDeserializer(item);\n });\n}\n\n/** Enterprise details of a Grafana instance */\nexport interface EnterpriseDetails {\n /** SaaS subscription details of a Grafana instance */\n saasSubscriptionDetails?: SaasSubscriptionDetails;\n /** The allocation details of the per subscription free trial slot of the subscription. */\n marketplaceTrialQuota?: MarketplaceTrialQuota;\n}\n\nexport function enterpriseDetailsDeserializer(item: any): EnterpriseDetails {\n return {\n saasSubscriptionDetails: !item[\"saasSubscriptionDetails\"]\n ? item[\"saasSubscriptionDetails\"]\n : saasSubscriptionDetailsDeserializer(item[\"saasSubscriptionDetails\"]),\n marketplaceTrialQuota: !item[\"marketplaceTrialQuota\"]\n ? item[\"marketplaceTrialQuota\"]\n : marketplaceTrialQuotaDeserializer(item[\"marketplaceTrialQuota\"]),\n };\n}\n\n/** SaaS subscription details of a Grafana instance */\nexport interface SaasSubscriptionDetails {\n /** The plan Id of the SaaS subscription. */\n planId?: string;\n /** The offer Id of the SaaS subscription. */\n offerId?: string;\n /** The publisher Id of the SaaS subscription. */\n publisherId?: string;\n /** The billing term of the SaaS Subscription. */\n term?: SubscriptionTerm;\n}\n\nexport function saasSubscriptionDetailsDeserializer(item: any): SaasSubscriptionDetails {\n return {\n planId: item[\"planId\"],\n offerId: item[\"offerId\"],\n publisherId: item[\"publisherId\"],\n term: !item[\"term\"] ? item[\"term\"] : subscriptionTermDeserializer(item[\"term\"]),\n };\n}\n\n/** The current billing term of the SaaS Subscription. */\nexport interface SubscriptionTerm {\n /** The unit of the billing term. */\n termUnit?: string;\n /** The date and time in UTC of when the billing term starts. */\n startDate?: Date;\n /** The date and time in UTC of when the billing term ends. */\n endDate?: Date;\n}\n\nexport function subscriptionTermDeserializer(item: any): SubscriptionTerm {\n return {\n termUnit: item[\"termUnit\"],\n startDate: !item[\"startDate\"] ? item[\"startDate\"] : new Date(item[\"startDate\"]),\n endDate: !item[\"endDate\"] ? item[\"endDate\"] : new Date(item[\"endDate\"]),\n };\n}\n\n/** The allocation details of the per subscription free trial slot of the subscription. */\nexport interface MarketplaceTrialQuota {\n /** Available enterprise promotion for the subscription */\n availablePromotion?: AvailablePromotion;\n /** Resource Id of the Grafana resource which is doing the trial. */\n grafanaResourceId?: string;\n /** The date and time in UTC of when the trial starts. */\n trialStartAt?: Date;\n /** The date and time in UTC of when the trial ends. */\n trialEndAt?: Date;\n}\n\nexport function marketplaceTrialQuotaDeserializer(item: any): MarketplaceTrialQuota {\n return {\n availablePromotion: item[\"availablePromotion\"],\n grafanaResourceId: item[\"grafanaResourceId\"],\n trialStartAt: !item[\"trialStartAt\"] ? item[\"trialStartAt\"] : new Date(item[\"trialStartAt\"]),\n trialEndAt: !item[\"trialEndAt\"] ? item[\"trialEndAt\"] : new Date(item[\"trialEndAt\"]),\n };\n}\n\n/** Known values of {@link AvailablePromotion} that the service accepts. */\nexport enum KnownAvailablePromotion {\n /** None */\n None = \"None\",\n /** FreeTrial */\n FreeTrial = \"FreeTrial\",\n}\n\n/** Type of AvailablePromotion */\nexport type AvailablePromotion = string;\n\n/** model interface GrafanaAvailablePluginListResponse */\nexport interface GrafanaAvailablePluginListResponse {\n value?: GrafanaAvailablePlugin[];\n nextLink?: string;\n}\n\nexport function grafanaAvailablePluginListResponseDeserializer(\n item: any,\n): GrafanaAvailablePluginListResponse {\n return {\n value: !item[\"value\"] ? item[\"value\"] : grafanaAvailablePluginArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function grafanaAvailablePluginArrayDeserializer(\n result: Array<GrafanaAvailablePlugin>,\n): any[] {\n return result.map((item) => {\n return grafanaAvailablePluginDeserializer(item);\n });\n}\n\n/** Available plugins of grafana */\nexport interface GrafanaAvailablePlugin {\n /** Grafana plugin id */\n readonly pluginId?: string;\n /** Grafana plugin display name */\n readonly name?: string;\n /** Grafana plugin type */\n readonly type?: string;\n /** Grafana plugin author/publisher name */\n readonly author?: string;\n}\n\nexport function grafanaAvailablePluginDeserializer(item: any): GrafanaAvailablePlugin {\n return {\n pluginId: item[\"pluginId\"],\n name: item[\"name\"],\n type: item[\"type\"],\n author: item[\"author\"],\n };\n}\n\n/** The managed private endpoint resource type. */\nexport interface ManagedPrivateEndpointModel extends TrackedResource {\n /** Resource properties. */\n properties?: ManagedPrivateEndpointModelProperties;\n}\n\nexport function managedPrivateEndpointModelSerializer(item: ManagedPrivateEndpointModel): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedPrivateEndpointModelPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function managedPrivateEndpointModelDeserializer(item: any): ManagedPrivateEndpointModel {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : managedPrivateEndpointModelPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties specific to the managed private endpoint. */\nexport interface ManagedPrivateEndpointModelProperties {\n /** Provisioning state of the resource. */\n readonly provisioningState?: ProvisioningState;\n /** The ARM resource ID of the resource for which the managed private endpoint is pointing to. */\n privateLinkResourceId?: string;\n /** The region of the resource to which the managed private endpoint is pointing to. */\n privateLinkResourceRegion?: string;\n /** The group Ids of the managed private endpoint. */\n groupIds?: string[];\n /** User input request message of the managed private endpoint. */\n requestMessage?: string;\n /** The state of managed private endpoint connection. */\n readonly connectionState?: ManagedPrivateEndpointConnectionState;\n /** The URL of the data store behind the private link service. It would be the URL in the Grafana data source configuration page without the protocol and port. */\n privateLinkServiceUrl?: string;\n /** The private IP of private endpoint after approval. This property is empty before connection is approved. */\n readonly privateLinkServicePrivateIP?: string;\n}\n\nexport function managedPrivateEndpointModelPropertiesSerializer(\n item: ManagedPrivateEndpointModelProperties,\n): any {\n return {\n privateLinkResourceId: item[\"privateLinkResourceId\"],\n privateLinkResourceRegion: item[\"privateLinkResourceRegion\"],\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n requestMessage: item[\"requestMessage\"],\n privateLinkServiceUrl: item[\"privateLinkServiceUrl\"],\n };\n}\n\nexport function managedPrivateEndpointModelPropertiesDeserializer(\n item: any,\n): ManagedPrivateEndpointModelProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n privateLinkResourceId: item[\"privateLinkResourceId\"],\n privateLinkResourceRegion: item[\"privateLinkResourceRegion\"],\n groupIds: !item[\"groupIds\"]\n ? item[\"groupIds\"]\n : item[\"groupIds\"].map((p: any) => {\n return p;\n }),\n requestMessage: item[\"requestMessage\"],\n connectionState: !item[\"connectionState\"]\n ? item[\"connectionState\"]\n : managedPrivateEndpointConnectionStateDeserializer(item[\"connectionState\"]),\n privateLinkServiceUrl: item[\"privateLinkServiceUrl\"],\n privateLinkServicePrivateIP: item[\"privateLinkServicePrivateIP\"],\n };\n}\n\n/** The state of managed private endpoint connection. */\nexport interface ManagedPrivateEndpointConnectionState {\n /** The approval/rejection status of managed private endpoint connection. */\n readonly status?: ManagedPrivateEndpointConnectionStatus;\n /** Gets or sets the reason for approval/rejection of the connection. */\n readonly description?: string;\n}\n\nexport function managedPrivateEndpointConnectionStateDeserializer(\n item: any,\n): ManagedPrivateEndpointConnectionState {\n return {\n status: item[\"status\"],\n description: item[\"description\"],\n };\n}\n\n/** The approval/rejection status of managed private endpoint connection. */\nexport enum KnownManagedPrivateEndpointConnectionStatus {\n /** Pending */\n Pending = \"Pending\",\n /** Approved */\n Approved = \"Approved\",\n /** Rejected */\n Rejected = \"Rejected\",\n /** Disconnected */\n Disconnected = \"Disconnected\",\n}\n\n/**\n * The approval/rejection status of managed private endpoint connection. \\\n * {@link KnownManagedPrivateEndpointConnectionStatus} can be used interchangeably with ManagedPrivateEndpointConnectionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pending** \\\n * **Approved** \\\n * **Rejected** \\\n * **Disconnected**\n */\nexport type ManagedPrivateEndpointConnectionStatus = string;\n\n/** The parameters for a PATCH request to a managed private endpoint. */\nexport interface ManagedPrivateEndpointUpdateParameters {\n /** The new tags of the managed private endpoint. */\n tags?: Record<string, string>;\n}\n\nexport function managedPrivateEndpointUpdateParametersSerializer(\n item: ManagedPrivateEndpointUpdateParameters,\n): any {\n return { tags: item[\"tags\"] };\n}\n\n/** The list of managed private endpoints of a grafana resource */\nexport interface _ManagedPrivateEndpointModelListResponse {\n /** The ManagedPrivateEndpointModel items on this page */\n value: ManagedPrivateEndpointModel[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _managedPrivateEndpointModelListResponseDeserializer(\n item: any,\n): _ManagedPrivateEndpointModelListResponse {\n return {\n value: managedPrivateEndpointModelArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function managedPrivateEndpointModelArraySerializer(\n result: Array<ManagedPrivateEndpointModel>,\n): any[] {\n return result.map((item) => {\n return managedPrivateEndpointModelSerializer(item);\n });\n}\n\nexport function managedPrivateEndpointModelArrayDeserializer(\n result: Array<ManagedPrivateEndpointModel>,\n): any[] {\n return result.map((item) => {\n return managedPrivateEndpointModelDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2025-08-01 API version. */\n V20250801 = \"2025-08-01\",\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DashboardManagementClient } from "./dashboardManagementClient.js";
|
|
2
|
-
import { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
-
import { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
-
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
1
|
+
import type { DashboardManagementClient } from "./dashboardManagementClient.js";
|
|
2
|
+
import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
5
|
export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
|
|
6
6
|
/** Delay to wait until next poll, in milliseconds. */
|
|
7
7
|
updateIntervalInMs?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAqDlC,sCAoCC;AA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BACjF,MAAM,KAAK,GAAG,cAAc,CAAC,CAAC,CAAE,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAC/C,GAAG,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;gBAClC,4DAA4D;gBAC5D,qDAAqD;gBACrD,eAAe;gBACf,6BAA6B;gBAC7B,MAAM,SAAS,GAAG,IAAI,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,IAAI,CAC1E,SAAS,CAAC,CAAC,CAAC,IAAI,EAAE,CACnB,CAAC;gBAEF,IAAI,CAAC,SAAS,EAAE,CAAC;oBACf,KAAK,GAAG,KAAK,CAAC;oBACd,MAAM;gBACR,CAAC;gBACD,SAAS;YACX,CAAC;YAED,8CAA8C;YAC9C,wDAAwD;YACxD,2CAA2C;YAC3C,IAAI,cAAc,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;gBACvC,KAAK,GAAG,KAAK,CAAC;gBACd,MAAM;YACR,CAAC;QACH,CAAC;QAED,qDAAqD;QACrD,sEAAsE;QACtE,IAAI,KAAK,IAAI,aAAa,CAAC,MAAM,GAAG,UAAU,EAAE,CAAC;YAC/C,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC;YAClC,YAAY,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DashboardManagementClient } from \"./dashboardManagementClient.js\";\nimport {\n _$deleteDeserialize,\n _updateDeserialize,\n _createDeserialize,\n _refreshDeserialize,\n} from \"./api/managedPrivateEndpoints/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeGrafana,\n _updateDeserialize as _updateDeserializeGrafana,\n _createDeserialize as _createDeserializeGrafana,\n} from \"./api/grafana/operations.js\";\nimport { _createDeserialize as _createDeserializeManagedDashboards } from \"./api/managedDashboards/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeIntegrationFabrics,\n _updateDeserialize as _updateDeserializeIntegrationFabrics,\n _createDeserialize as _createDeserializeIntegrationFabrics,\n} from \"./api/integrationFabrics/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializePrivateEndpointConnections,\n _approveDeserialize,\n} from \"./api/privateEndpointConnections/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n PollerLike,\n OperationState,\n deserializeState,\n ResourceLocationConfig,\n} from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: DashboardManagementClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: Function;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}\":\n {\n deserializer: _$deleteDeserialize,\n expectedStatuses: [\"200\", \"202\", \"204\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}\":\n { deserializer: _updateDeserialize, expectedStatuses: [\"200\", \"202\"] },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}\":\n {\n deserializer: _createDeserialize,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/refreshManagedPrivateEndpoints\":\n { deserializer: _refreshDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}\":\n {\n deserializer: _$deleteDeserializeGrafana,\n expectedStatuses: [\"200\", \"202\", \"204\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}\":\n {\n deserializer: _updateDeserializeGrafana,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}\":\n {\n deserializer: _createDeserializeGrafana,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}\":\n {\n deserializer: _createDeserializeManagedDashboards,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}\":\n {\n deserializer: _$deleteDeserializeIntegrationFabrics,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}\":\n {\n deserializer: _updateDeserializeIntegrationFabrics,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}\":\n {\n deserializer: _createDeserializeIntegrationFabrics,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}\":\n {\n deserializer: _$deleteDeserializePrivateEndpointConnections,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}\":\n {\n deserializer: _approveDeserialize,\n expectedStatuses: [\"201\", \"200\", \"202\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAiDlC,sCAoCC;AAlFD,+EAKqD;AACrD,+DAIqC;AACrC,yEAAkH;AAClH,0EAIgD;AAChD,kFAGwD;AACxD,0EAA0E;AAI1E,8CAAmD;AAgBnD;;;;GAIG;AACH,SAAgB,aAAa,CAC3B,MAAiC,EACjC,eAAuB,EACvB,eAAiF,EACjF,OAAuC;IAEvC,MAAM,YAAY,GAAG,IAAA,2BAAgB,EAAC,eAAe,CAAC,CAAC,MAAM,CAAC;IAC9D,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC;IACpE,IAAI,CAAC,iBAAiB,IAAI,CAAC,aAAa,EAAE,CAAC;QACzC,MAAM,IAAI,KAAK,CACb,6BAA6B,eAAe,wBAAwB,eAAe,EAAE,IAAI,EAAE,CAC5F,CAAC;IACJ,CAAC;IACD,MAAM,sBAAsB,GAAG,QAAQ,EAAE,CAAC,wBAAwB,CAErD,CAAC;IACd,MAAM,EAAE,YAAY,EAAE,gBAAgB,GAAG,EAAE,EAAE,GAC3C,wBAAwB,CAAC,iBAAiB,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC;IACnE,MAAM,iBAAiB,GAAG,OAAO,EAAE,mBAAmB,IAAI,YAAY,CAAC;IACvE,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,MAAM,IAAI,KAAK,CACb,0FAA0F,eAAe,EAAE,IAAI,GAAG,CACnH,CAAC;IACJ,CAAC;IACD,OAAO,IAAA,wCAAoB,EACxB,MAAc,CAAC,SAAS,CAAC,IAAI,MAAM,EACpC,iBAA4D,EAC5D,gBAAgB,EAChB;QACE,kBAAkB,EAAE,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C,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { DashboardManagementClient } from \"./dashboardManagementClient.js\";\nimport {\n _$deleteDeserialize,\n _updateDeserialize,\n _createDeserialize,\n _refreshDeserialize,\n} from \"./api/managedPrivateEndpoints/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeGrafana,\n _updateDeserialize as _updateDeserializeGrafana,\n _createDeserialize as _createDeserializeGrafana,\n} from \"./api/grafana/operations.js\";\nimport { _createDeserialize as _createDeserializeManagedDashboards } from \"./api/managedDashboards/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeIntegrationFabrics,\n _updateDeserialize as _updateDeserializeIntegrationFabrics,\n _createDeserialize as _createDeserializeIntegrationFabrics,\n} from \"./api/integrationFabrics/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializePrivateEndpointConnections,\n _approveDeserialize,\n} from \"./api/privateEndpointConnections/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport type { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { PollerLike, OperationState, ResourceLocationConfig } from \"@azure/core-lro\";\nimport { deserializeState } from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: DashboardManagementClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n },\n );\n}\n\ninterface DeserializationHelper {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n deserializer: Function;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}\":\n {\n deserializer: _$deleteDeserialize,\n expectedStatuses: [\"200\", \"202\", \"204\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}\":\n { deserializer: _updateDeserialize, expectedStatuses: [\"200\", \"202\"] },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}\":\n {\n deserializer: _createDeserialize,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/refreshManagedPrivateEndpoints\":\n { deserializer: _refreshDeserialize, expectedStatuses: [\"202\", \"200\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}\":\n {\n deserializer: _$deleteDeserializeGrafana,\n expectedStatuses: [\"200\", \"202\", \"204\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}\":\n {\n deserializer: _updateDeserializeGrafana,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}\":\n {\n deserializer: _createDeserializeGrafana,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/dashboards/{dashboardName}\":\n {\n deserializer: _createDeserializeManagedDashboards,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}\":\n {\n deserializer: _$deleteDeserializeIntegrationFabrics,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}\":\n {\n deserializer: _updateDeserializeIntegrationFabrics,\n expectedStatuses: [\"200\", \"202\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/integrationFabrics/{integrationFabricName}\":\n {\n deserializer: _createDeserializeIntegrationFabrics,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}\":\n {\n deserializer: _$deleteDeserializePrivateEndpointConnections,\n expectedStatuses: [\"202\", \"204\", \"200\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}\":\n {\n deserializer: _approveDeserialize,\n expectedStatuses: [\"201\", \"200\", \"202\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
|