@azure/arm-containerregistry 12.1.0-beta.1 → 12.1.0-beta.2
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/archiveVersions/operations.d.ts +0 -5
- package/dist/browser/api/archiveVersions/operations.js +19 -16
- package/dist/browser/api/archiveVersions/operations.js.map +1 -1
- package/dist/browser/api/archives/operations.d.ts +0 -5
- package/dist/browser/api/archives/operations.js +23 -18
- package/dist/browser/api/archives/operations.js.map +1 -1
- package/dist/browser/api/cacheRules/operations.d.ts +0 -5
- package/dist/browser/api/cacheRules/operations.js +24 -19
- package/dist/browser/api/cacheRules/operations.js.map +1 -1
- package/dist/browser/api/connectedRegistries/operations.d.ts +0 -5
- package/dist/browser/api/connectedRegistries/operations.js +33 -24
- package/dist/browser/api/connectedRegistries/operations.js.map +1 -1
- package/dist/browser/api/containerRegistryManagementContext.d.ts +0 -2
- package/dist/browser/api/containerRegistryManagementContext.js +4 -3
- package/dist/browser/api/containerRegistryManagementContext.js.map +1 -1
- package/dist/browser/api/credentialSets/operations.d.ts +0 -5
- package/dist/browser/api/credentialSets/operations.js +24 -19
- package/dist/browser/api/credentialSets/operations.js.map +1 -1
- package/dist/browser/api/exportPipelines/operations.d.ts +0 -5
- package/dist/browser/api/exportPipelines/operations.js +19 -16
- package/dist/browser/api/exportPipelines/operations.js.map +1 -1
- package/dist/browser/api/importPipelines/operations.d.ts +0 -5
- package/dist/browser/api/importPipelines/operations.js +19 -16
- package/dist/browser/api/importPipelines/operations.js.map +1 -1
- package/dist/browser/api/operations/operations.js +5 -3
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/pipelineRuns/operations.d.ts +0 -5
- package/dist/browser/api/pipelineRuns/operations.js +19 -16
- package/dist/browser/api/pipelineRuns/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/browser/api/privateEndpointConnections/operations.js +19 -16
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/registries/operations.d.ts +0 -5
- package/dist/browser/api/registries/operations.js +66 -43
- package/dist/browser/api/registries/operations.js.map +1 -1
- package/dist/browser/api/replications/operations.d.ts +0 -5
- package/dist/browser/api/replications/operations.js +24 -19
- package/dist/browser/api/replications/operations.js.map +1 -1
- package/dist/browser/api/scopeMaps/operations.d.ts +0 -5
- package/dist/browser/api/scopeMaps/operations.js +24 -19
- package/dist/browser/api/scopeMaps/operations.js.map +1 -1
- package/dist/browser/api/tokens/operations.d.ts +0 -5
- package/dist/browser/api/tokens/operations.js +24 -19
- package/dist/browser/api/tokens/operations.js.map +1 -1
- package/dist/browser/api/webhooks/operations.d.ts +0 -5
- package/dist/browser/api/webhooks/operations.js +37 -26
- package/dist/browser/api/webhooks/operations.js.map +1 -1
- package/dist/browser/classic/archiveVersions/index.d.ts +0 -5
- package/dist/browser/classic/archiveVersions/index.js.map +1 -1
- package/dist/browser/classic/archives/index.d.ts +0 -5
- package/dist/browser/classic/archives/index.js.map +1 -1
- package/dist/browser/classic/cacheRules/index.d.ts +0 -5
- package/dist/browser/classic/cacheRules/index.js.map +1 -1
- package/dist/browser/classic/connectedRegistries/index.d.ts +0 -5
- package/dist/browser/classic/connectedRegistries/index.js.map +1 -1
- package/dist/browser/classic/credentialSets/index.d.ts +0 -5
- package/dist/browser/classic/credentialSets/index.js.map +1 -1
- package/dist/browser/classic/exportPipelines/index.d.ts +0 -5
- package/dist/browser/classic/exportPipelines/index.js.map +1 -1
- package/dist/browser/classic/importPipelines/index.d.ts +0 -5
- package/dist/browser/classic/importPipelines/index.js.map +1 -1
- package/dist/browser/classic/pipelineRuns/index.d.ts +0 -5
- package/dist/browser/classic/pipelineRuns/index.js.map +1 -1
- package/dist/browser/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/classic/registries/index.d.ts +0 -5
- package/dist/browser/classic/registries/index.js.map +1 -1
- package/dist/browser/classic/replications/index.d.ts +0 -5
- package/dist/browser/classic/replications/index.js.map +1 -1
- package/dist/browser/classic/scopeMaps/index.d.ts +0 -5
- package/dist/browser/classic/scopeMaps/index.js.map +1 -1
- package/dist/browser/classic/tokens/index.d.ts +0 -5
- package/dist/browser/classic/tokens/index.js.map +1 -1
- package/dist/browser/classic/webhooks/index.d.ts +0 -5
- package/dist/browser/classic/webhooks/index.js.map +1 -1
- package/dist/browser/containerRegistryManagementClient.js +0 -1
- package/dist/browser/containerRegistryManagementClient.js.map +1 -1
- package/dist/browser/index.d.ts +3 -2
- package/dist/browser/index.js +2 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -2
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +101 -14
- package/dist/browser/models/models.js +134 -18
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +1 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/archiveVersions/index.js +1 -0
- package/dist/commonjs/api/archiveVersions/index.js.map +1 -1
- package/dist/commonjs/api/archiveVersions/operations.d.ts +0 -5
- package/dist/commonjs/api/archiveVersions/operations.js +20 -11
- package/dist/commonjs/api/archiveVersions/operations.js.map +3 -3
- package/dist/commonjs/api/archiveVersions/options.js +1 -0
- package/dist/commonjs/api/archiveVersions/options.js.map +1 -1
- package/dist/commonjs/api/archives/index.js +1 -0
- package/dist/commonjs/api/archives/index.js.map +1 -1
- package/dist/commonjs/api/archives/operations.d.ts +0 -5
- package/dist/commonjs/api/archives/operations.js +24 -13
- package/dist/commonjs/api/archives/operations.js.map +3 -3
- package/dist/commonjs/api/archives/options.js +1 -0
- package/dist/commonjs/api/archives/options.js.map +1 -1
- package/dist/commonjs/api/cacheRules/index.js +1 -0
- package/dist/commonjs/api/cacheRules/index.js.map +1 -1
- package/dist/commonjs/api/cacheRules/operations.d.ts +0 -5
- package/dist/commonjs/api/cacheRules/operations.js +25 -14
- package/dist/commonjs/api/cacheRules/operations.js.map +3 -3
- package/dist/commonjs/api/cacheRules/options.js +1 -0
- package/dist/commonjs/api/cacheRules/options.js.map +1 -1
- package/dist/commonjs/api/connectedRegistries/index.js +1 -0
- package/dist/commonjs/api/connectedRegistries/index.js.map +1 -1
- package/dist/commonjs/api/connectedRegistries/operations.d.ts +0 -5
- package/dist/commonjs/api/connectedRegistries/operations.js +34 -19
- package/dist/commonjs/api/connectedRegistries/operations.js.map +3 -3
- package/dist/commonjs/api/connectedRegistries/options.js +1 -0
- package/dist/commonjs/api/connectedRegistries/options.js.map +1 -1
- package/dist/commonjs/api/containerRegistryManagementContext.d.ts +0 -2
- package/dist/commonjs/api/containerRegistryManagementContext.js +5 -2
- package/dist/commonjs/api/containerRegistryManagementContext.js.map +3 -3
- package/dist/commonjs/api/credentialSets/index.js +1 -0
- package/dist/commonjs/api/credentialSets/index.js.map +1 -1
- package/dist/commonjs/api/credentialSets/operations.d.ts +0 -5
- package/dist/commonjs/api/credentialSets/operations.js +25 -14
- package/dist/commonjs/api/credentialSets/operations.js.map +3 -3
- package/dist/commonjs/api/credentialSets/options.js +1 -0
- package/dist/commonjs/api/credentialSets/options.js.map +1 -1
- package/dist/commonjs/api/exportPipelines/index.js +1 -0
- package/dist/commonjs/api/exportPipelines/index.js.map +1 -1
- package/dist/commonjs/api/exportPipelines/operations.d.ts +0 -5
- package/dist/commonjs/api/exportPipelines/operations.js +20 -11
- package/dist/commonjs/api/exportPipelines/operations.js.map +3 -3
- package/dist/commonjs/api/exportPipelines/options.js +1 -0
- package/dist/commonjs/api/exportPipelines/options.js.map +1 -1
- package/dist/commonjs/api/importPipelines/index.js +1 -0
- package/dist/commonjs/api/importPipelines/index.js.map +1 -1
- package/dist/commonjs/api/importPipelines/operations.d.ts +0 -5
- package/dist/commonjs/api/importPipelines/operations.js +20 -11
- package/dist/commonjs/api/importPipelines/operations.js.map +3 -3
- package/dist/commonjs/api/importPipelines/options.js +1 -0
- package/dist/commonjs/api/importPipelines/options.js.map +1 -1
- package/dist/commonjs/api/index.js +1 -0
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/operations/index.js +1 -0
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/operations/operations.js +6 -3
- package/dist/commonjs/api/operations/operations.js.map +3 -3
- package/dist/commonjs/api/operations/options.js +1 -0
- package/dist/commonjs/api/operations/options.js.map +1 -1
- package/dist/commonjs/api/pipelineRuns/index.js +1 -0
- package/dist/commonjs/api/pipelineRuns/index.js.map +1 -1
- package/dist/commonjs/api/pipelineRuns/operations.d.ts +0 -5
- package/dist/commonjs/api/pipelineRuns/operations.js +20 -11
- package/dist/commonjs/api/pipelineRuns/operations.js.map +3 -3
- package/dist/commonjs/api/pipelineRuns/options.js +1 -0
- package/dist/commonjs/api/pipelineRuns/options.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/index.js +1 -0
- package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/commonjs/api/privateEndpointConnections/operations.js +20 -11
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +3 -3
- package/dist/commonjs/api/privateEndpointConnections/options.js +1 -0
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/commonjs/api/registries/index.js +1 -0
- package/dist/commonjs/api/registries/index.js.map +1 -1
- package/dist/commonjs/api/registries/operations.d.ts +0 -5
- package/dist/commonjs/api/registries/operations.js +67 -38
- package/dist/commonjs/api/registries/operations.js.map +3 -3
- package/dist/commonjs/api/registries/options.js +1 -0
- package/dist/commonjs/api/registries/options.js.map +1 -1
- package/dist/commonjs/api/replications/index.js +1 -0
- package/dist/commonjs/api/replications/index.js.map +1 -1
- package/dist/commonjs/api/replications/operations.d.ts +0 -5
- package/dist/commonjs/api/replications/operations.js +25 -14
- package/dist/commonjs/api/replications/operations.js.map +3 -3
- package/dist/commonjs/api/replications/options.js +1 -0
- package/dist/commonjs/api/replications/options.js.map +1 -1
- package/dist/commonjs/api/scopeMaps/index.js +1 -0
- package/dist/commonjs/api/scopeMaps/index.js.map +1 -1
- package/dist/commonjs/api/scopeMaps/operations.d.ts +0 -5
- package/dist/commonjs/api/scopeMaps/operations.js +25 -14
- package/dist/commonjs/api/scopeMaps/operations.js.map +3 -3
- package/dist/commonjs/api/scopeMaps/options.js +1 -0
- package/dist/commonjs/api/scopeMaps/options.js.map +1 -1
- package/dist/commonjs/api/tokens/index.js +1 -0
- package/dist/commonjs/api/tokens/index.js.map +1 -1
- package/dist/commonjs/api/tokens/operations.d.ts +0 -5
- package/dist/commonjs/api/tokens/operations.js +25 -14
- package/dist/commonjs/api/tokens/operations.js.map +3 -3
- package/dist/commonjs/api/tokens/options.js +1 -0
- package/dist/commonjs/api/tokens/options.js.map +1 -1
- package/dist/commonjs/api/webhooks/index.js +1 -0
- package/dist/commonjs/api/webhooks/index.js.map +1 -1
- package/dist/commonjs/api/webhooks/operations.d.ts +0 -5
- package/dist/commonjs/api/webhooks/operations.js +38 -21
- package/dist/commonjs/api/webhooks/operations.js.map +3 -3
- package/dist/commonjs/api/webhooks/options.js +1 -0
- package/dist/commonjs/api/webhooks/options.js.map +1 -1
- package/dist/commonjs/classic/archiveVersions/index.d.ts +0 -5
- package/dist/commonjs/classic/archiveVersions/index.js +1 -0
- package/dist/commonjs/classic/archiveVersions/index.js.map +3 -3
- package/dist/commonjs/classic/archives/index.d.ts +0 -5
- package/dist/commonjs/classic/archives/index.js +1 -0
- package/dist/commonjs/classic/archives/index.js.map +3 -3
- package/dist/commonjs/classic/cacheRules/index.d.ts +0 -5
- package/dist/commonjs/classic/cacheRules/index.js +1 -0
- package/dist/commonjs/classic/cacheRules/index.js.map +3 -3
- package/dist/commonjs/classic/connectedRegistries/index.d.ts +0 -5
- package/dist/commonjs/classic/connectedRegistries/index.js +1 -0
- package/dist/commonjs/classic/connectedRegistries/index.js.map +3 -3
- package/dist/commonjs/classic/credentialSets/index.d.ts +0 -5
- package/dist/commonjs/classic/credentialSets/index.js +1 -0
- package/dist/commonjs/classic/credentialSets/index.js.map +3 -3
- package/dist/commonjs/classic/exportPipelines/index.d.ts +0 -5
- package/dist/commonjs/classic/exportPipelines/index.js +1 -0
- package/dist/commonjs/classic/exportPipelines/index.js.map +3 -3
- package/dist/commonjs/classic/importPipelines/index.d.ts +0 -5
- package/dist/commonjs/classic/importPipelines/index.js +1 -0
- package/dist/commonjs/classic/importPipelines/index.js.map +3 -3
- package/dist/commonjs/classic/index.js +1 -0
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.js +1 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/pipelineRuns/index.d.ts +0 -5
- package/dist/commonjs/classic/pipelineRuns/index.js +1 -0
- package/dist/commonjs/classic/pipelineRuns/index.js.map +3 -3
- package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/commonjs/classic/privateEndpointConnections/index.js +1 -0
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +3 -3
- package/dist/commonjs/classic/registries/index.d.ts +0 -5
- package/dist/commonjs/classic/registries/index.js +1 -0
- package/dist/commonjs/classic/registries/index.js.map +3 -3
- package/dist/commonjs/classic/replications/index.d.ts +0 -5
- package/dist/commonjs/classic/replications/index.js +1 -0
- package/dist/commonjs/classic/replications/index.js.map +3 -3
- package/dist/commonjs/classic/scopeMaps/index.d.ts +0 -5
- package/dist/commonjs/classic/scopeMaps/index.js +1 -0
- package/dist/commonjs/classic/scopeMaps/index.js.map +3 -3
- package/dist/commonjs/classic/tokens/index.d.ts +0 -5
- package/dist/commonjs/classic/tokens/index.js +1 -0
- package/dist/commonjs/classic/tokens/index.js.map +3 -3
- package/dist/commonjs/classic/webhooks/index.d.ts +0 -5
- package/dist/commonjs/classic/webhooks/index.js +1 -0
- package/dist/commonjs/classic/webhooks/index.js.map +3 -3
- package/dist/commonjs/containerRegistryManagementClient.js +1 -1
- package/dist/commonjs/containerRegistryManagementClient.js.map +3 -3
- package/dist/commonjs/index.d.ts +3 -2
- package/dist/commonjs/index.js +10 -0
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/logger.js +1 -0
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +5 -0
- package/dist/commonjs/models/index.js.map +3 -3
- package/dist/commonjs/models/models.d.ts +101 -14
- package/dist/commonjs/models/models.js +148 -16
- package/dist/commonjs/models/models.js.map +4 -4
- package/dist/commonjs/restorePollerHelpers.js +2 -1
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +1 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +2 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +2 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +1 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +1 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/urlTemplate.js +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/archiveVersions/index.js +4 -7
- package/dist/esm/api/archiveVersions/index.js.map +1 -7
- package/dist/esm/api/archiveVersions/operations.d.ts +0 -5
- package/dist/esm/api/archiveVersions/operations.js +130 -179
- package/dist/esm/api/archiveVersions/operations.js.map +1 -7
- package/dist/esm/api/archiveVersions/options.js +4 -0
- package/dist/esm/api/archiveVersions/options.js.map +1 -7
- package/dist/esm/api/archives/index.js +4 -8
- package/dist/esm/api/archives/index.js.map +1 -7
- package/dist/esm/api/archives/operations.d.ts +0 -5
- package/dist/esm/api/archives/operations.js +158 -212
- package/dist/esm/api/archives/operations.js.map +1 -7
- package/dist/esm/api/archives/options.js +4 -0
- package/dist/esm/api/archives/options.js.map +1 -7
- package/dist/esm/api/cacheRules/index.js +4 -8
- package/dist/esm/api/cacheRules/index.js.map +1 -7
- package/dist/esm/api/cacheRules/operations.d.ts +0 -5
- package/dist/esm/api/cacheRules/operations.js +158 -203
- package/dist/esm/api/cacheRules/operations.js.map +1 -7
- package/dist/esm/api/cacheRules/options.js +4 -0
- package/dist/esm/api/cacheRules/options.js.map +1 -7
- package/dist/esm/api/connectedRegistries/index.js +4 -10
- package/dist/esm/api/connectedRegistries/index.js.map +1 -7
- package/dist/esm/api/connectedRegistries/operations.d.ts +0 -5
- package/dist/esm/api/connectedRegistries/operations.js +233 -298
- package/dist/esm/api/connectedRegistries/operations.js.map +1 -7
- package/dist/esm/api/connectedRegistries/options.js +4 -0
- package/dist/esm/api/connectedRegistries/options.js.map +1 -7
- package/dist/esm/api/containerRegistryManagementContext.d.ts +0 -2
- package/dist/esm/api/containerRegistryManagementContext.js +21 -17
- package/dist/esm/api/containerRegistryManagementContext.js.map +1 -7
- package/dist/esm/api/credentialSets/index.js +4 -8
- package/dist/esm/api/credentialSets/index.js.map +1 -7
- package/dist/esm/api/credentialSets/operations.d.ts +0 -5
- package/dist/esm/api/credentialSets/operations.js +158 -209
- package/dist/esm/api/credentialSets/operations.js.map +1 -7
- package/dist/esm/api/credentialSets/options.js +4 -0
- package/dist/esm/api/credentialSets/options.js.map +1 -7
- package/dist/esm/api/exportPipelines/index.js +4 -7
- package/dist/esm/api/exportPipelines/index.js.map +1 -7
- package/dist/esm/api/exportPipelines/operations.d.ts +0 -5
- package/dist/esm/api/exportPipelines/operations.js +124 -163
- package/dist/esm/api/exportPipelines/operations.js.map +1 -7
- package/dist/esm/api/exportPipelines/options.js +4 -0
- package/dist/esm/api/exportPipelines/options.js.map +1 -7
- package/dist/esm/api/importPipelines/index.js +4 -7
- package/dist/esm/api/importPipelines/index.js.map +1 -7
- package/dist/esm/api/importPipelines/operations.d.ts +0 -5
- package/dist/esm/api/importPipelines/operations.js +124 -163
- package/dist/esm/api/importPipelines/operations.js.map +1 -7
- package/dist/esm/api/importPipelines/options.js +4 -0
- package/dist/esm/api/importPipelines/options.js.map +1 -7
- package/dist/esm/api/index.js +4 -4
- package/dist/esm/api/index.js.map +1 -7
- package/dist/esm/api/operations/index.js +4 -4
- package/dist/esm/api/operations/index.js.map +1 -7
- package/dist/esm/api/operations/operations.js +31 -43
- package/dist/esm/api/operations/operations.js.map +1 -7
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -7
- package/dist/esm/api/pipelineRuns/index.js +4 -7
- package/dist/esm/api/pipelineRuns/index.js.map +1 -7
- package/dist/esm/api/pipelineRuns/operations.d.ts +0 -5
- package/dist/esm/api/pipelineRuns/operations.js +124 -157
- package/dist/esm/api/pipelineRuns/operations.js.map +1 -7
- package/dist/esm/api/pipelineRuns/options.js +4 -0
- package/dist/esm/api/pipelineRuns/options.js.map +1 -7
- package/dist/esm/api/privateEndpointConnections/index.js +4 -7
- package/dist/esm/api/privateEndpointConnections/index.js.map +1 -7
- package/dist/esm/api/privateEndpointConnections/operations.d.ts +0 -5
- package/dist/esm/api/privateEndpointConnections/operations.js +124 -169
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -7
- package/dist/esm/api/privateEndpointConnections/options.js +4 -0
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -7
- package/dist/esm/api/registries/index.js +4 -32
- package/dist/esm/api/registries/index.js.map +1 -7
- package/dist/esm/api/registries/operations.d.ts +0 -5
- package/dist/esm/api/registries/operations.js +448 -555
- package/dist/esm/api/registries/operations.js.map +1 -7
- package/dist/esm/api/registries/options.js +4 -0
- package/dist/esm/api/registries/options.js.map +1 -7
- package/dist/esm/api/replications/index.js +4 -8
- package/dist/esm/api/replications/index.js.map +1 -7
- package/dist/esm/api/replications/operations.d.ts +0 -5
- package/dist/esm/api/replications/operations.js +158 -196
- package/dist/esm/api/replications/operations.js.map +1 -7
- package/dist/esm/api/replications/options.js +4 -0
- package/dist/esm/api/replications/options.js.map +1 -7
- package/dist/esm/api/scopeMaps/index.js +4 -8
- package/dist/esm/api/scopeMaps/index.js.map +1 -7
- package/dist/esm/api/scopeMaps/operations.d.ts +0 -5
- package/dist/esm/api/scopeMaps/operations.js +158 -203
- package/dist/esm/api/scopeMaps/operations.js.map +1 -7
- package/dist/esm/api/scopeMaps/options.js +4 -0
- package/dist/esm/api/scopeMaps/options.js.map +1 -7
- package/dist/esm/api/tokens/index.js +4 -8
- package/dist/esm/api/tokens/index.js.map +1 -7
- package/dist/esm/api/tokens/operations.d.ts +0 -5
- package/dist/esm/api/tokens/operations.js +158 -203
- package/dist/esm/api/tokens/operations.js.map +1 -7
- package/dist/esm/api/tokens/options.js +4 -0
- package/dist/esm/api/tokens/options.js.map +1 -7
- package/dist/esm/api/webhooks/index.js +4 -20
- package/dist/esm/api/webhooks/index.js.map +1 -7
- package/dist/esm/api/webhooks/operations.d.ts +0 -5
- package/dist/esm/api/webhooks/operations.js +242 -314
- package/dist/esm/api/webhooks/operations.js.map +1 -7
- package/dist/esm/api/webhooks/options.js +4 -0
- package/dist/esm/api/webhooks/options.js.map +1 -7
- package/dist/esm/classic/archiveVersions/index.d.ts +0 -5
- package/dist/esm/classic/archiveVersions/index.js +29 -85
- package/dist/esm/classic/archiveVersions/index.js.map +1 -7
- package/dist/esm/classic/archives/index.d.ts +0 -5
- package/dist/esm/classic/archives/index.js +30 -76
- package/dist/esm/classic/archives/index.js.map +1 -7
- package/dist/esm/classic/cacheRules/index.d.ts +0 -5
- package/dist/esm/classic/cacheRules/index.js +38 -80
- package/dist/esm/classic/cacheRules/index.js.map +1 -7
- package/dist/esm/classic/connectedRegistries/index.d.ts +0 -5
- package/dist/esm/classic/connectedRegistries/index.js +49 -123
- package/dist/esm/classic/connectedRegistries/index.js.map +1 -7
- package/dist/esm/classic/credentialSets/index.d.ts +0 -5
- package/dist/esm/classic/credentialSets/index.js +38 -80
- package/dist/esm/classic/credentialSets/index.js.map +1 -7
- package/dist/esm/classic/exportPipelines/index.d.ts +0 -5
- package/dist/esm/classic/exportPipelines/index.js +29 -50
- package/dist/esm/classic/exportPipelines/index.js.map +1 -7
- package/dist/esm/classic/importPipelines/index.d.ts +0 -5
- package/dist/esm/classic/importPipelines/index.js +29 -50
- package/dist/esm/classic/importPipelines/index.js.map +1 -7
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -7
- package/dist/esm/classic/operations/index.js +10 -10
- package/dist/esm/classic/operations/index.js.map +1 -7
- package/dist/esm/classic/pipelineRuns/index.d.ts +0 -5
- package/dist/esm/classic/pipelineRuns/index.js +29 -50
- package/dist/esm/classic/pipelineRuns/index.js.map +1 -7
- package/dist/esm/classic/privateEndpointConnections/index.d.ts +0 -5
- package/dist/esm/classic/privateEndpointConnections/index.js +30 -68
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -7
- package/dist/esm/classic/registries/index.d.ts +0 -5
- package/dist/esm/classic/registries/index.js +64 -115
- package/dist/esm/classic/registries/index.js.map +1 -7
- package/dist/esm/classic/replications/index.d.ts +0 -5
- package/dist/esm/classic/replications/index.js +38 -73
- package/dist/esm/classic/replications/index.js.map +1 -7
- package/dist/esm/classic/scopeMaps/index.d.ts +0 -5
- package/dist/esm/classic/scopeMaps/index.js +38 -80
- package/dist/esm/classic/scopeMaps/index.js.map +1 -7
- package/dist/esm/classic/tokens/index.d.ts +0 -5
- package/dist/esm/classic/tokens/index.js +38 -66
- package/dist/esm/classic/tokens/index.js.map +1 -7
- package/dist/esm/classic/webhooks/index.d.ts +0 -5
- package/dist/esm/classic/webhooks/index.js +42 -93
- package/dist/esm/classic/webhooks/index.js.map +1 -7
- package/dist/esm/containerRegistryManagementClient.js +70 -68
- package/dist/esm/containerRegistryManagementClient.js.map +1 -7
- package/dist/esm/index.d.ts +3 -2
- package/dist/esm/index.js +8 -103
- package/dist/esm/index.js.map +1 -7
- package/dist/esm/logger.js +4 -4
- package/dist/esm/logger.js.map +1 -7
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +4 -98
- package/dist/esm/models/index.js.map +1 -7
- package/dist/esm/models/models.d.ts +101 -14
- package/dist/esm/models/models.js +3137 -2730
- package/dist/esm/models/models.js.map +1 -7
- package/dist/esm/restorePollerHelpers.js +143 -185
- package/dist/esm/restorePollerHelpers.js.map +1 -7
- package/dist/esm/static-helpers/cloudSettingHelpers.js +37 -26
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/pagingHelpers.js +122 -98
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +86 -68
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +15 -9
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -7
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.js +43 -42
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -7
- package/dist/esm/static-helpers/urlTemplate.js +169 -142
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -7
- package/package.json +25 -89
- package/dist/react-native/api/archiveVersions/index.d.ts +0 -3
- package/dist/react-native/api/archiveVersions/index.js +0 -4
- package/dist/react-native/api/archiveVersions/index.js.map +0 -1
- package/dist/react-native/api/archiveVersions/operations.d.ts +0 -28
- package/dist/react-native/api/archiveVersions/operations.js +0 -146
- package/dist/react-native/api/archiveVersions/operations.js.map +0 -1
- package/dist/react-native/api/archiveVersions/options.d.ts +0 -18
- package/dist/react-native/api/archiveVersions/options.js +0 -4
- package/dist/react-native/api/archiveVersions/options.js.map +0 -1
- package/dist/react-native/api/archives/index.d.ts +0 -3
- package/dist/react-native/api/archives/index.js +0 -4
- package/dist/react-native/api/archives/index.js.map +0 -1
- package/dist/react-native/api/archives/operations.d.ts +0 -32
- package/dist/react-native/api/archives/operations.js +0 -176
- package/dist/react-native/api/archives/operations.js.map +0 -1
- package/dist/react-native/api/archives/options.d.ts +0 -21
- package/dist/react-native/api/archives/options.js +0 -4
- package/dist/react-native/api/archives/options.js.map +0 -1
- package/dist/react-native/api/cacheRules/index.d.ts +0 -3
- package/dist/react-native/api/cacheRules/index.js +0 -4
- package/dist/react-native/api/cacheRules/index.js.map +0 -1
- package/dist/react-native/api/cacheRules/operations.d.ts +0 -32
- package/dist/react-native/api/cacheRules/operations.js +0 -176
- package/dist/react-native/api/cacheRules/operations.js.map +0 -1
- package/dist/react-native/api/cacheRules/options.d.ts +0 -23
- package/dist/react-native/api/cacheRules/options.js +0 -4
- package/dist/react-native/api/cacheRules/options.js.map +0 -1
- package/dist/react-native/api/connectedRegistries/index.d.ts +0 -3
- package/dist/react-native/api/connectedRegistries/index.js +0 -4
- package/dist/react-native/api/connectedRegistries/index.js.map +0 -1
- package/dist/react-native/api/connectedRegistries/operations.d.ts +0 -40
- package/dist/react-native/api/connectedRegistries/operations.js +0 -237
- package/dist/react-native/api/connectedRegistries/operations.js.map +0 -1
- package/dist/react-native/api/connectedRegistries/options.d.ts +0 -33
- package/dist/react-native/api/connectedRegistries/options.js +0 -4
- package/dist/react-native/api/connectedRegistries/options.js.map +0 -1
- package/dist/react-native/api/containerRegistryManagementContext.d.ts +0 -22
- package/dist/react-native/api/containerRegistryManagementContext.js +0 -24
- package/dist/react-native/api/containerRegistryManagementContext.js.map +0 -1
- package/dist/react-native/api/credentialSets/index.d.ts +0 -3
- package/dist/react-native/api/credentialSets/index.js +0 -4
- package/dist/react-native/api/credentialSets/index.js.map +0 -1
- package/dist/react-native/api/credentialSets/operations.d.ts +0 -32
- package/dist/react-native/api/credentialSets/operations.js +0 -176
- package/dist/react-native/api/credentialSets/operations.js.map +0 -1
- package/dist/react-native/api/credentialSets/options.d.ts +0 -23
- package/dist/react-native/api/credentialSets/options.js +0 -4
- package/dist/react-native/api/credentialSets/options.js.map +0 -1
- package/dist/react-native/api/exportPipelines/index.d.ts +0 -3
- package/dist/react-native/api/exportPipelines/index.js +0 -4
- package/dist/react-native/api/exportPipelines/index.js.map +0 -1
- package/dist/react-native/api/exportPipelines/operations.d.ts +0 -28
- package/dist/react-native/api/exportPipelines/operations.js +0 -140
- package/dist/react-native/api/exportPipelines/operations.js.map +0 -1
- package/dist/react-native/api/exportPipelines/options.d.ts +0 -18
- package/dist/react-native/api/exportPipelines/options.js +0 -4
- package/dist/react-native/api/exportPipelines/options.js.map +0 -1
- package/dist/react-native/api/importPipelines/index.d.ts +0 -3
- package/dist/react-native/api/importPipelines/index.js +0 -4
- package/dist/react-native/api/importPipelines/index.js.map +0 -1
- package/dist/react-native/api/importPipelines/operations.d.ts +0 -28
- package/dist/react-native/api/importPipelines/operations.js +0 -140
- package/dist/react-native/api/importPipelines/operations.js.map +0 -1
- package/dist/react-native/api/importPipelines/options.d.ts +0 -18
- package/dist/react-native/api/importPipelines/options.js +0 -4
- package/dist/react-native/api/importPipelines/options.js.map +0 -1
- package/dist/react-native/api/index.d.ts +0 -3
- package/dist/react-native/api/index.js +0 -4
- package/dist/react-native/api/index.js.map +0 -1
- package/dist/react-native/api/operations/index.d.ts +0 -3
- package/dist/react-native/api/operations/index.js +0 -4
- package/dist/react-native/api/operations/index.js.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts +0 -10
- package/dist/react-native/api/operations/operations.js +0 -35
- package/dist/react-native/api/operations/operations.js.map +0 -1
- package/dist/react-native/api/operations/options.d.ts +0 -5
- package/dist/react-native/api/operations/options.js +0 -4
- package/dist/react-native/api/operations/options.js.map +0 -1
- package/dist/react-native/api/pipelineRuns/index.d.ts +0 -3
- package/dist/react-native/api/pipelineRuns/index.js +0 -4
- package/dist/react-native/api/pipelineRuns/index.js.map +0 -1
- package/dist/react-native/api/pipelineRuns/operations.d.ts +0 -28
- package/dist/react-native/api/pipelineRuns/operations.js +0 -140
- package/dist/react-native/api/pipelineRuns/operations.js.map +0 -1
- package/dist/react-native/api/pipelineRuns/options.d.ts +0 -18
- package/dist/react-native/api/pipelineRuns/options.js +0 -4
- package/dist/react-native/api/pipelineRuns/options.js.map +0 -1
- package/dist/react-native/api/privateEndpointConnections/index.d.ts +0 -3
- package/dist/react-native/api/privateEndpointConnections/index.js +0 -4
- package/dist/react-native/api/privateEndpointConnections/index.js.map +0 -1
- package/dist/react-native/api/privateEndpointConnections/operations.d.ts +0 -28
- package/dist/react-native/api/privateEndpointConnections/operations.js +0 -140
- package/dist/react-native/api/privateEndpointConnections/operations.js.map +0 -1
- package/dist/react-native/api/privateEndpointConnections/options.d.ts +0 -18
- package/dist/react-native/api/privateEndpointConnections/options.js +0 -4
- package/dist/react-native/api/privateEndpointConnections/options.js.map +0 -1
- package/dist/react-native/api/registries/index.d.ts +0 -3
- package/dist/react-native/api/registries/index.js +0 -4
- package/dist/react-native/api/registries/index.js.map +0 -1
- package/dist/react-native/api/registries/operations.d.ts +0 -68
- package/dist/react-native/api/registries/operations.js +0 -443
- package/dist/react-native/api/registries/operations.js.map +0 -1
- package/dist/react-native/api/registries/options.d.ts +0 -54
- package/dist/react-native/api/registries/options.js +0 -4
- package/dist/react-native/api/registries/options.js.map +0 -1
- package/dist/react-native/api/replications/index.d.ts +0 -3
- package/dist/react-native/api/replications/index.js +0 -4
- package/dist/react-native/api/replications/index.js.map +0 -1
- package/dist/react-native/api/replications/operations.d.ts +0 -32
- package/dist/react-native/api/replications/operations.js +0 -176
- package/dist/react-native/api/replications/operations.js.map +0 -1
- package/dist/react-native/api/replications/options.d.ts +0 -23
- package/dist/react-native/api/replications/options.js +0 -4
- package/dist/react-native/api/replications/options.js.map +0 -1
- package/dist/react-native/api/scopeMaps/index.d.ts +0 -3
- package/dist/react-native/api/scopeMaps/index.js +0 -4
- package/dist/react-native/api/scopeMaps/index.js.map +0 -1
- package/dist/react-native/api/scopeMaps/operations.d.ts +0 -32
- package/dist/react-native/api/scopeMaps/operations.js +0 -176
- package/dist/react-native/api/scopeMaps/operations.js.map +0 -1
- package/dist/react-native/api/scopeMaps/options.d.ts +0 -23
- package/dist/react-native/api/scopeMaps/options.js +0 -4
- package/dist/react-native/api/scopeMaps/options.js.map +0 -1
- package/dist/react-native/api/tokens/index.d.ts +0 -3
- package/dist/react-native/api/tokens/index.js +0 -4
- package/dist/react-native/api/tokens/index.js.map +0 -1
- package/dist/react-native/api/tokens/operations.d.ts +0 -32
- package/dist/react-native/api/tokens/operations.js +0 -176
- package/dist/react-native/api/tokens/operations.js.map +0 -1
- package/dist/react-native/api/tokens/options.d.ts +0 -23
- package/dist/react-native/api/tokens/options.js +0 -4
- package/dist/react-native/api/tokens/options.js.map +0 -1
- package/dist/react-native/api/webhooks/index.d.ts +0 -3
- package/dist/react-native/api/webhooks/index.js +0 -4
- package/dist/react-native/api/webhooks/index.js.map +0 -1
- package/dist/react-native/api/webhooks/operations.d.ts +0 -44
- package/dist/react-native/api/webhooks/operations.js +0 -266
- package/dist/react-native/api/webhooks/operations.js.map +0 -1
- package/dist/react-native/api/webhooks/options.d.ts +0 -32
- package/dist/react-native/api/webhooks/options.js +0 -4
- package/dist/react-native/api/webhooks/options.js.map +0 -1
- package/dist/react-native/classic/archiveVersions/index.d.ts +0 -32
- package/dist/react-native/classic/archiveVersions/index.js +0 -34
- package/dist/react-native/classic/archiveVersions/index.js.map +0 -1
- package/dist/react-native/classic/archives/index.d.ts +0 -34
- package/dist/react-native/classic/archives/index.js +0 -35
- package/dist/react-native/classic/archives/index.js.map +0 -1
- package/dist/react-native/classic/cacheRules/index.d.ts +0 -38
- package/dist/react-native/classic/cacheRules/index.js +0 -43
- package/dist/react-native/classic/cacheRules/index.js.map +0 -1
- package/dist/react-native/classic/connectedRegistries/index.d.ts +0 -46
- package/dist/react-native/classic/connectedRegistries/index.js +0 -53
- package/dist/react-native/classic/connectedRegistries/index.js.map +0 -1
- package/dist/react-native/classic/credentialSets/index.d.ts +0 -38
- package/dist/react-native/classic/credentialSets/index.js +0 -43
- package/dist/react-native/classic/credentialSets/index.js.map +0 -1
- package/dist/react-native/classic/exportPipelines/index.d.ts +0 -32
- package/dist/react-native/classic/exportPipelines/index.js +0 -34
- package/dist/react-native/classic/exportPipelines/index.js.map +0 -1
- package/dist/react-native/classic/importPipelines/index.d.ts +0 -32
- package/dist/react-native/classic/importPipelines/index.js +0 -34
- package/dist/react-native/classic/importPipelines/index.js.map +0 -1
- package/dist/react-native/classic/index.d.ts +0 -16
- package/dist/react-native/classic/index.js +0 -4
- package/dist/react-native/classic/index.js.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts +0 -11
- package/dist/react-native/classic/operations/index.js +0 -14
- package/dist/react-native/classic/operations/index.js.map +0 -1
- package/dist/react-native/classic/pipelineRuns/index.d.ts +0 -32
- package/dist/react-native/classic/pipelineRuns/index.js +0 -34
- package/dist/react-native/classic/pipelineRuns/index.js.map +0 -1
- package/dist/react-native/classic/privateEndpointConnections/index.d.ts +0 -32
- package/dist/react-native/classic/privateEndpointConnections/index.js +0 -34
- package/dist/react-native/classic/privateEndpointConnections/index.js.map +0 -1
- package/dist/react-native/classic/registries/index.d.ts +0 -64
- package/dist/react-native/classic/registries/index.js +0 -68
- package/dist/react-native/classic/registries/index.js.map +0 -1
- package/dist/react-native/classic/replications/index.d.ts +0 -38
- package/dist/react-native/classic/replications/index.js +0 -43
- package/dist/react-native/classic/replications/index.js.map +0 -1
- package/dist/react-native/classic/scopeMaps/index.d.ts +0 -38
- package/dist/react-native/classic/scopeMaps/index.js +0 -43
- package/dist/react-native/classic/scopeMaps/index.js.map +0 -1
- package/dist/react-native/classic/tokens/index.d.ts +0 -38
- package/dist/react-native/classic/tokens/index.js +0 -43
- package/dist/react-native/classic/tokens/index.js.map +0 -1
- package/dist/react-native/classic/webhooks/index.d.ts +0 -44
- package/dist/react-native/classic/webhooks/index.js +0 -46
- package/dist/react-native/classic/webhooks/index.js.map +0 -1
- package/dist/react-native/containerRegistryManagementClient.d.ts +0 -57
- package/dist/react-native/containerRegistryManagementClient.js +0 -89
- package/dist/react-native/containerRegistryManagementClient.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -30
- package/dist/react-native/index.js +0 -8
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/logger.d.ts +0 -2
- package/dist/react-native/logger.js +0 -5
- package/dist/react-native/logger.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -3
- package/dist/react-native/models/index.js +0 -4
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/models.d.ts +0 -2760
- package/dist/react-native/models/models.js +0 -3022
- package/dist/react-native/models/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/restorePollerHelpers.d.ts +0 -21
- package/dist/react-native/restorePollerHelpers.js +0 -157
- package/dist/react-native/restorePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +0 -22
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +0 -38
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -74
- package/dist/react-native/static-helpers/pagingHelpers.js +0 -143
- package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -34
- package/dist/react-native/static-helpers/pollingHelpers.js +0 -95
- package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +0 -8
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +0 -17
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +0 -1
- package/dist/react-native/static-helpers/simplePollerHelpers.d.ts +0 -73
- package/dist/react-native/static-helpers/simplePollerHelpers.js +0 -44
- package/dist/react-native/static-helpers/simplePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
- package/dist/react-native/static-helpers/urlTemplate.js +0 -200
- package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
|
@@ -1,3022 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
import { areAllPropsUndefined } from "../static-helpers/serialization/check-prop-undefined.js";
|
|
4
|
-
export function _operationListResultDeserializer(item) {
|
|
5
|
-
return {
|
|
6
|
-
value: !item["value"] ? item["value"] : operationDefinitionArrayDeserializer(item["value"]),
|
|
7
|
-
nextLink: item["nextLink"],
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export function operationDefinitionArrayDeserializer(result) {
|
|
11
|
-
return result.map((item) => {
|
|
12
|
-
return operationDefinitionDeserializer(item);
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
export function operationDefinitionDeserializer(item) {
|
|
16
|
-
return {
|
|
17
|
-
origin: item["origin"],
|
|
18
|
-
name: item["name"],
|
|
19
|
-
display: !item["display"]
|
|
20
|
-
? item["display"]
|
|
21
|
-
: operationDisplayDefinitionDeserializer(item["display"]),
|
|
22
|
-
...(!item["properties"]
|
|
23
|
-
? item["properties"]
|
|
24
|
-
: _operationDefinitionPropertiesDeserializer(item["properties"])),
|
|
25
|
-
isDataAction: item["isDataAction"],
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export function operationDisplayDefinitionDeserializer(item) {
|
|
29
|
-
return {
|
|
30
|
-
provider: item["provider"],
|
|
31
|
-
resource: item["resource"],
|
|
32
|
-
operation: item["operation"],
|
|
33
|
-
description: item["description"],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function operationPropertiesDefinitionDeserializer(item) {
|
|
37
|
-
return {
|
|
38
|
-
serviceSpecification: !item["serviceSpecification"]
|
|
39
|
-
? item["serviceSpecification"]
|
|
40
|
-
: operationServiceSpecificationDefinitionDeserializer(item["serviceSpecification"]),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export function operationServiceSpecificationDefinitionDeserializer(item) {
|
|
44
|
-
return {
|
|
45
|
-
metricSpecifications: !item["metricSpecifications"]
|
|
46
|
-
? item["metricSpecifications"]
|
|
47
|
-
: operationMetricSpecificationDefinitionArrayDeserializer(item["metricSpecifications"]),
|
|
48
|
-
logSpecifications: !item["logSpecifications"]
|
|
49
|
-
? item["logSpecifications"]
|
|
50
|
-
: operationLogSpecificationDefinitionArrayDeserializer(item["logSpecifications"]),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
export function operationMetricSpecificationDefinitionArrayDeserializer(result) {
|
|
54
|
-
return result.map((item) => {
|
|
55
|
-
return operationMetricSpecificationDefinitionDeserializer(item);
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
export function operationMetricSpecificationDefinitionDeserializer(item) {
|
|
59
|
-
return {
|
|
60
|
-
name: item["name"],
|
|
61
|
-
displayName: item["displayName"],
|
|
62
|
-
displayDescription: item["displayDescription"],
|
|
63
|
-
unit: item["unit"],
|
|
64
|
-
aggregationType: item["aggregationType"],
|
|
65
|
-
internalMetricName: item["internalMetricName"],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
export function operationLogSpecificationDefinitionArrayDeserializer(result) {
|
|
69
|
-
return result.map((item) => {
|
|
70
|
-
return operationLogSpecificationDefinitionDeserializer(item);
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
export function operationLogSpecificationDefinitionDeserializer(item) {
|
|
74
|
-
return {
|
|
75
|
-
name: item["name"],
|
|
76
|
-
displayName: item["displayName"],
|
|
77
|
-
blobDuration: item["blobDuration"],
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
export function errorResponseDeserializer(item) {
|
|
81
|
-
return {
|
|
82
|
-
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
export function errorDetailDeserializer(item) {
|
|
86
|
-
return {
|
|
87
|
-
code: item["code"],
|
|
88
|
-
message: item["message"],
|
|
89
|
-
target: item["target"],
|
|
90
|
-
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
91
|
-
additionalInfo: !item["additionalInfo"]
|
|
92
|
-
? item["additionalInfo"]
|
|
93
|
-
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
export function errorDetailArrayDeserializer(result) {
|
|
97
|
-
return result.map((item) => {
|
|
98
|
-
return errorDetailDeserializer(item);
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
export function errorAdditionalInfoArrayDeserializer(result) {
|
|
102
|
-
return result.map((item) => {
|
|
103
|
-
return errorAdditionalInfoDeserializer(item);
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
export function errorAdditionalInfoDeserializer(item) {
|
|
107
|
-
return {
|
|
108
|
-
type: item["type"],
|
|
109
|
-
info: item["info"],
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
export function registrySerializer(item) {
|
|
113
|
-
return {
|
|
114
|
-
tags: item["tags"],
|
|
115
|
-
location: item["location"],
|
|
116
|
-
properties: areAllPropsUndefined(item, [
|
|
117
|
-
"adminUserEnabled",
|
|
118
|
-
"networkRuleSet",
|
|
119
|
-
"policies",
|
|
120
|
-
"encryption",
|
|
121
|
-
"dataEndpointEnabled",
|
|
122
|
-
"regionalEndpoints",
|
|
123
|
-
"endpointProtocol",
|
|
124
|
-
"publicNetworkAccess",
|
|
125
|
-
"networkRuleBypassOptions",
|
|
126
|
-
"networkRuleBypassAllowedForTasks",
|
|
127
|
-
"zoneRedundancy",
|
|
128
|
-
"anonymousPullEnabled",
|
|
129
|
-
"metadataSearch",
|
|
130
|
-
"autoGeneratedDomainNameLabelScope",
|
|
131
|
-
"roleAssignmentMode",
|
|
132
|
-
])
|
|
133
|
-
? undefined
|
|
134
|
-
: _registryPropertiesSerializer(item),
|
|
135
|
-
sku: skuSerializer(item["sku"]),
|
|
136
|
-
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
export function registryDeserializer(item) {
|
|
140
|
-
return {
|
|
141
|
-
tags: !item["tags"]
|
|
142
|
-
? item["tags"]
|
|
143
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
144
|
-
location: item["location"],
|
|
145
|
-
id: item["id"],
|
|
146
|
-
name: item["name"],
|
|
147
|
-
type: item["type"],
|
|
148
|
-
systemData: !item["systemData"]
|
|
149
|
-
? item["systemData"]
|
|
150
|
-
: systemDataDeserializer(item["systemData"]),
|
|
151
|
-
...(!item["properties"]
|
|
152
|
-
? item["properties"]
|
|
153
|
-
: _registryPropertiesDeserializer(item["properties"])),
|
|
154
|
-
sku: skuDeserializer(item["sku"]),
|
|
155
|
-
identity: !item["identity"]
|
|
156
|
-
? item["identity"]
|
|
157
|
-
: identityPropertiesDeserializer(item["identity"]),
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
export function registryPropertiesSerializer(item) {
|
|
161
|
-
return {
|
|
162
|
-
adminUserEnabled: item["adminUserEnabled"],
|
|
163
|
-
networkRuleSet: !item["networkRuleSet"]
|
|
164
|
-
? item["networkRuleSet"]
|
|
165
|
-
: networkRuleSetSerializer(item["networkRuleSet"]),
|
|
166
|
-
policies: !item["policies"] ? item["policies"] : policiesSerializer(item["policies"]),
|
|
167
|
-
encryption: !item["encryption"]
|
|
168
|
-
? item["encryption"]
|
|
169
|
-
: encryptionPropertySerializer(item["encryption"]),
|
|
170
|
-
dataEndpointEnabled: item["dataEndpointEnabled"],
|
|
171
|
-
regionalEndpoints: item["regionalEndpoints"],
|
|
172
|
-
endpointProtocol: item["endpointProtocol"],
|
|
173
|
-
publicNetworkAccess: item["publicNetworkAccess"],
|
|
174
|
-
networkRuleBypassOptions: item["networkRuleBypassOptions"],
|
|
175
|
-
networkRuleBypassAllowedForTasks: item["networkRuleBypassAllowedForTasks"],
|
|
176
|
-
zoneRedundancy: item["zoneRedundancy"],
|
|
177
|
-
anonymousPullEnabled: item["anonymousPullEnabled"],
|
|
178
|
-
metadataSearch: item["metadataSearch"],
|
|
179
|
-
autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
|
|
180
|
-
roleAssignmentMode: item["roleAssignmentMode"],
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
export function registryPropertiesDeserializer(item) {
|
|
184
|
-
return {
|
|
185
|
-
loginServer: item["loginServer"],
|
|
186
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
187
|
-
provisioningState: item["provisioningState"],
|
|
188
|
-
status: !item["status"] ? item["status"] : statusDeserializer(item["status"]),
|
|
189
|
-
adminUserEnabled: item["adminUserEnabled"],
|
|
190
|
-
networkRuleSet: !item["networkRuleSet"]
|
|
191
|
-
? item["networkRuleSet"]
|
|
192
|
-
: networkRuleSetDeserializer(item["networkRuleSet"]),
|
|
193
|
-
policies: !item["policies"] ? item["policies"] : policiesDeserializer(item["policies"]),
|
|
194
|
-
encryption: !item["encryption"]
|
|
195
|
-
? item["encryption"]
|
|
196
|
-
: encryptionPropertyDeserializer(item["encryption"]),
|
|
197
|
-
dataEndpointEnabled: item["dataEndpointEnabled"],
|
|
198
|
-
dataEndpointHostNames: !item["dataEndpointHostNames"]
|
|
199
|
-
? item["dataEndpointHostNames"]
|
|
200
|
-
: item["dataEndpointHostNames"].map((p) => {
|
|
201
|
-
return p;
|
|
202
|
-
}),
|
|
203
|
-
regionalEndpoints: item["regionalEndpoints"],
|
|
204
|
-
regionalEndpointHostNames: !item["regionalEndpointHostNames"]
|
|
205
|
-
? item["regionalEndpointHostNames"]
|
|
206
|
-
: item["regionalEndpointHostNames"].map((p) => {
|
|
207
|
-
return p;
|
|
208
|
-
}),
|
|
209
|
-
endpointProtocol: item["endpointProtocol"],
|
|
210
|
-
privateEndpointConnections: !item["privateEndpointConnections"]
|
|
211
|
-
? item["privateEndpointConnections"]
|
|
212
|
-
: privateEndpointConnectionArrayDeserializer(item["privateEndpointConnections"]),
|
|
213
|
-
publicNetworkAccess: item["publicNetworkAccess"],
|
|
214
|
-
networkRuleBypassOptions: item["networkRuleBypassOptions"],
|
|
215
|
-
networkRuleBypassAllowedForTasks: item["networkRuleBypassAllowedForTasks"],
|
|
216
|
-
zoneRedundancy: item["zoneRedundancy"],
|
|
217
|
-
anonymousPullEnabled: item["anonymousPullEnabled"],
|
|
218
|
-
metadataSearch: item["metadataSearch"],
|
|
219
|
-
autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
|
|
220
|
-
roleAssignmentMode: item["roleAssignmentMode"],
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
/** The provisioning state of the archive at the time the operation was called. */
|
|
224
|
-
export var KnownProvisioningState;
|
|
225
|
-
(function (KnownProvisioningState) {
|
|
226
|
-
/** Creating */
|
|
227
|
-
KnownProvisioningState["Creating"] = "Creating";
|
|
228
|
-
/** Updating */
|
|
229
|
-
KnownProvisioningState["Updating"] = "Updating";
|
|
230
|
-
/** Deleting */
|
|
231
|
-
KnownProvisioningState["Deleting"] = "Deleting";
|
|
232
|
-
/** Succeeded */
|
|
233
|
-
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
234
|
-
/** Failed */
|
|
235
|
-
KnownProvisioningState["Failed"] = "Failed";
|
|
236
|
-
/** Canceled */
|
|
237
|
-
KnownProvisioningState["Canceled"] = "Canceled";
|
|
238
|
-
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
239
|
-
export function statusDeserializer(item) {
|
|
240
|
-
return {
|
|
241
|
-
displayStatus: item["displayStatus"],
|
|
242
|
-
message: item["message"],
|
|
243
|
-
timestamp: !item["timestamp"] ? item["timestamp"] : new Date(item["timestamp"]),
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
export function networkRuleSetSerializer(item) {
|
|
247
|
-
return {
|
|
248
|
-
defaultAction: item["defaultAction"],
|
|
249
|
-
ipRules: !item["ipRules"] ? item["ipRules"] : ipRuleArraySerializer(item["ipRules"]),
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
export function networkRuleSetDeserializer(item) {
|
|
253
|
-
return {
|
|
254
|
-
defaultAction: item["defaultAction"],
|
|
255
|
-
ipRules: !item["ipRules"] ? item["ipRules"] : ipRuleArrayDeserializer(item["ipRules"]),
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
/** The default action of allow or deny when no other rules match. */
|
|
259
|
-
export var KnownDefaultAction;
|
|
260
|
-
(function (KnownDefaultAction) {
|
|
261
|
-
/** Allow */
|
|
262
|
-
KnownDefaultAction["Allow"] = "Allow";
|
|
263
|
-
/** Deny */
|
|
264
|
-
KnownDefaultAction["Deny"] = "Deny";
|
|
265
|
-
})(KnownDefaultAction || (KnownDefaultAction = {}));
|
|
266
|
-
export function ipRuleArraySerializer(result) {
|
|
267
|
-
return result.map((item) => {
|
|
268
|
-
return ipRuleSerializer(item);
|
|
269
|
-
});
|
|
270
|
-
}
|
|
271
|
-
export function ipRuleArrayDeserializer(result) {
|
|
272
|
-
return result.map((item) => {
|
|
273
|
-
return ipRuleDeserializer(item);
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
export function ipRuleSerializer(item) {
|
|
277
|
-
return { action: item["action"], value: item["iPAddressOrRange"] };
|
|
278
|
-
}
|
|
279
|
-
export function ipRuleDeserializer(item) {
|
|
280
|
-
return {
|
|
281
|
-
action: item["action"],
|
|
282
|
-
iPAddressOrRange: item["value"],
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
/** The action of IP ACL rule. */
|
|
286
|
-
export var KnownAction;
|
|
287
|
-
(function (KnownAction) {
|
|
288
|
-
/** Allow */
|
|
289
|
-
KnownAction["Allow"] = "Allow";
|
|
290
|
-
})(KnownAction || (KnownAction = {}));
|
|
291
|
-
export function policiesSerializer(item) {
|
|
292
|
-
return {
|
|
293
|
-
quarantinePolicy: !item["quarantinePolicy"]
|
|
294
|
-
? item["quarantinePolicy"]
|
|
295
|
-
: quarantinePolicySerializer(item["quarantinePolicy"]),
|
|
296
|
-
trustPolicy: !item["trustPolicy"]
|
|
297
|
-
? item["trustPolicy"]
|
|
298
|
-
: trustPolicySerializer(item["trustPolicy"]),
|
|
299
|
-
retentionPolicy: !item["retentionPolicy"]
|
|
300
|
-
? item["retentionPolicy"]
|
|
301
|
-
: retentionPolicySerializer(item["retentionPolicy"]),
|
|
302
|
-
exportPolicy: !item["exportPolicy"]
|
|
303
|
-
? item["exportPolicy"]
|
|
304
|
-
: exportPolicySerializer(item["exportPolicy"]),
|
|
305
|
-
azureADAuthenticationAsArmPolicy: !item["azureADAuthenticationAsArmPolicy"]
|
|
306
|
-
? item["azureADAuthenticationAsArmPolicy"]
|
|
307
|
-
: azureADAuthenticationAsArmPolicySerializer(item["azureADAuthenticationAsArmPolicy"]),
|
|
308
|
-
softDeletePolicy: !item["softDeletePolicy"]
|
|
309
|
-
? item["softDeletePolicy"]
|
|
310
|
-
: softDeletePolicySerializer(item["softDeletePolicy"]),
|
|
311
|
-
};
|
|
312
|
-
}
|
|
313
|
-
export function policiesDeserializer(item) {
|
|
314
|
-
return {
|
|
315
|
-
quarantinePolicy: !item["quarantinePolicy"]
|
|
316
|
-
? item["quarantinePolicy"]
|
|
317
|
-
: quarantinePolicyDeserializer(item["quarantinePolicy"]),
|
|
318
|
-
trustPolicy: !item["trustPolicy"]
|
|
319
|
-
? item["trustPolicy"]
|
|
320
|
-
: trustPolicyDeserializer(item["trustPolicy"]),
|
|
321
|
-
retentionPolicy: !item["retentionPolicy"]
|
|
322
|
-
? item["retentionPolicy"]
|
|
323
|
-
: retentionPolicyDeserializer(item["retentionPolicy"]),
|
|
324
|
-
exportPolicy: !item["exportPolicy"]
|
|
325
|
-
? item["exportPolicy"]
|
|
326
|
-
: exportPolicyDeserializer(item["exportPolicy"]),
|
|
327
|
-
azureADAuthenticationAsArmPolicy: !item["azureADAuthenticationAsArmPolicy"]
|
|
328
|
-
? item["azureADAuthenticationAsArmPolicy"]
|
|
329
|
-
: azureADAuthenticationAsArmPolicyDeserializer(item["azureADAuthenticationAsArmPolicy"]),
|
|
330
|
-
softDeletePolicy: !item["softDeletePolicy"]
|
|
331
|
-
? item["softDeletePolicy"]
|
|
332
|
-
: softDeletePolicyDeserializer(item["softDeletePolicy"]),
|
|
333
|
-
};
|
|
334
|
-
}
|
|
335
|
-
export function quarantinePolicySerializer(item) {
|
|
336
|
-
return { status: item["status"] };
|
|
337
|
-
}
|
|
338
|
-
export function quarantinePolicyDeserializer(item) {
|
|
339
|
-
return {
|
|
340
|
-
status: item["status"],
|
|
341
|
-
};
|
|
342
|
-
}
|
|
343
|
-
/** The value that indicates whether the policy is enabled or not. */
|
|
344
|
-
export var KnownPolicyStatus;
|
|
345
|
-
(function (KnownPolicyStatus) {
|
|
346
|
-
/** enabled */
|
|
347
|
-
KnownPolicyStatus["Enabled"] = "enabled";
|
|
348
|
-
/** disabled */
|
|
349
|
-
KnownPolicyStatus["Disabled"] = "disabled";
|
|
350
|
-
})(KnownPolicyStatus || (KnownPolicyStatus = {}));
|
|
351
|
-
export function trustPolicySerializer(item) {
|
|
352
|
-
return { type: item["type"], status: item["status"] };
|
|
353
|
-
}
|
|
354
|
-
export function trustPolicyDeserializer(item) {
|
|
355
|
-
return {
|
|
356
|
-
type: item["type"],
|
|
357
|
-
status: item["status"],
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
/** The type of trust policy. */
|
|
361
|
-
export var KnownTrustPolicyType;
|
|
362
|
-
(function (KnownTrustPolicyType) {
|
|
363
|
-
/** Notary */
|
|
364
|
-
KnownTrustPolicyType["Notary"] = "Notary";
|
|
365
|
-
})(KnownTrustPolicyType || (KnownTrustPolicyType = {}));
|
|
366
|
-
export function retentionPolicySerializer(item) {
|
|
367
|
-
return { days: item["days"], status: item["status"] };
|
|
368
|
-
}
|
|
369
|
-
export function retentionPolicyDeserializer(item) {
|
|
370
|
-
return {
|
|
371
|
-
days: item["days"],
|
|
372
|
-
lastUpdatedTime: !item["lastUpdatedTime"]
|
|
373
|
-
? item["lastUpdatedTime"]
|
|
374
|
-
: new Date(item["lastUpdatedTime"]),
|
|
375
|
-
status: item["status"],
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
export function exportPolicySerializer(item) {
|
|
379
|
-
return { status: item["status"] };
|
|
380
|
-
}
|
|
381
|
-
export function exportPolicyDeserializer(item) {
|
|
382
|
-
return {
|
|
383
|
-
status: item["status"],
|
|
384
|
-
};
|
|
385
|
-
}
|
|
386
|
-
/** The value that indicates whether the policy is enabled or not. */
|
|
387
|
-
export var KnownExportPolicyStatus;
|
|
388
|
-
(function (KnownExportPolicyStatus) {
|
|
389
|
-
/** enabled */
|
|
390
|
-
KnownExportPolicyStatus["Enabled"] = "enabled";
|
|
391
|
-
/** disabled */
|
|
392
|
-
KnownExportPolicyStatus["Disabled"] = "disabled";
|
|
393
|
-
})(KnownExportPolicyStatus || (KnownExportPolicyStatus = {}));
|
|
394
|
-
export function azureADAuthenticationAsArmPolicySerializer(item) {
|
|
395
|
-
return { status: item["status"] };
|
|
396
|
-
}
|
|
397
|
-
export function azureADAuthenticationAsArmPolicyDeserializer(item) {
|
|
398
|
-
return {
|
|
399
|
-
status: item["status"],
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
/** The value that indicates whether the policy is enabled or not. */
|
|
403
|
-
export var KnownAzureADAuthenticationAsArmPolicyStatus;
|
|
404
|
-
(function (KnownAzureADAuthenticationAsArmPolicyStatus) {
|
|
405
|
-
/** enabled */
|
|
406
|
-
KnownAzureADAuthenticationAsArmPolicyStatus["Enabled"] = "enabled";
|
|
407
|
-
/** disabled */
|
|
408
|
-
KnownAzureADAuthenticationAsArmPolicyStatus["Disabled"] = "disabled";
|
|
409
|
-
})(KnownAzureADAuthenticationAsArmPolicyStatus || (KnownAzureADAuthenticationAsArmPolicyStatus = {}));
|
|
410
|
-
export function softDeletePolicySerializer(item) {
|
|
411
|
-
return { retentionDays: item["retentionDays"], status: item["status"] };
|
|
412
|
-
}
|
|
413
|
-
export function softDeletePolicyDeserializer(item) {
|
|
414
|
-
return {
|
|
415
|
-
retentionDays: item["retentionDays"],
|
|
416
|
-
lastUpdatedTime: !item["lastUpdatedTime"]
|
|
417
|
-
? item["lastUpdatedTime"]
|
|
418
|
-
: new Date(item["lastUpdatedTime"]),
|
|
419
|
-
status: item["status"],
|
|
420
|
-
};
|
|
421
|
-
}
|
|
422
|
-
export function encryptionPropertySerializer(item) {
|
|
423
|
-
return {
|
|
424
|
-
status: item["status"],
|
|
425
|
-
keyVaultProperties: !item["keyVaultProperties"]
|
|
426
|
-
? item["keyVaultProperties"]
|
|
427
|
-
: keyVaultPropertiesSerializer(item["keyVaultProperties"]),
|
|
428
|
-
};
|
|
429
|
-
}
|
|
430
|
-
export function encryptionPropertyDeserializer(item) {
|
|
431
|
-
return {
|
|
432
|
-
status: item["status"],
|
|
433
|
-
keyVaultProperties: !item["keyVaultProperties"]
|
|
434
|
-
? item["keyVaultProperties"]
|
|
435
|
-
: keyVaultPropertiesDeserializer(item["keyVaultProperties"]),
|
|
436
|
-
};
|
|
437
|
-
}
|
|
438
|
-
/** Indicates whether or not the encryption is enabled for container registry. */
|
|
439
|
-
export var KnownEncryptionStatus;
|
|
440
|
-
(function (KnownEncryptionStatus) {
|
|
441
|
-
/** enabled */
|
|
442
|
-
KnownEncryptionStatus["Enabled"] = "enabled";
|
|
443
|
-
/** disabled */
|
|
444
|
-
KnownEncryptionStatus["Disabled"] = "disabled";
|
|
445
|
-
})(KnownEncryptionStatus || (KnownEncryptionStatus = {}));
|
|
446
|
-
export function keyVaultPropertiesSerializer(item) {
|
|
447
|
-
return { keyIdentifier: item["keyIdentifier"], identity: item["identity"] };
|
|
448
|
-
}
|
|
449
|
-
export function keyVaultPropertiesDeserializer(item) {
|
|
450
|
-
return {
|
|
451
|
-
keyIdentifier: item["keyIdentifier"],
|
|
452
|
-
versionedKeyIdentifier: item["versionedKeyIdentifier"],
|
|
453
|
-
identity: item["identity"],
|
|
454
|
-
keyRotationEnabled: item["keyRotationEnabled"],
|
|
455
|
-
lastKeyRotationTimestamp: !item["lastKeyRotationTimestamp"]
|
|
456
|
-
? item["lastKeyRotationTimestamp"]
|
|
457
|
-
: new Date(item["lastKeyRotationTimestamp"]),
|
|
458
|
-
};
|
|
459
|
-
}
|
|
460
|
-
/** Whether or not per-region endpoints are enabled for accessing the registry. */
|
|
461
|
-
export var KnownRegionalEndpoints;
|
|
462
|
-
(function (KnownRegionalEndpoints) {
|
|
463
|
-
/** Regional endpoints are enabled. */
|
|
464
|
-
KnownRegionalEndpoints["Enabled"] = "Enabled";
|
|
465
|
-
/** Regional endpoints are disabled. */
|
|
466
|
-
KnownRegionalEndpoints["Disabled"] = "Disabled";
|
|
467
|
-
})(KnownRegionalEndpoints || (KnownRegionalEndpoints = {}));
|
|
468
|
-
/** The connectivity protocol for the registry. */
|
|
469
|
-
export var KnownEndpointProtocol;
|
|
470
|
-
(function (KnownEndpointProtocol) {
|
|
471
|
-
/** IPv4 connectivity only */
|
|
472
|
-
KnownEndpointProtocol["IPv4"] = "IPv4";
|
|
473
|
-
/** IPv4 and IPv6 (dual stack) connectivity */
|
|
474
|
-
KnownEndpointProtocol["IPv4AndIPv6"] = "IPv4AndIPv6";
|
|
475
|
-
})(KnownEndpointProtocol || (KnownEndpointProtocol = {}));
|
|
476
|
-
export function privateEndpointConnectionArraySerializer(result) {
|
|
477
|
-
return result.map((item) => {
|
|
478
|
-
return privateEndpointConnectionSerializer(item);
|
|
479
|
-
});
|
|
480
|
-
}
|
|
481
|
-
export function privateEndpointConnectionArrayDeserializer(result) {
|
|
482
|
-
return result.map((item) => {
|
|
483
|
-
return privateEndpointConnectionDeserializer(item);
|
|
484
|
-
});
|
|
485
|
-
}
|
|
486
|
-
export function privateEndpointConnectionSerializer(item) {
|
|
487
|
-
return {
|
|
488
|
-
properties: areAllPropsUndefined(item, ["privateEndpoint", "privateLinkServiceConnectionState"])
|
|
489
|
-
? undefined
|
|
490
|
-
: _privateEndpointConnectionPropertiesSerializer(item),
|
|
491
|
-
};
|
|
492
|
-
}
|
|
493
|
-
export function privateEndpointConnectionDeserializer(item) {
|
|
494
|
-
return {
|
|
495
|
-
id: item["id"],
|
|
496
|
-
name: item["name"],
|
|
497
|
-
type: item["type"],
|
|
498
|
-
systemData: !item["systemData"]
|
|
499
|
-
? item["systemData"]
|
|
500
|
-
: systemDataDeserializer(item["systemData"]),
|
|
501
|
-
...(!item["properties"]
|
|
502
|
-
? item["properties"]
|
|
503
|
-
: _privateEndpointConnectionPropertiesDeserializer(item["properties"])),
|
|
504
|
-
};
|
|
505
|
-
}
|
|
506
|
-
export function privateEndpointConnectionPropertiesSerializer(item) {
|
|
507
|
-
return {
|
|
508
|
-
privateEndpoint: !item["privateEndpoint"]
|
|
509
|
-
? item["privateEndpoint"]
|
|
510
|
-
: privateEndpointSerializer(item["privateEndpoint"]),
|
|
511
|
-
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
512
|
-
? item["privateLinkServiceConnectionState"]
|
|
513
|
-
: privateLinkServiceConnectionStateSerializer(item["privateLinkServiceConnectionState"]),
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
export function privateEndpointConnectionPropertiesDeserializer(item) {
|
|
517
|
-
return {
|
|
518
|
-
privateEndpoint: !item["privateEndpoint"]
|
|
519
|
-
? item["privateEndpoint"]
|
|
520
|
-
: privateEndpointDeserializer(item["privateEndpoint"]),
|
|
521
|
-
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
522
|
-
? item["privateLinkServiceConnectionState"]
|
|
523
|
-
: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
524
|
-
provisioningState: item["provisioningState"],
|
|
525
|
-
};
|
|
526
|
-
}
|
|
527
|
-
export function privateEndpointSerializer(item) {
|
|
528
|
-
return { id: item["id"] };
|
|
529
|
-
}
|
|
530
|
-
export function privateEndpointDeserializer(item) {
|
|
531
|
-
return {
|
|
532
|
-
id: item["id"],
|
|
533
|
-
};
|
|
534
|
-
}
|
|
535
|
-
export function privateLinkServiceConnectionStateSerializer(item) {
|
|
536
|
-
return {
|
|
537
|
-
status: item["status"],
|
|
538
|
-
description: item["description"],
|
|
539
|
-
actionsRequired: item["actionsRequired"],
|
|
540
|
-
};
|
|
541
|
-
}
|
|
542
|
-
export function privateLinkServiceConnectionStateDeserializer(item) {
|
|
543
|
-
return {
|
|
544
|
-
status: item["status"],
|
|
545
|
-
description: item["description"],
|
|
546
|
-
actionsRequired: item["actionsRequired"],
|
|
547
|
-
};
|
|
548
|
-
}
|
|
549
|
-
/** The private link service connection status. */
|
|
550
|
-
export var KnownConnectionStatus;
|
|
551
|
-
(function (KnownConnectionStatus) {
|
|
552
|
-
/** Approved */
|
|
553
|
-
KnownConnectionStatus["Approved"] = "Approved";
|
|
554
|
-
/** Pending */
|
|
555
|
-
KnownConnectionStatus["Pending"] = "Pending";
|
|
556
|
-
/** Rejected */
|
|
557
|
-
KnownConnectionStatus["Rejected"] = "Rejected";
|
|
558
|
-
/** Disconnected */
|
|
559
|
-
KnownConnectionStatus["Disconnected"] = "Disconnected";
|
|
560
|
-
})(KnownConnectionStatus || (KnownConnectionStatus = {}));
|
|
561
|
-
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
562
|
-
export var KnownActionsRequired;
|
|
563
|
-
(function (KnownActionsRequired) {
|
|
564
|
-
/** None */
|
|
565
|
-
KnownActionsRequired["None"] = "None";
|
|
566
|
-
/** Recreate */
|
|
567
|
-
KnownActionsRequired["Recreate"] = "Recreate";
|
|
568
|
-
})(KnownActionsRequired || (KnownActionsRequired = {}));
|
|
569
|
-
/** Whether or not public network access is allowed for the container registry. */
|
|
570
|
-
export var KnownPublicNetworkAccess;
|
|
571
|
-
(function (KnownPublicNetworkAccess) {
|
|
572
|
-
/** Enabled */
|
|
573
|
-
KnownPublicNetworkAccess["Enabled"] = "Enabled";
|
|
574
|
-
/** Disabled */
|
|
575
|
-
KnownPublicNetworkAccess["Disabled"] = "Disabled";
|
|
576
|
-
})(KnownPublicNetworkAccess || (KnownPublicNetworkAccess = {}));
|
|
577
|
-
/** Whether to allow trusted Azure services to access a network restricted registry. */
|
|
578
|
-
export var KnownNetworkRuleBypassOptions;
|
|
579
|
-
(function (KnownNetworkRuleBypassOptions) {
|
|
580
|
-
/** AzureServices */
|
|
581
|
-
KnownNetworkRuleBypassOptions["AzureServices"] = "AzureServices";
|
|
582
|
-
/** None */
|
|
583
|
-
KnownNetworkRuleBypassOptions["None"] = "None";
|
|
584
|
-
})(KnownNetworkRuleBypassOptions || (KnownNetworkRuleBypassOptions = {}));
|
|
585
|
-
/** Whether or not zone redundancy is enabled for this container registry */
|
|
586
|
-
export var KnownZoneRedundancy;
|
|
587
|
-
(function (KnownZoneRedundancy) {
|
|
588
|
-
/** Enabled */
|
|
589
|
-
KnownZoneRedundancy["Enabled"] = "Enabled";
|
|
590
|
-
/** Disabled */
|
|
591
|
-
KnownZoneRedundancy["Disabled"] = "Disabled";
|
|
592
|
-
})(KnownZoneRedundancy || (KnownZoneRedundancy = {}));
|
|
593
|
-
/** Determines whether registry artifacts are indexed for metadata search. */
|
|
594
|
-
export var KnownMetadataSearch;
|
|
595
|
-
(function (KnownMetadataSearch) {
|
|
596
|
-
/** Enabled */
|
|
597
|
-
KnownMetadataSearch["Enabled"] = "Enabled";
|
|
598
|
-
/** Disabled */
|
|
599
|
-
KnownMetadataSearch["Disabled"] = "Disabled";
|
|
600
|
-
})(KnownMetadataSearch || (KnownMetadataSearch = {}));
|
|
601
|
-
/** The auto generated domain name label of the container registry. This value defaults to "Unsecure". */
|
|
602
|
-
export var KnownAutoGeneratedDomainNameLabelScope;
|
|
603
|
-
(function (KnownAutoGeneratedDomainNameLabelScope) {
|
|
604
|
-
/** Unsecure */
|
|
605
|
-
KnownAutoGeneratedDomainNameLabelScope["Unsecure"] = "Unsecure";
|
|
606
|
-
/** TenantReuse */
|
|
607
|
-
KnownAutoGeneratedDomainNameLabelScope["TenantReuse"] = "TenantReuse";
|
|
608
|
-
/** SubscriptionReuse */
|
|
609
|
-
KnownAutoGeneratedDomainNameLabelScope["SubscriptionReuse"] = "SubscriptionReuse";
|
|
610
|
-
/** ResourceGroupReuse */
|
|
611
|
-
KnownAutoGeneratedDomainNameLabelScope["ResourceGroupReuse"] = "ResourceGroupReuse";
|
|
612
|
-
/** NoReuse */
|
|
613
|
-
KnownAutoGeneratedDomainNameLabelScope["NoReuse"] = "NoReuse";
|
|
614
|
-
})(KnownAutoGeneratedDomainNameLabelScope || (KnownAutoGeneratedDomainNameLabelScope = {}));
|
|
615
|
-
/** Determines registry role assignment mode. */
|
|
616
|
-
export var KnownRoleAssignmentMode;
|
|
617
|
-
(function (KnownRoleAssignmentMode) {
|
|
618
|
-
/** AbacRepositoryPermissions */
|
|
619
|
-
KnownRoleAssignmentMode["AbacRepositoryPermissions"] = "AbacRepositoryPermissions";
|
|
620
|
-
/** LegacyRegistryPermissions */
|
|
621
|
-
KnownRoleAssignmentMode["LegacyRegistryPermissions"] = "LegacyRegistryPermissions";
|
|
622
|
-
})(KnownRoleAssignmentMode || (KnownRoleAssignmentMode = {}));
|
|
623
|
-
export function skuSerializer(item) {
|
|
624
|
-
return { name: item["name"] };
|
|
625
|
-
}
|
|
626
|
-
export function skuDeserializer(item) {
|
|
627
|
-
return {
|
|
628
|
-
name: item["name"],
|
|
629
|
-
tier: item["tier"],
|
|
630
|
-
};
|
|
631
|
-
}
|
|
632
|
-
/** The SKU name of the container registry. Required for registry creation. */
|
|
633
|
-
export var KnownSkuName;
|
|
634
|
-
(function (KnownSkuName) {
|
|
635
|
-
/** Classic */
|
|
636
|
-
KnownSkuName["Classic"] = "Classic";
|
|
637
|
-
/** Basic */
|
|
638
|
-
KnownSkuName["Basic"] = "Basic";
|
|
639
|
-
/** Standard */
|
|
640
|
-
KnownSkuName["Standard"] = "Standard";
|
|
641
|
-
/** Premium */
|
|
642
|
-
KnownSkuName["Premium"] = "Premium";
|
|
643
|
-
})(KnownSkuName || (KnownSkuName = {}));
|
|
644
|
-
/** The SKU tier based on the SKU name. */
|
|
645
|
-
export var KnownSkuTier;
|
|
646
|
-
(function (KnownSkuTier) {
|
|
647
|
-
/** Classic */
|
|
648
|
-
KnownSkuTier["Classic"] = "Classic";
|
|
649
|
-
/** Basic */
|
|
650
|
-
KnownSkuTier["Basic"] = "Basic";
|
|
651
|
-
/** Standard */
|
|
652
|
-
KnownSkuTier["Standard"] = "Standard";
|
|
653
|
-
/** Premium */
|
|
654
|
-
KnownSkuTier["Premium"] = "Premium";
|
|
655
|
-
})(KnownSkuTier || (KnownSkuTier = {}));
|
|
656
|
-
export function identityPropertiesSerializer(item) {
|
|
657
|
-
return {
|
|
658
|
-
type: item["type"],
|
|
659
|
-
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
660
|
-
? item["userAssignedIdentities"]
|
|
661
|
-
: userIdentityPropertiesRecordSerializer(item["userAssignedIdentities"]),
|
|
662
|
-
};
|
|
663
|
-
}
|
|
664
|
-
export function identityPropertiesDeserializer(item) {
|
|
665
|
-
return {
|
|
666
|
-
principalId: item["principalId"],
|
|
667
|
-
tenantId: item["tenantId"],
|
|
668
|
-
type: item["type"],
|
|
669
|
-
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
670
|
-
? item["userAssignedIdentities"]
|
|
671
|
-
: userIdentityPropertiesRecordDeserializer(item["userAssignedIdentities"]),
|
|
672
|
-
};
|
|
673
|
-
}
|
|
674
|
-
export function userIdentityPropertiesRecordSerializer(item) {
|
|
675
|
-
const result = {};
|
|
676
|
-
Object.keys(item).map((key) => {
|
|
677
|
-
result[key] = !item[key] ? item[key] : userIdentityPropertiesSerializer(item[key]);
|
|
678
|
-
});
|
|
679
|
-
return result;
|
|
680
|
-
}
|
|
681
|
-
export function userIdentityPropertiesRecordDeserializer(item) {
|
|
682
|
-
const result = {};
|
|
683
|
-
Object.keys(item).map((key) => {
|
|
684
|
-
result[key] = !item[key] ? item[key] : userIdentityPropertiesDeserializer(item[key]);
|
|
685
|
-
});
|
|
686
|
-
return result;
|
|
687
|
-
}
|
|
688
|
-
export function userIdentityPropertiesSerializer(item) {
|
|
689
|
-
return item;
|
|
690
|
-
}
|
|
691
|
-
export function userIdentityPropertiesDeserializer(item) {
|
|
692
|
-
return {
|
|
693
|
-
principalId: item["principalId"],
|
|
694
|
-
clientId: item["clientId"],
|
|
695
|
-
};
|
|
696
|
-
}
|
|
697
|
-
export function proxyResourceSerializer(item) {
|
|
698
|
-
return item;
|
|
699
|
-
}
|
|
700
|
-
export function proxyResourceDeserializer(item) {
|
|
701
|
-
return {
|
|
702
|
-
id: item["id"],
|
|
703
|
-
name: item["name"],
|
|
704
|
-
type: item["type"],
|
|
705
|
-
systemData: !item["systemData"]
|
|
706
|
-
? item["systemData"]
|
|
707
|
-
: systemDataDeserializer(item["systemData"]),
|
|
708
|
-
};
|
|
709
|
-
}
|
|
710
|
-
export function resourceSerializer(item) {
|
|
711
|
-
return item;
|
|
712
|
-
}
|
|
713
|
-
export function resourceDeserializer(item) {
|
|
714
|
-
return {
|
|
715
|
-
id: item["id"],
|
|
716
|
-
name: item["name"],
|
|
717
|
-
type: item["type"],
|
|
718
|
-
systemData: !item["systemData"]
|
|
719
|
-
? item["systemData"]
|
|
720
|
-
: systemDataDeserializer(item["systemData"]),
|
|
721
|
-
};
|
|
722
|
-
}
|
|
723
|
-
export function systemDataDeserializer(item) {
|
|
724
|
-
return {
|
|
725
|
-
createdBy: item["createdBy"],
|
|
726
|
-
createdByType: item["createdByType"],
|
|
727
|
-
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
728
|
-
lastModifiedBy: item["lastModifiedBy"],
|
|
729
|
-
lastModifiedByType: item["lastModifiedByType"],
|
|
730
|
-
lastModifiedAt: !item["lastModifiedAt"]
|
|
731
|
-
? item["lastModifiedAt"]
|
|
732
|
-
: new Date(item["lastModifiedAt"]),
|
|
733
|
-
};
|
|
734
|
-
}
|
|
735
|
-
/** The kind of entity that created the resource. */
|
|
736
|
-
export var KnownCreatedByType;
|
|
737
|
-
(function (KnownCreatedByType) {
|
|
738
|
-
/** The entity was created by a user. */
|
|
739
|
-
KnownCreatedByType["User"] = "User";
|
|
740
|
-
/** The entity was created by an application. */
|
|
741
|
-
KnownCreatedByType["Application"] = "Application";
|
|
742
|
-
/** The entity was created by a managed identity. */
|
|
743
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
744
|
-
/** The entity was created by a key. */
|
|
745
|
-
KnownCreatedByType["Key"] = "Key";
|
|
746
|
-
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
747
|
-
export function trackedResourceSerializer(item) {
|
|
748
|
-
return { tags: item["tags"], location: item["location"] };
|
|
749
|
-
}
|
|
750
|
-
export function trackedResourceDeserializer(item) {
|
|
751
|
-
return {
|
|
752
|
-
id: item["id"],
|
|
753
|
-
name: item["name"],
|
|
754
|
-
type: item["type"],
|
|
755
|
-
systemData: !item["systemData"]
|
|
756
|
-
? item["systemData"]
|
|
757
|
-
: systemDataDeserializer(item["systemData"]),
|
|
758
|
-
tags: !item["tags"]
|
|
759
|
-
? item["tags"]
|
|
760
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
761
|
-
location: item["location"],
|
|
762
|
-
};
|
|
763
|
-
}
|
|
764
|
-
export function registryUpdateParametersSerializer(item) {
|
|
765
|
-
return {
|
|
766
|
-
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
767
|
-
tags: item["tags"],
|
|
768
|
-
sku: !item["sku"] ? item["sku"] : skuSerializer(item["sku"]),
|
|
769
|
-
properties: areAllPropsUndefined(item, [
|
|
770
|
-
"adminUserEnabled",
|
|
771
|
-
"networkRuleSet",
|
|
772
|
-
"policies",
|
|
773
|
-
"encryption",
|
|
774
|
-
"dataEndpointEnabled",
|
|
775
|
-
"regionalEndpoints",
|
|
776
|
-
"endpointProtocol",
|
|
777
|
-
"publicNetworkAccess",
|
|
778
|
-
"networkRuleBypassOptions",
|
|
779
|
-
"networkRuleBypassAllowedForTasks",
|
|
780
|
-
"anonymousPullEnabled",
|
|
781
|
-
"metadataSearch",
|
|
782
|
-
"roleAssignmentMode",
|
|
783
|
-
])
|
|
784
|
-
? undefined
|
|
785
|
-
: _registryUpdateParametersPropertiesSerializer(item),
|
|
786
|
-
};
|
|
787
|
-
}
|
|
788
|
-
export function registryPropertiesUpdateParametersSerializer(item) {
|
|
789
|
-
return {
|
|
790
|
-
adminUserEnabled: item["adminUserEnabled"],
|
|
791
|
-
networkRuleSet: !item["networkRuleSet"]
|
|
792
|
-
? item["networkRuleSet"]
|
|
793
|
-
: networkRuleSetSerializer(item["networkRuleSet"]),
|
|
794
|
-
policies: !item["policies"] ? item["policies"] : policiesSerializer(item["policies"]),
|
|
795
|
-
encryption: !item["encryption"]
|
|
796
|
-
? item["encryption"]
|
|
797
|
-
: encryptionPropertySerializer(item["encryption"]),
|
|
798
|
-
dataEndpointEnabled: item["dataEndpointEnabled"],
|
|
799
|
-
regionalEndpoints: item["regionalEndpoints"],
|
|
800
|
-
endpointProtocol: item["endpointProtocol"],
|
|
801
|
-
publicNetworkAccess: item["publicNetworkAccess"],
|
|
802
|
-
networkRuleBypassOptions: item["networkRuleBypassOptions"],
|
|
803
|
-
networkRuleBypassAllowedForTasks: item["networkRuleBypassAllowedForTasks"],
|
|
804
|
-
anonymousPullEnabled: item["anonymousPullEnabled"],
|
|
805
|
-
metadataSearch: item["metadataSearch"],
|
|
806
|
-
roleAssignmentMode: item["roleAssignmentMode"],
|
|
807
|
-
};
|
|
808
|
-
}
|
|
809
|
-
export function _registryListResultDeserializer(item) {
|
|
810
|
-
return {
|
|
811
|
-
value: !item["value"] ? item["value"] : registryArrayDeserializer(item["value"]),
|
|
812
|
-
nextLink: item["nextLink"],
|
|
813
|
-
};
|
|
814
|
-
}
|
|
815
|
-
export function registryArraySerializer(result) {
|
|
816
|
-
return result.map((item) => {
|
|
817
|
-
return registrySerializer(item);
|
|
818
|
-
});
|
|
819
|
-
}
|
|
820
|
-
export function registryArrayDeserializer(result) {
|
|
821
|
-
return result.map((item) => {
|
|
822
|
-
return registryDeserializer(item);
|
|
823
|
-
});
|
|
824
|
-
}
|
|
825
|
-
export function importImageParametersSerializer(item) {
|
|
826
|
-
return {
|
|
827
|
-
source: importSourceSerializer(item["source"]),
|
|
828
|
-
targetTags: !item["targetTags"]
|
|
829
|
-
? item["targetTags"]
|
|
830
|
-
: item["targetTags"].map((p) => {
|
|
831
|
-
return p;
|
|
832
|
-
}),
|
|
833
|
-
untaggedTargetRepositories: !item["untaggedTargetRepositories"]
|
|
834
|
-
? item["untaggedTargetRepositories"]
|
|
835
|
-
: item["untaggedTargetRepositories"].map((p) => {
|
|
836
|
-
return p;
|
|
837
|
-
}),
|
|
838
|
-
mode: item["mode"],
|
|
839
|
-
};
|
|
840
|
-
}
|
|
841
|
-
export function importSourceSerializer(item) {
|
|
842
|
-
return {
|
|
843
|
-
resourceId: item["resourceId"],
|
|
844
|
-
registryUri: item["registryUri"],
|
|
845
|
-
credentials: !item["credentials"]
|
|
846
|
-
? item["credentials"]
|
|
847
|
-
: importSourceCredentialsSerializer(item["credentials"]),
|
|
848
|
-
sourceImage: item["sourceImage"],
|
|
849
|
-
};
|
|
850
|
-
}
|
|
851
|
-
export function importSourceCredentialsSerializer(item) {
|
|
852
|
-
return { username: item["username"], password: item["password"] };
|
|
853
|
-
}
|
|
854
|
-
/** When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. */
|
|
855
|
-
export var KnownImportMode;
|
|
856
|
-
(function (KnownImportMode) {
|
|
857
|
-
/** NoForce */
|
|
858
|
-
KnownImportMode["NoForce"] = "NoForce";
|
|
859
|
-
/** Force */
|
|
860
|
-
KnownImportMode["Force"] = "Force";
|
|
861
|
-
})(KnownImportMode || (KnownImportMode = {}));
|
|
862
|
-
export function registryUsageListResultDeserializer(item) {
|
|
863
|
-
return {
|
|
864
|
-
value: !item["value"] ? item["value"] : registryUsageArrayDeserializer(item["value"]),
|
|
865
|
-
};
|
|
866
|
-
}
|
|
867
|
-
export function registryUsageArrayDeserializer(result) {
|
|
868
|
-
return result.map((item) => {
|
|
869
|
-
return registryUsageDeserializer(item);
|
|
870
|
-
});
|
|
871
|
-
}
|
|
872
|
-
export function registryUsageDeserializer(item) {
|
|
873
|
-
return {
|
|
874
|
-
name: item["name"],
|
|
875
|
-
limit: item["limit"],
|
|
876
|
-
currentValue: item["currentValue"],
|
|
877
|
-
unit: item["unit"],
|
|
878
|
-
};
|
|
879
|
-
}
|
|
880
|
-
/** The unit of measurement. */
|
|
881
|
-
export var KnownRegistryUsageUnit;
|
|
882
|
-
(function (KnownRegistryUsageUnit) {
|
|
883
|
-
/** Count */
|
|
884
|
-
KnownRegistryUsageUnit["Count"] = "Count";
|
|
885
|
-
/** Bytes */
|
|
886
|
-
KnownRegistryUsageUnit["Bytes"] = "Bytes";
|
|
887
|
-
})(KnownRegistryUsageUnit || (KnownRegistryUsageUnit = {}));
|
|
888
|
-
export function registryListCredentialsResultDeserializer(item) {
|
|
889
|
-
return {
|
|
890
|
-
username: item["username"],
|
|
891
|
-
passwords: !item["passwords"]
|
|
892
|
-
? item["passwords"]
|
|
893
|
-
: registryPasswordArrayDeserializer(item["passwords"]),
|
|
894
|
-
};
|
|
895
|
-
}
|
|
896
|
-
export function registryPasswordArrayDeserializer(result) {
|
|
897
|
-
return result.map((item) => {
|
|
898
|
-
return registryPasswordDeserializer(item);
|
|
899
|
-
});
|
|
900
|
-
}
|
|
901
|
-
export function registryPasswordDeserializer(item) {
|
|
902
|
-
return {
|
|
903
|
-
name: item["name"],
|
|
904
|
-
value: item["value"],
|
|
905
|
-
};
|
|
906
|
-
}
|
|
907
|
-
export function regenerateCredentialParametersSerializer(item) {
|
|
908
|
-
return { name: item["name"] };
|
|
909
|
-
}
|
|
910
|
-
export function generateCredentialsParametersSerializer(item) {
|
|
911
|
-
return {
|
|
912
|
-
tokenId: item["tokenId"],
|
|
913
|
-
expiry: !item["expiry"] ? item["expiry"] : item["expiry"].toISOString(),
|
|
914
|
-
name: item["name"],
|
|
915
|
-
};
|
|
916
|
-
}
|
|
917
|
-
/** The password name "password1" or "password2" */
|
|
918
|
-
export var KnownTokenPasswordName;
|
|
919
|
-
(function (KnownTokenPasswordName) {
|
|
920
|
-
/** password1 */
|
|
921
|
-
KnownTokenPasswordName["Password1"] = "password1";
|
|
922
|
-
/** password2 */
|
|
923
|
-
KnownTokenPasswordName["Password2"] = "password2";
|
|
924
|
-
})(KnownTokenPasswordName || (KnownTokenPasswordName = {}));
|
|
925
|
-
export function generateCredentialsResultDeserializer(item) {
|
|
926
|
-
return {
|
|
927
|
-
username: item["username"],
|
|
928
|
-
passwords: !item["passwords"]
|
|
929
|
-
? item["passwords"]
|
|
930
|
-
: tokenPasswordArrayDeserializer(item["passwords"]),
|
|
931
|
-
};
|
|
932
|
-
}
|
|
933
|
-
export function tokenPasswordArraySerializer(result) {
|
|
934
|
-
return result.map((item) => {
|
|
935
|
-
return tokenPasswordSerializer(item);
|
|
936
|
-
});
|
|
937
|
-
}
|
|
938
|
-
export function tokenPasswordArrayDeserializer(result) {
|
|
939
|
-
return result.map((item) => {
|
|
940
|
-
return tokenPasswordDeserializer(item);
|
|
941
|
-
});
|
|
942
|
-
}
|
|
943
|
-
export function tokenPasswordSerializer(item) {
|
|
944
|
-
return {
|
|
945
|
-
creationTime: !item["creationTime"] ? item["creationTime"] : item["creationTime"].toISOString(),
|
|
946
|
-
expiry: !item["expiry"] ? item["expiry"] : item["expiry"].toISOString(),
|
|
947
|
-
name: item["name"],
|
|
948
|
-
};
|
|
949
|
-
}
|
|
950
|
-
export function tokenPasswordDeserializer(item) {
|
|
951
|
-
return {
|
|
952
|
-
creationTime: !item["creationTime"] ? item["creationTime"] : new Date(item["creationTime"]),
|
|
953
|
-
expiry: !item["expiry"] ? item["expiry"] : new Date(item["expiry"]),
|
|
954
|
-
name: item["name"],
|
|
955
|
-
value: item["value"],
|
|
956
|
-
};
|
|
957
|
-
}
|
|
958
|
-
export function registryNameCheckRequestSerializer(item) {
|
|
959
|
-
return {
|
|
960
|
-
name: item["name"],
|
|
961
|
-
type: item["type"],
|
|
962
|
-
resourceGroupName: item["resourceGroupName"],
|
|
963
|
-
autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
|
|
964
|
-
};
|
|
965
|
-
}
|
|
966
|
-
export function registryNameStatusDeserializer(item) {
|
|
967
|
-
return {
|
|
968
|
-
availableLoginServerName: item["availableLoginServerName"],
|
|
969
|
-
nameAvailable: item["nameAvailable"],
|
|
970
|
-
reason: item["reason"],
|
|
971
|
-
message: item["message"],
|
|
972
|
-
};
|
|
973
|
-
}
|
|
974
|
-
export function privateLinkResourceDeserializer(item) {
|
|
975
|
-
return {
|
|
976
|
-
id: item["id"],
|
|
977
|
-
name: item["name"],
|
|
978
|
-
type: item["type"],
|
|
979
|
-
systemData: !item["systemData"]
|
|
980
|
-
? item["systemData"]
|
|
981
|
-
: systemDataDeserializer(item["systemData"]),
|
|
982
|
-
properties: !item["properties"]
|
|
983
|
-
? item["properties"]
|
|
984
|
-
: privateLinkResourcePropertiesDeserializer(item["properties"]),
|
|
985
|
-
};
|
|
986
|
-
}
|
|
987
|
-
export function privateLinkResourcePropertiesDeserializer(item) {
|
|
988
|
-
return {
|
|
989
|
-
groupId: item["groupId"],
|
|
990
|
-
requiredMembers: !item["requiredMembers"]
|
|
991
|
-
? item["requiredMembers"]
|
|
992
|
-
: item["requiredMembers"].map((p) => {
|
|
993
|
-
return p;
|
|
994
|
-
}),
|
|
995
|
-
requiredZoneNames: !item["requiredZoneNames"]
|
|
996
|
-
? item["requiredZoneNames"]
|
|
997
|
-
: item["requiredZoneNames"].map((p) => {
|
|
998
|
-
return p;
|
|
999
|
-
}),
|
|
1000
|
-
};
|
|
1001
|
-
}
|
|
1002
|
-
export function _privateLinkResourceListResultDeserializer(item) {
|
|
1003
|
-
return {
|
|
1004
|
-
value: !item["value"] ? item["value"] : privateLinkResourceArrayDeserializer(item["value"]),
|
|
1005
|
-
nextLink: item["nextLink"],
|
|
1006
|
-
};
|
|
1007
|
-
}
|
|
1008
|
-
export function privateLinkResourceArrayDeserializer(result) {
|
|
1009
|
-
return result.map((item) => {
|
|
1010
|
-
return privateLinkResourceDeserializer(item);
|
|
1011
|
-
});
|
|
1012
|
-
}
|
|
1013
|
-
export function archiveSerializer(item) {
|
|
1014
|
-
return {
|
|
1015
|
-
properties: areAllPropsUndefined(item, [
|
|
1016
|
-
"packageSource",
|
|
1017
|
-
"publishedVersion",
|
|
1018
|
-
"repositoryEndpointPrefix",
|
|
1019
|
-
])
|
|
1020
|
-
? undefined
|
|
1021
|
-
: _archivePropertiesSerializer(item),
|
|
1022
|
-
};
|
|
1023
|
-
}
|
|
1024
|
-
export function archiveDeserializer(item) {
|
|
1025
|
-
return {
|
|
1026
|
-
id: item["id"],
|
|
1027
|
-
name: item["name"],
|
|
1028
|
-
type: item["type"],
|
|
1029
|
-
systemData: !item["systemData"]
|
|
1030
|
-
? item["systemData"]
|
|
1031
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1032
|
-
...(!item["properties"]
|
|
1033
|
-
? item["properties"]
|
|
1034
|
-
: _archivePropertiesDeserializer(item["properties"])),
|
|
1035
|
-
};
|
|
1036
|
-
}
|
|
1037
|
-
export function archivePropertiesSerializer(item) {
|
|
1038
|
-
return {
|
|
1039
|
-
packageSource: !item["packageSource"]
|
|
1040
|
-
? item["packageSource"]
|
|
1041
|
-
: archivePackageSourcePropertiesSerializer(item["packageSource"]),
|
|
1042
|
-
publishedVersion: item["publishedVersion"],
|
|
1043
|
-
repositoryEndpointPrefix: item["repositoryEndpointPrefix"],
|
|
1044
|
-
};
|
|
1045
|
-
}
|
|
1046
|
-
export function archivePropertiesDeserializer(item) {
|
|
1047
|
-
return {
|
|
1048
|
-
packageSource: !item["packageSource"]
|
|
1049
|
-
? item["packageSource"]
|
|
1050
|
-
: archivePackageSourcePropertiesDeserializer(item["packageSource"]),
|
|
1051
|
-
publishedVersion: item["publishedVersion"],
|
|
1052
|
-
repositoryEndpointPrefix: item["repositoryEndpointPrefix"],
|
|
1053
|
-
repositoryEndpoint: item["repositoryEndpoint"],
|
|
1054
|
-
provisioningState: item["provisioningState"],
|
|
1055
|
-
};
|
|
1056
|
-
}
|
|
1057
|
-
export function archivePackageSourcePropertiesSerializer(item) {
|
|
1058
|
-
return { type: item["type"], url: item["url"] };
|
|
1059
|
-
}
|
|
1060
|
-
export function archivePackageSourcePropertiesDeserializer(item) {
|
|
1061
|
-
return {
|
|
1062
|
-
type: item["type"],
|
|
1063
|
-
url: item["url"],
|
|
1064
|
-
};
|
|
1065
|
-
}
|
|
1066
|
-
/** The type of package source for a archive. */
|
|
1067
|
-
export var KnownPackageSourceType;
|
|
1068
|
-
(function (KnownPackageSourceType) {
|
|
1069
|
-
/** remote */
|
|
1070
|
-
KnownPackageSourceType["Remote"] = "remote";
|
|
1071
|
-
})(KnownPackageSourceType || (KnownPackageSourceType = {}));
|
|
1072
|
-
export function archiveUpdateParametersSerializer(item) {
|
|
1073
|
-
return {
|
|
1074
|
-
properties: areAllPropsUndefined(item, ["publishedVersion"])
|
|
1075
|
-
? undefined
|
|
1076
|
-
: _archiveUpdateParametersPropertiesSerializer(item),
|
|
1077
|
-
};
|
|
1078
|
-
}
|
|
1079
|
-
export function archiveUpdatePropertiesSerializer(item) {
|
|
1080
|
-
return { publishedVersion: item["publishedVersion"] };
|
|
1081
|
-
}
|
|
1082
|
-
export function _archiveListResultDeserializer(item) {
|
|
1083
|
-
return {
|
|
1084
|
-
value: !item["value"] ? item["value"] : archiveArrayDeserializer(item["value"]),
|
|
1085
|
-
nextLink: item["nextLink"],
|
|
1086
|
-
};
|
|
1087
|
-
}
|
|
1088
|
-
export function archiveArraySerializer(result) {
|
|
1089
|
-
return result.map((item) => {
|
|
1090
|
-
return archiveSerializer(item);
|
|
1091
|
-
});
|
|
1092
|
-
}
|
|
1093
|
-
export function archiveArrayDeserializer(result) {
|
|
1094
|
-
return result.map((item) => {
|
|
1095
|
-
return archiveDeserializer(item);
|
|
1096
|
-
});
|
|
1097
|
-
}
|
|
1098
|
-
export function archiveVersionDeserializer(item) {
|
|
1099
|
-
return {
|
|
1100
|
-
id: item["id"],
|
|
1101
|
-
name: item["name"],
|
|
1102
|
-
type: item["type"],
|
|
1103
|
-
systemData: !item["systemData"]
|
|
1104
|
-
? item["systemData"]
|
|
1105
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1106
|
-
...(!item["properties"]
|
|
1107
|
-
? item["properties"]
|
|
1108
|
-
: _archiveVersionPropertiesDeserializer(item["properties"])),
|
|
1109
|
-
};
|
|
1110
|
-
}
|
|
1111
|
-
export function archiveVersionPropertiesDeserializer(item) {
|
|
1112
|
-
return {
|
|
1113
|
-
provisioningState: item["provisioningState"],
|
|
1114
|
-
archiveVersionErrorMessage: item["archiveVersionErrorMessage"],
|
|
1115
|
-
};
|
|
1116
|
-
}
|
|
1117
|
-
export function _archiveVersionListResultDeserializer(item) {
|
|
1118
|
-
return {
|
|
1119
|
-
value: !item["value"] ? item["value"] : archiveVersionArrayDeserializer(item["value"]),
|
|
1120
|
-
nextLink: item["nextLink"],
|
|
1121
|
-
};
|
|
1122
|
-
}
|
|
1123
|
-
export function archiveVersionArrayDeserializer(result) {
|
|
1124
|
-
return result.map((item) => {
|
|
1125
|
-
return archiveVersionDeserializer(item);
|
|
1126
|
-
});
|
|
1127
|
-
}
|
|
1128
|
-
export function cacheRuleSerializer(item) {
|
|
1129
|
-
return {
|
|
1130
|
-
properties: areAllPropsUndefined(item, [
|
|
1131
|
-
"credentialSetResourceId",
|
|
1132
|
-
"sourceRepository",
|
|
1133
|
-
"targetRepository",
|
|
1134
|
-
])
|
|
1135
|
-
? undefined
|
|
1136
|
-
: _cacheRulePropertiesSerializer(item),
|
|
1137
|
-
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
1138
|
-
};
|
|
1139
|
-
}
|
|
1140
|
-
export function cacheRuleDeserializer(item) {
|
|
1141
|
-
return {
|
|
1142
|
-
id: item["id"],
|
|
1143
|
-
name: item["name"],
|
|
1144
|
-
type: item["type"],
|
|
1145
|
-
systemData: !item["systemData"]
|
|
1146
|
-
? item["systemData"]
|
|
1147
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1148
|
-
...(!item["properties"]
|
|
1149
|
-
? item["properties"]
|
|
1150
|
-
: _cacheRulePropertiesDeserializer(item["properties"])),
|
|
1151
|
-
identity: !item["identity"]
|
|
1152
|
-
? item["identity"]
|
|
1153
|
-
: identityPropertiesDeserializer(item["identity"]),
|
|
1154
|
-
};
|
|
1155
|
-
}
|
|
1156
|
-
export function cacheRulePropertiesSerializer(item) {
|
|
1157
|
-
return {
|
|
1158
|
-
credentialSetResourceId: item["credentialSetResourceId"],
|
|
1159
|
-
sourceRepository: item["sourceRepository"],
|
|
1160
|
-
targetRepository: item["targetRepository"],
|
|
1161
|
-
};
|
|
1162
|
-
}
|
|
1163
|
-
export function cacheRulePropertiesDeserializer(item) {
|
|
1164
|
-
return {
|
|
1165
|
-
credentialSetResourceId: item["credentialSetResourceId"],
|
|
1166
|
-
sourceRepository: item["sourceRepository"],
|
|
1167
|
-
targetRepository: item["targetRepository"],
|
|
1168
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
1169
|
-
provisioningState: item["provisioningState"],
|
|
1170
|
-
};
|
|
1171
|
-
}
|
|
1172
|
-
export function cacheRuleUpdateParametersSerializer(item) {
|
|
1173
|
-
return {
|
|
1174
|
-
properties: areAllPropsUndefined(item, ["credentialSetResourceId"])
|
|
1175
|
-
? undefined
|
|
1176
|
-
: _cacheRuleUpdateParametersPropertiesSerializer(item),
|
|
1177
|
-
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
1178
|
-
};
|
|
1179
|
-
}
|
|
1180
|
-
export function cacheRuleUpdatePropertiesSerializer(item) {
|
|
1181
|
-
return { credentialSetResourceId: item["credentialSetResourceId"] };
|
|
1182
|
-
}
|
|
1183
|
-
export function _cacheRulesListResultDeserializer(item) {
|
|
1184
|
-
return {
|
|
1185
|
-
value: !item["value"] ? item["value"] : cacheRuleArrayDeserializer(item["value"]),
|
|
1186
|
-
nextLink: item["nextLink"],
|
|
1187
|
-
};
|
|
1188
|
-
}
|
|
1189
|
-
export function cacheRuleArraySerializer(result) {
|
|
1190
|
-
return result.map((item) => {
|
|
1191
|
-
return cacheRuleSerializer(item);
|
|
1192
|
-
});
|
|
1193
|
-
}
|
|
1194
|
-
export function cacheRuleArrayDeserializer(result) {
|
|
1195
|
-
return result.map((item) => {
|
|
1196
|
-
return cacheRuleDeserializer(item);
|
|
1197
|
-
});
|
|
1198
|
-
}
|
|
1199
|
-
export function credentialSetSerializer(item) {
|
|
1200
|
-
return {
|
|
1201
|
-
properties: areAllPropsUndefined(item, ["loginServer", "authCredentials"])
|
|
1202
|
-
? undefined
|
|
1203
|
-
: _credentialSetPropertiesSerializer(item),
|
|
1204
|
-
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
1205
|
-
};
|
|
1206
|
-
}
|
|
1207
|
-
export function credentialSetDeserializer(item) {
|
|
1208
|
-
return {
|
|
1209
|
-
id: item["id"],
|
|
1210
|
-
name: item["name"],
|
|
1211
|
-
type: item["type"],
|
|
1212
|
-
systemData: !item["systemData"]
|
|
1213
|
-
? item["systemData"]
|
|
1214
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1215
|
-
...(!item["properties"]
|
|
1216
|
-
? item["properties"]
|
|
1217
|
-
: _credentialSetPropertiesDeserializer(item["properties"])),
|
|
1218
|
-
identity: !item["identity"]
|
|
1219
|
-
? item["identity"]
|
|
1220
|
-
: identityPropertiesDeserializer(item["identity"]),
|
|
1221
|
-
};
|
|
1222
|
-
}
|
|
1223
|
-
export function credentialSetPropertiesSerializer(item) {
|
|
1224
|
-
return {
|
|
1225
|
-
loginServer: item["loginServer"],
|
|
1226
|
-
authCredentials: !item["authCredentials"]
|
|
1227
|
-
? item["authCredentials"]
|
|
1228
|
-
: authCredentialArraySerializer(item["authCredentials"]),
|
|
1229
|
-
};
|
|
1230
|
-
}
|
|
1231
|
-
export function credentialSetPropertiesDeserializer(item) {
|
|
1232
|
-
return {
|
|
1233
|
-
loginServer: item["loginServer"],
|
|
1234
|
-
authCredentials: !item["authCredentials"]
|
|
1235
|
-
? item["authCredentials"]
|
|
1236
|
-
: authCredentialArrayDeserializer(item["authCredentials"]),
|
|
1237
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
1238
|
-
provisioningState: item["provisioningState"],
|
|
1239
|
-
};
|
|
1240
|
-
}
|
|
1241
|
-
export function authCredentialArraySerializer(result) {
|
|
1242
|
-
return result.map((item) => {
|
|
1243
|
-
return authCredentialSerializer(item);
|
|
1244
|
-
});
|
|
1245
|
-
}
|
|
1246
|
-
export function authCredentialArrayDeserializer(result) {
|
|
1247
|
-
return result.map((item) => {
|
|
1248
|
-
return authCredentialDeserializer(item);
|
|
1249
|
-
});
|
|
1250
|
-
}
|
|
1251
|
-
export function authCredentialSerializer(item) {
|
|
1252
|
-
return {
|
|
1253
|
-
name: item["name"],
|
|
1254
|
-
usernameSecretIdentifier: item["usernameSecretIdentifier"],
|
|
1255
|
-
passwordSecretIdentifier: item["passwordSecretIdentifier"],
|
|
1256
|
-
};
|
|
1257
|
-
}
|
|
1258
|
-
export function authCredentialDeserializer(item) {
|
|
1259
|
-
return {
|
|
1260
|
-
name: item["name"],
|
|
1261
|
-
usernameSecretIdentifier: item["usernameSecretIdentifier"],
|
|
1262
|
-
passwordSecretIdentifier: item["passwordSecretIdentifier"],
|
|
1263
|
-
credentialHealth: !item["credentialHealth"]
|
|
1264
|
-
? item["credentialHealth"]
|
|
1265
|
-
: credentialHealthDeserializer(item["credentialHealth"]),
|
|
1266
|
-
};
|
|
1267
|
-
}
|
|
1268
|
-
/** The name of the credential. */
|
|
1269
|
-
export var KnownCredentialName;
|
|
1270
|
-
(function (KnownCredentialName) {
|
|
1271
|
-
/** Credential1 */
|
|
1272
|
-
KnownCredentialName["Credential1"] = "Credential1";
|
|
1273
|
-
})(KnownCredentialName || (KnownCredentialName = {}));
|
|
1274
|
-
export function credentialHealthDeserializer(item) {
|
|
1275
|
-
return {
|
|
1276
|
-
status: item["status"],
|
|
1277
|
-
errorCode: item["errorCode"],
|
|
1278
|
-
errorMessage: item["errorMessage"],
|
|
1279
|
-
};
|
|
1280
|
-
}
|
|
1281
|
-
/** The health status of credential. */
|
|
1282
|
-
export var KnownCredentialHealthStatus;
|
|
1283
|
-
(function (KnownCredentialHealthStatus) {
|
|
1284
|
-
/** Healthy */
|
|
1285
|
-
KnownCredentialHealthStatus["Healthy"] = "Healthy";
|
|
1286
|
-
/** Unhealthy */
|
|
1287
|
-
KnownCredentialHealthStatus["Unhealthy"] = "Unhealthy";
|
|
1288
|
-
})(KnownCredentialHealthStatus || (KnownCredentialHealthStatus = {}));
|
|
1289
|
-
export function credentialSetUpdateParametersSerializer(item) {
|
|
1290
|
-
return {
|
|
1291
|
-
properties: areAllPropsUndefined(item, ["authCredentials"])
|
|
1292
|
-
? undefined
|
|
1293
|
-
: _credentialSetUpdateParametersPropertiesSerializer(item),
|
|
1294
|
-
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
1295
|
-
};
|
|
1296
|
-
}
|
|
1297
|
-
export function credentialSetUpdatePropertiesSerializer(item) {
|
|
1298
|
-
return {
|
|
1299
|
-
authCredentials: !item["authCredentials"]
|
|
1300
|
-
? item["authCredentials"]
|
|
1301
|
-
: authCredentialArraySerializer(item["authCredentials"]),
|
|
1302
|
-
};
|
|
1303
|
-
}
|
|
1304
|
-
export function _credentialSetListResultDeserializer(item) {
|
|
1305
|
-
return {
|
|
1306
|
-
value: !item["value"] ? item["value"] : credentialSetArrayDeserializer(item["value"]),
|
|
1307
|
-
nextLink: item["nextLink"],
|
|
1308
|
-
};
|
|
1309
|
-
}
|
|
1310
|
-
export function credentialSetArraySerializer(result) {
|
|
1311
|
-
return result.map((item) => {
|
|
1312
|
-
return credentialSetSerializer(item);
|
|
1313
|
-
});
|
|
1314
|
-
}
|
|
1315
|
-
export function credentialSetArrayDeserializer(result) {
|
|
1316
|
-
return result.map((item) => {
|
|
1317
|
-
return credentialSetDeserializer(item);
|
|
1318
|
-
});
|
|
1319
|
-
}
|
|
1320
|
-
export function connectedRegistrySerializer(item) {
|
|
1321
|
-
return {
|
|
1322
|
-
properties: areAllPropsUndefined(item, [
|
|
1323
|
-
"mode",
|
|
1324
|
-
"parent",
|
|
1325
|
-
"clientTokenIds",
|
|
1326
|
-
"loginServer",
|
|
1327
|
-
"logging",
|
|
1328
|
-
"notificationsList",
|
|
1329
|
-
"garbageCollection",
|
|
1330
|
-
"registrySyncResult",
|
|
1331
|
-
])
|
|
1332
|
-
? undefined
|
|
1333
|
-
: _connectedRegistryPropertiesSerializer(item),
|
|
1334
|
-
};
|
|
1335
|
-
}
|
|
1336
|
-
export function connectedRegistryDeserializer(item) {
|
|
1337
|
-
return {
|
|
1338
|
-
id: item["id"],
|
|
1339
|
-
name: item["name"],
|
|
1340
|
-
type: item["type"],
|
|
1341
|
-
systemData: !item["systemData"]
|
|
1342
|
-
? item["systemData"]
|
|
1343
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1344
|
-
...(!item["properties"]
|
|
1345
|
-
? item["properties"]
|
|
1346
|
-
: _connectedRegistryPropertiesDeserializer(item["properties"])),
|
|
1347
|
-
};
|
|
1348
|
-
}
|
|
1349
|
-
export function connectedRegistryPropertiesSerializer(item) {
|
|
1350
|
-
return {
|
|
1351
|
-
mode: item["mode"],
|
|
1352
|
-
parent: parentPropertiesSerializer(item["parent"]),
|
|
1353
|
-
clientTokenIds: !item["clientTokenIds"]
|
|
1354
|
-
? item["clientTokenIds"]
|
|
1355
|
-
: item["clientTokenIds"].map((p) => {
|
|
1356
|
-
return p;
|
|
1357
|
-
}),
|
|
1358
|
-
loginServer: !item["loginServer"]
|
|
1359
|
-
? item["loginServer"]
|
|
1360
|
-
: loginServerPropertiesSerializer(item["loginServer"]),
|
|
1361
|
-
logging: !item["logging"] ? item["logging"] : loggingPropertiesSerializer(item["logging"]),
|
|
1362
|
-
notificationsList: !item["notificationsList"]
|
|
1363
|
-
? item["notificationsList"]
|
|
1364
|
-
: item["notificationsList"].map((p) => {
|
|
1365
|
-
return p;
|
|
1366
|
-
}),
|
|
1367
|
-
garbageCollection: !item["garbageCollection"]
|
|
1368
|
-
? item["garbageCollection"]
|
|
1369
|
-
: garbageCollectionPropertiesSerializer(item["garbageCollection"]),
|
|
1370
|
-
registrySyncResult: !item["registrySyncResult"]
|
|
1371
|
-
? item["registrySyncResult"]
|
|
1372
|
-
: registrySyncResultSerializer(item["registrySyncResult"]),
|
|
1373
|
-
};
|
|
1374
|
-
}
|
|
1375
|
-
export function connectedRegistryPropertiesDeserializer(item) {
|
|
1376
|
-
return {
|
|
1377
|
-
provisioningState: item["provisioningState"],
|
|
1378
|
-
mode: item["mode"],
|
|
1379
|
-
version: item["version"],
|
|
1380
|
-
connectionState: item["connectionState"],
|
|
1381
|
-
lastActivityTime: !item["lastActivityTime"]
|
|
1382
|
-
? item["lastActivityTime"]
|
|
1383
|
-
: new Date(item["lastActivityTime"]),
|
|
1384
|
-
activation: !item["activation"]
|
|
1385
|
-
? item["activation"]
|
|
1386
|
-
: activationPropertiesDeserializer(item["activation"]),
|
|
1387
|
-
parent: parentPropertiesDeserializer(item["parent"]),
|
|
1388
|
-
clientTokenIds: !item["clientTokenIds"]
|
|
1389
|
-
? item["clientTokenIds"]
|
|
1390
|
-
: item["clientTokenIds"].map((p) => {
|
|
1391
|
-
return p;
|
|
1392
|
-
}),
|
|
1393
|
-
loginServer: !item["loginServer"]
|
|
1394
|
-
? item["loginServer"]
|
|
1395
|
-
: loginServerPropertiesDeserializer(item["loginServer"]),
|
|
1396
|
-
logging: !item["logging"] ? item["logging"] : loggingPropertiesDeserializer(item["logging"]),
|
|
1397
|
-
statusDetails: !item["statusDetails"]
|
|
1398
|
-
? item["statusDetails"]
|
|
1399
|
-
: statusDetailPropertiesArrayDeserializer(item["statusDetails"]),
|
|
1400
|
-
notificationsList: !item["notificationsList"]
|
|
1401
|
-
? item["notificationsList"]
|
|
1402
|
-
: item["notificationsList"].map((p) => {
|
|
1403
|
-
return p;
|
|
1404
|
-
}),
|
|
1405
|
-
garbageCollection: !item["garbageCollection"]
|
|
1406
|
-
? item["garbageCollection"]
|
|
1407
|
-
: garbageCollectionPropertiesDeserializer(item["garbageCollection"]),
|
|
1408
|
-
registrySyncResult: !item["registrySyncResult"]
|
|
1409
|
-
? item["registrySyncResult"]
|
|
1410
|
-
: registrySyncResultDeserializer(item["registrySyncResult"]),
|
|
1411
|
-
};
|
|
1412
|
-
}
|
|
1413
|
-
/** The mode of the connected registry resource that indicates the permissions of the registry. */
|
|
1414
|
-
export var KnownConnectedRegistryMode;
|
|
1415
|
-
(function (KnownConnectedRegistryMode) {
|
|
1416
|
-
/** ReadWrite */
|
|
1417
|
-
KnownConnectedRegistryMode["ReadWrite"] = "ReadWrite";
|
|
1418
|
-
/** ReadOnly */
|
|
1419
|
-
KnownConnectedRegistryMode["ReadOnly"] = "ReadOnly";
|
|
1420
|
-
/** Registry */
|
|
1421
|
-
KnownConnectedRegistryMode["Registry"] = "Registry";
|
|
1422
|
-
/** Mirror */
|
|
1423
|
-
KnownConnectedRegistryMode["Mirror"] = "Mirror";
|
|
1424
|
-
})(KnownConnectedRegistryMode || (KnownConnectedRegistryMode = {}));
|
|
1425
|
-
/** The current connection state of the connected registry. */
|
|
1426
|
-
export var KnownConnectionState;
|
|
1427
|
-
(function (KnownConnectionState) {
|
|
1428
|
-
/** Online */
|
|
1429
|
-
KnownConnectionState["Online"] = "Online";
|
|
1430
|
-
/** Offline */
|
|
1431
|
-
KnownConnectionState["Offline"] = "Offline";
|
|
1432
|
-
/** Syncing */
|
|
1433
|
-
KnownConnectionState["Syncing"] = "Syncing";
|
|
1434
|
-
/** Unhealthy */
|
|
1435
|
-
KnownConnectionState["Unhealthy"] = "Unhealthy";
|
|
1436
|
-
})(KnownConnectionState || (KnownConnectionState = {}));
|
|
1437
|
-
export function activationPropertiesDeserializer(item) {
|
|
1438
|
-
return {
|
|
1439
|
-
status: item["status"],
|
|
1440
|
-
};
|
|
1441
|
-
}
|
|
1442
|
-
/** The activation status of the connected registry. */
|
|
1443
|
-
export var KnownActivationStatus;
|
|
1444
|
-
(function (KnownActivationStatus) {
|
|
1445
|
-
/** Active */
|
|
1446
|
-
KnownActivationStatus["Active"] = "Active";
|
|
1447
|
-
/** Inactive */
|
|
1448
|
-
KnownActivationStatus["Inactive"] = "Inactive";
|
|
1449
|
-
})(KnownActivationStatus || (KnownActivationStatus = {}));
|
|
1450
|
-
export function parentPropertiesSerializer(item) {
|
|
1451
|
-
return { id: item["id"], syncProperties: syncPropertiesSerializer(item["syncProperties"]) };
|
|
1452
|
-
}
|
|
1453
|
-
export function parentPropertiesDeserializer(item) {
|
|
1454
|
-
return {
|
|
1455
|
-
id: item["id"],
|
|
1456
|
-
syncProperties: syncPropertiesDeserializer(item["syncProperties"]),
|
|
1457
|
-
};
|
|
1458
|
-
}
|
|
1459
|
-
export function syncPropertiesSerializer(item) {
|
|
1460
|
-
return {
|
|
1461
|
-
tokenId: item["tokenId"],
|
|
1462
|
-
schedule: item["schedule"],
|
|
1463
|
-
syncWindow: item["syncWindow"],
|
|
1464
|
-
messageTtl: item["messageTtl"],
|
|
1465
|
-
};
|
|
1466
|
-
}
|
|
1467
|
-
export function syncPropertiesDeserializer(item) {
|
|
1468
|
-
return {
|
|
1469
|
-
tokenId: item["tokenId"],
|
|
1470
|
-
schedule: item["schedule"],
|
|
1471
|
-
syncWindow: item["syncWindow"],
|
|
1472
|
-
messageTtl: item["messageTtl"],
|
|
1473
|
-
lastSyncTime: !item["lastSyncTime"] ? item["lastSyncTime"] : new Date(item["lastSyncTime"]),
|
|
1474
|
-
gatewayEndpoint: item["gatewayEndpoint"],
|
|
1475
|
-
};
|
|
1476
|
-
}
|
|
1477
|
-
export function loginServerPropertiesSerializer(item) {
|
|
1478
|
-
return item;
|
|
1479
|
-
}
|
|
1480
|
-
export function loginServerPropertiesDeserializer(item) {
|
|
1481
|
-
return {
|
|
1482
|
-
host: item["host"],
|
|
1483
|
-
tls: !item["tls"] ? item["tls"] : tlsPropertiesDeserializer(item["tls"]),
|
|
1484
|
-
};
|
|
1485
|
-
}
|
|
1486
|
-
export function tlsPropertiesDeserializer(item) {
|
|
1487
|
-
return {
|
|
1488
|
-
status: item["status"],
|
|
1489
|
-
certificate: !item["certificate"]
|
|
1490
|
-
? item["certificate"]
|
|
1491
|
-
: tlsCertificatePropertiesDeserializer(item["certificate"]),
|
|
1492
|
-
};
|
|
1493
|
-
}
|
|
1494
|
-
/** Indicates whether HTTPS is enabled for the login server. */
|
|
1495
|
-
export var KnownTlsStatus;
|
|
1496
|
-
(function (KnownTlsStatus) {
|
|
1497
|
-
/** Enabled */
|
|
1498
|
-
KnownTlsStatus["Enabled"] = "Enabled";
|
|
1499
|
-
/** Disabled */
|
|
1500
|
-
KnownTlsStatus["Disabled"] = "Disabled";
|
|
1501
|
-
})(KnownTlsStatus || (KnownTlsStatus = {}));
|
|
1502
|
-
export function tlsCertificatePropertiesDeserializer(item) {
|
|
1503
|
-
return {
|
|
1504
|
-
type: item["type"],
|
|
1505
|
-
location: item["location"],
|
|
1506
|
-
};
|
|
1507
|
-
}
|
|
1508
|
-
/** The type of certificate location. */
|
|
1509
|
-
export var KnownCertificateType;
|
|
1510
|
-
(function (KnownCertificateType) {
|
|
1511
|
-
/** LocalDirectory */
|
|
1512
|
-
KnownCertificateType["LocalDirectory"] = "LocalDirectory";
|
|
1513
|
-
})(KnownCertificateType || (KnownCertificateType = {}));
|
|
1514
|
-
export function loggingPropertiesSerializer(item) {
|
|
1515
|
-
return { logLevel: item["logLevel"], auditLogStatus: item["auditLogStatus"] };
|
|
1516
|
-
}
|
|
1517
|
-
export function loggingPropertiesDeserializer(item) {
|
|
1518
|
-
return {
|
|
1519
|
-
logLevel: item["logLevel"],
|
|
1520
|
-
auditLogStatus: item["auditLogStatus"],
|
|
1521
|
-
};
|
|
1522
|
-
}
|
|
1523
|
-
/** The verbosity of logs persisted on the connected registry. */
|
|
1524
|
-
export var KnownLogLevel;
|
|
1525
|
-
(function (KnownLogLevel) {
|
|
1526
|
-
/** Debug */
|
|
1527
|
-
KnownLogLevel["Debug"] = "Debug";
|
|
1528
|
-
/** Information */
|
|
1529
|
-
KnownLogLevel["Information"] = "Information";
|
|
1530
|
-
/** Warning */
|
|
1531
|
-
KnownLogLevel["Warning"] = "Warning";
|
|
1532
|
-
/** Error */
|
|
1533
|
-
KnownLogLevel["Error"] = "Error";
|
|
1534
|
-
/** None */
|
|
1535
|
-
KnownLogLevel["None"] = "None";
|
|
1536
|
-
})(KnownLogLevel || (KnownLogLevel = {}));
|
|
1537
|
-
/** Indicates whether audit logs are enabled on the connected registry. */
|
|
1538
|
-
export var KnownAuditLogStatus;
|
|
1539
|
-
(function (KnownAuditLogStatus) {
|
|
1540
|
-
/** Enabled */
|
|
1541
|
-
KnownAuditLogStatus["Enabled"] = "Enabled";
|
|
1542
|
-
/** Disabled */
|
|
1543
|
-
KnownAuditLogStatus["Disabled"] = "Disabled";
|
|
1544
|
-
})(KnownAuditLogStatus || (KnownAuditLogStatus = {}));
|
|
1545
|
-
export function statusDetailPropertiesArrayDeserializer(result) {
|
|
1546
|
-
return result.map((item) => {
|
|
1547
|
-
return statusDetailPropertiesDeserializer(item);
|
|
1548
|
-
});
|
|
1549
|
-
}
|
|
1550
|
-
export function statusDetailPropertiesDeserializer(item) {
|
|
1551
|
-
return {
|
|
1552
|
-
type: item["type"],
|
|
1553
|
-
code: item["code"],
|
|
1554
|
-
description: item["description"],
|
|
1555
|
-
timestamp: !item["timestamp"] ? item["timestamp"] : new Date(item["timestamp"]),
|
|
1556
|
-
correlationId: item["correlationId"],
|
|
1557
|
-
};
|
|
1558
|
-
}
|
|
1559
|
-
export function garbageCollectionPropertiesSerializer(item) {
|
|
1560
|
-
return { enabled: item["enabled"], schedule: item["schedule"] };
|
|
1561
|
-
}
|
|
1562
|
-
export function garbageCollectionPropertiesDeserializer(item) {
|
|
1563
|
-
return {
|
|
1564
|
-
enabled: item["enabled"],
|
|
1565
|
-
schedule: item["schedule"],
|
|
1566
|
-
};
|
|
1567
|
-
}
|
|
1568
|
-
export function registrySyncResultSerializer(item) {
|
|
1569
|
-
return {
|
|
1570
|
-
lastSyncStartTime: !item["lastSyncStartTime"]
|
|
1571
|
-
? item["lastSyncStartTime"]
|
|
1572
|
-
: item["lastSyncStartTime"].toISOString(),
|
|
1573
|
-
lastSyncEndTime: !item["lastSyncEndTime"]
|
|
1574
|
-
? item["lastSyncEndTime"]
|
|
1575
|
-
: item["lastSyncEndTime"].toISOString(),
|
|
1576
|
-
lastSuccessfulSyncEndTime: !item["lastSuccessfulSyncEndTime"]
|
|
1577
|
-
? item["lastSuccessfulSyncEndTime"]
|
|
1578
|
-
: item["lastSuccessfulSyncEndTime"].toISOString(),
|
|
1579
|
-
};
|
|
1580
|
-
}
|
|
1581
|
-
export function registrySyncResultDeserializer(item) {
|
|
1582
|
-
return {
|
|
1583
|
-
syncTrigger: item["syncTrigger"],
|
|
1584
|
-
syncState: item["syncState"],
|
|
1585
|
-
lastSyncStartTime: !item["lastSyncStartTime"]
|
|
1586
|
-
? item["lastSyncStartTime"]
|
|
1587
|
-
: new Date(item["lastSyncStartTime"]),
|
|
1588
|
-
lastSyncEndTime: !item["lastSyncEndTime"]
|
|
1589
|
-
? item["lastSyncEndTime"]
|
|
1590
|
-
: new Date(item["lastSyncEndTime"]),
|
|
1591
|
-
lastSuccessfulSyncEndTime: !item["lastSuccessfulSyncEndTime"]
|
|
1592
|
-
? item["lastSuccessfulSyncEndTime"]
|
|
1593
|
-
: new Date(item["lastSuccessfulSyncEndTime"]),
|
|
1594
|
-
};
|
|
1595
|
-
}
|
|
1596
|
-
/** The status of the connected registry's most recent sync. */
|
|
1597
|
-
export var KnownSyncTrigger;
|
|
1598
|
-
(function (KnownSyncTrigger) {
|
|
1599
|
-
/** Connected Registry sync was triggered by a sync token update */
|
|
1600
|
-
KnownSyncTrigger["SyncTokenUpdate"] = "SyncTokenUpdate";
|
|
1601
|
-
/** Connected Registry sync was triggered by an initial sync during activation */
|
|
1602
|
-
KnownSyncTrigger["InitialSync"] = "InitialSync";
|
|
1603
|
-
/** Connected Registry sync was triggered by a manual resync request */
|
|
1604
|
-
KnownSyncTrigger["ManualResync"] = "ManualResync";
|
|
1605
|
-
/** Connected Registry sync was triggered by the Connected Registry's recovery service */
|
|
1606
|
-
KnownSyncTrigger["RecoveryService"] = "RecoveryService";
|
|
1607
|
-
})(KnownSyncTrigger || (KnownSyncTrigger = {}));
|
|
1608
|
-
/** The action that triggered the most recent registry sync. */
|
|
1609
|
-
export var KnownSyncState;
|
|
1610
|
-
(function (KnownSyncState) {
|
|
1611
|
-
/** Connected Registry is not activated */
|
|
1612
|
-
KnownSyncState["NotActivated"] = "NotActivated";
|
|
1613
|
-
/** Connected Registry is syncing */
|
|
1614
|
-
KnownSyncState["Syncing"] = "Syncing";
|
|
1615
|
-
/** Connected Registry sync failed */
|
|
1616
|
-
KnownSyncState["Failed"] = "Failed";
|
|
1617
|
-
/** Connected Registry sync succeeded */
|
|
1618
|
-
KnownSyncState["Succeeded"] = "Succeeded";
|
|
1619
|
-
/** Connected Registry sync timed out */
|
|
1620
|
-
KnownSyncState["TimedOut"] = "TimedOut";
|
|
1621
|
-
/** Connected Registry sync is pending */
|
|
1622
|
-
KnownSyncState["Pending"] = "Pending";
|
|
1623
|
-
})(KnownSyncState || (KnownSyncState = {}));
|
|
1624
|
-
export function connectedRegistryUpdateParametersSerializer(item) {
|
|
1625
|
-
return {
|
|
1626
|
-
properties: areAllPropsUndefined(item, [
|
|
1627
|
-
"syncProperties",
|
|
1628
|
-
"logging",
|
|
1629
|
-
"clientTokenIds",
|
|
1630
|
-
"notificationsList",
|
|
1631
|
-
"garbageCollection",
|
|
1632
|
-
])
|
|
1633
|
-
? undefined
|
|
1634
|
-
: _connectedRegistryUpdateParametersPropertiesSerializer(item),
|
|
1635
|
-
};
|
|
1636
|
-
}
|
|
1637
|
-
export function connectedRegistryUpdatePropertiesSerializer(item) {
|
|
1638
|
-
return {
|
|
1639
|
-
syncProperties: !item["syncProperties"]
|
|
1640
|
-
? item["syncProperties"]
|
|
1641
|
-
: syncUpdatePropertiesSerializer(item["syncProperties"]),
|
|
1642
|
-
logging: !item["logging"] ? item["logging"] : loggingPropertiesSerializer(item["logging"]),
|
|
1643
|
-
clientTokenIds: !item["clientTokenIds"]
|
|
1644
|
-
? item["clientTokenIds"]
|
|
1645
|
-
: item["clientTokenIds"].map((p) => {
|
|
1646
|
-
return p;
|
|
1647
|
-
}),
|
|
1648
|
-
notificationsList: !item["notificationsList"]
|
|
1649
|
-
? item["notificationsList"]
|
|
1650
|
-
: item["notificationsList"].map((p) => {
|
|
1651
|
-
return p;
|
|
1652
|
-
}),
|
|
1653
|
-
garbageCollection: !item["garbageCollection"]
|
|
1654
|
-
? item["garbageCollection"]
|
|
1655
|
-
: garbageCollectionPropertiesSerializer(item["garbageCollection"]),
|
|
1656
|
-
};
|
|
1657
|
-
}
|
|
1658
|
-
export function syncUpdatePropertiesSerializer(item) {
|
|
1659
|
-
return {
|
|
1660
|
-
schedule: item["schedule"],
|
|
1661
|
-
syncWindow: item["syncWindow"],
|
|
1662
|
-
messageTtl: item["messageTtl"],
|
|
1663
|
-
};
|
|
1664
|
-
}
|
|
1665
|
-
export function _connectedRegistryListResultDeserializer(item) {
|
|
1666
|
-
return {
|
|
1667
|
-
value: !item["value"] ? item["value"] : connectedRegistryArrayDeserializer(item["value"]),
|
|
1668
|
-
nextLink: item["nextLink"],
|
|
1669
|
-
};
|
|
1670
|
-
}
|
|
1671
|
-
export function connectedRegistryArraySerializer(result) {
|
|
1672
|
-
return result.map((item) => {
|
|
1673
|
-
return connectedRegistrySerializer(item);
|
|
1674
|
-
});
|
|
1675
|
-
}
|
|
1676
|
-
export function connectedRegistryArrayDeserializer(result) {
|
|
1677
|
-
return result.map((item) => {
|
|
1678
|
-
return connectedRegistryDeserializer(item);
|
|
1679
|
-
});
|
|
1680
|
-
}
|
|
1681
|
-
export function _privateEndpointConnectionListResultDeserializer(item) {
|
|
1682
|
-
return {
|
|
1683
|
-
value: !item["value"]
|
|
1684
|
-
? item["value"]
|
|
1685
|
-
: privateEndpointConnectionArrayDeserializer(item["value"]),
|
|
1686
|
-
nextLink: item["nextLink"],
|
|
1687
|
-
};
|
|
1688
|
-
}
|
|
1689
|
-
export function replicationSerializer(item) {
|
|
1690
|
-
return {
|
|
1691
|
-
tags: item["tags"],
|
|
1692
|
-
location: item["location"],
|
|
1693
|
-
properties: areAllPropsUndefined(item, ["regionEndpointEnabled", "zoneRedundancy"])
|
|
1694
|
-
? undefined
|
|
1695
|
-
: _replicationPropertiesSerializer(item),
|
|
1696
|
-
};
|
|
1697
|
-
}
|
|
1698
|
-
export function replicationDeserializer(item) {
|
|
1699
|
-
return {
|
|
1700
|
-
tags: !item["tags"]
|
|
1701
|
-
? item["tags"]
|
|
1702
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
1703
|
-
location: item["location"],
|
|
1704
|
-
id: item["id"],
|
|
1705
|
-
name: item["name"],
|
|
1706
|
-
type: item["type"],
|
|
1707
|
-
systemData: !item["systemData"]
|
|
1708
|
-
? item["systemData"]
|
|
1709
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1710
|
-
...(!item["properties"]
|
|
1711
|
-
? item["properties"]
|
|
1712
|
-
: _replicationPropertiesDeserializer(item["properties"])),
|
|
1713
|
-
};
|
|
1714
|
-
}
|
|
1715
|
-
export function replicationPropertiesSerializer(item) {
|
|
1716
|
-
return {
|
|
1717
|
-
regionEndpointEnabled: item["regionEndpointEnabled"],
|
|
1718
|
-
zoneRedundancy: item["zoneRedundancy"],
|
|
1719
|
-
};
|
|
1720
|
-
}
|
|
1721
|
-
export function replicationPropertiesDeserializer(item) {
|
|
1722
|
-
return {
|
|
1723
|
-
provisioningState: item["provisioningState"],
|
|
1724
|
-
status: !item["status"] ? item["status"] : statusDeserializer(item["status"]),
|
|
1725
|
-
regionEndpointEnabled: item["regionEndpointEnabled"],
|
|
1726
|
-
zoneRedundancy: item["zoneRedundancy"],
|
|
1727
|
-
};
|
|
1728
|
-
}
|
|
1729
|
-
export function replicationUpdateParametersSerializer(item) {
|
|
1730
|
-
return {
|
|
1731
|
-
tags: item["tags"],
|
|
1732
|
-
properties: areAllPropsUndefined(item, ["regionEndpointEnabled"])
|
|
1733
|
-
? undefined
|
|
1734
|
-
: _replicationUpdateParametersPropertiesSerializer(item),
|
|
1735
|
-
};
|
|
1736
|
-
}
|
|
1737
|
-
export function replicationUpdateParametersPropertiesSerializer(item) {
|
|
1738
|
-
return { regionEndpointEnabled: item["regionEndpointEnabled"] };
|
|
1739
|
-
}
|
|
1740
|
-
export function _replicationListResultDeserializer(item) {
|
|
1741
|
-
return {
|
|
1742
|
-
value: !item["value"] ? item["value"] : replicationArrayDeserializer(item["value"]),
|
|
1743
|
-
nextLink: item["nextLink"],
|
|
1744
|
-
};
|
|
1745
|
-
}
|
|
1746
|
-
export function replicationArraySerializer(result) {
|
|
1747
|
-
return result.map((item) => {
|
|
1748
|
-
return replicationSerializer(item);
|
|
1749
|
-
});
|
|
1750
|
-
}
|
|
1751
|
-
export function replicationArrayDeserializer(result) {
|
|
1752
|
-
return result.map((item) => {
|
|
1753
|
-
return replicationDeserializer(item);
|
|
1754
|
-
});
|
|
1755
|
-
}
|
|
1756
|
-
export function scopeMapSerializer(item) {
|
|
1757
|
-
return {
|
|
1758
|
-
properties: areAllPropsUndefined(item, ["description", "actions"])
|
|
1759
|
-
? undefined
|
|
1760
|
-
: _scopeMapPropertiesSerializer(item),
|
|
1761
|
-
};
|
|
1762
|
-
}
|
|
1763
|
-
export function scopeMapDeserializer(item) {
|
|
1764
|
-
return {
|
|
1765
|
-
id: item["id"],
|
|
1766
|
-
name: item["name"],
|
|
1767
|
-
type: item["type"],
|
|
1768
|
-
systemData: !item["systemData"]
|
|
1769
|
-
? item["systemData"]
|
|
1770
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1771
|
-
...(!item["properties"]
|
|
1772
|
-
? item["properties"]
|
|
1773
|
-
: _scopeMapPropertiesDeserializer(item["properties"])),
|
|
1774
|
-
};
|
|
1775
|
-
}
|
|
1776
|
-
export function scopeMapPropertiesSerializer(item) {
|
|
1777
|
-
return {
|
|
1778
|
-
description: item["description"],
|
|
1779
|
-
actions: item["actions"].map((p) => {
|
|
1780
|
-
return p;
|
|
1781
|
-
}),
|
|
1782
|
-
};
|
|
1783
|
-
}
|
|
1784
|
-
export function scopeMapPropertiesDeserializer(item) {
|
|
1785
|
-
return {
|
|
1786
|
-
description: item["description"],
|
|
1787
|
-
type: item["type"],
|
|
1788
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
1789
|
-
provisioningState: item["provisioningState"],
|
|
1790
|
-
actions: item["actions"].map((p) => {
|
|
1791
|
-
return p;
|
|
1792
|
-
}),
|
|
1793
|
-
};
|
|
1794
|
-
}
|
|
1795
|
-
export function scopeMapUpdateParametersSerializer(item) {
|
|
1796
|
-
return {
|
|
1797
|
-
properties: areAllPropsUndefined(item, ["description", "actions"])
|
|
1798
|
-
? undefined
|
|
1799
|
-
: _scopeMapUpdateParametersPropertiesSerializer(item),
|
|
1800
|
-
};
|
|
1801
|
-
}
|
|
1802
|
-
export function scopeMapPropertiesUpdateParametersSerializer(item) {
|
|
1803
|
-
return {
|
|
1804
|
-
description: item["description"],
|
|
1805
|
-
actions: !item["actions"]
|
|
1806
|
-
? item["actions"]
|
|
1807
|
-
: item["actions"].map((p) => {
|
|
1808
|
-
return p;
|
|
1809
|
-
}),
|
|
1810
|
-
};
|
|
1811
|
-
}
|
|
1812
|
-
export function _scopeMapListResultDeserializer(item) {
|
|
1813
|
-
return {
|
|
1814
|
-
value: !item["value"] ? item["value"] : scopeMapArrayDeserializer(item["value"]),
|
|
1815
|
-
nextLink: item["nextLink"],
|
|
1816
|
-
};
|
|
1817
|
-
}
|
|
1818
|
-
export function scopeMapArraySerializer(result) {
|
|
1819
|
-
return result.map((item) => {
|
|
1820
|
-
return scopeMapSerializer(item);
|
|
1821
|
-
});
|
|
1822
|
-
}
|
|
1823
|
-
export function scopeMapArrayDeserializer(result) {
|
|
1824
|
-
return result.map((item) => {
|
|
1825
|
-
return scopeMapDeserializer(item);
|
|
1826
|
-
});
|
|
1827
|
-
}
|
|
1828
|
-
export function tokenSerializer(item) {
|
|
1829
|
-
return {
|
|
1830
|
-
properties: areAllPropsUndefined(item, ["scopeMapId", "credentials", "status"])
|
|
1831
|
-
? undefined
|
|
1832
|
-
: _tokenPropertiesSerializer(item),
|
|
1833
|
-
};
|
|
1834
|
-
}
|
|
1835
|
-
export function tokenDeserializer(item) {
|
|
1836
|
-
return {
|
|
1837
|
-
id: item["id"],
|
|
1838
|
-
name: item["name"],
|
|
1839
|
-
type: item["type"],
|
|
1840
|
-
systemData: !item["systemData"]
|
|
1841
|
-
? item["systemData"]
|
|
1842
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1843
|
-
...(!item["properties"]
|
|
1844
|
-
? item["properties"]
|
|
1845
|
-
: _tokenPropertiesDeserializer(item["properties"])),
|
|
1846
|
-
};
|
|
1847
|
-
}
|
|
1848
|
-
export function tokenPropertiesSerializer(item) {
|
|
1849
|
-
return {
|
|
1850
|
-
scopeMapId: item["scopeMapId"],
|
|
1851
|
-
credentials: !item["credentials"]
|
|
1852
|
-
? item["credentials"]
|
|
1853
|
-
: tokenCredentialsPropertiesSerializer(item["credentials"]),
|
|
1854
|
-
status: item["status"],
|
|
1855
|
-
};
|
|
1856
|
-
}
|
|
1857
|
-
export function tokenPropertiesDeserializer(item) {
|
|
1858
|
-
return {
|
|
1859
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
1860
|
-
provisioningState: item["provisioningState"],
|
|
1861
|
-
scopeMapId: item["scopeMapId"],
|
|
1862
|
-
credentials: !item["credentials"]
|
|
1863
|
-
? item["credentials"]
|
|
1864
|
-
: tokenCredentialsPropertiesDeserializer(item["credentials"]),
|
|
1865
|
-
status: item["status"],
|
|
1866
|
-
};
|
|
1867
|
-
}
|
|
1868
|
-
export function tokenCredentialsPropertiesSerializer(item) {
|
|
1869
|
-
return {
|
|
1870
|
-
certificates: !item["certificates"]
|
|
1871
|
-
? item["certificates"]
|
|
1872
|
-
: tokenCertificateArraySerializer(item["certificates"]),
|
|
1873
|
-
passwords: !item["passwords"]
|
|
1874
|
-
? item["passwords"]
|
|
1875
|
-
: tokenPasswordArraySerializer(item["passwords"]),
|
|
1876
|
-
};
|
|
1877
|
-
}
|
|
1878
|
-
export function tokenCredentialsPropertiesDeserializer(item) {
|
|
1879
|
-
return {
|
|
1880
|
-
certificates: !item["certificates"]
|
|
1881
|
-
? item["certificates"]
|
|
1882
|
-
: tokenCertificateArrayDeserializer(item["certificates"]),
|
|
1883
|
-
passwords: !item["passwords"]
|
|
1884
|
-
? item["passwords"]
|
|
1885
|
-
: tokenPasswordArrayDeserializer(item["passwords"]),
|
|
1886
|
-
};
|
|
1887
|
-
}
|
|
1888
|
-
export function tokenCertificateArraySerializer(result) {
|
|
1889
|
-
return result.map((item) => {
|
|
1890
|
-
return tokenCertificateSerializer(item);
|
|
1891
|
-
});
|
|
1892
|
-
}
|
|
1893
|
-
export function tokenCertificateArrayDeserializer(result) {
|
|
1894
|
-
return result.map((item) => {
|
|
1895
|
-
return tokenCertificateDeserializer(item);
|
|
1896
|
-
});
|
|
1897
|
-
}
|
|
1898
|
-
export function tokenCertificateSerializer(item) {
|
|
1899
|
-
return {
|
|
1900
|
-
name: item["name"],
|
|
1901
|
-
expiry: !item["expiry"] ? item["expiry"] : item["expiry"].toISOString(),
|
|
1902
|
-
thumbprint: item["thumbprint"],
|
|
1903
|
-
encodedPemCertificate: item["encodedPemCertificate"],
|
|
1904
|
-
};
|
|
1905
|
-
}
|
|
1906
|
-
export function tokenCertificateDeserializer(item) {
|
|
1907
|
-
return {
|
|
1908
|
-
name: item["name"],
|
|
1909
|
-
expiry: !item["expiry"] ? item["expiry"] : new Date(item["expiry"]),
|
|
1910
|
-
thumbprint: item["thumbprint"],
|
|
1911
|
-
encodedPemCertificate: item["encodedPemCertificate"],
|
|
1912
|
-
};
|
|
1913
|
-
}
|
|
1914
|
-
/** Known values of {@link TokenCertificateName} that the service accepts. */
|
|
1915
|
-
export var KnownTokenCertificateName;
|
|
1916
|
-
(function (KnownTokenCertificateName) {
|
|
1917
|
-
/** certificate1 */
|
|
1918
|
-
KnownTokenCertificateName["Certificate1"] = "certificate1";
|
|
1919
|
-
/** certificate2 */
|
|
1920
|
-
KnownTokenCertificateName["Certificate2"] = "certificate2";
|
|
1921
|
-
})(KnownTokenCertificateName || (KnownTokenCertificateName = {}));
|
|
1922
|
-
/** The status of the token example enabled or disabled. */
|
|
1923
|
-
export var KnownTokenStatus;
|
|
1924
|
-
(function (KnownTokenStatus) {
|
|
1925
|
-
/** enabled */
|
|
1926
|
-
KnownTokenStatus["Enabled"] = "enabled";
|
|
1927
|
-
/** disabled */
|
|
1928
|
-
KnownTokenStatus["Disabled"] = "disabled";
|
|
1929
|
-
})(KnownTokenStatus || (KnownTokenStatus = {}));
|
|
1930
|
-
export function tokenUpdateParametersSerializer(item) {
|
|
1931
|
-
return {
|
|
1932
|
-
properties: areAllPropsUndefined(item, ["scopeMapId", "status", "credentials"])
|
|
1933
|
-
? undefined
|
|
1934
|
-
: _tokenUpdateParametersPropertiesSerializer(item),
|
|
1935
|
-
};
|
|
1936
|
-
}
|
|
1937
|
-
export function tokenUpdatePropertiesSerializer(item) {
|
|
1938
|
-
return {
|
|
1939
|
-
scopeMapId: item["scopeMapId"],
|
|
1940
|
-
status: item["status"],
|
|
1941
|
-
credentials: !item["credentials"]
|
|
1942
|
-
? item["credentials"]
|
|
1943
|
-
: tokenCredentialsPropertiesSerializer(item["credentials"]),
|
|
1944
|
-
};
|
|
1945
|
-
}
|
|
1946
|
-
export function _tokenListResultDeserializer(item) {
|
|
1947
|
-
return {
|
|
1948
|
-
value: !item["value"] ? item["value"] : tokenArrayDeserializer(item["value"]),
|
|
1949
|
-
nextLink: item["nextLink"],
|
|
1950
|
-
};
|
|
1951
|
-
}
|
|
1952
|
-
export function tokenArraySerializer(result) {
|
|
1953
|
-
return result.map((item) => {
|
|
1954
|
-
return tokenSerializer(item);
|
|
1955
|
-
});
|
|
1956
|
-
}
|
|
1957
|
-
export function tokenArrayDeserializer(result) {
|
|
1958
|
-
return result.map((item) => {
|
|
1959
|
-
return tokenDeserializer(item);
|
|
1960
|
-
});
|
|
1961
|
-
}
|
|
1962
|
-
export function exportPipelineSerializer(item) {
|
|
1963
|
-
return {
|
|
1964
|
-
properties: areAllPropsUndefined(item, ["target", "options"])
|
|
1965
|
-
? undefined
|
|
1966
|
-
: _exportPipelinePropertiesSerializer(item),
|
|
1967
|
-
location: item["location"],
|
|
1968
|
-
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
1969
|
-
};
|
|
1970
|
-
}
|
|
1971
|
-
export function exportPipelineDeserializer(item) {
|
|
1972
|
-
return {
|
|
1973
|
-
id: item["id"],
|
|
1974
|
-
name: item["name"],
|
|
1975
|
-
type: item["type"],
|
|
1976
|
-
systemData: !item["systemData"]
|
|
1977
|
-
? item["systemData"]
|
|
1978
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1979
|
-
...(!item["properties"]
|
|
1980
|
-
? item["properties"]
|
|
1981
|
-
: _exportPipelinePropertiesDeserializer(item["properties"])),
|
|
1982
|
-
location: item["location"],
|
|
1983
|
-
identity: !item["identity"]
|
|
1984
|
-
? item["identity"]
|
|
1985
|
-
: identityPropertiesDeserializer(item["identity"]),
|
|
1986
|
-
};
|
|
1987
|
-
}
|
|
1988
|
-
export function exportPipelinePropertiesSerializer(item) {
|
|
1989
|
-
return {
|
|
1990
|
-
target: exportPipelineTargetPropertiesSerializer(item["target"]),
|
|
1991
|
-
options: !item["options"]
|
|
1992
|
-
? item["options"]
|
|
1993
|
-
: item["options"].map((p) => {
|
|
1994
|
-
return p;
|
|
1995
|
-
}),
|
|
1996
|
-
};
|
|
1997
|
-
}
|
|
1998
|
-
export function exportPipelinePropertiesDeserializer(item) {
|
|
1999
|
-
return {
|
|
2000
|
-
target: exportPipelineTargetPropertiesDeserializer(item["target"]),
|
|
2001
|
-
options: !item["options"]
|
|
2002
|
-
? item["options"]
|
|
2003
|
-
: item["options"].map((p) => {
|
|
2004
|
-
return p;
|
|
2005
|
-
}),
|
|
2006
|
-
provisioningState: item["provisioningState"],
|
|
2007
|
-
};
|
|
2008
|
-
}
|
|
2009
|
-
export function exportPipelineTargetPropertiesSerializer(item) {
|
|
2010
|
-
return {
|
|
2011
|
-
type: item["type"],
|
|
2012
|
-
uri: item["uri"],
|
|
2013
|
-
keyVaultUri: item["keyVaultUri"],
|
|
2014
|
-
storageAccessMode: item["storageAccessMode"],
|
|
2015
|
-
};
|
|
2016
|
-
}
|
|
2017
|
-
export function exportPipelineTargetPropertiesDeserializer(item) {
|
|
2018
|
-
return {
|
|
2019
|
-
type: item["type"],
|
|
2020
|
-
uri: item["uri"],
|
|
2021
|
-
keyVaultUri: item["keyVaultUri"],
|
|
2022
|
-
storageAccessMode: item["storageAccessMode"],
|
|
2023
|
-
};
|
|
2024
|
-
}
|
|
2025
|
-
/** The storage access mode used for the customer storage account. */
|
|
2026
|
-
export var KnownStorageAccessMode;
|
|
2027
|
-
(function (KnownStorageAccessMode) {
|
|
2028
|
-
/** Managed Identity access mode */
|
|
2029
|
-
KnownStorageAccessMode["ManagedIdentity"] = "ManagedIdentity";
|
|
2030
|
-
/** SAS Token access mode */
|
|
2031
|
-
KnownStorageAccessMode["SasToken"] = "SasToken";
|
|
2032
|
-
})(KnownStorageAccessMode || (KnownStorageAccessMode = {}));
|
|
2033
|
-
/** Known values of {@link PipelineOptions} that the service accepts. */
|
|
2034
|
-
export var KnownPipelineOptions;
|
|
2035
|
-
(function (KnownPipelineOptions) {
|
|
2036
|
-
/** OverwriteTags */
|
|
2037
|
-
KnownPipelineOptions["OverwriteTags"] = "OverwriteTags";
|
|
2038
|
-
/** OverwriteBlobs */
|
|
2039
|
-
KnownPipelineOptions["OverwriteBlobs"] = "OverwriteBlobs";
|
|
2040
|
-
/** DeleteSourceBlobOnSuccess */
|
|
2041
|
-
KnownPipelineOptions["DeleteSourceBlobOnSuccess"] = "DeleteSourceBlobOnSuccess";
|
|
2042
|
-
/** ContinueOnErrors */
|
|
2043
|
-
KnownPipelineOptions["ContinueOnErrors"] = "ContinueOnErrors";
|
|
2044
|
-
})(KnownPipelineOptions || (KnownPipelineOptions = {}));
|
|
2045
|
-
export function _exportPipelineListResultDeserializer(item) {
|
|
2046
|
-
return {
|
|
2047
|
-
value: !item["value"] ? item["value"] : exportPipelineArrayDeserializer(item["value"]),
|
|
2048
|
-
nextLink: item["nextLink"],
|
|
2049
|
-
};
|
|
2050
|
-
}
|
|
2051
|
-
export function exportPipelineArraySerializer(result) {
|
|
2052
|
-
return result.map((item) => {
|
|
2053
|
-
return exportPipelineSerializer(item);
|
|
2054
|
-
});
|
|
2055
|
-
}
|
|
2056
|
-
export function exportPipelineArrayDeserializer(result) {
|
|
2057
|
-
return result.map((item) => {
|
|
2058
|
-
return exportPipelineDeserializer(item);
|
|
2059
|
-
});
|
|
2060
|
-
}
|
|
2061
|
-
export function importPipelineSerializer(item) {
|
|
2062
|
-
return {
|
|
2063
|
-
properties: areAllPropsUndefined(item, ["source", "trigger", "options"])
|
|
2064
|
-
? undefined
|
|
2065
|
-
: _importPipelinePropertiesSerializer(item),
|
|
2066
|
-
location: item["location"],
|
|
2067
|
-
identity: !item["identity"] ? item["identity"] : identityPropertiesSerializer(item["identity"]),
|
|
2068
|
-
};
|
|
2069
|
-
}
|
|
2070
|
-
export function importPipelineDeserializer(item) {
|
|
2071
|
-
return {
|
|
2072
|
-
id: item["id"],
|
|
2073
|
-
name: item["name"],
|
|
2074
|
-
type: item["type"],
|
|
2075
|
-
systemData: !item["systemData"]
|
|
2076
|
-
? item["systemData"]
|
|
2077
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2078
|
-
...(!item["properties"]
|
|
2079
|
-
? item["properties"]
|
|
2080
|
-
: _importPipelinePropertiesDeserializer(item["properties"])),
|
|
2081
|
-
location: item["location"],
|
|
2082
|
-
identity: !item["identity"]
|
|
2083
|
-
? item["identity"]
|
|
2084
|
-
: identityPropertiesDeserializer(item["identity"]),
|
|
2085
|
-
};
|
|
2086
|
-
}
|
|
2087
|
-
export function importPipelinePropertiesSerializer(item) {
|
|
2088
|
-
return {
|
|
2089
|
-
source: importPipelineSourcePropertiesSerializer(item["source"]),
|
|
2090
|
-
trigger: !item["trigger"]
|
|
2091
|
-
? item["trigger"]
|
|
2092
|
-
: pipelineTriggerPropertiesSerializer(item["trigger"]),
|
|
2093
|
-
options: !item["options"]
|
|
2094
|
-
? item["options"]
|
|
2095
|
-
: item["options"].map((p) => {
|
|
2096
|
-
return p;
|
|
2097
|
-
}),
|
|
2098
|
-
};
|
|
2099
|
-
}
|
|
2100
|
-
export function importPipelinePropertiesDeserializer(item) {
|
|
2101
|
-
return {
|
|
2102
|
-
source: importPipelineSourcePropertiesDeserializer(item["source"]),
|
|
2103
|
-
trigger: !item["trigger"]
|
|
2104
|
-
? item["trigger"]
|
|
2105
|
-
: pipelineTriggerPropertiesDeserializer(item["trigger"]),
|
|
2106
|
-
options: !item["options"]
|
|
2107
|
-
? item["options"]
|
|
2108
|
-
: item["options"].map((p) => {
|
|
2109
|
-
return p;
|
|
2110
|
-
}),
|
|
2111
|
-
provisioningState: item["provisioningState"],
|
|
2112
|
-
};
|
|
2113
|
-
}
|
|
2114
|
-
export function importPipelineSourcePropertiesSerializer(item) {
|
|
2115
|
-
return {
|
|
2116
|
-
type: item["type"],
|
|
2117
|
-
uri: item["uri"],
|
|
2118
|
-
keyVaultUri: item["keyVaultUri"],
|
|
2119
|
-
storageAccessMode: item["storageAccessMode"],
|
|
2120
|
-
};
|
|
2121
|
-
}
|
|
2122
|
-
export function importPipelineSourcePropertiesDeserializer(item) {
|
|
2123
|
-
return {
|
|
2124
|
-
type: item["type"],
|
|
2125
|
-
uri: item["uri"],
|
|
2126
|
-
keyVaultUri: item["keyVaultUri"],
|
|
2127
|
-
storageAccessMode: item["storageAccessMode"],
|
|
2128
|
-
};
|
|
2129
|
-
}
|
|
2130
|
-
/** The type of source for the import pipeline. */
|
|
2131
|
-
export var KnownPipelineSourceType;
|
|
2132
|
-
(function (KnownPipelineSourceType) {
|
|
2133
|
-
/** AzureStorageBlobContainer */
|
|
2134
|
-
KnownPipelineSourceType["AzureStorageBlobContainer"] = "AzureStorageBlobContainer";
|
|
2135
|
-
})(KnownPipelineSourceType || (KnownPipelineSourceType = {}));
|
|
2136
|
-
export function pipelineTriggerPropertiesSerializer(item) {
|
|
2137
|
-
return {
|
|
2138
|
-
sourceTrigger: !item["sourceTrigger"]
|
|
2139
|
-
? item["sourceTrigger"]
|
|
2140
|
-
: pipelineSourceTriggerPropertiesSerializer(item["sourceTrigger"]),
|
|
2141
|
-
};
|
|
2142
|
-
}
|
|
2143
|
-
export function pipelineTriggerPropertiesDeserializer(item) {
|
|
2144
|
-
return {
|
|
2145
|
-
sourceTrigger: !item["sourceTrigger"]
|
|
2146
|
-
? item["sourceTrigger"]
|
|
2147
|
-
: pipelineSourceTriggerPropertiesDeserializer(item["sourceTrigger"]),
|
|
2148
|
-
};
|
|
2149
|
-
}
|
|
2150
|
-
export function pipelineSourceTriggerPropertiesSerializer(item) {
|
|
2151
|
-
return { status: item["status"] };
|
|
2152
|
-
}
|
|
2153
|
-
export function pipelineSourceTriggerPropertiesDeserializer(item) {
|
|
2154
|
-
return {
|
|
2155
|
-
status: item["status"],
|
|
2156
|
-
};
|
|
2157
|
-
}
|
|
2158
|
-
/** The current status of the source trigger. */
|
|
2159
|
-
export var KnownTriggerStatus;
|
|
2160
|
-
(function (KnownTriggerStatus) {
|
|
2161
|
-
/** Enabled */
|
|
2162
|
-
KnownTriggerStatus["Enabled"] = "Enabled";
|
|
2163
|
-
/** Disabled */
|
|
2164
|
-
KnownTriggerStatus["Disabled"] = "Disabled";
|
|
2165
|
-
})(KnownTriggerStatus || (KnownTriggerStatus = {}));
|
|
2166
|
-
export function _importPipelineListResultDeserializer(item) {
|
|
2167
|
-
return {
|
|
2168
|
-
value: !item["value"] ? item["value"] : importPipelineArrayDeserializer(item["value"]),
|
|
2169
|
-
nextLink: item["nextLink"],
|
|
2170
|
-
};
|
|
2171
|
-
}
|
|
2172
|
-
export function importPipelineArraySerializer(result) {
|
|
2173
|
-
return result.map((item) => {
|
|
2174
|
-
return importPipelineSerializer(item);
|
|
2175
|
-
});
|
|
2176
|
-
}
|
|
2177
|
-
export function importPipelineArrayDeserializer(result) {
|
|
2178
|
-
return result.map((item) => {
|
|
2179
|
-
return importPipelineDeserializer(item);
|
|
2180
|
-
});
|
|
2181
|
-
}
|
|
2182
|
-
export function pipelineRunSerializer(item) {
|
|
2183
|
-
return {
|
|
2184
|
-
properties: areAllPropsUndefined(item, ["request", "forceUpdateTag"])
|
|
2185
|
-
? undefined
|
|
2186
|
-
: _pipelineRunPropertiesSerializer(item),
|
|
2187
|
-
};
|
|
2188
|
-
}
|
|
2189
|
-
export function pipelineRunDeserializer(item) {
|
|
2190
|
-
return {
|
|
2191
|
-
id: item["id"],
|
|
2192
|
-
name: item["name"],
|
|
2193
|
-
type: item["type"],
|
|
2194
|
-
systemData: !item["systemData"]
|
|
2195
|
-
? item["systemData"]
|
|
2196
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2197
|
-
...(!item["properties"]
|
|
2198
|
-
? item["properties"]
|
|
2199
|
-
: _pipelineRunPropertiesDeserializer(item["properties"])),
|
|
2200
|
-
};
|
|
2201
|
-
}
|
|
2202
|
-
export function pipelineRunPropertiesSerializer(item) {
|
|
2203
|
-
return {
|
|
2204
|
-
request: !item["request"] ? item["request"] : pipelineRunRequestSerializer(item["request"]),
|
|
2205
|
-
forceUpdateTag: item["forceUpdateTag"],
|
|
2206
|
-
};
|
|
2207
|
-
}
|
|
2208
|
-
export function pipelineRunPropertiesDeserializer(item) {
|
|
2209
|
-
return {
|
|
2210
|
-
provisioningState: item["provisioningState"],
|
|
2211
|
-
request: !item["request"] ? item["request"] : pipelineRunRequestDeserializer(item["request"]),
|
|
2212
|
-
response: !item["response"]
|
|
2213
|
-
? item["response"]
|
|
2214
|
-
: pipelineRunResponseDeserializer(item["response"]),
|
|
2215
|
-
forceUpdateTag: item["forceUpdateTag"],
|
|
2216
|
-
};
|
|
2217
|
-
}
|
|
2218
|
-
export function pipelineRunRequestSerializer(item) {
|
|
2219
|
-
return {
|
|
2220
|
-
pipelineResourceId: item["pipelineResourceId"],
|
|
2221
|
-
artifacts: !item["artifacts"]
|
|
2222
|
-
? item["artifacts"]
|
|
2223
|
-
: item["artifacts"].map((p) => {
|
|
2224
|
-
return p;
|
|
2225
|
-
}),
|
|
2226
|
-
source: !item["source"]
|
|
2227
|
-
? item["source"]
|
|
2228
|
-
: pipelineRunSourcePropertiesSerializer(item["source"]),
|
|
2229
|
-
target: !item["target"]
|
|
2230
|
-
? item["target"]
|
|
2231
|
-
: pipelineRunTargetPropertiesSerializer(item["target"]),
|
|
2232
|
-
catalogDigest: item["catalogDigest"],
|
|
2233
|
-
};
|
|
2234
|
-
}
|
|
2235
|
-
export function pipelineRunRequestDeserializer(item) {
|
|
2236
|
-
return {
|
|
2237
|
-
pipelineResourceId: item["pipelineResourceId"],
|
|
2238
|
-
artifacts: !item["artifacts"]
|
|
2239
|
-
? item["artifacts"]
|
|
2240
|
-
: item["artifacts"].map((p) => {
|
|
2241
|
-
return p;
|
|
2242
|
-
}),
|
|
2243
|
-
source: !item["source"]
|
|
2244
|
-
? item["source"]
|
|
2245
|
-
: pipelineRunSourcePropertiesDeserializer(item["source"]),
|
|
2246
|
-
target: !item["target"]
|
|
2247
|
-
? item["target"]
|
|
2248
|
-
: pipelineRunTargetPropertiesDeserializer(item["target"]),
|
|
2249
|
-
catalogDigest: item["catalogDigest"],
|
|
2250
|
-
};
|
|
2251
|
-
}
|
|
2252
|
-
export function pipelineRunSourcePropertiesSerializer(item) {
|
|
2253
|
-
return { type: item["type"], name: item["name"] };
|
|
2254
|
-
}
|
|
2255
|
-
export function pipelineRunSourcePropertiesDeserializer(item) {
|
|
2256
|
-
return {
|
|
2257
|
-
type: item["type"],
|
|
2258
|
-
name: item["name"],
|
|
2259
|
-
};
|
|
2260
|
-
}
|
|
2261
|
-
/** The type of the source. */
|
|
2262
|
-
export var KnownPipelineRunSourceType;
|
|
2263
|
-
(function (KnownPipelineRunSourceType) {
|
|
2264
|
-
/** AzureStorageBlob */
|
|
2265
|
-
KnownPipelineRunSourceType["AzureStorageBlob"] = "AzureStorageBlob";
|
|
2266
|
-
})(KnownPipelineRunSourceType || (KnownPipelineRunSourceType = {}));
|
|
2267
|
-
export function pipelineRunTargetPropertiesSerializer(item) {
|
|
2268
|
-
return { type: item["type"], name: item["name"] };
|
|
2269
|
-
}
|
|
2270
|
-
export function pipelineRunTargetPropertiesDeserializer(item) {
|
|
2271
|
-
return {
|
|
2272
|
-
type: item["type"],
|
|
2273
|
-
name: item["name"],
|
|
2274
|
-
};
|
|
2275
|
-
}
|
|
2276
|
-
/** The type of the target. */
|
|
2277
|
-
export var KnownPipelineRunTargetType;
|
|
2278
|
-
(function (KnownPipelineRunTargetType) {
|
|
2279
|
-
/** AzureStorageBlob */
|
|
2280
|
-
KnownPipelineRunTargetType["AzureStorageBlob"] = "AzureStorageBlob";
|
|
2281
|
-
})(KnownPipelineRunTargetType || (KnownPipelineRunTargetType = {}));
|
|
2282
|
-
export function pipelineRunResponseDeserializer(item) {
|
|
2283
|
-
return {
|
|
2284
|
-
status: item["status"],
|
|
2285
|
-
importedArtifacts: !item["importedArtifacts"]
|
|
2286
|
-
? item["importedArtifacts"]
|
|
2287
|
-
: item["importedArtifacts"].map((p) => {
|
|
2288
|
-
return p;
|
|
2289
|
-
}),
|
|
2290
|
-
progress: !item["progress"]
|
|
2291
|
-
? item["progress"]
|
|
2292
|
-
: progressPropertiesDeserializer(item["progress"]),
|
|
2293
|
-
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
2294
|
-
finishTime: !item["finishTime"] ? item["finishTime"] : new Date(item["finishTime"]),
|
|
2295
|
-
source: !item["source"]
|
|
2296
|
-
? item["source"]
|
|
2297
|
-
: importPipelineSourcePropertiesDeserializer(item["source"]),
|
|
2298
|
-
target: !item["target"]
|
|
2299
|
-
? item["target"]
|
|
2300
|
-
: exportPipelineTargetPropertiesDeserializer(item["target"]),
|
|
2301
|
-
catalogDigest: item["catalogDigest"],
|
|
2302
|
-
trigger: !item["trigger"]
|
|
2303
|
-
? item["trigger"]
|
|
2304
|
-
: pipelineTriggerDescriptorDeserializer(item["trigger"]),
|
|
2305
|
-
pipelineRunErrorMessage: item["pipelineRunErrorMessage"],
|
|
2306
|
-
};
|
|
2307
|
-
}
|
|
2308
|
-
export function progressPropertiesDeserializer(item) {
|
|
2309
|
-
return {
|
|
2310
|
-
percentage: item["percentage"],
|
|
2311
|
-
};
|
|
2312
|
-
}
|
|
2313
|
-
export function pipelineTriggerDescriptorDeserializer(item) {
|
|
2314
|
-
return {
|
|
2315
|
-
sourceTrigger: !item["sourceTrigger"]
|
|
2316
|
-
? item["sourceTrigger"]
|
|
2317
|
-
: pipelineSourceTriggerDescriptorDeserializer(item["sourceTrigger"]),
|
|
2318
|
-
};
|
|
2319
|
-
}
|
|
2320
|
-
export function pipelineSourceTriggerDescriptorDeserializer(item) {
|
|
2321
|
-
return {
|
|
2322
|
-
timestamp: !item["timestamp"] ? item["timestamp"] : new Date(item["timestamp"]),
|
|
2323
|
-
};
|
|
2324
|
-
}
|
|
2325
|
-
export function _pipelineRunListResultDeserializer(item) {
|
|
2326
|
-
return {
|
|
2327
|
-
value: !item["value"] ? item["value"] : pipelineRunArrayDeserializer(item["value"]),
|
|
2328
|
-
nextLink: item["nextLink"],
|
|
2329
|
-
};
|
|
2330
|
-
}
|
|
2331
|
-
export function pipelineRunArraySerializer(result) {
|
|
2332
|
-
return result.map((item) => {
|
|
2333
|
-
return pipelineRunSerializer(item);
|
|
2334
|
-
});
|
|
2335
|
-
}
|
|
2336
|
-
export function pipelineRunArrayDeserializer(result) {
|
|
2337
|
-
return result.map((item) => {
|
|
2338
|
-
return pipelineRunDeserializer(item);
|
|
2339
|
-
});
|
|
2340
|
-
}
|
|
2341
|
-
export function webhookDeserializer(item) {
|
|
2342
|
-
return {
|
|
2343
|
-
tags: !item["tags"]
|
|
2344
|
-
? item["tags"]
|
|
2345
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2346
|
-
location: item["location"],
|
|
2347
|
-
id: item["id"],
|
|
2348
|
-
name: item["name"],
|
|
2349
|
-
type: item["type"],
|
|
2350
|
-
systemData: !item["systemData"]
|
|
2351
|
-
? item["systemData"]
|
|
2352
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2353
|
-
...(!item["properties"]
|
|
2354
|
-
? item["properties"]
|
|
2355
|
-
: _webhookPropertiesDeserializer(item["properties"])),
|
|
2356
|
-
};
|
|
2357
|
-
}
|
|
2358
|
-
export function webhookPropertiesDeserializer(item) {
|
|
2359
|
-
return {
|
|
2360
|
-
status: item["status"],
|
|
2361
|
-
scope: item["scope"],
|
|
2362
|
-
actions: item["actions"].map((p) => {
|
|
2363
|
-
return p;
|
|
2364
|
-
}),
|
|
2365
|
-
provisioningState: item["provisioningState"],
|
|
2366
|
-
};
|
|
2367
|
-
}
|
|
2368
|
-
/** The status of the webhook at the time the operation was called. */
|
|
2369
|
-
export var KnownWebhookStatus;
|
|
2370
|
-
(function (KnownWebhookStatus) {
|
|
2371
|
-
/** enabled */
|
|
2372
|
-
KnownWebhookStatus["Enabled"] = "enabled";
|
|
2373
|
-
/** disabled */
|
|
2374
|
-
KnownWebhookStatus["Disabled"] = "disabled";
|
|
2375
|
-
})(KnownWebhookStatus || (KnownWebhookStatus = {}));
|
|
2376
|
-
/** Known values of {@link WebhookAction} that the service accepts. */
|
|
2377
|
-
export var KnownWebhookAction;
|
|
2378
|
-
(function (KnownWebhookAction) {
|
|
2379
|
-
/** push */
|
|
2380
|
-
KnownWebhookAction["Push"] = "push";
|
|
2381
|
-
/** delete */
|
|
2382
|
-
KnownWebhookAction["Delete"] = "delete";
|
|
2383
|
-
/** quarantine */
|
|
2384
|
-
KnownWebhookAction["Quarantine"] = "quarantine";
|
|
2385
|
-
/** chart_push */
|
|
2386
|
-
KnownWebhookAction["ChartPush"] = "chart_push";
|
|
2387
|
-
/** chart_delete */
|
|
2388
|
-
KnownWebhookAction["ChartDelete"] = "chart_delete";
|
|
2389
|
-
})(KnownWebhookAction || (KnownWebhookAction = {}));
|
|
2390
|
-
export function webhookCreateParametersSerializer(item) {
|
|
2391
|
-
return {
|
|
2392
|
-
tags: item["tags"],
|
|
2393
|
-
location: item["location"],
|
|
2394
|
-
properties: areAllPropsUndefined(item, [
|
|
2395
|
-
"serviceUri",
|
|
2396
|
-
"customHeaders",
|
|
2397
|
-
"status",
|
|
2398
|
-
"scope",
|
|
2399
|
-
"actions",
|
|
2400
|
-
])
|
|
2401
|
-
? undefined
|
|
2402
|
-
: _webhookCreateParametersPropertiesSerializer(item),
|
|
2403
|
-
};
|
|
2404
|
-
}
|
|
2405
|
-
export function webhookPropertiesCreateParametersSerializer(item) {
|
|
2406
|
-
return {
|
|
2407
|
-
serviceUri: item["serviceUri"],
|
|
2408
|
-
customHeaders: item["customHeaders"],
|
|
2409
|
-
status: item["status"],
|
|
2410
|
-
scope: item["scope"],
|
|
2411
|
-
actions: item["actions"].map((p) => {
|
|
2412
|
-
return p;
|
|
2413
|
-
}),
|
|
2414
|
-
};
|
|
2415
|
-
}
|
|
2416
|
-
export function webhookUpdateParametersSerializer(item) {
|
|
2417
|
-
return {
|
|
2418
|
-
tags: item["tags"],
|
|
2419
|
-
properties: areAllPropsUndefined(item, [
|
|
2420
|
-
"serviceUri",
|
|
2421
|
-
"customHeaders",
|
|
2422
|
-
"status",
|
|
2423
|
-
"scope",
|
|
2424
|
-
"actions",
|
|
2425
|
-
])
|
|
2426
|
-
? undefined
|
|
2427
|
-
: _webhookUpdateParametersPropertiesSerializer(item),
|
|
2428
|
-
};
|
|
2429
|
-
}
|
|
2430
|
-
export function webhookPropertiesUpdateParametersSerializer(item) {
|
|
2431
|
-
return {
|
|
2432
|
-
serviceUri: item["serviceUri"],
|
|
2433
|
-
customHeaders: item["customHeaders"],
|
|
2434
|
-
status: item["status"],
|
|
2435
|
-
scope: item["scope"],
|
|
2436
|
-
actions: !item["actions"]
|
|
2437
|
-
? item["actions"]
|
|
2438
|
-
: item["actions"].map((p) => {
|
|
2439
|
-
return p;
|
|
2440
|
-
}),
|
|
2441
|
-
};
|
|
2442
|
-
}
|
|
2443
|
-
export function _webhookListResultDeserializer(item) {
|
|
2444
|
-
return {
|
|
2445
|
-
value: !item["value"] ? item["value"] : webhookArrayDeserializer(item["value"]),
|
|
2446
|
-
nextLink: item["nextLink"],
|
|
2447
|
-
};
|
|
2448
|
-
}
|
|
2449
|
-
export function webhookArrayDeserializer(result) {
|
|
2450
|
-
return result.map((item) => {
|
|
2451
|
-
return webhookDeserializer(item);
|
|
2452
|
-
});
|
|
2453
|
-
}
|
|
2454
|
-
export function eventInfoDeserializer(item) {
|
|
2455
|
-
return {
|
|
2456
|
-
id: item["id"],
|
|
2457
|
-
};
|
|
2458
|
-
}
|
|
2459
|
-
export function _eventListResultDeserializer(item) {
|
|
2460
|
-
return {
|
|
2461
|
-
value: !item["value"] ? item["value"] : eventArrayDeserializer(item["value"]),
|
|
2462
|
-
nextLink: item["nextLink"],
|
|
2463
|
-
};
|
|
2464
|
-
}
|
|
2465
|
-
export function eventArrayDeserializer(result) {
|
|
2466
|
-
return result.map((item) => {
|
|
2467
|
-
return eventDeserializer(item);
|
|
2468
|
-
});
|
|
2469
|
-
}
|
|
2470
|
-
export function eventDeserializer(item) {
|
|
2471
|
-
return {
|
|
2472
|
-
id: item["id"],
|
|
2473
|
-
eventRequestMessage: !item["eventRequestMessage"]
|
|
2474
|
-
? item["eventRequestMessage"]
|
|
2475
|
-
: eventRequestMessageDeserializer(item["eventRequestMessage"]),
|
|
2476
|
-
eventResponseMessage: !item["eventResponseMessage"]
|
|
2477
|
-
? item["eventResponseMessage"]
|
|
2478
|
-
: eventResponseMessageDeserializer(item["eventResponseMessage"]),
|
|
2479
|
-
};
|
|
2480
|
-
}
|
|
2481
|
-
export function eventRequestMessageDeserializer(item) {
|
|
2482
|
-
return {
|
|
2483
|
-
content: !item["content"] ? item["content"] : eventContentDeserializer(item["content"]),
|
|
2484
|
-
headers: !item["headers"]
|
|
2485
|
-
? item["headers"]
|
|
2486
|
-
: Object.fromEntries(Object.entries(item["headers"]).map(([k, p]) => [k, p])),
|
|
2487
|
-
method: item["method"],
|
|
2488
|
-
requestUri: item["requestUri"],
|
|
2489
|
-
version: item["version"],
|
|
2490
|
-
};
|
|
2491
|
-
}
|
|
2492
|
-
export function eventContentDeserializer(item) {
|
|
2493
|
-
return {
|
|
2494
|
-
id: item["id"],
|
|
2495
|
-
timestamp: !item["timestamp"] ? item["timestamp"] : new Date(item["timestamp"]),
|
|
2496
|
-
action: item["action"],
|
|
2497
|
-
target: !item["target"] ? item["target"] : targetDeserializer(item["target"]),
|
|
2498
|
-
request: !item["request"] ? item["request"] : requestDeserializer(item["request"]),
|
|
2499
|
-
actor: !item["actor"] ? item["actor"] : actorDeserializer(item["actor"]),
|
|
2500
|
-
source: !item["source"] ? item["source"] : sourceDeserializer(item["source"]),
|
|
2501
|
-
};
|
|
2502
|
-
}
|
|
2503
|
-
export function targetDeserializer(item) {
|
|
2504
|
-
return {
|
|
2505
|
-
mediaType: item["mediaType"],
|
|
2506
|
-
size: item["size"],
|
|
2507
|
-
digest: item["digest"],
|
|
2508
|
-
length: item["length"],
|
|
2509
|
-
repository: item["repository"],
|
|
2510
|
-
url: item["url"],
|
|
2511
|
-
tag: item["tag"],
|
|
2512
|
-
name: item["name"],
|
|
2513
|
-
version: item["version"],
|
|
2514
|
-
};
|
|
2515
|
-
}
|
|
2516
|
-
export function requestDeserializer(item) {
|
|
2517
|
-
return {
|
|
2518
|
-
id: item["id"],
|
|
2519
|
-
addr: item["addr"],
|
|
2520
|
-
host: item["host"],
|
|
2521
|
-
method: item["method"],
|
|
2522
|
-
useragent: item["useragent"],
|
|
2523
|
-
};
|
|
2524
|
-
}
|
|
2525
|
-
export function actorDeserializer(item) {
|
|
2526
|
-
return {
|
|
2527
|
-
name: item["name"],
|
|
2528
|
-
};
|
|
2529
|
-
}
|
|
2530
|
-
export function sourceDeserializer(item) {
|
|
2531
|
-
return {
|
|
2532
|
-
addr: item["addr"],
|
|
2533
|
-
instanceID: item["instanceID"],
|
|
2534
|
-
};
|
|
2535
|
-
}
|
|
2536
|
-
export function eventResponseMessageDeserializer(item) {
|
|
2537
|
-
return {
|
|
2538
|
-
content: item["content"],
|
|
2539
|
-
headers: !item["headers"]
|
|
2540
|
-
? item["headers"]
|
|
2541
|
-
: Object.fromEntries(Object.entries(item["headers"]).map(([k, p]) => [k, p])),
|
|
2542
|
-
reasonPhrase: item["reasonPhrase"],
|
|
2543
|
-
statusCode: item["statusCode"],
|
|
2544
|
-
version: item["version"],
|
|
2545
|
-
};
|
|
2546
|
-
}
|
|
2547
|
-
export function callbackConfigDeserializer(item) {
|
|
2548
|
-
return {
|
|
2549
|
-
serviceUri: item["serviceUri"],
|
|
2550
|
-
customHeaders: !item["customHeaders"]
|
|
2551
|
-
? item["customHeaders"]
|
|
2552
|
-
: Object.fromEntries(Object.entries(item["customHeaders"]).map(([k, p]) => [k, p])),
|
|
2553
|
-
};
|
|
2554
|
-
}
|
|
2555
|
-
/** The available API versions. */
|
|
2556
|
-
export var KnownVersions;
|
|
2557
|
-
(function (KnownVersions) {
|
|
2558
|
-
/** The 2025-11-01 API version. */
|
|
2559
|
-
KnownVersions["V20251101"] = "2025-11-01";
|
|
2560
|
-
/** The latest preview API version. */
|
|
2561
|
-
KnownVersions["VLatestPreview"] = "2026-01-01-preview";
|
|
2562
|
-
})(KnownVersions || (KnownVersions = {}));
|
|
2563
|
-
export function _operationDefinitionPropertiesDeserializer(item) {
|
|
2564
|
-
return {
|
|
2565
|
-
serviceSpecification: !item["serviceSpecification"]
|
|
2566
|
-
? item["serviceSpecification"]
|
|
2567
|
-
: operationServiceSpecificationDefinitionDeserializer(item["serviceSpecification"]),
|
|
2568
|
-
};
|
|
2569
|
-
}
|
|
2570
|
-
export function _privateEndpointConnectionPropertiesSerializer(item) {
|
|
2571
|
-
return {
|
|
2572
|
-
privateEndpoint: !item["privateEndpoint"]
|
|
2573
|
-
? item["privateEndpoint"]
|
|
2574
|
-
: privateEndpointSerializer(item["privateEndpoint"]),
|
|
2575
|
-
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
2576
|
-
? item["privateLinkServiceConnectionState"]
|
|
2577
|
-
: privateLinkServiceConnectionStateSerializer(item["privateLinkServiceConnectionState"]),
|
|
2578
|
-
};
|
|
2579
|
-
}
|
|
2580
|
-
export function _privateEndpointConnectionPropertiesDeserializer(item) {
|
|
2581
|
-
return {
|
|
2582
|
-
privateEndpoint: !item["privateEndpoint"]
|
|
2583
|
-
? item["privateEndpoint"]
|
|
2584
|
-
: privateEndpointDeserializer(item["privateEndpoint"]),
|
|
2585
|
-
privateLinkServiceConnectionState: !item["privateLinkServiceConnectionState"]
|
|
2586
|
-
? item["privateLinkServiceConnectionState"]
|
|
2587
|
-
: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
|
|
2588
|
-
provisioningState: item["provisioningState"],
|
|
2589
|
-
};
|
|
2590
|
-
}
|
|
2591
|
-
export function _registryPropertiesSerializer(item) {
|
|
2592
|
-
return {
|
|
2593
|
-
adminUserEnabled: item["adminUserEnabled"],
|
|
2594
|
-
networkRuleSet: !item["networkRuleSet"]
|
|
2595
|
-
? item["networkRuleSet"]
|
|
2596
|
-
: networkRuleSetSerializer(item["networkRuleSet"]),
|
|
2597
|
-
policies: !item["policies"] ? item["policies"] : policiesSerializer(item["policies"]),
|
|
2598
|
-
encryption: !item["encryption"]
|
|
2599
|
-
? item["encryption"]
|
|
2600
|
-
: encryptionPropertySerializer(item["encryption"]),
|
|
2601
|
-
dataEndpointEnabled: item["dataEndpointEnabled"],
|
|
2602
|
-
regionalEndpoints: item["regionalEndpoints"],
|
|
2603
|
-
endpointProtocol: item["endpointProtocol"],
|
|
2604
|
-
publicNetworkAccess: item["publicNetworkAccess"],
|
|
2605
|
-
networkRuleBypassOptions: item["networkRuleBypassOptions"],
|
|
2606
|
-
networkRuleBypassAllowedForTasks: item["networkRuleBypassAllowedForTasks"],
|
|
2607
|
-
zoneRedundancy: item["zoneRedundancy"],
|
|
2608
|
-
anonymousPullEnabled: item["anonymousPullEnabled"],
|
|
2609
|
-
metadataSearch: item["metadataSearch"],
|
|
2610
|
-
autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
|
|
2611
|
-
roleAssignmentMode: item["roleAssignmentMode"],
|
|
2612
|
-
};
|
|
2613
|
-
}
|
|
2614
|
-
export function _registryPropertiesDeserializer(item) {
|
|
2615
|
-
return {
|
|
2616
|
-
loginServer: item["loginServer"],
|
|
2617
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
2618
|
-
provisioningState: item["provisioningState"],
|
|
2619
|
-
status: !item["status"] ? item["status"] : statusDeserializer(item["status"]),
|
|
2620
|
-
adminUserEnabled: item["adminUserEnabled"],
|
|
2621
|
-
networkRuleSet: !item["networkRuleSet"]
|
|
2622
|
-
? item["networkRuleSet"]
|
|
2623
|
-
: networkRuleSetDeserializer(item["networkRuleSet"]),
|
|
2624
|
-
policies: !item["policies"] ? item["policies"] : policiesDeserializer(item["policies"]),
|
|
2625
|
-
encryption: !item["encryption"]
|
|
2626
|
-
? item["encryption"]
|
|
2627
|
-
: encryptionPropertyDeserializer(item["encryption"]),
|
|
2628
|
-
dataEndpointEnabled: item["dataEndpointEnabled"],
|
|
2629
|
-
dataEndpointHostNames: !item["dataEndpointHostNames"]
|
|
2630
|
-
? item["dataEndpointHostNames"]
|
|
2631
|
-
: item["dataEndpointHostNames"].map((p) => {
|
|
2632
|
-
return p;
|
|
2633
|
-
}),
|
|
2634
|
-
regionalEndpoints: item["regionalEndpoints"],
|
|
2635
|
-
regionalEndpointHostNames: !item["regionalEndpointHostNames"]
|
|
2636
|
-
? item["regionalEndpointHostNames"]
|
|
2637
|
-
: item["regionalEndpointHostNames"].map((p) => {
|
|
2638
|
-
return p;
|
|
2639
|
-
}),
|
|
2640
|
-
endpointProtocol: item["endpointProtocol"],
|
|
2641
|
-
privateEndpointConnections: !item["privateEndpointConnections"]
|
|
2642
|
-
? item["privateEndpointConnections"]
|
|
2643
|
-
: privateEndpointConnectionArrayDeserializer(item["privateEndpointConnections"]),
|
|
2644
|
-
publicNetworkAccess: item["publicNetworkAccess"],
|
|
2645
|
-
networkRuleBypassOptions: item["networkRuleBypassOptions"],
|
|
2646
|
-
networkRuleBypassAllowedForTasks: item["networkRuleBypassAllowedForTasks"],
|
|
2647
|
-
zoneRedundancy: item["zoneRedundancy"],
|
|
2648
|
-
anonymousPullEnabled: item["anonymousPullEnabled"],
|
|
2649
|
-
metadataSearch: item["metadataSearch"],
|
|
2650
|
-
autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
|
|
2651
|
-
roleAssignmentMode: item["roleAssignmentMode"],
|
|
2652
|
-
};
|
|
2653
|
-
}
|
|
2654
|
-
export function _registryUpdateParametersPropertiesSerializer(item) {
|
|
2655
|
-
return {
|
|
2656
|
-
adminUserEnabled: item["adminUserEnabled"],
|
|
2657
|
-
networkRuleSet: !item["networkRuleSet"]
|
|
2658
|
-
? item["networkRuleSet"]
|
|
2659
|
-
: networkRuleSetSerializer(item["networkRuleSet"]),
|
|
2660
|
-
policies: !item["policies"] ? item["policies"] : policiesSerializer(item["policies"]),
|
|
2661
|
-
encryption: !item["encryption"]
|
|
2662
|
-
? item["encryption"]
|
|
2663
|
-
: encryptionPropertySerializer(item["encryption"]),
|
|
2664
|
-
dataEndpointEnabled: item["dataEndpointEnabled"],
|
|
2665
|
-
regionalEndpoints: item["regionalEndpoints"],
|
|
2666
|
-
endpointProtocol: item["endpointProtocol"],
|
|
2667
|
-
publicNetworkAccess: item["publicNetworkAccess"],
|
|
2668
|
-
networkRuleBypassOptions: item["networkRuleBypassOptions"],
|
|
2669
|
-
networkRuleBypassAllowedForTasks: item["networkRuleBypassAllowedForTasks"],
|
|
2670
|
-
anonymousPullEnabled: item["anonymousPullEnabled"],
|
|
2671
|
-
metadataSearch: item["metadataSearch"],
|
|
2672
|
-
roleAssignmentMode: item["roleAssignmentMode"],
|
|
2673
|
-
};
|
|
2674
|
-
}
|
|
2675
|
-
export function _archivePropertiesSerializer(item) {
|
|
2676
|
-
return {
|
|
2677
|
-
packageSource: !item["packageSource"]
|
|
2678
|
-
? item["packageSource"]
|
|
2679
|
-
: archivePackageSourcePropertiesSerializer(item["packageSource"]),
|
|
2680
|
-
publishedVersion: item["publishedVersion"],
|
|
2681
|
-
repositoryEndpointPrefix: item["repositoryEndpointPrefix"],
|
|
2682
|
-
};
|
|
2683
|
-
}
|
|
2684
|
-
export function _archivePropertiesDeserializer(item) {
|
|
2685
|
-
return {
|
|
2686
|
-
packageSource: !item["packageSource"]
|
|
2687
|
-
? item["packageSource"]
|
|
2688
|
-
: archivePackageSourcePropertiesDeserializer(item["packageSource"]),
|
|
2689
|
-
publishedVersion: item["publishedVersion"],
|
|
2690
|
-
repositoryEndpointPrefix: item["repositoryEndpointPrefix"],
|
|
2691
|
-
repositoryEndpoint: item["repositoryEndpoint"],
|
|
2692
|
-
provisioningState: item["provisioningState"],
|
|
2693
|
-
};
|
|
2694
|
-
}
|
|
2695
|
-
export function _archiveUpdateParametersPropertiesSerializer(item) {
|
|
2696
|
-
return { publishedVersion: item["publishedVersion"] };
|
|
2697
|
-
}
|
|
2698
|
-
export function _archiveVersionPropertiesDeserializer(item) {
|
|
2699
|
-
return {
|
|
2700
|
-
provisioningState: item["provisioningState"],
|
|
2701
|
-
archiveVersionErrorMessage: item["archiveVersionErrorMessage"],
|
|
2702
|
-
};
|
|
2703
|
-
}
|
|
2704
|
-
export function _cacheRulePropertiesSerializer(item) {
|
|
2705
|
-
return {
|
|
2706
|
-
credentialSetResourceId: item["credentialSetResourceId"],
|
|
2707
|
-
sourceRepository: item["sourceRepository"],
|
|
2708
|
-
targetRepository: item["targetRepository"],
|
|
2709
|
-
};
|
|
2710
|
-
}
|
|
2711
|
-
export function _cacheRulePropertiesDeserializer(item) {
|
|
2712
|
-
return {
|
|
2713
|
-
credentialSetResourceId: item["credentialSetResourceId"],
|
|
2714
|
-
sourceRepository: item["sourceRepository"],
|
|
2715
|
-
targetRepository: item["targetRepository"],
|
|
2716
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
2717
|
-
provisioningState: item["provisioningState"],
|
|
2718
|
-
};
|
|
2719
|
-
}
|
|
2720
|
-
export function _cacheRuleUpdateParametersPropertiesSerializer(item) {
|
|
2721
|
-
return { credentialSetResourceId: item["credentialSetResourceId"] };
|
|
2722
|
-
}
|
|
2723
|
-
export function _credentialSetPropertiesSerializer(item) {
|
|
2724
|
-
return {
|
|
2725
|
-
loginServer: item["loginServer"],
|
|
2726
|
-
authCredentials: !item["authCredentials"]
|
|
2727
|
-
? item["authCredentials"]
|
|
2728
|
-
: authCredentialArraySerializer(item["authCredentials"]),
|
|
2729
|
-
};
|
|
2730
|
-
}
|
|
2731
|
-
export function _credentialSetPropertiesDeserializer(item) {
|
|
2732
|
-
return {
|
|
2733
|
-
loginServer: item["loginServer"],
|
|
2734
|
-
authCredentials: !item["authCredentials"]
|
|
2735
|
-
? item["authCredentials"]
|
|
2736
|
-
: authCredentialArrayDeserializer(item["authCredentials"]),
|
|
2737
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
2738
|
-
provisioningState: item["provisioningState"],
|
|
2739
|
-
};
|
|
2740
|
-
}
|
|
2741
|
-
export function _credentialSetUpdateParametersPropertiesSerializer(item) {
|
|
2742
|
-
return {
|
|
2743
|
-
authCredentials: !item["authCredentials"]
|
|
2744
|
-
? item["authCredentials"]
|
|
2745
|
-
: authCredentialArraySerializer(item["authCredentials"]),
|
|
2746
|
-
};
|
|
2747
|
-
}
|
|
2748
|
-
export function _connectedRegistryPropertiesSerializer(item) {
|
|
2749
|
-
return {
|
|
2750
|
-
mode: item["mode"],
|
|
2751
|
-
parent: !item["parent"] ? item["parent"] : parentPropertiesSerializer(item["parent"]),
|
|
2752
|
-
clientTokenIds: !item["clientTokenIds"]
|
|
2753
|
-
? item["clientTokenIds"]
|
|
2754
|
-
: item["clientTokenIds"].map((p) => {
|
|
2755
|
-
return p;
|
|
2756
|
-
}),
|
|
2757
|
-
loginServer: !item["loginServer"]
|
|
2758
|
-
? item["loginServer"]
|
|
2759
|
-
: loginServerPropertiesSerializer(item["loginServer"]),
|
|
2760
|
-
logging: !item["logging"] ? item["logging"] : loggingPropertiesSerializer(item["logging"]),
|
|
2761
|
-
notificationsList: !item["notificationsList"]
|
|
2762
|
-
? item["notificationsList"]
|
|
2763
|
-
: item["notificationsList"].map((p) => {
|
|
2764
|
-
return p;
|
|
2765
|
-
}),
|
|
2766
|
-
garbageCollection: !item["garbageCollection"]
|
|
2767
|
-
? item["garbageCollection"]
|
|
2768
|
-
: garbageCollectionPropertiesSerializer(item["garbageCollection"]),
|
|
2769
|
-
registrySyncResult: !item["registrySyncResult"]
|
|
2770
|
-
? item["registrySyncResult"]
|
|
2771
|
-
: registrySyncResultSerializer(item["registrySyncResult"]),
|
|
2772
|
-
};
|
|
2773
|
-
}
|
|
2774
|
-
export function _connectedRegistryPropertiesDeserializer(item) {
|
|
2775
|
-
return {
|
|
2776
|
-
provisioningState: item["provisioningState"],
|
|
2777
|
-
mode: item["mode"],
|
|
2778
|
-
version: item["version"],
|
|
2779
|
-
connectionState: item["connectionState"],
|
|
2780
|
-
lastActivityTime: !item["lastActivityTime"]
|
|
2781
|
-
? item["lastActivityTime"]
|
|
2782
|
-
: new Date(item["lastActivityTime"]),
|
|
2783
|
-
activation: !item["activation"]
|
|
2784
|
-
? item["activation"]
|
|
2785
|
-
: activationPropertiesDeserializer(item["activation"]),
|
|
2786
|
-
parent: !item["parent"] ? item["parent"] : parentPropertiesDeserializer(item["parent"]),
|
|
2787
|
-
clientTokenIds: !item["clientTokenIds"]
|
|
2788
|
-
? item["clientTokenIds"]
|
|
2789
|
-
: item["clientTokenIds"].map((p) => {
|
|
2790
|
-
return p;
|
|
2791
|
-
}),
|
|
2792
|
-
loginServer: !item["loginServer"]
|
|
2793
|
-
? item["loginServer"]
|
|
2794
|
-
: loginServerPropertiesDeserializer(item["loginServer"]),
|
|
2795
|
-
logging: !item["logging"] ? item["logging"] : loggingPropertiesDeserializer(item["logging"]),
|
|
2796
|
-
statusDetails: !item["statusDetails"]
|
|
2797
|
-
? item["statusDetails"]
|
|
2798
|
-
: statusDetailPropertiesArrayDeserializer(item["statusDetails"]),
|
|
2799
|
-
notificationsList: !item["notificationsList"]
|
|
2800
|
-
? item["notificationsList"]
|
|
2801
|
-
: item["notificationsList"].map((p) => {
|
|
2802
|
-
return p;
|
|
2803
|
-
}),
|
|
2804
|
-
garbageCollection: !item["garbageCollection"]
|
|
2805
|
-
? item["garbageCollection"]
|
|
2806
|
-
: garbageCollectionPropertiesDeserializer(item["garbageCollection"]),
|
|
2807
|
-
registrySyncResult: !item["registrySyncResult"]
|
|
2808
|
-
? item["registrySyncResult"]
|
|
2809
|
-
: registrySyncResultDeserializer(item["registrySyncResult"]),
|
|
2810
|
-
};
|
|
2811
|
-
}
|
|
2812
|
-
export function _connectedRegistryUpdateParametersPropertiesSerializer(item) {
|
|
2813
|
-
return {
|
|
2814
|
-
syncProperties: !item["syncProperties"]
|
|
2815
|
-
? item["syncProperties"]
|
|
2816
|
-
: syncUpdatePropertiesSerializer(item["syncProperties"]),
|
|
2817
|
-
logging: !item["logging"] ? item["logging"] : loggingPropertiesSerializer(item["logging"]),
|
|
2818
|
-
clientTokenIds: !item["clientTokenIds"]
|
|
2819
|
-
? item["clientTokenIds"]
|
|
2820
|
-
: item["clientTokenIds"].map((p) => {
|
|
2821
|
-
return p;
|
|
2822
|
-
}),
|
|
2823
|
-
notificationsList: !item["notificationsList"]
|
|
2824
|
-
? item["notificationsList"]
|
|
2825
|
-
: item["notificationsList"].map((p) => {
|
|
2826
|
-
return p;
|
|
2827
|
-
}),
|
|
2828
|
-
garbageCollection: !item["garbageCollection"]
|
|
2829
|
-
? item["garbageCollection"]
|
|
2830
|
-
: garbageCollectionPropertiesSerializer(item["garbageCollection"]),
|
|
2831
|
-
};
|
|
2832
|
-
}
|
|
2833
|
-
export function _replicationPropertiesSerializer(item) {
|
|
2834
|
-
return {
|
|
2835
|
-
regionEndpointEnabled: item["regionEndpointEnabled"],
|
|
2836
|
-
zoneRedundancy: item["zoneRedundancy"],
|
|
2837
|
-
};
|
|
2838
|
-
}
|
|
2839
|
-
export function _replicationPropertiesDeserializer(item) {
|
|
2840
|
-
return {
|
|
2841
|
-
provisioningState: item["provisioningState"],
|
|
2842
|
-
status: !item["status"] ? item["status"] : statusDeserializer(item["status"]),
|
|
2843
|
-
regionEndpointEnabled: item["regionEndpointEnabled"],
|
|
2844
|
-
zoneRedundancy: item["zoneRedundancy"],
|
|
2845
|
-
};
|
|
2846
|
-
}
|
|
2847
|
-
export function _replicationUpdateParametersPropertiesSerializer(item) {
|
|
2848
|
-
return { regionEndpointEnabled: item["regionEndpointEnabled"] };
|
|
2849
|
-
}
|
|
2850
|
-
export function _scopeMapPropertiesSerializer(item) {
|
|
2851
|
-
return {
|
|
2852
|
-
description: item["description"],
|
|
2853
|
-
actions: !item["actions"]
|
|
2854
|
-
? item["actions"]
|
|
2855
|
-
: item["actions"].map((p) => {
|
|
2856
|
-
return p;
|
|
2857
|
-
}),
|
|
2858
|
-
};
|
|
2859
|
-
}
|
|
2860
|
-
export function _scopeMapPropertiesDeserializer(item) {
|
|
2861
|
-
return {
|
|
2862
|
-
description: item["description"],
|
|
2863
|
-
typePropertiesType: item["type"],
|
|
2864
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
2865
|
-
provisioningState: item["provisioningState"],
|
|
2866
|
-
actions: !item["actions"]
|
|
2867
|
-
? item["actions"]
|
|
2868
|
-
: item["actions"].map((p) => {
|
|
2869
|
-
return p;
|
|
2870
|
-
}),
|
|
2871
|
-
};
|
|
2872
|
-
}
|
|
2873
|
-
export function _scopeMapUpdateParametersPropertiesSerializer(item) {
|
|
2874
|
-
return {
|
|
2875
|
-
description: item["description"],
|
|
2876
|
-
actions: !item["actions"]
|
|
2877
|
-
? item["actions"]
|
|
2878
|
-
: item["actions"].map((p) => {
|
|
2879
|
-
return p;
|
|
2880
|
-
}),
|
|
2881
|
-
};
|
|
2882
|
-
}
|
|
2883
|
-
export function _tokenPropertiesSerializer(item) {
|
|
2884
|
-
return {
|
|
2885
|
-
scopeMapId: item["scopeMapId"],
|
|
2886
|
-
credentials: !item["credentials"]
|
|
2887
|
-
? item["credentials"]
|
|
2888
|
-
: tokenCredentialsPropertiesSerializer(item["credentials"]),
|
|
2889
|
-
status: item["status"],
|
|
2890
|
-
};
|
|
2891
|
-
}
|
|
2892
|
-
export function _tokenPropertiesDeserializer(item) {
|
|
2893
|
-
return {
|
|
2894
|
-
creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
|
|
2895
|
-
provisioningState: item["provisioningState"],
|
|
2896
|
-
scopeMapId: item["scopeMapId"],
|
|
2897
|
-
credentials: !item["credentials"]
|
|
2898
|
-
? item["credentials"]
|
|
2899
|
-
: tokenCredentialsPropertiesDeserializer(item["credentials"]),
|
|
2900
|
-
status: item["status"],
|
|
2901
|
-
};
|
|
2902
|
-
}
|
|
2903
|
-
export function _tokenUpdateParametersPropertiesSerializer(item) {
|
|
2904
|
-
return {
|
|
2905
|
-
scopeMapId: item["scopeMapId"],
|
|
2906
|
-
status: item["status"],
|
|
2907
|
-
credentials: !item["credentials"]
|
|
2908
|
-
? item["credentials"]
|
|
2909
|
-
: tokenCredentialsPropertiesSerializer(item["credentials"]),
|
|
2910
|
-
};
|
|
2911
|
-
}
|
|
2912
|
-
export function _exportPipelinePropertiesSerializer(item) {
|
|
2913
|
-
return {
|
|
2914
|
-
target: !item["target"]
|
|
2915
|
-
? item["target"]
|
|
2916
|
-
: exportPipelineTargetPropertiesSerializer(item["target"]),
|
|
2917
|
-
options: !item["options"]
|
|
2918
|
-
? item["options"]
|
|
2919
|
-
: item["options"].map((p) => {
|
|
2920
|
-
return p;
|
|
2921
|
-
}),
|
|
2922
|
-
};
|
|
2923
|
-
}
|
|
2924
|
-
export function _exportPipelinePropertiesDeserializer(item) {
|
|
2925
|
-
return {
|
|
2926
|
-
target: !item["target"]
|
|
2927
|
-
? item["target"]
|
|
2928
|
-
: exportPipelineTargetPropertiesDeserializer(item["target"]),
|
|
2929
|
-
options: !item["options"]
|
|
2930
|
-
? item["options"]
|
|
2931
|
-
: item["options"].map((p) => {
|
|
2932
|
-
return p;
|
|
2933
|
-
}),
|
|
2934
|
-
provisioningState: item["provisioningState"],
|
|
2935
|
-
};
|
|
2936
|
-
}
|
|
2937
|
-
export function _importPipelinePropertiesSerializer(item) {
|
|
2938
|
-
return {
|
|
2939
|
-
source: !item["source"]
|
|
2940
|
-
? item["source"]
|
|
2941
|
-
: importPipelineSourcePropertiesSerializer(item["source"]),
|
|
2942
|
-
trigger: !item["trigger"]
|
|
2943
|
-
? item["trigger"]
|
|
2944
|
-
: pipelineTriggerPropertiesSerializer(item["trigger"]),
|
|
2945
|
-
options: !item["options"]
|
|
2946
|
-
? item["options"]
|
|
2947
|
-
: item["options"].map((p) => {
|
|
2948
|
-
return p;
|
|
2949
|
-
}),
|
|
2950
|
-
};
|
|
2951
|
-
}
|
|
2952
|
-
export function _importPipelinePropertiesDeserializer(item) {
|
|
2953
|
-
return {
|
|
2954
|
-
source: !item["source"]
|
|
2955
|
-
? item["source"]
|
|
2956
|
-
: importPipelineSourcePropertiesDeserializer(item["source"]),
|
|
2957
|
-
trigger: !item["trigger"]
|
|
2958
|
-
? item["trigger"]
|
|
2959
|
-
: pipelineTriggerPropertiesDeserializer(item["trigger"]),
|
|
2960
|
-
options: !item["options"]
|
|
2961
|
-
? item["options"]
|
|
2962
|
-
: item["options"].map((p) => {
|
|
2963
|
-
return p;
|
|
2964
|
-
}),
|
|
2965
|
-
provisioningState: item["provisioningState"],
|
|
2966
|
-
};
|
|
2967
|
-
}
|
|
2968
|
-
export function _pipelineRunPropertiesSerializer(item) {
|
|
2969
|
-
return {
|
|
2970
|
-
request: !item["request"] ? item["request"] : pipelineRunRequestSerializer(item["request"]),
|
|
2971
|
-
forceUpdateTag: item["forceUpdateTag"],
|
|
2972
|
-
};
|
|
2973
|
-
}
|
|
2974
|
-
export function _pipelineRunPropertiesDeserializer(item) {
|
|
2975
|
-
return {
|
|
2976
|
-
provisioningState: item["provisioningState"],
|
|
2977
|
-
request: !item["request"] ? item["request"] : pipelineRunRequestDeserializer(item["request"]),
|
|
2978
|
-
response: !item["response"]
|
|
2979
|
-
? item["response"]
|
|
2980
|
-
: pipelineRunResponseDeserializer(item["response"]),
|
|
2981
|
-
forceUpdateTag: item["forceUpdateTag"],
|
|
2982
|
-
};
|
|
2983
|
-
}
|
|
2984
|
-
export function _webhookPropertiesDeserializer(item) {
|
|
2985
|
-
return {
|
|
2986
|
-
status: item["status"],
|
|
2987
|
-
scope: item["scope"],
|
|
2988
|
-
actions: !item["actions"]
|
|
2989
|
-
? item["actions"]
|
|
2990
|
-
: item["actions"].map((p) => {
|
|
2991
|
-
return p;
|
|
2992
|
-
}),
|
|
2993
|
-
provisioningState: item["provisioningState"],
|
|
2994
|
-
};
|
|
2995
|
-
}
|
|
2996
|
-
export function _webhookCreateParametersPropertiesSerializer(item) {
|
|
2997
|
-
return {
|
|
2998
|
-
serviceUri: item["serviceUri"],
|
|
2999
|
-
customHeaders: item["customHeaders"],
|
|
3000
|
-
status: item["status"],
|
|
3001
|
-
scope: item["scope"],
|
|
3002
|
-
actions: !item["actions"]
|
|
3003
|
-
? item["actions"]
|
|
3004
|
-
: item["actions"].map((p) => {
|
|
3005
|
-
return p;
|
|
3006
|
-
}),
|
|
3007
|
-
};
|
|
3008
|
-
}
|
|
3009
|
-
export function _webhookUpdateParametersPropertiesSerializer(item) {
|
|
3010
|
-
return {
|
|
3011
|
-
serviceUri: item["serviceUri"],
|
|
3012
|
-
customHeaders: item["customHeaders"],
|
|
3013
|
-
status: item["status"],
|
|
3014
|
-
scope: item["scope"],
|
|
3015
|
-
actions: !item["actions"]
|
|
3016
|
-
? item["actions"]
|
|
3017
|
-
: item["actions"].map((p) => {
|
|
3018
|
-
return p;
|
|
3019
|
-
}),
|
|
3020
|
-
};
|
|
3021
|
-
}
|
|
3022
|
-
//# sourceMappingURL=models.js.map
|