@azure/arm-automation 10.1.0 → 11.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +80 -83
- package/dist/index.js +17879 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/automationClient.d.ts +70 -0
- package/dist-esm/src/automationClient.d.ts.map +1 -0
- package/dist-esm/src/automationClient.js +155 -0
- package/dist-esm/src/automationClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +4393 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +412 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +184 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +6683 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +106 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +811 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/activityOperations.d.ts +50 -0
- package/dist-esm/src/operations/activityOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/activityOperations.js +188 -0
- package/dist-esm/src/operations/activityOperations.js.map +1 -0
- package/dist-esm/src/operations/agentRegistrationInformation.d.ts +28 -0
- package/dist-esm/src/operations/agentRegistrationInformation.d.ts.map +1 -0
- package/dist-esm/src/operations/agentRegistrationInformation.js +86 -0
- package/dist-esm/src/operations/agentRegistrationInformation.js.map +1 -0
- package/dist-esm/src/operations/automationAccountOperations.d.ts +83 -0
- package/dist-esm/src/operations/automationAccountOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/automationAccountOperations.js +359 -0
- package/dist-esm/src/operations/automationAccountOperations.js.map +1 -0
- package/dist-esm/src/operations/certificateOperations.d.ts +73 -0
- package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/certificateOperations.js +285 -0
- package/dist-esm/src/operations/certificateOperations.js.map +1 -0
- package/dist-esm/src/operations/connectionOperations.d.ts +73 -0
- package/dist-esm/src/operations/connectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/connectionOperations.js +286 -0
- package/dist-esm/src/operations/connectionOperations.js.map +1 -0
- package/dist-esm/src/operations/connectionTypeOperations.d.ts +64 -0
- package/dist-esm/src/operations/connectionTypeOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/connectionTypeOperations.js +242 -0
- package/dist-esm/src/operations/connectionTypeOperations.js.map +1 -0
- package/dist-esm/src/operations/credentialOperations.d.ts +73 -0
- package/dist-esm/src/operations/credentialOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/credentialOperations.js +279 -0
- package/dist-esm/src/operations/credentialOperations.js.map +1 -0
- package/dist-esm/src/operations/deletedAutomationAccounts.d.ts +18 -0
- package/dist-esm/src/operations/deletedAutomationAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/deletedAutomationAccounts.js +46 -0
- package/dist-esm/src/operations/deletedAutomationAccounts.js.map +1 -0
- package/dist-esm/src/operations/dscCompilationJobOperations.d.ts +75 -0
- package/dist-esm/src/operations/dscCompilationJobOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dscCompilationJobOperations.js +300 -0
- package/dist-esm/src/operations/dscCompilationJobOperations.js.map +1 -0
- package/dist-esm/src/operations/dscCompilationJobStream.d.ts +21 -0
- package/dist-esm/src/operations/dscCompilationJobStream.d.ts.map +1 -0
- package/dist-esm/src/operations/dscCompilationJobStream.js +55 -0
- package/dist-esm/src/operations/dscCompilationJobStream.js.map +1 -0
- package/dist-esm/src/operations/dscConfigurationOperations.d.ts +101 -0
- package/dist-esm/src/operations/dscConfigurationOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dscConfigurationOperations.js +427 -0
- package/dist-esm/src/operations/dscConfigurationOperations.js.map +1 -0
- package/dist-esm/src/operations/dscNodeConfigurationOperations.d.ts +74 -0
- package/dist-esm/src/operations/dscNodeConfigurationOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dscNodeConfigurationOperations.js +310 -0
- package/dist-esm/src/operations/dscNodeConfigurationOperations.js.map +1 -0
- package/dist-esm/src/operations/dscNodeOperations.d.ts +64 -0
- package/dist-esm/src/operations/dscNodeOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dscNodeOperations.js +253 -0
- package/dist-esm/src/operations/dscNodeOperations.js.map +1 -0
- package/dist-esm/src/operations/fields.d.ts +34 -0
- package/dist-esm/src/operations/fields.d.ts.map +1 -0
- package/dist-esm/src/operations/fields.js +111 -0
- package/dist-esm/src/operations/fields.js.map +1 -0
- package/dist-esm/src/operations/hybridRunbookWorkerGroupOperations.d.ts +74 -0
- package/dist-esm/src/operations/hybridRunbookWorkerGroupOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/hybridRunbookWorkerGroupOperations.js +293 -0
- package/dist-esm/src/operations/hybridRunbookWorkerGroupOperations.js.map +1 -0
- package/dist-esm/src/operations/hybridRunbookWorkers.d.ts +81 -0
- package/dist-esm/src/operations/hybridRunbookWorkers.d.ts.map +1 -0
- package/dist-esm/src/operations/hybridRunbookWorkers.js +320 -0
- package/dist-esm/src/operations/hybridRunbookWorkers.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +46 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +53 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/jobOperations.d.ts +96 -0
- package/dist-esm/src/operations/jobOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/jobOperations.js +365 -0
- package/dist-esm/src/operations/jobOperations.js.map +1 -0
- package/dist-esm/src/operations/jobScheduleOperations.d.ts +64 -0
- package/dist-esm/src/operations/jobScheduleOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/jobScheduleOperations.js +241 -0
- package/dist-esm/src/operations/jobScheduleOperations.js.map +1 -0
- package/dist-esm/src/operations/jobStreamOperations.d.ts +50 -0
- package/dist-esm/src/operations/jobStreamOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/jobStreamOperations.js +182 -0
- package/dist-esm/src/operations/jobStreamOperations.js.map +1 -0
- package/dist-esm/src/operations/keys.d.ts +20 -0
- package/dist-esm/src/operations/keys.d.ts.map +1 -0
- package/dist-esm/src/operations/keys.js +53 -0
- package/dist-esm/src/operations/keys.js.map +1 -0
- package/dist-esm/src/operations/linkedWorkspaceOperations.d.ts +20 -0
- package/dist-esm/src/operations/linkedWorkspaceOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/linkedWorkspaceOperations.js +53 -0
- package/dist-esm/src/operations/linkedWorkspaceOperations.js.map +1 -0
- package/dist-esm/src/operations/moduleOperations.d.ts +73 -0
- package/dist-esm/src/operations/moduleOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/moduleOperations.js +285 -0
- package/dist-esm/src/operations/moduleOperations.js.map +1 -0
- package/dist-esm/src/operations/nodeCountInformation.d.ts +21 -0
- package/dist-esm/src/operations/nodeCountInformation.d.ts.map +1 -0
- package/dist-esm/src/operations/nodeCountInformation.js +55 -0
- package/dist-esm/src/operations/nodeCountInformation.js.map +1 -0
- package/dist-esm/src/operations/nodeReports.d.ts +59 -0
- package/dist-esm/src/operations/nodeReports.d.ts.map +1 -0
- package/dist-esm/src/operations/nodeReports.js +212 -0
- package/dist-esm/src/operations/nodeReports.js.map +1 -0
- package/dist-esm/src/operations/objectDataTypes.d.ts +52 -0
- package/dist-esm/src/operations/objectDataTypes.d.ts.map +1 -0
- package/dist-esm/src/operations/objectDataTypes.js +188 -0
- package/dist-esm/src/operations/objectDataTypes.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +307 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +30 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +96 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/python2Package.d.ts +73 -0
- package/dist-esm/src/operations/python2Package.d.ts.map +1 -0
- package/dist-esm/src/operations/python2Package.js +285 -0
- package/dist-esm/src/operations/python2Package.js.map +1 -0
- package/dist-esm/src/operations/runbookDraftOperations.d.ts +56 -0
- package/dist-esm/src/operations/runbookDraftOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/runbookDraftOperations.js +214 -0
- package/dist-esm/src/operations/runbookDraftOperations.js.map +1 -0
- package/dist-esm/src/operations/runbookOperations.d.ts +99 -0
- package/dist-esm/src/operations/runbookOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/runbookOperations.js +403 -0
- package/dist-esm/src/operations/runbookOperations.js.map +1 -0
- package/dist-esm/src/operations/scheduleOperations.d.ts +73 -0
- package/dist-esm/src/operations/scheduleOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/scheduleOperations.js +286 -0
- package/dist-esm/src/operations/scheduleOperations.js.map +1 -0
- package/dist-esm/src/operations/softwareUpdateConfigurationMachineRuns.d.ts +29 -0
- package/dist-esm/src/operations/softwareUpdateConfigurationMachineRuns.d.ts.map +1 -0
- package/dist-esm/src/operations/softwareUpdateConfigurationMachineRuns.js +96 -0
- package/dist-esm/src/operations/softwareUpdateConfigurationMachineRuns.js.map +1 -0
- package/dist-esm/src/operations/softwareUpdateConfigurationRuns.d.ts +28 -0
- package/dist-esm/src/operations/softwareUpdateConfigurationRuns.d.ts.map +1 -0
- package/dist-esm/src/operations/softwareUpdateConfigurationRuns.js +95 -0
- package/dist-esm/src/operations/softwareUpdateConfigurationRuns.js.map +1 -0
- package/dist-esm/src/operations/softwareUpdateConfigurations.d.ts +45 -0
- package/dist-esm/src/operations/softwareUpdateConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/softwareUpdateConfigurations.js +174 -0
- package/dist-esm/src/operations/softwareUpdateConfigurations.js.map +1 -0
- package/dist-esm/src/operations/sourceControlOperations.d.ts +73 -0
- package/dist-esm/src/operations/sourceControlOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/sourceControlOperations.js +285 -0
- package/dist-esm/src/operations/sourceControlOperations.js.map +1 -0
- package/dist-esm/src/operations/sourceControlSyncJobOperations.d.ts +61 -0
- package/dist-esm/src/operations/sourceControlSyncJobOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/sourceControlSyncJobOperations.js +233 -0
- package/dist-esm/src/operations/sourceControlSyncJobOperations.js.map +1 -0
- package/dist-esm/src/operations/sourceControlSyncJobStreams.d.ts +54 -0
- package/dist-esm/src/operations/sourceControlSyncJobStreams.d.ts.map +1 -0
- package/dist-esm/src/operations/sourceControlSyncJobStreams.js +203 -0
- package/dist-esm/src/operations/sourceControlSyncJobStreams.js.map +1 -0
- package/dist-esm/src/operations/statisticsOperations.d.ts +30 -0
- package/dist-esm/src/operations/statisticsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/statisticsOperations.js +99 -0
- package/dist-esm/src/operations/statisticsOperations.js.map +1 -0
- package/dist-esm/src/operations/testJobOperations.d.ts +54 -0
- package/dist-esm/src/operations/testJobOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/testJobOperations.js +186 -0
- package/dist-esm/src/operations/testJobOperations.js.map +1 -0
- package/dist-esm/src/operations/testJobStreams.d.ts +50 -0
- package/dist-esm/src/operations/testJobStreams.d.ts.map +1 -0
- package/dist-esm/src/operations/testJobStreams.js +188 -0
- package/dist-esm/src/operations/testJobStreams.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +30 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +99 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operations/variableOperations.d.ts +73 -0
- package/dist-esm/src/operations/variableOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/variableOperations.js +285 -0
- package/dist-esm/src/operations/variableOperations.js.map +1 -0
- package/dist-esm/src/operations/watcherOperations.d.ts +89 -0
- package/dist-esm/src/operations/watcherOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/watcherOperations.js +345 -0
- package/dist-esm/src/operations/watcherOperations.js.map +1 -0
- package/dist-esm/src/operations/webhookOperations.d.ts +80 -0
- package/dist-esm/src/operations/webhookOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/webhookOperations.js +315 -0
- package/dist-esm/src/operations/webhookOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/activityOperations.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/activityOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/activityOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/activityOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/agentRegistrationInformation.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/agentRegistrationInformation.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/agentRegistrationInformation.js +9 -0
- package/dist-esm/src/operationsInterfaces/agentRegistrationInformation.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/automationAccountOperations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/automationAccountOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/automationAccountOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/automationAccountOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/certificateOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/certificateOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectionOperations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/connectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectionOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectionOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectionTypeOperations.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/connectionTypeOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectionTypeOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectionTypeOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/credentialOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/credentialOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/credentialOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedAutomationAccounts.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/deletedAutomationAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedAutomationAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/deletedAutomationAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscCompilationJobOperations.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/dscCompilationJobOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscCompilationJobOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dscCompilationJobOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscCompilationJobStream.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/dscCompilationJobStream.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscCompilationJobStream.js +9 -0
- package/dist-esm/src/operationsInterfaces/dscCompilationJobStream.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscConfigurationOperations.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/dscConfigurationOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscConfigurationOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dscConfigurationOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscNodeConfigurationOperations.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/dscNodeConfigurationOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscNodeConfigurationOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dscNodeConfigurationOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscNodeOperations.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/dscNodeOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dscNodeOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dscNodeOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fields.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/fields.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fields.js +9 -0
- package/dist-esm/src/operationsInterfaces/fields.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hybridRunbookWorkerGroupOperations.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/hybridRunbookWorkerGroupOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hybridRunbookWorkerGroupOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/hybridRunbookWorkerGroupOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hybridRunbookWorkers.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/hybridRunbookWorkers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hybridRunbookWorkers.js +9 -0
- package/dist-esm/src/operationsInterfaces/hybridRunbookWorkers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +53 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobOperations.d.ts +70 -0
- package/dist-esm/src/operationsInterfaces/jobOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/jobOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobScheduleOperations.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/jobScheduleOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobScheduleOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/jobScheduleOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobStreamOperations.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/jobStreamOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobStreamOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/jobStreamOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/keys.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/keys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/keys.js +9 -0
- package/dist-esm/src/operationsInterfaces/keys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedWorkspaceOperations.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/linkedWorkspaceOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedWorkspaceOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/linkedWorkspaceOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/moduleOperations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/moduleOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/moduleOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/moduleOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/nodeCountInformation.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/nodeCountInformation.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/nodeCountInformation.js +9 -0
- package/dist-esm/src/operationsInterfaces/nodeCountInformation.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/nodeReports.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/nodeReports.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/nodeReports.js +9 -0
- package/dist-esm/src/operationsInterfaces/nodeReports.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/objectDataTypes.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/objectDataTypes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/objectDataTypes.js +9 -0
- package/dist-esm/src/operationsInterfaces/objectDataTypes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/python2Package.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/python2Package.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/python2Package.js +9 -0
- package/dist-esm/src/operationsInterfaces/python2Package.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/runbookDraftOperations.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/runbookDraftOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/runbookDraftOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/runbookDraftOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/runbookOperations.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/runbookOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/runbookOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/runbookOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scheduleOperations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/scheduleOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scheduleOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/scheduleOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurationMachineRuns.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurationMachineRuns.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurationMachineRuns.js +9 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurationMachineRuns.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurationRuns.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurationRuns.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurationRuns.js +9 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurationRuns.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurations.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/softwareUpdateConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlSyncJobOperations.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/sourceControlSyncJobOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlSyncJobOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/sourceControlSyncJobOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlSyncJobStreams.d.ts +25 -0
- package/dist-esm/src/operationsInterfaces/sourceControlSyncJobStreams.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlSyncJobStreams.js +9 -0
- package/dist-esm/src/operationsInterfaces/sourceControlSyncJobStreams.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/statisticsOperations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/statisticsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/statisticsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/statisticsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/testJobOperations.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/testJobOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/testJobOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/testJobOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/testJobStreams.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/testJobStreams.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/testJobStreams.js +9 -0
- package/dist-esm/src/operationsInterfaces/testJobStreams.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/variableOperations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/variableOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/variableOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/variableOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/watcherOperations.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/watcherOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/watcherOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/watcherOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webhookOperations.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/webhookOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webhookOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/webhookOperations.js.map +1 -0
- package/dist-esm/test/automation_examples.d.ts +4 -0
- package/dist-esm/test/automation_examples.d.ts.map +1 -0
- package/dist-esm/test/automation_examples.js +137 -0
- package/dist-esm/test/automation_examples.js.map +1 -0
- package/package.json +78 -24
- package/review/arm-automation.api.md +3783 -0
- package/rollup.config.js +115 -30
- package/src/automationClient.ts +342 -114
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +4131 -6860
- package/src/models/mappers.ts +3993 -3782
- package/src/models/parameters.ts +645 -183
- package/src/operations/activityOperations.ts +173 -118
- package/src/operations/agentRegistrationInformation.ts +64 -100
- package/src/operations/automationAccountOperations.ts +285 -317
- package/src/operations/certificateOperations.ts +234 -253
- package/src/operations/connectionOperations.ts +235 -256
- package/src/operations/connectionTypeOperations.ts +209 -216
- package/src/operations/credentialOperations.ts +234 -259
- package/src/operations/deletedAutomationAccounts.ts +64 -0
- package/src/operations/dscCompilationJobOperations.ts +308 -220
- package/src/operations/dscCompilationJobStream.ts +41 -58
- package/src/operations/dscConfigurationOperations.ts +444 -293
- package/src/operations/dscNodeConfigurationOperations.ts +294 -201
- package/src/operations/dscNodeOperations.ts +221 -216
- package/src/operations/fields.ts +115 -49
- package/src/operations/hybridRunbookWorkerGroupOperations.ts +256 -192
- package/src/operations/hybridRunbookWorkers.ts +436 -0
- package/src/operations/index.ts +24 -22
- package/src/operations/jobOperations.ts +298 -393
- package/src/operations/jobScheduleOperations.ts +208 -210
- package/src/operations/jobStreamOperations.ts +174 -129
- package/src/operations/keys.ts +39 -54
- package/src/operations/linkedWorkspaceOperations.ts +40 -54
- package/src/operations/moduleOperations.ts +234 -253
- package/src/operations/nodeCountInformation.ts +43 -55
- package/src/operations/nodeReports.ts +198 -179
- package/src/operations/objectDataTypes.ts +201 -85
- package/src/operations/operations.ts +66 -42
- package/src/operations/privateEndpointConnections.ts +437 -0
- package/src/operations/privateLinkResources.ts +132 -0
- package/src/operations/python2Package.ts +234 -253
- package/src/operations/runbookDraftOperations.ts +193 -195
- package/src/operations/runbookOperations.ts +360 -338
- package/src/operations/scheduleOperations.ts +235 -254
- package/src/operations/softwareUpdateConfigurationMachineRuns.ts +69 -98
- package/src/operations/softwareUpdateConfigurationRuns.ts +67 -94
- package/src/operations/softwareUpdateConfigurations.ts +110 -179
- package/src/operations/sourceControlOperations.ts +235 -255
- package/src/operations/sourceControlSyncJobOperations.ts +202 -165
- package/src/operations/sourceControlSyncJobStreams.ts +191 -120
- package/src/operations/statisticsOperations.ts +98 -51
- package/src/operations/testJobOperations.ts +130 -222
- package/src/operations/testJobStreams.ts +172 -118
- package/src/operations/usages.ts +98 -50
- package/src/operations/variableOperations.ts +235 -254
- package/src/operations/watcherOperations.ts +278 -337
- package/src/operations/webhookOperations.ts +257 -298
- package/src/operationsInterfaces/activityOperations.ts +48 -0
- package/src/operationsInterfaces/agentRegistrationInformation.ts +43 -0
- package/src/operationsInterfaces/automationAccountOperations.ts +92 -0
- package/src/operationsInterfaces/certificateOperations.ts +94 -0
- package/src/operationsInterfaces/connectionOperations.ts +94 -0
- package/src/operationsInterfaces/connectionTypeOperations.ts +76 -0
- package/src/operationsInterfaces/credentialOperations.ts +94 -0
- package/src/operationsInterfaces/deletedAutomationAccounts.ts +23 -0
- package/src/operationsInterfaces/dscCompilationJobOperations.ts +100 -0
- package/src/operationsInterfaces/dscCompilationJobStream.ts +29 -0
- package/src/operationsInterfaces/dscConfigurationOperations.ts +124 -0
- package/src/operationsInterfaces/dscNodeConfigurationOperations.ts +91 -0
- package/src/operationsInterfaces/dscNodeOperations.ts +76 -0
- package/src/operationsInterfaces/fields.ts +30 -0
- package/src/operationsInterfaces/hybridRunbookWorkerGroupOperations.ts +94 -0
- package/src/operationsInterfaces/hybridRunbookWorkers.ts +104 -0
- package/src/operationsInterfaces/index.ts +53 -0
- package/src/operationsInterfaces/jobOperations.ts +134 -0
- package/src/operationsInterfaces/jobScheduleOperations.ts +76 -0
- package/src/operationsInterfaces/jobStreamOperations.ts +48 -0
- package/src/operationsInterfaces/keys.ts +27 -0
- package/src/operationsInterfaces/linkedWorkspaceOperations.ts +27 -0
- package/src/operationsInterfaces/moduleOperations.ts +94 -0
- package/src/operationsInterfaces/nodeCountInformation.ts +30 -0
- package/src/operationsInterfaces/nodeReports.ts +65 -0
- package/src/operationsInterfaces/objectDataTypes.ts +47 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/privateLinkResources.ts +29 -0
- package/src/operationsInterfaces/python2Package.ts +94 -0
- package/src/operationsInterfaces/runbookDraftOperations.ts +97 -0
- package/src/operationsInterfaces/runbookOperations.ts +144 -0
- package/src/operationsInterfaces/scheduleOperations.ts +94 -0
- package/src/operationsInterfaces/softwareUpdateConfigurationMachineRuns.ts +43 -0
- package/src/operationsInterfaces/softwareUpdateConfigurationRuns.ts +42 -0
- package/src/operationsInterfaces/softwareUpdateConfigurations.ts +74 -0
- package/src/operationsInterfaces/sourceControlOperations.ts +94 -0
- package/src/operationsInterfaces/sourceControlSyncJobOperations.ts +68 -0
- package/src/operationsInterfaces/sourceControlSyncJobStreams.ts +52 -0
- package/src/operationsInterfaces/statisticsOperations.ts +29 -0
- package/src/operationsInterfaces/testJobOperations.ts +89 -0
- package/src/operationsInterfaces/testJobStreams.ts +48 -0
- package/src/operationsInterfaces/usages.ts +26 -0
- package/src/operationsInterfaces/variableOperations.ts +94 -0
- package/src/operationsInterfaces/watcherOperations.ts +121 -0
- package/src/operationsInterfaces/webhookOperations.ts +107 -0
- package/tsconfig.json +14 -6
- package/types/arm-automation.d.ts +6596 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-automation.js +0 -15758
- package/dist/arm-automation.js.map +0 -1
- package/dist/arm-automation.min.js +0 -1
- package/dist/arm-automation.min.js.map +0 -1
- package/esm/automationClient.d.ts +0 -67
- package/esm/automationClient.d.ts.map +0 -1
- package/esm/automationClient.js +0 -81
- package/esm/automationClient.js.map +0 -1
- package/esm/automationClientContext.d.ts +0 -25
- package/esm/automationClientContext.d.ts.map +0 -1
- package/esm/automationClientContext.js +0 -67
- package/esm/automationClientContext.js.map +0 -1
- package/esm/models/activityOperationsMappers.d.ts +0 -2
- package/esm/models/activityOperationsMappers.d.ts.map +0 -1
- package/esm/models/activityOperationsMappers.js +0 -9
- package/esm/models/activityOperationsMappers.js.map +0 -1
- package/esm/models/agentRegistrationInformationMappers.d.ts +0 -2
- package/esm/models/agentRegistrationInformationMappers.d.ts.map +0 -1
- package/esm/models/agentRegistrationInformationMappers.js +0 -9
- package/esm/models/agentRegistrationInformationMappers.js.map +0 -1
- package/esm/models/automationAccountOperationsMappers.d.ts +0 -2
- package/esm/models/automationAccountOperationsMappers.d.ts.map +0 -1
- package/esm/models/automationAccountOperationsMappers.js +0 -9
- package/esm/models/automationAccountOperationsMappers.js.map +0 -1
- package/esm/models/certificateOperationsMappers.d.ts +0 -2
- package/esm/models/certificateOperationsMappers.d.ts.map +0 -1
- package/esm/models/certificateOperationsMappers.js +0 -9
- package/esm/models/certificateOperationsMappers.js.map +0 -1
- package/esm/models/connectionOperationsMappers.d.ts +0 -2
- package/esm/models/connectionOperationsMappers.d.ts.map +0 -1
- package/esm/models/connectionOperationsMappers.js +0 -9
- package/esm/models/connectionOperationsMappers.js.map +0 -1
- package/esm/models/connectionTypeOperationsMappers.d.ts +0 -2
- package/esm/models/connectionTypeOperationsMappers.d.ts.map +0 -1
- package/esm/models/connectionTypeOperationsMappers.js +0 -9
- package/esm/models/connectionTypeOperationsMappers.js.map +0 -1
- package/esm/models/credentialOperationsMappers.d.ts +0 -2
- package/esm/models/credentialOperationsMappers.d.ts.map +0 -1
- package/esm/models/credentialOperationsMappers.js +0 -9
- package/esm/models/credentialOperationsMappers.js.map +0 -1
- package/esm/models/dscCompilationJobOperationsMappers.d.ts +0 -2
- package/esm/models/dscCompilationJobOperationsMappers.d.ts.map +0 -1
- package/esm/models/dscCompilationJobOperationsMappers.js +0 -9
- package/esm/models/dscCompilationJobOperationsMappers.js.map +0 -1
- package/esm/models/dscCompilationJobStreamMappers.d.ts +0 -2
- package/esm/models/dscCompilationJobStreamMappers.d.ts.map +0 -1
- package/esm/models/dscCompilationJobStreamMappers.js +0 -9
- package/esm/models/dscCompilationJobStreamMappers.js.map +0 -1
- package/esm/models/dscConfigurationOperationsMappers.d.ts +0 -2
- package/esm/models/dscConfigurationOperationsMappers.d.ts.map +0 -1
- package/esm/models/dscConfigurationOperationsMappers.js +0 -9
- package/esm/models/dscConfigurationOperationsMappers.js.map +0 -1
- package/esm/models/dscNodeConfigurationOperationsMappers.d.ts +0 -2
- package/esm/models/dscNodeConfigurationOperationsMappers.d.ts.map +0 -1
- package/esm/models/dscNodeConfigurationOperationsMappers.js +0 -9
- package/esm/models/dscNodeConfigurationOperationsMappers.js.map +0 -1
- package/esm/models/dscNodeOperationsMappers.d.ts +0 -2
- package/esm/models/dscNodeOperationsMappers.d.ts.map +0 -1
- package/esm/models/dscNodeOperationsMappers.js +0 -9
- package/esm/models/dscNodeOperationsMappers.js.map +0 -1
- package/esm/models/fieldsMappers.d.ts +0 -2
- package/esm/models/fieldsMappers.d.ts.map +0 -1
- package/esm/models/fieldsMappers.js +0 -9
- package/esm/models/fieldsMappers.js.map +0 -1
- package/esm/models/hybridRunbookWorkerGroupOperationsMappers.d.ts +0 -2
- package/esm/models/hybridRunbookWorkerGroupOperationsMappers.d.ts.map +0 -1
- package/esm/models/hybridRunbookWorkerGroupOperationsMappers.js +0 -9
- package/esm/models/hybridRunbookWorkerGroupOperationsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -7233
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/jobOperationsMappers.d.ts +0 -2
- package/esm/models/jobOperationsMappers.d.ts.map +0 -1
- package/esm/models/jobOperationsMappers.js +0 -9
- package/esm/models/jobOperationsMappers.js.map +0 -1
- package/esm/models/jobScheduleOperationsMappers.d.ts +0 -2
- package/esm/models/jobScheduleOperationsMappers.d.ts.map +0 -1
- package/esm/models/jobScheduleOperationsMappers.js +0 -9
- package/esm/models/jobScheduleOperationsMappers.js.map +0 -1
- package/esm/models/jobStreamOperationsMappers.d.ts +0 -2
- package/esm/models/jobStreamOperationsMappers.d.ts.map +0 -1
- package/esm/models/jobStreamOperationsMappers.js +0 -9
- package/esm/models/jobStreamOperationsMappers.js.map +0 -1
- package/esm/models/keysMappers.d.ts +0 -2
- package/esm/models/keysMappers.d.ts.map +0 -1
- package/esm/models/keysMappers.js +0 -9
- package/esm/models/keysMappers.js.map +0 -1
- package/esm/models/linkedWorkspaceOperationsMappers.d.ts +0 -2
- package/esm/models/linkedWorkspaceOperationsMappers.d.ts.map +0 -1
- package/esm/models/linkedWorkspaceOperationsMappers.js +0 -9
- package/esm/models/linkedWorkspaceOperationsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -168
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -6524
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/moduleOperationsMappers.d.ts +0 -2
- package/esm/models/moduleOperationsMappers.d.ts.map +0 -1
- package/esm/models/moduleOperationsMappers.js +0 -9
- package/esm/models/moduleOperationsMappers.js.map +0 -1
- package/esm/models/nodeCountInformationMappers.d.ts +0 -2
- package/esm/models/nodeCountInformationMappers.d.ts.map +0 -1
- package/esm/models/nodeCountInformationMappers.js +0 -9
- package/esm/models/nodeCountInformationMappers.js.map +0 -1
- package/esm/models/nodeReportsMappers.d.ts +0 -2
- package/esm/models/nodeReportsMappers.d.ts.map +0 -1
- package/esm/models/nodeReportsMappers.js +0 -9
- package/esm/models/nodeReportsMappers.js.map +0 -1
- package/esm/models/objectDataTypesMappers.d.ts +0 -2
- package/esm/models/objectDataTypesMappers.d.ts.map +0 -1
- package/esm/models/objectDataTypesMappers.js +0 -9
- package/esm/models/objectDataTypesMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -48
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -498
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/python2PackageMappers.d.ts +0 -2
- package/esm/models/python2PackageMappers.d.ts.map +0 -1
- package/esm/models/python2PackageMappers.js +0 -9
- package/esm/models/python2PackageMappers.js.map +0 -1
- package/esm/models/runbookDraftOperationsMappers.d.ts +0 -2
- package/esm/models/runbookDraftOperationsMappers.d.ts.map +0 -1
- package/esm/models/runbookDraftOperationsMappers.js +0 -9
- package/esm/models/runbookDraftOperationsMappers.js.map +0 -1
- package/esm/models/runbookOperationsMappers.d.ts +0 -2
- package/esm/models/runbookOperationsMappers.d.ts.map +0 -1
- package/esm/models/runbookOperationsMappers.js +0 -9
- package/esm/models/runbookOperationsMappers.js.map +0 -1
- package/esm/models/scheduleOperationsMappers.d.ts +0 -2
- package/esm/models/scheduleOperationsMappers.d.ts.map +0 -1
- package/esm/models/scheduleOperationsMappers.js +0 -9
- package/esm/models/scheduleOperationsMappers.js.map +0 -1
- package/esm/models/softwareUpdateConfigurationMachineRunsMappers.d.ts +0 -2
- package/esm/models/softwareUpdateConfigurationMachineRunsMappers.d.ts.map +0 -1
- package/esm/models/softwareUpdateConfigurationMachineRunsMappers.js +0 -9
- package/esm/models/softwareUpdateConfigurationMachineRunsMappers.js.map +0 -1
- package/esm/models/softwareUpdateConfigurationRunsMappers.d.ts +0 -2
- package/esm/models/softwareUpdateConfigurationRunsMappers.d.ts.map +0 -1
- package/esm/models/softwareUpdateConfigurationRunsMappers.js +0 -9
- package/esm/models/softwareUpdateConfigurationRunsMappers.js.map +0 -1
- package/esm/models/softwareUpdateConfigurationsMappers.d.ts +0 -2
- package/esm/models/softwareUpdateConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/softwareUpdateConfigurationsMappers.js +0 -9
- package/esm/models/softwareUpdateConfigurationsMappers.js.map +0 -1
- package/esm/models/sourceControlOperationsMappers.d.ts +0 -2
- package/esm/models/sourceControlOperationsMappers.d.ts.map +0 -1
- package/esm/models/sourceControlOperationsMappers.js +0 -9
- package/esm/models/sourceControlOperationsMappers.js.map +0 -1
- package/esm/models/sourceControlSyncJobOperationsMappers.d.ts +0 -2
- package/esm/models/sourceControlSyncJobOperationsMappers.d.ts.map +0 -1
- package/esm/models/sourceControlSyncJobOperationsMappers.js +0 -9
- package/esm/models/sourceControlSyncJobOperationsMappers.js.map +0 -1
- package/esm/models/sourceControlSyncJobStreamsMappers.d.ts +0 -2
- package/esm/models/sourceControlSyncJobStreamsMappers.d.ts.map +0 -1
- package/esm/models/sourceControlSyncJobStreamsMappers.js +0 -9
- package/esm/models/sourceControlSyncJobStreamsMappers.js.map +0 -1
- package/esm/models/statisticsOperationsMappers.d.ts +0 -2
- package/esm/models/statisticsOperationsMappers.d.ts.map +0 -1
- package/esm/models/statisticsOperationsMappers.js +0 -9
- package/esm/models/statisticsOperationsMappers.js.map +0 -1
- package/esm/models/testJobOperationsMappers.d.ts +0 -2
- package/esm/models/testJobOperationsMappers.d.ts.map +0 -1
- package/esm/models/testJobOperationsMappers.js +0 -9
- package/esm/models/testJobOperationsMappers.js.map +0 -1
- package/esm/models/testJobStreamsMappers.d.ts +0 -2
- package/esm/models/testJobStreamsMappers.d.ts.map +0 -1
- package/esm/models/testJobStreamsMappers.js +0 -9
- package/esm/models/testJobStreamsMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js +0 -9
- package/esm/models/usagesMappers.js.map +0 -1
- package/esm/models/variableOperationsMappers.d.ts +0 -2
- package/esm/models/variableOperationsMappers.d.ts.map +0 -1
- package/esm/models/variableOperationsMappers.js +0 -9
- package/esm/models/variableOperationsMappers.js.map +0 -1
- package/esm/models/watcherOperationsMappers.d.ts +0 -2
- package/esm/models/watcherOperationsMappers.d.ts.map +0 -1
- package/esm/models/watcherOperationsMappers.js +0 -9
- package/esm/models/watcherOperationsMappers.js.map +0 -1
- package/esm/models/webhookOperationsMappers.d.ts +0 -2
- package/esm/models/webhookOperationsMappers.d.ts.map +0 -1
- package/esm/models/webhookOperationsMappers.js +0 -9
- package/esm/models/webhookOperationsMappers.js.map +0 -1
- package/esm/operations/activityOperations.d.ts +0 -82
- package/esm/operations/activityOperations.d.ts.map +0 -1
- package/esm/operations/activityOperations.js +0 -121
- package/esm/operations/activityOperations.js.map +0 -1
- package/esm/operations/agentRegistrationInformation.d.ts +0 -58
- package/esm/operations/agentRegistrationInformation.d.ts.map +0 -1
- package/esm/operations/agentRegistrationInformation.js +0 -95
- package/esm/operations/agentRegistrationInformation.js.map +0 -1
- package/esm/operations/automationAccountOperations.d.ts +0 -174
- package/esm/operations/automationAccountOperations.d.ts.map +0 -1
- package/esm/operations/automationAccountOperations.js +0 -272
- package/esm/operations/automationAccountOperations.js.map +0 -1
- package/esm/operations/certificateOperations.d.ts +0 -154
- package/esm/operations/certificateOperations.d.ts.map +0 -1
- package/esm/operations/certificateOperations.js +0 -228
- package/esm/operations/certificateOperations.js.map +0 -1
- package/esm/operations/connectionOperations.d.ts +0 -154
- package/esm/operations/connectionOperations.d.ts.map +0 -1
- package/esm/operations/connectionOperations.js +0 -231
- package/esm/operations/connectionOperations.js.map +0 -1
- package/esm/operations/connectionTypeOperations.d.ts +0 -130
- package/esm/operations/connectionTypeOperations.d.ts.map +0 -1
- package/esm/operations/connectionTypeOperations.js +0 -191
- package/esm/operations/connectionTypeOperations.js.map +0 -1
- package/esm/operations/credentialOperations.d.ts +0 -154
- package/esm/operations/credentialOperations.d.ts.map +0 -1
- package/esm/operations/credentialOperations.js +0 -228
- package/esm/operations/credentialOperations.js.map +0 -1
- package/esm/operations/dscCompilationJobOperations.d.ts +0 -124
- package/esm/operations/dscCompilationJobOperations.d.ts.map +0 -1
- package/esm/operations/dscCompilationJobOperations.js +0 -214
- package/esm/operations/dscCompilationJobOperations.js.map +0 -1
- package/esm/operations/dscCompilationJobStream.d.ts +0 -37
- package/esm/operations/dscCompilationJobStream.d.ts.map +0 -1
- package/esm/operations/dscCompilationJobStream.js +0 -60
- package/esm/operations/dscCompilationJobStream.js.map +0 -1
- package/esm/operations/dscConfigurationOperations.d.ts +0 -175
- package/esm/operations/dscConfigurationOperations.d.ts.map +0 -1
- package/esm/operations/dscConfigurationOperations.js +0 -273
- package/esm/operations/dscConfigurationOperations.js.map +0 -1
- package/esm/operations/dscNodeConfigurationOperations.d.ts +0 -121
- package/esm/operations/dscNodeConfigurationOperations.d.ts.map +0 -1
- package/esm/operations/dscNodeConfigurationOperations.js +0 -214
- package/esm/operations/dscNodeConfigurationOperations.js.map +0 -1
- package/esm/operations/dscNodeOperations.d.ts +0 -127
- package/esm/operations/dscNodeOperations.d.ts.map +0 -1
- package/esm/operations/dscNodeOperations.js +0 -193
- package/esm/operations/dscNodeOperations.js.map +0 -1
- package/esm/operations/fields.d.ts +0 -40
- package/esm/operations/fields.d.ts.map +0 -1
- package/esm/operations/fields.js +0 -62
- package/esm/operations/fields.js.map +0 -1
- package/esm/operations/hybridRunbookWorkerGroupOperations.d.ts +0 -127
- package/esm/operations/hybridRunbookWorkerGroupOperations.d.ts.map +0 -1
- package/esm/operations/hybridRunbookWorkerGroupOperations.js +0 -188
- package/esm/operations/hybridRunbookWorkerGroupOperations.js.map +0 -1
- package/esm/operations/index.d.ts +0 -42
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -51
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/jobOperations.d.ts +0 -223
- package/esm/operations/jobOperations.d.ts.map +0 -1
- package/esm/operations/jobOperations.js +0 -335
- package/esm/operations/jobOperations.js.map +0 -1
- package/esm/operations/jobScheduleOperations.d.ts +0 -127
- package/esm/operations/jobScheduleOperations.d.ts.map +0 -1
- package/esm/operations/jobScheduleOperations.js +0 -188
- package/esm/operations/jobScheduleOperations.js.map +0 -1
- package/esm/operations/jobStreamOperations.d.ts +0 -82
- package/esm/operations/jobStreamOperations.d.ts.map +0 -1
- package/esm/operations/jobStreamOperations.js +0 -125
- package/esm/operations/jobStreamOperations.js.map +0 -1
- package/esm/operations/keys.d.ts +0 -34
- package/esm/operations/keys.d.ts.map +0 -1
- package/esm/operations/keys.js +0 -58
- package/esm/operations/keys.js.map +0 -1
- package/esm/operations/linkedWorkspaceOperations.d.ts +0 -34
- package/esm/operations/linkedWorkspaceOperations.d.ts.map +0 -1
- package/esm/operations/linkedWorkspaceOperations.js +0 -58
- package/esm/operations/linkedWorkspaceOperations.js.map +0 -1
- package/esm/operations/moduleOperations.d.ts +0 -154
- package/esm/operations/moduleOperations.d.ts.map +0 -1
- package/esm/operations/moduleOperations.js +0 -228
- package/esm/operations/moduleOperations.js.map +0 -1
- package/esm/operations/nodeCountInformation.d.ts +0 -34
- package/esm/operations/nodeCountInformation.d.ts.map +0 -1
- package/esm/operations/nodeCountInformation.js +0 -59
- package/esm/operations/nodeCountInformation.js.map +0 -1
- package/esm/operations/nodeReports.d.ts +0 -109
- package/esm/operations/nodeReports.d.ts.map +0 -1
- package/esm/operations/nodeReports.js +0 -162
- package/esm/operations/nodeReports.js.map +0 -1
- package/esm/operations/objectDataTypes.d.ts +0 -64
- package/esm/operations/objectDataTypes.d.ts.map +0 -1
- package/esm/operations/objectDataTypes.js +0 -95
- package/esm/operations/objectDataTypes.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/python2Package.d.ts +0 -154
- package/esm/operations/python2Package.d.ts.map +0 -1
- package/esm/operations/python2Package.js +0 -228
- package/esm/operations/python2Package.js.map +0 -1
- package/esm/operations/runbookDraftOperations.d.ts +0 -106
- package/esm/operations/runbookDraftOperations.d.ts.map +0 -1
- package/esm/operations/runbookDraftOperations.js +0 -207
- package/esm/operations/runbookDraftOperations.js.map +0 -1
- package/esm/operations/runbookOperations.d.ts +0 -200
- package/esm/operations/runbookOperations.d.ts.map +0 -1
- package/esm/operations/runbookOperations.js +0 -320
- package/esm/operations/runbookOperations.js.map +0 -1
- package/esm/operations/scheduleOperations.d.ts +0 -154
- package/esm/operations/scheduleOperations.d.ts.map +0 -1
- package/esm/operations/scheduleOperations.js +0 -229
- package/esm/operations/scheduleOperations.js.map +0 -1
- package/esm/operations/softwareUpdateConfigurationMachineRuns.d.ts +0 -61
- package/esm/operations/softwareUpdateConfigurationMachineRuns.d.ts.map +0 -1
- package/esm/operations/softwareUpdateConfigurationMachineRuns.js +0 -96
- package/esm/operations/softwareUpdateConfigurationMachineRuns.js.map +0 -1
- package/esm/operations/softwareUpdateConfigurationRuns.d.ts +0 -58
- package/esm/operations/softwareUpdateConfigurationRuns.d.ts.map +0 -1
- package/esm/operations/softwareUpdateConfigurationRuns.js +0 -96
- package/esm/operations/softwareUpdateConfigurationRuns.js.map +0 -1
- package/esm/operations/softwareUpdateConfigurations.d.ts +0 -118
- package/esm/operations/softwareUpdateConfigurations.d.ts.map +0 -1
- package/esm/operations/softwareUpdateConfigurations.js +0 -170
- package/esm/operations/softwareUpdateConfigurations.js.map +0 -1
- package/esm/operations/sourceControlOperations.d.ts +0 -154
- package/esm/operations/sourceControlOperations.d.ts.map +0 -1
- package/esm/operations/sourceControlOperations.js +0 -229
- package/esm/operations/sourceControlOperations.js.map +0 -1
- package/esm/operations/sourceControlSyncJobOperations.d.ts +0 -112
- package/esm/operations/sourceControlSyncJobOperations.d.ts.map +0 -1
- package/esm/operations/sourceControlSyncJobOperations.js +0 -163
- package/esm/operations/sourceControlSyncJobOperations.js.map +0 -1
- package/esm/operations/sourceControlSyncJobStreams.d.ts +0 -88
- package/esm/operations/sourceControlSyncJobStreams.d.ts.map +0 -1
- package/esm/operations/sourceControlSyncJobStreams.js +0 -126
- package/esm/operations/sourceControlSyncJobStreams.js.map +0 -1
- package/esm/operations/statisticsOperations.d.ts +0 -34
- package/esm/operations/statisticsOperations.d.ts.map +0 -1
- package/esm/operations/statisticsOperations.js +0 -59
- package/esm/operations/statisticsOperations.js.map +0 -1
- package/esm/operations/testJobOperations.d.ts +0 -136
- package/esm/operations/testJobOperations.d.ts.map +0 -1
- package/esm/operations/testJobOperations.js +0 -192
- package/esm/operations/testJobOperations.js.map +0 -1
- package/esm/operations/testJobStreams.d.ts +0 -82
- package/esm/operations/testJobStreams.d.ts.map +0 -1
- package/esm/operations/testJobStreams.js +0 -122
- package/esm/operations/testJobStreams.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -34
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -58
- package/esm/operations/usages.js.map +0 -1
- package/esm/operations/variableOperations.d.ts +0 -154
- package/esm/operations/variableOperations.d.ts.map +0 -1
- package/esm/operations/variableOperations.js +0 -228
- package/esm/operations/variableOperations.js.map +0 -1
- package/esm/operations/watcherOperations.d.ts +0 -202
- package/esm/operations/watcherOperations.d.ts.map +0 -1
- package/esm/operations/watcherOperations.js +0 -291
- package/esm/operations/watcherOperations.js.map +0 -1
- package/esm/operations/webhookOperations.d.ts +0 -175
- package/esm/operations/webhookOperations.d.ts.map +0 -1
- package/esm/operations/webhookOperations.js +0 -265
- package/esm/operations/webhookOperations.js.map +0 -1
- package/src/automationClientContext.ts +0 -74
- package/src/models/activityOperationsMappers.ts +0 -17
- package/src/models/agentRegistrationInformationMappers.ts +0 -14
- package/src/models/automationAccountOperationsMappers.ts +0 -60
- package/src/models/certificateOperationsMappers.ts +0 -60
- package/src/models/connectionOperationsMappers.ts +0 -60
- package/src/models/connectionTypeOperationsMappers.ts +0 -15
- package/src/models/credentialOperationsMappers.ts +0 -61
- package/src/models/dscCompilationJobOperationsMappers.ts +0 -60
- package/src/models/dscCompilationJobStreamMappers.ts +0 -13
- package/src/models/dscConfigurationOperationsMappers.ts +0 -61
- package/src/models/dscNodeConfigurationOperationsMappers.ts +0 -59
- package/src/models/dscNodeOperationsMappers.ts +0 -60
- package/src/models/fieldsMappers.ts +0 -13
- package/src/models/hybridRunbookWorkerGroupOperationsMappers.ts +0 -16
- package/src/models/jobOperationsMappers.ts +0 -60
- package/src/models/jobScheduleOperationsMappers.ts +0 -16
- package/src/models/jobStreamOperationsMappers.ts +0 -13
- package/src/models/keysMappers.ts +0 -13
- package/src/models/linkedWorkspaceOperationsMappers.ts +0 -12
- package/src/models/moduleOperationsMappers.ts +0 -60
- package/src/models/nodeCountInformationMappers.ts +0 -14
- package/src/models/nodeReportsMappers.ts +0 -17
- package/src/models/objectDataTypesMappers.ts +0 -13
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/python2PackageMappers.ts +0 -60
- package/src/models/runbookDraftOperationsMappers.ts +0 -18
- package/src/models/runbookOperationsMappers.ts +0 -62
- package/src/models/scheduleOperationsMappers.ts +0 -60
- package/src/models/softwareUpdateConfigurationMachineRunsMappers.ts +0 -15
- package/src/models/softwareUpdateConfigurationRunsMappers.ts +0 -16
- package/src/models/softwareUpdateConfigurationsMappers.ts +0 -60
- package/src/models/sourceControlOperationsMappers.ts +0 -61
- package/src/models/sourceControlSyncJobOperationsMappers.ts +0 -15
- package/src/models/sourceControlSyncJobStreamsMappers.ts +0 -14
- package/src/models/statisticsOperationsMappers.ts +0 -13
- package/src/models/testJobOperationsMappers.ts +0 -13
- package/src/models/testJobStreamsMappers.ts +0 -13
- package/src/models/usagesMappers.ts +0 -14
- package/src/models/variableOperationsMappers.ts +0 -60
- package/src/models/watcherOperationsMappers.ts +0 -59
- package/src/models/webhookOperationsMappers.ts +0 -60
package/rollup.config.js
CHANGED
|
@@ -1,37 +1,122 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import nodeResolve from "@rollup/plugin-node-resolve";
|
|
10
|
+
import cjs from "@rollup/plugin-commonjs";
|
|
3
11
|
import sourcemaps from "rollup-plugin-sourcemaps";
|
|
12
|
+
import multiEntry from "@rollup/plugin-multi-entry";
|
|
13
|
+
import json from "@rollup/plugin-json";
|
|
14
|
+
|
|
15
|
+
import nodeBuiltins from "builtin-modules";
|
|
16
|
+
|
|
17
|
+
// #region Warning Handler
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* A function that can determine whether a rollup warning should be ignored. If
|
|
21
|
+
* the function returns `true`, then the warning will not be displayed.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
function ignoreNiseSinonEval(warning) {
|
|
25
|
+
return (
|
|
26
|
+
warning.code === "EVAL" &&
|
|
27
|
+
warning.id &&
|
|
28
|
+
(warning.id.includes("node_modules/nise") ||
|
|
29
|
+
warning.id.includes("node_modules/sinon")) === true
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function ignoreChaiCircularDependency(warning) {
|
|
34
|
+
return (
|
|
35
|
+
warning.code === "CIRCULAR_DEPENDENCY" &&
|
|
36
|
+
warning.importer && warning.importer.includes("node_modules/chai") === true
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval];
|
|
4
41
|
|
|
5
42
|
/**
|
|
6
|
-
*
|
|
43
|
+
* Construct a warning handler for the shared rollup configuration
|
|
44
|
+
* that ignores certain warnings that are not relevant to testing.
|
|
7
45
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
46
|
+
function makeOnWarnForTesting() {
|
|
47
|
+
return (warning, warn) => {
|
|
48
|
+
// If every inhibitor returns false (i.e. no inhibitors), then show the warning
|
|
49
|
+
if (warningInhibitors.every((inhib) => !inhib(warning))) {
|
|
50
|
+
warn(warning);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// #endregion
|
|
56
|
+
|
|
57
|
+
function makeBrowserTestConfig() {
|
|
58
|
+
const config = {
|
|
59
|
+
input: {
|
|
60
|
+
include: ["dist-esm/test/**/*.spec.js"],
|
|
61
|
+
exclude: ["dist-esm/test/**/node/**"]
|
|
22
62
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
63
|
+
output: {
|
|
64
|
+
file: `dist-test/index.browser.js`,
|
|
65
|
+
format: "umd",
|
|
66
|
+
sourcemap: true
|
|
67
|
+
},
|
|
68
|
+
preserveSymlinks: false,
|
|
69
|
+
plugins: [
|
|
70
|
+
multiEntry({ exports: false }),
|
|
71
|
+
nodeResolve({
|
|
72
|
+
mainFields: ["module", "browser"]
|
|
73
|
+
}),
|
|
74
|
+
cjs(),
|
|
75
|
+
json(),
|
|
76
|
+
sourcemaps()
|
|
77
|
+
//viz({ filename: "dist-test/browser-stats.html", sourcemap: true })
|
|
78
|
+
],
|
|
79
|
+
onwarn: makeOnWarnForTesting(),
|
|
80
|
+
// Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0,
|
|
81
|
+
// rollup started respecting the "sideEffects" field in package.json. Since
|
|
82
|
+
// our package.json sets "sideEffects=false", this also applies to test
|
|
83
|
+
// code, which causes all tests to be removed by tree-shaking.
|
|
84
|
+
treeshake: false
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
return config;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
const defaultConfigurationOptions = {
|
|
91
|
+
disableBrowserBundle: false
|
|
35
92
|
};
|
|
36
93
|
|
|
37
|
-
export
|
|
94
|
+
export function makeConfig(pkg, options) {
|
|
95
|
+
options = {
|
|
96
|
+
...defaultConfigurationOptions,
|
|
97
|
+
...(options || {})
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
const baseConfig = {
|
|
101
|
+
// Use the package's module field if it has one
|
|
102
|
+
input: pkg["module"] || "dist-esm/src/index.js",
|
|
103
|
+
external: [
|
|
104
|
+
...nodeBuiltins,
|
|
105
|
+
...Object.keys(pkg.dependencies),
|
|
106
|
+
...Object.keys(pkg.devDependencies)
|
|
107
|
+
],
|
|
108
|
+
output: { file: "dist/index.js", format: "cjs", sourcemap: true },
|
|
109
|
+
preserveSymlinks: false,
|
|
110
|
+
plugins: [sourcemaps(), nodeResolve()]
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
const config = [baseConfig];
|
|
114
|
+
|
|
115
|
+
if (!options.disableBrowserBundle) {
|
|
116
|
+
config.push(makeBrowserTestConfig());
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
return config;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export default makeConfig(require("./package.json"));
|
package/src/automationClient.ts
CHANGED
|
@@ -1,131 +1,359 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import * as
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
+
import * as coreAuth from "@azure/core-auth";
|
|
12
|
+
import {
|
|
13
|
+
PrivateEndpointConnectionsImpl,
|
|
14
|
+
PrivateLinkResourcesImpl,
|
|
15
|
+
Python2PackageImpl,
|
|
16
|
+
AgentRegistrationInformationImpl,
|
|
17
|
+
DscNodeOperationsImpl,
|
|
18
|
+
NodeReportsImpl,
|
|
19
|
+
DscNodeConfigurationOperationsImpl,
|
|
20
|
+
DscCompilationJobOperationsImpl,
|
|
21
|
+
DscCompilationJobStreamImpl,
|
|
22
|
+
NodeCountInformationImpl,
|
|
23
|
+
SourceControlOperationsImpl,
|
|
24
|
+
SourceControlSyncJobOperationsImpl,
|
|
25
|
+
SourceControlSyncJobStreamsImpl,
|
|
26
|
+
AutomationAccountOperationsImpl,
|
|
27
|
+
StatisticsOperationsImpl,
|
|
28
|
+
UsagesImpl,
|
|
29
|
+
KeysImpl,
|
|
30
|
+
CertificateOperationsImpl,
|
|
31
|
+
ConnectionOperationsImpl,
|
|
32
|
+
ConnectionTypeOperationsImpl,
|
|
33
|
+
CredentialOperationsImpl,
|
|
34
|
+
JobScheduleOperationsImpl,
|
|
35
|
+
LinkedWorkspaceOperationsImpl,
|
|
36
|
+
ActivityOperationsImpl,
|
|
37
|
+
ModuleOperationsImpl,
|
|
38
|
+
ObjectDataTypesImpl,
|
|
39
|
+
FieldsImpl,
|
|
40
|
+
ScheduleOperationsImpl,
|
|
41
|
+
VariableOperationsImpl,
|
|
42
|
+
WatcherOperationsImpl,
|
|
43
|
+
DscConfigurationOperationsImpl,
|
|
44
|
+
JobOperationsImpl,
|
|
45
|
+
JobStreamOperationsImpl,
|
|
46
|
+
OperationsImpl,
|
|
47
|
+
SoftwareUpdateConfigurationsImpl,
|
|
48
|
+
SoftwareUpdateConfigurationRunsImpl,
|
|
49
|
+
SoftwareUpdateConfigurationMachineRunsImpl,
|
|
50
|
+
RunbookDraftOperationsImpl,
|
|
51
|
+
RunbookOperationsImpl,
|
|
52
|
+
TestJobStreamsImpl,
|
|
53
|
+
TestJobOperationsImpl,
|
|
54
|
+
WebhookOperationsImpl,
|
|
55
|
+
HybridRunbookWorkersImpl,
|
|
56
|
+
DeletedAutomationAccountsImpl,
|
|
57
|
+
HybridRunbookWorkerGroupOperationsImpl
|
|
58
|
+
} from "./operations";
|
|
59
|
+
import {
|
|
60
|
+
PrivateEndpointConnections,
|
|
61
|
+
PrivateLinkResources,
|
|
62
|
+
Python2Package,
|
|
63
|
+
AgentRegistrationInformation,
|
|
64
|
+
DscNodeOperations,
|
|
65
|
+
NodeReports,
|
|
66
|
+
DscNodeConfigurationOperations,
|
|
67
|
+
DscCompilationJobOperations,
|
|
68
|
+
DscCompilationJobStream,
|
|
69
|
+
NodeCountInformation,
|
|
70
|
+
SourceControlOperations,
|
|
71
|
+
SourceControlSyncJobOperations,
|
|
72
|
+
SourceControlSyncJobStreams,
|
|
73
|
+
AutomationAccountOperations,
|
|
74
|
+
StatisticsOperations,
|
|
75
|
+
Usages,
|
|
76
|
+
Keys,
|
|
77
|
+
CertificateOperations,
|
|
78
|
+
ConnectionOperations,
|
|
79
|
+
ConnectionTypeOperations,
|
|
80
|
+
CredentialOperations,
|
|
81
|
+
JobScheduleOperations,
|
|
82
|
+
LinkedWorkspaceOperations,
|
|
83
|
+
ActivityOperations,
|
|
84
|
+
ModuleOperations,
|
|
85
|
+
ObjectDataTypes,
|
|
86
|
+
Fields,
|
|
87
|
+
ScheduleOperations,
|
|
88
|
+
VariableOperations,
|
|
89
|
+
WatcherOperations,
|
|
90
|
+
DscConfigurationOperations,
|
|
91
|
+
JobOperations,
|
|
92
|
+
JobStreamOperations,
|
|
93
|
+
Operations,
|
|
94
|
+
SoftwareUpdateConfigurations,
|
|
95
|
+
SoftwareUpdateConfigurationRuns,
|
|
96
|
+
SoftwareUpdateConfigurationMachineRuns,
|
|
97
|
+
RunbookDraftOperations,
|
|
98
|
+
RunbookOperations,
|
|
99
|
+
TestJobStreams,
|
|
100
|
+
TestJobOperations,
|
|
101
|
+
WebhookOperations,
|
|
102
|
+
HybridRunbookWorkers,
|
|
103
|
+
DeletedAutomationAccounts,
|
|
104
|
+
HybridRunbookWorkerGroupOperations
|
|
105
|
+
} from "./operationsInterfaces";
|
|
106
|
+
import * as Parameters from "./models/parameters";
|
|
14
107
|
import * as Mappers from "./models/mappers";
|
|
15
|
-
import
|
|
16
|
-
|
|
108
|
+
import {
|
|
109
|
+
AutomationClientOptionalParams,
|
|
110
|
+
GraphicalRunbookContent,
|
|
111
|
+
ConvertGraphRunbookContentOptionalParams,
|
|
112
|
+
ConvertGraphRunbookContentResponse
|
|
113
|
+
} from "./models";
|
|
17
114
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
automationAccount: operations.AutomationAccountOperations;
|
|
22
|
-
operations: operations.Operations;
|
|
23
|
-
statistics: operations.StatisticsOperations;
|
|
24
|
-
usages: operations.Usages;
|
|
25
|
-
keys: operations.Keys;
|
|
26
|
-
certificate: operations.CertificateOperations;
|
|
27
|
-
connection: operations.ConnectionOperations;
|
|
28
|
-
connectionType: operations.ConnectionTypeOperations;
|
|
29
|
-
credential: operations.CredentialOperations;
|
|
30
|
-
dscConfiguration: operations.DscConfigurationOperations;
|
|
31
|
-
hybridRunbookWorkerGroup: operations.HybridRunbookWorkerGroupOperations;
|
|
32
|
-
jobSchedule: operations.JobScheduleOperations;
|
|
33
|
-
linkedWorkspace: operations.LinkedWorkspaceOperations;
|
|
34
|
-
activity: operations.ActivityOperations;
|
|
35
|
-
module: operations.ModuleOperations;
|
|
36
|
-
objectDataTypes: operations.ObjectDataTypes;
|
|
37
|
-
fields: operations.Fields;
|
|
38
|
-
schedule: operations.ScheduleOperations;
|
|
39
|
-
variable: operations.VariableOperations;
|
|
40
|
-
webhook: operations.WebhookOperations;
|
|
41
|
-
watcher: operations.WatcherOperations;
|
|
42
|
-
softwareUpdateConfigurations: operations.SoftwareUpdateConfigurations;
|
|
43
|
-
softwareUpdateConfigurationRuns: operations.SoftwareUpdateConfigurationRuns;
|
|
44
|
-
softwareUpdateConfigurationMachineRuns: operations.SoftwareUpdateConfigurationMachineRuns;
|
|
45
|
-
sourceControl: operations.SourceControlOperations;
|
|
46
|
-
sourceControlSyncJob: operations.SourceControlSyncJobOperations;
|
|
47
|
-
sourceControlSyncJobStreams: operations.SourceControlSyncJobStreams;
|
|
48
|
-
job: operations.JobOperations;
|
|
49
|
-
jobStream: operations.JobStreamOperations;
|
|
50
|
-
agentRegistrationInformation: operations.AgentRegistrationInformation;
|
|
51
|
-
dscNode: operations.DscNodeOperations;
|
|
52
|
-
nodeReports: operations.NodeReports;
|
|
53
|
-
dscCompilationJob: operations.DscCompilationJobOperations;
|
|
54
|
-
dscCompilationJobStream: operations.DscCompilationJobStream;
|
|
55
|
-
dscNodeConfiguration: operations.DscNodeConfigurationOperations;
|
|
56
|
-
nodeCountInformation: operations.NodeCountInformation;
|
|
57
|
-
runbookDraft: operations.RunbookDraftOperations;
|
|
58
|
-
runbook: operations.RunbookOperations;
|
|
59
|
-
testJobStreams: operations.TestJobStreams;
|
|
60
|
-
testJob: operations.TestJobOperations;
|
|
61
|
-
python2Package: operations.Python2Package;
|
|
115
|
+
export class AutomationClient extends coreClient.ServiceClient {
|
|
116
|
+
$host: string;
|
|
117
|
+
subscriptionId: string;
|
|
62
118
|
|
|
63
119
|
/**
|
|
64
120
|
* Initializes a new instance of the AutomationClient class.
|
|
65
|
-
* @param credentials
|
|
66
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
67
|
-
* more information about these credentials, see
|
|
68
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
69
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
70
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
121
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
71
122
|
* @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
|
|
72
|
-
*
|
|
73
|
-
* @param
|
|
74
|
-
|
|
75
|
-
|
|
123
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
124
|
+
* @param options The parameter options
|
|
125
|
+
*/
|
|
126
|
+
constructor(
|
|
127
|
+
credentials: coreAuth.TokenCredential,
|
|
128
|
+
subscriptionId: string,
|
|
129
|
+
options?: AutomationClientOptionalParams
|
|
130
|
+
) {
|
|
131
|
+
if (credentials === undefined) {
|
|
132
|
+
throw new Error("'credentials' cannot be null");
|
|
133
|
+
}
|
|
134
|
+
if (subscriptionId === undefined) {
|
|
135
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Initializing default values for options
|
|
139
|
+
if (!options) {
|
|
140
|
+
options = {};
|
|
141
|
+
}
|
|
142
|
+
const defaults: AutomationClientOptionalParams = {
|
|
143
|
+
requestContentType: "application/json; charset=utf-8",
|
|
144
|
+
credential: credentials
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
const packageDetails = `azsdk-js-arm-automation/11.0.0-beta.1`;
|
|
148
|
+
const userAgentPrefix =
|
|
149
|
+
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
150
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
151
|
+
: `${packageDetails}`;
|
|
152
|
+
|
|
153
|
+
if (!options.credentialScopes) {
|
|
154
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
155
|
+
}
|
|
156
|
+
const optionsWithDefaults = {
|
|
157
|
+
...defaults,
|
|
158
|
+
...options,
|
|
159
|
+
userAgentOptions: {
|
|
160
|
+
userAgentPrefix
|
|
161
|
+
},
|
|
162
|
+
baseUri:
|
|
163
|
+
options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
164
|
+
};
|
|
165
|
+
super(optionsWithDefaults);
|
|
166
|
+
|
|
167
|
+
let bearerTokenAuthenticationPolicyFound: boolean = false;
|
|
168
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
169
|
+
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();
|
|
170
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
|
171
|
+
(pipelinePolicy) =>
|
|
172
|
+
pipelinePolicy.name ===
|
|
173
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
if (
|
|
177
|
+
!options ||
|
|
178
|
+
!options.pipeline ||
|
|
179
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
180
|
+
!bearerTokenAuthenticationPolicyFound
|
|
181
|
+
) {
|
|
182
|
+
this.pipeline.removePolicy({
|
|
183
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
184
|
+
});
|
|
185
|
+
this.pipeline.addPolicy(
|
|
186
|
+
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
187
|
+
credential: credentials,
|
|
188
|
+
scopes: `${optionsWithDefaults.credentialScopes}`,
|
|
189
|
+
challengeCallbacks: {
|
|
190
|
+
authorizeRequestOnChallenge:
|
|
191
|
+
coreClient.authorizeRequestOnClaimChallenge
|
|
192
|
+
}
|
|
193
|
+
})
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
// Parameter assignments
|
|
197
|
+
this.subscriptionId = subscriptionId;
|
|
198
|
+
|
|
199
|
+
// Assigning values to Constant parameters
|
|
200
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
201
|
+
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
202
|
+
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
203
|
+
this.python2Package = new Python2PackageImpl(this);
|
|
204
|
+
this.agentRegistrationInformation = new AgentRegistrationInformationImpl(
|
|
205
|
+
this
|
|
206
|
+
);
|
|
207
|
+
this.dscNodeOperations = new DscNodeOperationsImpl(this);
|
|
208
|
+
this.nodeReports = new NodeReportsImpl(this);
|
|
209
|
+
this.dscNodeConfigurationOperations = new DscNodeConfigurationOperationsImpl(
|
|
210
|
+
this
|
|
211
|
+
);
|
|
212
|
+
this.dscCompilationJobOperations = new DscCompilationJobOperationsImpl(
|
|
213
|
+
this
|
|
214
|
+
);
|
|
215
|
+
this.dscCompilationJobStream = new DscCompilationJobStreamImpl(this);
|
|
216
|
+
this.nodeCountInformation = new NodeCountInformationImpl(this);
|
|
217
|
+
this.sourceControlOperations = new SourceControlOperationsImpl(this);
|
|
218
|
+
this.sourceControlSyncJobOperations = new SourceControlSyncJobOperationsImpl(
|
|
219
|
+
this
|
|
220
|
+
);
|
|
221
|
+
this.sourceControlSyncJobStreams = new SourceControlSyncJobStreamsImpl(
|
|
222
|
+
this
|
|
223
|
+
);
|
|
224
|
+
this.automationAccountOperations = new AutomationAccountOperationsImpl(
|
|
225
|
+
this
|
|
226
|
+
);
|
|
227
|
+
this.statisticsOperations = new StatisticsOperationsImpl(this);
|
|
228
|
+
this.usages = new UsagesImpl(this);
|
|
229
|
+
this.keys = new KeysImpl(this);
|
|
230
|
+
this.certificateOperations = new CertificateOperationsImpl(this);
|
|
231
|
+
this.connectionOperations = new ConnectionOperationsImpl(this);
|
|
232
|
+
this.connectionTypeOperations = new ConnectionTypeOperationsImpl(this);
|
|
233
|
+
this.credentialOperations = new CredentialOperationsImpl(this);
|
|
234
|
+
this.jobScheduleOperations = new JobScheduleOperationsImpl(this);
|
|
235
|
+
this.linkedWorkspaceOperations = new LinkedWorkspaceOperationsImpl(this);
|
|
236
|
+
this.activityOperations = new ActivityOperationsImpl(this);
|
|
237
|
+
this.moduleOperations = new ModuleOperationsImpl(this);
|
|
238
|
+
this.objectDataTypes = new ObjectDataTypesImpl(this);
|
|
239
|
+
this.fields = new FieldsImpl(this);
|
|
240
|
+
this.scheduleOperations = new ScheduleOperationsImpl(this);
|
|
241
|
+
this.variableOperations = new VariableOperationsImpl(this);
|
|
242
|
+
this.watcherOperations = new WatcherOperationsImpl(this);
|
|
243
|
+
this.dscConfigurationOperations = new DscConfigurationOperationsImpl(this);
|
|
244
|
+
this.jobOperations = new JobOperationsImpl(this);
|
|
245
|
+
this.jobStreamOperations = new JobStreamOperationsImpl(this);
|
|
246
|
+
this.operations = new OperationsImpl(this);
|
|
247
|
+
this.softwareUpdateConfigurations = new SoftwareUpdateConfigurationsImpl(
|
|
248
|
+
this
|
|
249
|
+
);
|
|
250
|
+
this.softwareUpdateConfigurationRuns = new SoftwareUpdateConfigurationRunsImpl(
|
|
251
|
+
this
|
|
252
|
+
);
|
|
253
|
+
this.softwareUpdateConfigurationMachineRuns = new SoftwareUpdateConfigurationMachineRunsImpl(
|
|
254
|
+
this
|
|
255
|
+
);
|
|
256
|
+
this.runbookDraftOperations = new RunbookDraftOperationsImpl(this);
|
|
257
|
+
this.runbookOperations = new RunbookOperationsImpl(this);
|
|
258
|
+
this.testJobStreams = new TestJobStreamsImpl(this);
|
|
259
|
+
this.testJobOperations = new TestJobOperationsImpl(this);
|
|
260
|
+
this.webhookOperations = new WebhookOperationsImpl(this);
|
|
261
|
+
this.hybridRunbookWorkers = new HybridRunbookWorkersImpl(this);
|
|
262
|
+
this.deletedAutomationAccounts = new DeletedAutomationAccountsImpl(this);
|
|
263
|
+
this.hybridRunbookWorkerGroupOperations = new HybridRunbookWorkerGroupOperationsImpl(
|
|
264
|
+
this
|
|
265
|
+
);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Post operation to serialize or deserialize GraphRunbookContent
|
|
270
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
|
271
|
+
* @param automationAccountName The name of the automation account.
|
|
272
|
+
* @param parameters Input data describing the graphical runbook.
|
|
273
|
+
* @param options The options parameters.
|
|
76
274
|
*/
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
this.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
this.credential = new operations.CredentialOperations(this);
|
|
88
|
-
this.dscConfiguration = new operations.DscConfigurationOperations(this);
|
|
89
|
-
this.hybridRunbookWorkerGroup = new operations.HybridRunbookWorkerGroupOperations(this);
|
|
90
|
-
this.jobSchedule = new operations.JobScheduleOperations(this);
|
|
91
|
-
this.linkedWorkspace = new operations.LinkedWorkspaceOperations(this);
|
|
92
|
-
this.activity = new operations.ActivityOperations(this);
|
|
93
|
-
this.module = new operations.ModuleOperations(this);
|
|
94
|
-
this.objectDataTypes = new operations.ObjectDataTypes(this);
|
|
95
|
-
this.fields = new operations.Fields(this);
|
|
96
|
-
this.schedule = new operations.ScheduleOperations(this);
|
|
97
|
-
this.variable = new operations.VariableOperations(this);
|
|
98
|
-
this.webhook = new operations.WebhookOperations(this);
|
|
99
|
-
this.watcher = new operations.WatcherOperations(this);
|
|
100
|
-
this.softwareUpdateConfigurations = new operations.SoftwareUpdateConfigurations(this);
|
|
101
|
-
this.softwareUpdateConfigurationRuns = new operations.SoftwareUpdateConfigurationRuns(this);
|
|
102
|
-
this.softwareUpdateConfigurationMachineRuns = new operations.SoftwareUpdateConfigurationMachineRuns(this);
|
|
103
|
-
this.sourceControl = new operations.SourceControlOperations(this);
|
|
104
|
-
this.sourceControlSyncJob = new operations.SourceControlSyncJobOperations(this);
|
|
105
|
-
this.sourceControlSyncJobStreams = new operations.SourceControlSyncJobStreams(this);
|
|
106
|
-
this.job = new operations.JobOperations(this);
|
|
107
|
-
this.jobStream = new operations.JobStreamOperations(this);
|
|
108
|
-
this.agentRegistrationInformation = new operations.AgentRegistrationInformation(this);
|
|
109
|
-
this.dscNode = new operations.DscNodeOperations(this);
|
|
110
|
-
this.nodeReports = new operations.NodeReports(this);
|
|
111
|
-
this.dscCompilationJob = new operations.DscCompilationJobOperations(this);
|
|
112
|
-
this.dscCompilationJobStream = new operations.DscCompilationJobStream(this);
|
|
113
|
-
this.dscNodeConfiguration = new operations.DscNodeConfigurationOperations(this);
|
|
114
|
-
this.nodeCountInformation = new operations.NodeCountInformation(this);
|
|
115
|
-
this.runbookDraft = new operations.RunbookDraftOperations(this);
|
|
116
|
-
this.runbook = new operations.RunbookOperations(this);
|
|
117
|
-
this.testJobStreams = new operations.TestJobStreams(this);
|
|
118
|
-
this.testJob = new operations.TestJobOperations(this);
|
|
119
|
-
this.python2Package = new operations.Python2Package(this);
|
|
275
|
+
convertGraphRunbookContent(
|
|
276
|
+
resourceGroupName: string,
|
|
277
|
+
automationAccountName: string,
|
|
278
|
+
parameters: GraphicalRunbookContent,
|
|
279
|
+
options?: ConvertGraphRunbookContentOptionalParams
|
|
280
|
+
): Promise<ConvertGraphRunbookContentResponse> {
|
|
281
|
+
return this.sendOperationRequest(
|
|
282
|
+
{ resourceGroupName, automationAccountName, parameters, options },
|
|
283
|
+
convertGraphRunbookContentOperationSpec
|
|
284
|
+
);
|
|
120
285
|
}
|
|
121
|
-
}
|
|
122
286
|
|
|
287
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
288
|
+
privateLinkResources: PrivateLinkResources;
|
|
289
|
+
python2Package: Python2Package;
|
|
290
|
+
agentRegistrationInformation: AgentRegistrationInformation;
|
|
291
|
+
dscNodeOperations: DscNodeOperations;
|
|
292
|
+
nodeReports: NodeReports;
|
|
293
|
+
dscNodeConfigurationOperations: DscNodeConfigurationOperations;
|
|
294
|
+
dscCompilationJobOperations: DscCompilationJobOperations;
|
|
295
|
+
dscCompilationJobStream: DscCompilationJobStream;
|
|
296
|
+
nodeCountInformation: NodeCountInformation;
|
|
297
|
+
sourceControlOperations: SourceControlOperations;
|
|
298
|
+
sourceControlSyncJobOperations: SourceControlSyncJobOperations;
|
|
299
|
+
sourceControlSyncJobStreams: SourceControlSyncJobStreams;
|
|
300
|
+
automationAccountOperations: AutomationAccountOperations;
|
|
301
|
+
statisticsOperations: StatisticsOperations;
|
|
302
|
+
usages: Usages;
|
|
303
|
+
keys: Keys;
|
|
304
|
+
certificateOperations: CertificateOperations;
|
|
305
|
+
connectionOperations: ConnectionOperations;
|
|
306
|
+
connectionTypeOperations: ConnectionTypeOperations;
|
|
307
|
+
credentialOperations: CredentialOperations;
|
|
308
|
+
jobScheduleOperations: JobScheduleOperations;
|
|
309
|
+
linkedWorkspaceOperations: LinkedWorkspaceOperations;
|
|
310
|
+
activityOperations: ActivityOperations;
|
|
311
|
+
moduleOperations: ModuleOperations;
|
|
312
|
+
objectDataTypes: ObjectDataTypes;
|
|
313
|
+
fields: Fields;
|
|
314
|
+
scheduleOperations: ScheduleOperations;
|
|
315
|
+
variableOperations: VariableOperations;
|
|
316
|
+
watcherOperations: WatcherOperations;
|
|
317
|
+
dscConfigurationOperations: DscConfigurationOperations;
|
|
318
|
+
jobOperations: JobOperations;
|
|
319
|
+
jobStreamOperations: JobStreamOperations;
|
|
320
|
+
operations: Operations;
|
|
321
|
+
softwareUpdateConfigurations: SoftwareUpdateConfigurations;
|
|
322
|
+
softwareUpdateConfigurationRuns: SoftwareUpdateConfigurationRuns;
|
|
323
|
+
softwareUpdateConfigurationMachineRuns: SoftwareUpdateConfigurationMachineRuns;
|
|
324
|
+
runbookDraftOperations: RunbookDraftOperations;
|
|
325
|
+
runbookOperations: RunbookOperations;
|
|
326
|
+
testJobStreams: TestJobStreams;
|
|
327
|
+
testJobOperations: TestJobOperations;
|
|
328
|
+
webhookOperations: WebhookOperations;
|
|
329
|
+
hybridRunbookWorkers: HybridRunbookWorkers;
|
|
330
|
+
deletedAutomationAccounts: DeletedAutomationAccounts;
|
|
331
|
+
hybridRunbookWorkerGroupOperations: HybridRunbookWorkerGroupOperations;
|
|
332
|
+
}
|
|
123
333
|
// Operation Specifications
|
|
334
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
124
335
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
336
|
+
const convertGraphRunbookContentOperationSpec: coreClient.OperationSpec = {
|
|
337
|
+
path:
|
|
338
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/convertGraphRunbookContent",
|
|
339
|
+
httpMethod: "POST",
|
|
340
|
+
responses: {
|
|
341
|
+
200: {
|
|
342
|
+
bodyMapper: Mappers.GraphicalRunbookContent
|
|
343
|
+
},
|
|
344
|
+
default: {
|
|
345
|
+
bodyMapper: Mappers.ErrorResponse
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
requestBody: Parameters.parameters32,
|
|
349
|
+
queryParameters: [Parameters.apiVersion1],
|
|
350
|
+
urlParameters: [
|
|
351
|
+
Parameters.$host,
|
|
352
|
+
Parameters.subscriptionId,
|
|
353
|
+
Parameters.resourceGroupName,
|
|
354
|
+
Parameters.automationAccountName
|
|
355
|
+
],
|
|
356
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
357
|
+
mediaType: "json",
|
|
358
|
+
serializer
|
|
130
359
|
};
|
|
131
|
-
export * from "./operations";
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/// <reference lib="esnext.asynciterable" />
|
|
10
|
+
export * from "./models";
|
|
11
|
+
export { AutomationClient } from "./automationClient";
|
|
12
|
+
export * from "./operationsInterfaces";
|
package/src/lroImpl.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
10
|
+
|
|
11
|
+
export class LroImpl<T> implements LongRunningOperation<T> {
|
|
12
|
+
constructor(
|
|
13
|
+
private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,
|
|
14
|
+
private args: Record<string, unknown>,
|
|
15
|
+
private spec: {
|
|
16
|
+
readonly requestBody?: unknown;
|
|
17
|
+
readonly path?: string;
|
|
18
|
+
readonly httpMethod: string;
|
|
19
|
+
} & Record<string, any>,
|
|
20
|
+
public requestPath: string = spec.path!,
|
|
21
|
+
public requestMethod: string = spec.httpMethod
|
|
22
|
+
) {}
|
|
23
|
+
public async sendInitialRequest(): Promise<LroResponse<T>> {
|
|
24
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
25
|
+
}
|
|
26
|
+
public async sendPollRequest(path: string): Promise<LroResponse<T>> {
|
|
27
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
28
|
+
return this.sendOperationFn(this.args, {
|
|
29
|
+
...restSpec,
|
|
30
|
+
path,
|
|
31
|
+
httpMethod: "GET"
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|