@azure/arm-automation 11.0.0-beta.3 → 11.0.0-beta.4
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 +3 -15
- package/LICENSE +1 -1
- package/dist/index.js +605 -281
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/activityGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/activityGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/activityGetSample.js +40 -0
- package/dist-esm/samples-dev/activityGetSample.js.map +1 -0
- package/dist-esm/samples-dev/activityListByModuleSample.d.ts +2 -0
- package/dist-esm/samples-dev/activityListByModuleSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/activityListByModuleSample.js +53 -0
- package/dist-esm/samples-dev/activityListByModuleSample.js.map +1 -0
- package/dist-esm/samples-dev/agentRegistrationInformationGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/agentRegistrationInformationGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/agentRegistrationInformationGetSample.js +38 -0
- package/dist-esm/samples-dev/agentRegistrationInformationGetSample.js.map +1 -0
- package/dist-esm/samples-dev/agentRegistrationInformationRegenerateKeySample.d.ts +2 -0
- package/dist-esm/samples-dev/agentRegistrationInformationRegenerateKeySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/agentRegistrationInformationRegenerateKeySample.js +41 -0
- package/dist-esm/samples-dev/agentRegistrationInformationRegenerateKeySample.js.map +1 -0
- package/dist-esm/samples-dev/automationAccountCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/automationAccountCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/automationAccountCreateOrUpdateSample.js +43 -0
- package/dist-esm/samples-dev/automationAccountCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/automationAccountDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/automationAccountDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/automationAccountDeleteSample.js +38 -0
- package/dist-esm/samples-dev/automationAccountDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/automationAccountGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/automationAccountGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/automationAccountGetSample.js +38 -0
- package/dist-esm/samples-dev/automationAccountGetSample.js.map +1 -0
- package/dist-esm/samples-dev/automationAccountListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/automationAccountListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/automationAccountListByResourceGroupSample.js +51 -0
- package/dist-esm/samples-dev/automationAccountListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/automationAccountListSample.d.ts +2 -0
- package/dist-esm/samples-dev/automationAccountListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/automationAccountListSample.js +50 -0
- package/dist-esm/samples-dev/automationAccountListSample.js.map +1 -0
- package/dist-esm/samples-dev/automationAccountUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/automationAccountUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/automationAccountUpdateSample.js +43 -0
- package/dist-esm/samples-dev/automationAccountUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/certificateCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/certificateCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/certificateCreateOrUpdateSample.js +46 -0
- package/dist-esm/samples-dev/certificateCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/certificateDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/certificateDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/certificateDeleteSample.js +39 -0
- package/dist-esm/samples-dev/certificateDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/certificateGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/certificateGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/certificateGetSample.js +39 -0
- package/dist-esm/samples-dev/certificateGetSample.js.map +1 -0
- package/dist-esm/samples-dev/certificateListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/certificateListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/certificateListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/certificateListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/certificateUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/certificateUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/certificateUpdateSample.js +43 -0
- package/dist-esm/samples-dev/certificateUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/connectionCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectionCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectionCreateOrUpdateSample.js +48 -0
- package/dist-esm/samples-dev/connectionCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/connectionDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectionDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectionDeleteSample.js +39 -0
- package/dist-esm/samples-dev/connectionDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/connectionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectionGetSample.js +39 -0
- package/dist-esm/samples-dev/connectionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/connectionListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectionListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectionListByAutomationAccountSample.js +84 -0
- package/dist-esm/samples-dev/connectionListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/connectionTypeCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectionTypeCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectionTypeCreateOrUpdateSample.js +52 -0
- package/dist-esm/samples-dev/connectionTypeCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/connectionTypeDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectionTypeDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectionTypeDeleteSample.js +39 -0
- package/dist-esm/samples-dev/connectionTypeDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/connectionTypeGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectionTypeGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectionTypeGetSample.js +39 -0
- package/dist-esm/samples-dev/connectionTypeGetSample.js.map +1 -0
- package/dist-esm/samples-dev/connectionTypeListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectionTypeListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectionTypeListByAutomationAccountSample.js +84 -0
- package/dist-esm/samples-dev/connectionTypeListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/connectionUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/connectionUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/connectionUpdateSample.js +47 -0
- package/dist-esm/samples-dev/connectionUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/convertGraphRunbookContentSample.d.ts +2 -0
- package/dist-esm/samples-dev/convertGraphRunbookContentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/convertGraphRunbookContentSample.js +66 -0
- package/dist-esm/samples-dev/convertGraphRunbookContentSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialCreateOrUpdateSample.js +45 -0
- package/dist-esm/samples-dev/credentialCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialDeleteSample.js +39 -0
- package/dist-esm/samples-dev/credentialDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialGetSample.js +39 -0
- package/dist-esm/samples-dev/credentialGetSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialListByAutomationAccountSample.js +84 -0
- package/dist-esm/samples-dev/credentialListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialUpdateSample.js +45 -0
- package/dist-esm/samples-dev/credentialUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/deletedAutomationAccountsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deletedAutomationAccountsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deletedAutomationAccountsListBySubscriptionSample.js +36 -0
- package/dist-esm/samples-dev/deletedAutomationAccountsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscCompilationJobCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobCreateSample.js +42 -0
- package/dist-esm/samples-dev/dscCompilationJobCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscCompilationJobGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobGetSample.js +39 -0
- package/dist-esm/samples-dev/dscCompilationJobGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobGetStreamSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscCompilationJobGetStreamSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobGetStreamSample.js +40 -0
- package/dist-esm/samples-dev/dscCompilationJobGetStreamSample.js.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscCompilationJobListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/dscCompilationJobListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobStreamListByJobSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscCompilationJobStreamListByJobSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscCompilationJobStreamListByJobSample.js +39 -0
- package/dist-esm/samples-dev/dscCompilationJobStreamListByJobSample.js.map +1 -0
- package/dist-esm/samples-dev/dscConfigurationDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscConfigurationDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscConfigurationDeleteSample.js +39 -0
- package/dist-esm/samples-dev/dscConfigurationDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dscConfigurationGetContentSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscConfigurationGetContentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscConfigurationGetContentSample.js +39 -0
- package/dist-esm/samples-dev/dscConfigurationGetContentSample.js.map +1 -0
- package/dist-esm/samples-dev/dscConfigurationGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscConfigurationGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscConfigurationGetSample.js +39 -0
- package/dist-esm/samples-dev/dscConfigurationGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dscConfigurationListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscConfigurationListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscConfigurationListByAutomationAccountSample.js +134 -0
- package/dist-esm/samples-dev/dscConfigurationListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/dscNodeConfigurationCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscNodeConfigurationCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscNodeConfigurationCreateOrUpdateSample.js +53 -0
- package/dist-esm/samples-dev/dscNodeConfigurationCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/dscNodeConfigurationDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscNodeConfigurationDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscNodeConfigurationDeleteSample.js +39 -0
- package/dist-esm/samples-dev/dscNodeConfigurationDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dscNodeConfigurationGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscNodeConfigurationGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscNodeConfigurationGetSample.js +39 -0
- package/dist-esm/samples-dev/dscNodeConfigurationGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dscNodeConfigurationListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscNodeConfigurationListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscNodeConfigurationListByAutomationAccountSample.js +134 -0
- package/dist-esm/samples-dev/dscNodeConfigurationListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/dscNodeDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscNodeDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscNodeDeleteSample.js +39 -0
- package/dist-esm/samples-dev/dscNodeDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dscNodeGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscNodeGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscNodeGetSample.js +39 -0
- package/dist-esm/samples-dev/dscNodeGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dscNodeListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscNodeListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscNodeListByAutomationAccountSample.js +344 -0
- package/dist-esm/samples-dev/dscNodeListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/dscNodeUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/dscNodeUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dscNodeUpdateSample.js +43 -0
- package/dist-esm/samples-dev/dscNodeUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/fieldsListByTypeSample.d.ts +2 -0
- package/dist-esm/samples-dev/fieldsListByTypeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fieldsListByTypeSample.js +54 -0
- package/dist-esm/samples-dev/fieldsListByTypeSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupCreateSample.js +42 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupDeleteSample.js +39 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupGetSample.js +39 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupGetSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupUpdateSample.js +42 -0
- package/dist-esm/samples-dev/hybridRunbookWorkerGroupUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersCreateSample.js +43 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersDeleteSample.js +40 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersGetSample.js +40 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.js +53 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersMoveSample.d.ts +2 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersMoveSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersMoveSample.js +43 -0
- package/dist-esm/samples-dev/hybridRunbookWorkersMoveSample.js.map +1 -0
- package/dist-esm/samples-dev/jobCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobCreateSample.js +45 -0
- package/dist-esm/samples-dev/jobCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/jobGetOutputSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobGetOutputSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobGetOutputSample.js +40 -0
- package/dist-esm/samples-dev/jobGetOutputSample.js.map +1 -0
- package/dist-esm/samples-dev/jobGetRunbookContentSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobGetRunbookContentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobGetRunbookContentSample.js +40 -0
- package/dist-esm/samples-dev/jobGetRunbookContentSample.js.map +1 -0
- package/dist-esm/samples-dev/jobGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobGetSample.js +40 -0
- package/dist-esm/samples-dev/jobGetSample.js.map +1 -0
- package/dist-esm/samples-dev/jobListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobListByAutomationAccountSample.js +53 -0
- package/dist-esm/samples-dev/jobListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/jobResumeSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobResumeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobResumeSample.js +40 -0
- package/dist-esm/samples-dev/jobResumeSample.js.map +1 -0
- package/dist-esm/samples-dev/jobScheduleCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobScheduleCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobScheduleCreateSample.js +49 -0
- package/dist-esm/samples-dev/jobScheduleCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/jobScheduleDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobScheduleDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobScheduleDeleteSample.js +39 -0
- package/dist-esm/samples-dev/jobScheduleDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/jobScheduleGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobScheduleGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobScheduleGetSample.js +39 -0
- package/dist-esm/samples-dev/jobScheduleGetSample.js.map +1 -0
- package/dist-esm/samples-dev/jobScheduleListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobScheduleListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobScheduleListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/jobScheduleListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/jobStopSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobStopSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobStopSample.js +40 -0
- package/dist-esm/samples-dev/jobStopSample.js.map +1 -0
- package/dist-esm/samples-dev/jobStreamGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobStreamGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobStreamGetSample.js +41 -0
- package/dist-esm/samples-dev/jobStreamGetSample.js.map +1 -0
- package/dist-esm/samples-dev/jobStreamListByJobSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobStreamListByJobSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobStreamListByJobSample.js +54 -0
- package/dist-esm/samples-dev/jobStreamListByJobSample.js.map +1 -0
- package/dist-esm/samples-dev/jobSuspendSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobSuspendSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobSuspendSample.js +40 -0
- package/dist-esm/samples-dev/jobSuspendSample.js.map +1 -0
- package/dist-esm/samples-dev/keysListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/keysListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/keysListByAutomationAccountSample.js +38 -0
- package/dist-esm/samples-dev/keysListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/linkedWorkspaceGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/linkedWorkspaceGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/linkedWorkspaceGetSample.js +38 -0
- package/dist-esm/samples-dev/linkedWorkspaceGetSample.js.map +1 -0
- package/dist-esm/samples-dev/moduleCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/moduleCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/moduleCreateOrUpdateSample.js +49 -0
- package/dist-esm/samples-dev/moduleCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/moduleDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/moduleDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/moduleDeleteSample.js +39 -0
- package/dist-esm/samples-dev/moduleDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/moduleGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/moduleGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/moduleGetSample.js +39 -0
- package/dist-esm/samples-dev/moduleGetSample.js.map +1 -0
- package/dist-esm/samples-dev/moduleListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/moduleListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/moduleListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/moduleListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/moduleUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/moduleUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/moduleUpdateSample.js +49 -0
- package/dist-esm/samples-dev/moduleUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/nodeCountInformationGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/nodeCountInformationGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/nodeCountInformationGetSample.js +58 -0
- package/dist-esm/samples-dev/nodeCountInformationGetSample.js.map +1 -0
- package/dist-esm/samples-dev/nodeReportsGetContentSample.d.ts +2 -0
- package/dist-esm/samples-dev/nodeReportsGetContentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/nodeReportsGetContentSample.js +40 -0
- package/dist-esm/samples-dev/nodeReportsGetContentSample.js.map +1 -0
- package/dist-esm/samples-dev/nodeReportsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/nodeReportsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/nodeReportsGetSample.js +40 -0
- package/dist-esm/samples-dev/nodeReportsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/nodeReportsListByNodeSample.d.ts +2 -0
- package/dist-esm/samples-dev/nodeReportsListByNodeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/nodeReportsListByNodeSample.js +86 -0
- package/dist-esm/samples-dev/nodeReportsListByNodeSample.js.map +1 -0
- package/dist-esm/samples-dev/objectDataTypesListFieldsByModuleAndTypeSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectDataTypesListFieldsByModuleAndTypeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectDataTypesListFieldsByModuleAndTypeSample.js +54 -0
- package/dist-esm/samples-dev/objectDataTypesListFieldsByModuleAndTypeSample.js.map +1 -0
- package/dist-esm/samples-dev/objectDataTypesListFieldsByTypeSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectDataTypesListFieldsByTypeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectDataTypesListFieldsByTypeSample.js +53 -0
- package/dist-esm/samples-dev/objectDataTypesListFieldsByTypeSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +46 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +40 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAutomationAccountSample.js +53 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesAutomationSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesAutomationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesAutomationSample.js +53 -0
- package/dist-esm/samples-dev/privateLinkResourcesAutomationSample.js.map +1 -0
- package/dist-esm/samples-dev/python2PackageCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/python2PackageCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/python2PackageCreateOrUpdateSample.js +50 -0
- package/dist-esm/samples-dev/python2PackageCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/python2PackageDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/python2PackageDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/python2PackageDeleteSample.js +39 -0
- package/dist-esm/samples-dev/python2PackageDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/python2PackageGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/python2PackageGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/python2PackageGetSample.js +39 -0
- package/dist-esm/samples-dev/python2PackageGetSample.js.map +1 -0
- package/dist-esm/samples-dev/python2PackageListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/python2PackageListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/python2PackageListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/python2PackageListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/python2PackageUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/python2PackageUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/python2PackageUpdateSample.js +40 -0
- package/dist-esm/samples-dev/python2PackageUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookCreateOrUpdateSample.js +85 -0
- package/dist-esm/samples-dev/runbookCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookDeleteSample.js +39 -0
- package/dist-esm/samples-dev/runbookDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookDraftGetContentSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookDraftGetContentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookDraftGetContentSample.js +39 -0
- package/dist-esm/samples-dev/runbookDraftGetContentSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookDraftGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookDraftGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookDraftGetSample.js +39 -0
- package/dist-esm/samples-dev/runbookDraftGetSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookDraftUndoEditSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookDraftUndoEditSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookDraftUndoEditSample.js +39 -0
- package/dist-esm/samples-dev/runbookDraftUndoEditSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookGetContentSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookGetContentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookGetContentSample.js +39 -0
- package/dist-esm/samples-dev/runbookGetContentSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookGetSample.js +39 -0
- package/dist-esm/samples-dev/runbookGetSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/runbookListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookPublishSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookPublishSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookPublishSample.js +39 -0
- package/dist-esm/samples-dev/runbookPublishSample.js.map +1 -0
- package/dist-esm/samples-dev/runbookUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/runbookUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/runbookUpdateSample.js +45 -0
- package/dist-esm/samples-dev/runbookUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduleCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduleCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduleCreateOrUpdateSample.js +48 -0
- package/dist-esm/samples-dev/scheduleCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduleDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduleDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduleDeleteSample.js +39 -0
- package/dist-esm/samples-dev/scheduleDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduleGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduleGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduleGetSample.js +39 -0
- package/dist-esm/samples-dev/scheduleGetSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduleListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduleListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduleListByAutomationAccountSample.js +84 -0
- package/dist-esm/samples-dev/scheduleListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduleUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduleUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduleUpdateSample.js +44 -0
- package/dist-esm/samples-dev/scheduleUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationMachineRunsGetByIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationMachineRunsGetByIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationMachineRunsGetByIdSample.js +40 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationMachineRunsGetByIdSample.js.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationMachineRunsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationMachineRunsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationMachineRunsListSample.js +62 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationMachineRunsListSample.js.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationRunsGetByIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationRunsGetByIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationRunsGetByIdSample.js +40 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationRunsGetByIdSample.js.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationRunsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationRunsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationRunsListSample.js +60 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationRunsListSample.js.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsCreateSample.js +94 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsGetByNameSample.d.ts +2 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsGetByNameSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsGetByNameSample.js +40 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsGetByNameSample.js.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsListSample.js +60 -0
- package/dist-esm/samples-dev/softwareUpdateConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlCreateOrUpdateSample.js +52 -0
- package/dist-esm/samples-dev/sourceControlCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlDeleteSample.js +39 -0
- package/dist-esm/samples-dev/sourceControlDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlGetSample.js +39 -0
- package/dist-esm/samples-dev/sourceControlGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/sourceControlListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlSyncJobCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobCreateSample.js +43 -0
- package/dist-esm/samples-dev/sourceControlSyncJobCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlSyncJobGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobGetSample.js +40 -0
- package/dist-esm/samples-dev/sourceControlSyncJobGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlSyncJobListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobListByAutomationAccountSample.js +53 -0
- package/dist-esm/samples-dev/sourceControlSyncJobListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobStreamsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlSyncJobStreamsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobStreamsGetSample.js +41 -0
- package/dist-esm/samples-dev/sourceControlSyncJobStreamsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobStreamsListBySyncJobSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlSyncJobStreamsListBySyncJobSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlSyncJobStreamsListBySyncJobSample.js +54 -0
- package/dist-esm/samples-dev/sourceControlSyncJobStreamsListBySyncJobSample.js.map +1 -0
- package/dist-esm/samples-dev/sourceControlUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sourceControlUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sourceControlUpdateSample.js +50 -0
- package/dist-esm/samples-dev/sourceControlUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/statisticsListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/statisticsListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/statisticsListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/statisticsListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/testJobCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/testJobCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/testJobCreateSample.js +44 -0
- package/dist-esm/samples-dev/testJobCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/testJobGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/testJobGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/testJobGetSample.js +40 -0
- package/dist-esm/samples-dev/testJobGetSample.js.map +1 -0
- package/dist-esm/samples-dev/testJobResumeSample.d.ts +2 -0
- package/dist-esm/samples-dev/testJobResumeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/testJobResumeSample.js +40 -0
- package/dist-esm/samples-dev/testJobResumeSample.js.map +1 -0
- package/dist-esm/samples-dev/testJobStopSample.d.ts +2 -0
- package/dist-esm/samples-dev/testJobStopSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/testJobStopSample.js +40 -0
- package/dist-esm/samples-dev/testJobStopSample.js.map +1 -0
- package/dist-esm/samples-dev/testJobStreamsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/testJobStreamsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/testJobStreamsGetSample.js +41 -0
- package/dist-esm/samples-dev/testJobStreamsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/testJobStreamsListByTestJobSample.d.ts +2 -0
- package/dist-esm/samples-dev/testJobStreamsListByTestJobSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/testJobStreamsListByTestJobSample.js +54 -0
- package/dist-esm/samples-dev/testJobStreamsListByTestJobSample.js.map +1 -0
- package/dist-esm/samples-dev/testJobSuspendSample.d.ts +2 -0
- package/dist-esm/samples-dev/testJobSuspendSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/testJobSuspendSample.js +40 -0
- package/dist-esm/samples-dev/testJobSuspendSample.js.map +1 -0
- package/dist-esm/samples-dev/usagesListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/usagesListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/usagesListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/usagesListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/variableCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/variableCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/variableCreateOrUpdateSample.js +45 -0
- package/dist-esm/samples-dev/variableCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/variableDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/variableDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/variableDeleteSample.js +39 -0
- package/dist-esm/samples-dev/variableDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/variableGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/variableGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/variableGetSample.js +39 -0
- package/dist-esm/samples-dev/variableGetSample.js.map +1 -0
- package/dist-esm/samples-dev/variableListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/variableListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/variableListByAutomationAccountSample.js +84 -0
- package/dist-esm/samples-dev/variableListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/variableUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/variableUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/variableUpdateSample.js +43 -0
- package/dist-esm/samples-dev/variableUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/watcherCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/watcherCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/watcherCreateOrUpdateSample.js +51 -0
- package/dist-esm/samples-dev/watcherCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/watcherDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/watcherDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/watcherDeleteSample.js +39 -0
- package/dist-esm/samples-dev/watcherDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/watcherGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/watcherGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/watcherGetSample.js +39 -0
- package/dist-esm/samples-dev/watcherGetSample.js.map +1 -0
- package/dist-esm/samples-dev/watcherListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/watcherListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/watcherListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/watcherListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/watcherStartSample.d.ts +2 -0
- package/dist-esm/samples-dev/watcherStartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/watcherStartSample.js +39 -0
- package/dist-esm/samples-dev/watcherStartSample.js.map +1 -0
- package/dist-esm/samples-dev/watcherStopSample.d.ts +2 -0
- package/dist-esm/samples-dev/watcherStopSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/watcherStopSample.js +39 -0
- package/dist-esm/samples-dev/watcherStopSample.js.map +1 -0
- package/dist-esm/samples-dev/watcherUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/watcherUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/watcherUpdateSample.js +43 -0
- package/dist-esm/samples-dev/watcherUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.js +46 -0
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookDeleteSample.js +39 -0
- package/dist-esm/samples-dev/webhookDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookGenerateUriSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookGenerateUriSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookGenerateUriSample.js +38 -0
- package/dist-esm/samples-dev/webhookGenerateUriSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookGetSample.js +39 -0
- package/dist-esm/samples-dev/webhookGetSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookListByAutomationAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookListByAutomationAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookListByAutomationAccountSample.js +52 -0
- package/dist-esm/samples-dev/webhookListByAutomationAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookUpdateSample.js +44 -0
- package/dist-esm/samples-dev/webhookUpdateSample.js.map +1 -0
- package/dist-esm/src/automationClient.d.ts.map +1 -1
- package/dist-esm/src/automationClient.js +4 -7
- package/dist-esm/src/automationClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +0 -50
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/operations/activityOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/activityOperations.js +19 -8
- package/dist-esm/src/operations/activityOperations.js.map +1 -1
- package/dist-esm/src/operations/automationAccountOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/automationAccountOperations.js +37 -16
- package/dist-esm/src/operations/automationAccountOperations.js.map +1 -1
- package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/certificateOperations.js +19 -8
- package/dist-esm/src/operations/certificateOperations.js.map +1 -1
- package/dist-esm/src/operations/connectionOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/connectionOperations.js +19 -8
- package/dist-esm/src/operations/connectionOperations.js.map +1 -1
- package/dist-esm/src/operations/connectionTypeOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/connectionTypeOperations.js +19 -8
- package/dist-esm/src/operations/connectionTypeOperations.js.map +1 -1
- package/dist-esm/src/operations/credentialOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/credentialOperations.js +19 -8
- package/dist-esm/src/operations/credentialOperations.js.map +1 -1
- package/dist-esm/src/operations/dscCompilationJobOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/dscCompilationJobOperations.js +19 -8
- package/dist-esm/src/operations/dscCompilationJobOperations.js.map +1 -1
- package/dist-esm/src/operations/dscConfigurationOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/dscConfigurationOperations.js +19 -14
- package/dist-esm/src/operations/dscConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operations/dscNodeConfigurationOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/dscNodeConfigurationOperations.js +19 -14
- package/dist-esm/src/operations/dscNodeConfigurationOperations.js.map +1 -1
- package/dist-esm/src/operations/dscNodeOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/dscNodeOperations.js +19 -14
- package/dist-esm/src/operations/dscNodeOperations.js.map +1 -1
- package/dist-esm/src/operations/fields.d.ts.map +1 -1
- package/dist-esm/src/operations/fields.js +8 -4
- package/dist-esm/src/operations/fields.js.map +1 -1
- package/dist-esm/src/operations/hybridRunbookWorkerGroupOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/hybridRunbookWorkerGroupOperations.js +19 -8
- package/dist-esm/src/operations/hybridRunbookWorkerGroupOperations.js.map +1 -1
- package/dist-esm/src/operations/hybridRunbookWorkers.d.ts.map +1 -1
- package/dist-esm/src/operations/hybridRunbookWorkers.js +19 -8
- package/dist-esm/src/operations/hybridRunbookWorkers.js.map +1 -1
- package/dist-esm/src/operations/jobOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/jobOperations.js +19 -8
- package/dist-esm/src/operations/jobOperations.js.map +1 -1
- package/dist-esm/src/operations/jobScheduleOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/jobScheduleOperations.js +19 -8
- package/dist-esm/src/operations/jobScheduleOperations.js.map +1 -1
- package/dist-esm/src/operations/jobStreamOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/jobStreamOperations.js +19 -8
- package/dist-esm/src/operations/jobStreamOperations.js.map +1 -1
- package/dist-esm/src/operations/moduleOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/moduleOperations.js +19 -8
- package/dist-esm/src/operations/moduleOperations.js.map +1 -1
- package/dist-esm/src/operations/nodeReports.d.ts.map +1 -1
- package/dist-esm/src/operations/nodeReports.js +19 -8
- package/dist-esm/src/operations/nodeReports.js.map +1 -1
- package/dist-esm/src/operations/objectDataTypes.d.ts.map +1 -1
- package/dist-esm/src/operations/objectDataTypes.js +16 -8
- package/dist-esm/src/operations/objectDataTypes.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +8 -4
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +8 -4
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +8 -4
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/python2Package.d.ts.map +1 -1
- package/dist-esm/src/operations/python2Package.js +19 -8
- package/dist-esm/src/operations/python2Package.js.map +1 -1
- package/dist-esm/src/operations/runbookOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/runbookOperations.js +19 -8
- package/dist-esm/src/operations/runbookOperations.js.map +1 -1
- package/dist-esm/src/operations/scheduleOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/scheduleOperations.js +19 -8
- package/dist-esm/src/operations/scheduleOperations.js.map +1 -1
- package/dist-esm/src/operations/sourceControlOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/sourceControlOperations.js +19 -8
- package/dist-esm/src/operations/sourceControlOperations.js.map +1 -1
- package/dist-esm/src/operations/sourceControlSyncJobOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/sourceControlSyncJobOperations.js +19 -8
- package/dist-esm/src/operations/sourceControlSyncJobOperations.js.map +1 -1
- package/dist-esm/src/operations/sourceControlSyncJobStreams.d.ts.map +1 -1
- package/dist-esm/src/operations/sourceControlSyncJobStreams.js +19 -8
- package/dist-esm/src/operations/sourceControlSyncJobStreams.js.map +1 -1
- package/dist-esm/src/operations/statisticsOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/statisticsOperations.js +8 -4
- package/dist-esm/src/operations/statisticsOperations.js.map +1 -1
- package/dist-esm/src/operations/testJobStreams.d.ts.map +1 -1
- package/dist-esm/src/operations/testJobStreams.js +19 -8
- package/dist-esm/src/operations/testJobStreams.js.map +1 -1
- package/dist-esm/src/operations/usages.d.ts.map +1 -1
- package/dist-esm/src/operations/usages.js +8 -4
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/dist-esm/src/operations/variableOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/variableOperations.js +19 -8
- package/dist-esm/src/operations/variableOperations.js.map +1 -1
- package/dist-esm/src/operations/watcherOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/watcherOperations.js +19 -8
- package/dist-esm/src/operations/watcherOperations.js.map +1 -1
- package/dist-esm/src/operations/webhookOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/webhookOperations.js +19 -8
- package/dist-esm/src/operations/webhookOperations.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/package.json +17 -7
- package/review/arm-automation.api.md +3 -25
- package/src/automationClient.ts +5 -6
- package/src/index.ts +1 -0
- package/src/models/index.ts +14 -78
- package/src/operations/activityOperations.ts +28 -15
- package/src/operations/automationAccountOperations.ts +46 -19
- package/src/operations/certificateOperations.ts +27 -14
- package/src/operations/connectionOperations.ts +27 -14
- package/src/operations/connectionTypeOperations.ts +27 -14
- package/src/operations/credentialOperations.ts +27 -14
- package/src/operations/dscCompilationJobOperations.ts +27 -14
- package/src/operations/dscConfigurationOperations.ts +27 -20
- package/src/operations/dscNodeConfigurationOperations.ts +27 -20
- package/src/operations/dscNodeOperations.ts +27 -20
- package/src/operations/fields.ts +11 -5
- package/src/operations/hybridRunbookWorkerGroupOperations.ts +27 -14
- package/src/operations/hybridRunbookWorkers.ts +28 -15
- package/src/operations/jobOperations.ts +27 -14
- package/src/operations/jobScheduleOperations.ts +27 -14
- package/src/operations/jobStreamOperations.ts +28 -15
- package/src/operations/moduleOperations.ts +27 -14
- package/src/operations/nodeReports.ts +27 -14
- package/src/operations/objectDataTypes.ts +22 -10
- package/src/operations/operations.ts +10 -5
- package/src/operations/privateEndpointConnections.ts +11 -5
- package/src/operations/privateLinkResources.ts +11 -5
- package/src/operations/python2Package.ts +27 -14
- package/src/operations/runbookOperations.ts +27 -14
- package/src/operations/scheduleOperations.ts +27 -14
- package/src/operations/sourceControlOperations.ts +27 -14
- package/src/operations/sourceControlSyncJobOperations.ts +28 -15
- package/src/operations/sourceControlSyncJobStreams.ts +28 -15
- package/src/operations/statisticsOperations.ts +11 -5
- package/src/operations/testJobStreams.ts +28 -15
- package/src/operations/usages.ts +11 -5
- package/src/operations/variableOperations.ts +27 -14
- package/src/operations/watcherOperations.ts +27 -14
- package/src/operations/webhookOperations.ts +27 -14
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +8 -2
- package/types/arm-automation.d.ts +9 -50
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Retrieve a list of hybrid runbook worker groups.
|
|
17
|
+
*
|
|
18
|
+
* @summary Retrieve a list of hybrid runbook worker groups.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/listHybridRunbookWorkerGroup.json
|
|
20
|
+
*/
|
|
21
|
+
function listHybridWorkerGroupsByAutomationAccount() {
|
|
22
|
+
var e_1, _a;
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] || "subid";
|
|
25
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "rg";
|
|
26
|
+
const automationAccountName = "testaccount";
|
|
27
|
+
const credential = new DefaultAzureCredential();
|
|
28
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
29
|
+
const resArray = new Array();
|
|
30
|
+
try {
|
|
31
|
+
for (var _b = __asyncValues(client.hybridRunbookWorkerGroupOperations.listByAutomationAccount(resourceGroupName, automationAccountName)), _c; _c = yield _b.next(), !_c.done;) {
|
|
32
|
+
let item = _c.value;
|
|
33
|
+
resArray.push(item);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
37
|
+
finally {
|
|
38
|
+
try {
|
|
39
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
40
|
+
}
|
|
41
|
+
finally { if (e_1) throw e_1.error; }
|
|
42
|
+
}
|
|
43
|
+
console.log(resArray);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function main() {
|
|
47
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
listHybridWorkerGroupsByAutomationAccount();
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
main().catch(console.error);
|
|
52
|
+
//# sourceMappingURL=hybridRunbookWorkerGroupListByAutomationAccountSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkerGroupListByAutomationAccountSample.js","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkerGroupListByAutomationAccountSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,yCAAyC;;;QACtD,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC;QAC3E,MAAM,qBAAqB,GAAG,aAAa,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,kCAAkC,CAAC,uBAAuB,CACtF,iBAAiB,EACjB,qBAAqB,CACtB,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,yCAAyC,EAAE,CAAC;IAC9C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkerGroupUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkerGroupUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Update a hybrid runbook worker group.
|
|
17
|
+
*
|
|
18
|
+
* @summary Update a hybrid runbook worker group.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/updateHybridRunbookWorkerGroup.json
|
|
20
|
+
*/
|
|
21
|
+
function updateHybridWorkerGroup() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] || "subid";
|
|
24
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "rg";
|
|
25
|
+
const automationAccountName = "testaccount";
|
|
26
|
+
const hybridRunbookWorkerGroupName = "TestHybridGroup";
|
|
27
|
+
const hybridRunbookWorkerGroupUpdationParameters = {
|
|
28
|
+
credential: { name: "myRunAsCredentialUpdatedName" }
|
|
29
|
+
};
|
|
30
|
+
const credential = new DefaultAzureCredential();
|
|
31
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
32
|
+
const result = yield client.hybridRunbookWorkerGroupOperations.update(resourceGroupName, automationAccountName, hybridRunbookWorkerGroupName, hybridRunbookWorkerGroupUpdationParameters);
|
|
33
|
+
console.log(result);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function main() {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
updateHybridWorkerGroup();
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
main().catch(console.error);
|
|
42
|
+
//# sourceMappingURL=hybridRunbookWorkerGroupUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkerGroupUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkerGroupUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC;QAC3E,MAAM,qBAAqB,GAAG,aAAa,CAAC;QAC5C,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;QACvD,MAAM,0CAA0C,GAAqD;YACnG,UAAU,EAAE,EAAE,IAAI,EAAE,8BAA8B,EAAE;SACrD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kCAAkC,CAAC,MAAM,CACnE,iBAAiB,EACjB,qBAAqB,EACrB,4BAA4B,EAC5B,0CAA0C,CAC3C,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersCreateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Create a hybrid runbook worker.
|
|
17
|
+
*
|
|
18
|
+
* @summary Create a hybrid runbook worker.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/putHybridRunbookWorker.json
|
|
20
|
+
*/
|
|
21
|
+
function createAV2HybridRunbookWorker() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] || "subid";
|
|
24
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "rg";
|
|
25
|
+
const automationAccountName = "testaccount";
|
|
26
|
+
const hybridRunbookWorkerGroupName = "TestHybridGroup";
|
|
27
|
+
const hybridRunbookWorkerId = "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd";
|
|
28
|
+
const hybridRunbookWorkerCreationParameters = {
|
|
29
|
+
vmResourceId: "/subscriptions/vmsubid/resourceGroups/vmrg/providers/Microsoft.Compute/virtualMachines/vmname"
|
|
30
|
+
};
|
|
31
|
+
const credential = new DefaultAzureCredential();
|
|
32
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
33
|
+
const result = yield client.hybridRunbookWorkers.create(resourceGroupName, automationAccountName, hybridRunbookWorkerGroupName, hybridRunbookWorkerId, hybridRunbookWorkerCreationParameters);
|
|
34
|
+
console.log(result);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function main() {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
createAV2HybridRunbookWorker();
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
main().catch(console.error);
|
|
43
|
+
//# sourceMappingURL=hybridRunbookWorkersCreateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersCreateSample.js","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC;QAC3E,MAAM,qBAAqB,GAAG,aAAa,CAAC;QAC5C,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;QACvD,MAAM,qBAAqB,GAAG,sCAAsC,CAAC;QACrE,MAAM,qCAAqC,GAAwC;YACjF,YAAY,EACV,+FAA+F;SAClG,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,MAAM,CACrD,iBAAiB,EACjB,qBAAqB,EACrB,4BAA4B,EAC5B,qBAAqB,EACrB,qCAAqC,CACtC,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,4BAA4B,EAAE,CAAC;IACjC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Delete a hybrid runbook worker.
|
|
17
|
+
*
|
|
18
|
+
* @summary Delete a hybrid runbook worker.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/deleteHybridRunbookWorker.json
|
|
20
|
+
*/
|
|
21
|
+
function deleteAV2HybridRunbookWorker() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] || "subid";
|
|
24
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "rg";
|
|
25
|
+
const automationAccountName = "myAutomationAccount20";
|
|
26
|
+
const hybridRunbookWorkerGroupName = "myGroup";
|
|
27
|
+
const hybridRunbookWorkerId = "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.hybridRunbookWorkers.delete(resourceGroupName, automationAccountName, hybridRunbookWorkerGroupName, hybridRunbookWorkerId);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
deleteAV2HybridRunbookWorker();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=hybridRunbookWorkersDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC;QAC3E,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;QACtD,MAAM,4BAA4B,GAAG,SAAS,CAAC;QAC/C,MAAM,qBAAqB,GAAG,sCAAsC,CAAC;QACrE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,MAAM,CACrD,iBAAiB,EACjB,qBAAqB,EACrB,4BAA4B,EAC5B,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,4BAA4B,EAAE,CAAC;IACjC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Retrieve a hybrid runbook worker.
|
|
17
|
+
*
|
|
18
|
+
* @summary Retrieve a hybrid runbook worker.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getHybridRunbookWorker.json
|
|
20
|
+
*/
|
|
21
|
+
function getAV2HybridRunbookWorker() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] || "subid";
|
|
24
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "rg";
|
|
25
|
+
const automationAccountName = "testaccount";
|
|
26
|
+
const hybridRunbookWorkerGroupName = "TestHybridGroup";
|
|
27
|
+
const hybridRunbookWorkerId = "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.hybridRunbookWorkers.get(resourceGroupName, automationAccountName, hybridRunbookWorkerGroupName, hybridRunbookWorkerId);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
getAV2HybridRunbookWorker();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=hybridRunbookWorkersGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersGetSample.js","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC;QAC3E,MAAM,qBAAqB,GAAG,aAAa,CAAC;QAC5C,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;QACvD,MAAM,qBAAqB,GAAG,sCAAsC,CAAC;QACrE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,GAAG,CAClD,iBAAiB,EACjB,qBAAqB,EACrB,4BAA4B,EAC5B,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,yBAAyB,EAAE,CAAC;IAC9B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/dist-esm/samples-dev/hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Retrieve a list of hybrid runbook workers.
|
|
17
|
+
*
|
|
18
|
+
* @summary Retrieve a list of hybrid runbook workers.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/listHybridRunbookWorker.json
|
|
20
|
+
*/
|
|
21
|
+
function listHybridWorkersByHybridRunbookWorkerGroup() {
|
|
22
|
+
var e_1, _a;
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] || "subid";
|
|
25
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "rg";
|
|
26
|
+
const automationAccountName = "testaccount";
|
|
27
|
+
const hybridRunbookWorkerGroupName = "TestHybridGroup";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
30
|
+
const resArray = new Array();
|
|
31
|
+
try {
|
|
32
|
+
for (var _b = __asyncValues(client.hybridRunbookWorkers.listByHybridRunbookWorkerGroup(resourceGroupName, automationAccountName, hybridRunbookWorkerGroupName)), _c; _c = yield _b.next(), !_c.done;) {
|
|
33
|
+
let item = _c.value;
|
|
34
|
+
resArray.push(item);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
38
|
+
finally {
|
|
39
|
+
try {
|
|
40
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
41
|
+
}
|
|
42
|
+
finally { if (e_1) throw e_1.error; }
|
|
43
|
+
}
|
|
44
|
+
console.log(resArray);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function main() {
|
|
48
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
+
listHybridWorkersByHybridRunbookWorkerGroup();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
main().catch(console.error);
|
|
53
|
+
//# sourceMappingURL=hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.js","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersListByHybridRunbookWorkerGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2CAA2C;;;QACxD,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC;QAC3E,MAAM,qBAAqB,GAAG,aAAa,CAAC;QAC5C,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;QACvD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,8BAA8B,CAC/E,iBAAiB,EACjB,qBAAqB,EACrB,4BAA4B,CAC7B,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersMoveSample.d.ts","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersMoveSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Move a hybrid worker to a different group.
|
|
17
|
+
*
|
|
18
|
+
* @summary Move a hybrid worker to a different group.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/moveHybridRunbookWorker.json
|
|
20
|
+
*/
|
|
21
|
+
function moveAV2HybridWorkerToADifferentGroup() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] || "subid";
|
|
24
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "rg";
|
|
25
|
+
const automationAccountName = "testaccount";
|
|
26
|
+
const hybridRunbookWorkerGroupName = "TestHybridGroup";
|
|
27
|
+
const hybridRunbookWorkerId = "c010ad12-ef14-4a2a-aa9e-ef22c4745ddd";
|
|
28
|
+
const hybridRunbookWorkerMoveParameters = {
|
|
29
|
+
hybridRunbookWorkerGroupName: "TestHybridGroup2"
|
|
30
|
+
};
|
|
31
|
+
const credential = new DefaultAzureCredential();
|
|
32
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
33
|
+
const result = yield client.hybridRunbookWorkers.move(resourceGroupName, automationAccountName, hybridRunbookWorkerGroupName, hybridRunbookWorkerId, hybridRunbookWorkerMoveParameters);
|
|
34
|
+
console.log(result);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function main() {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
moveAV2HybridWorkerToADifferentGroup();
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
main().catch(console.error);
|
|
43
|
+
//# sourceMappingURL=hybridRunbookWorkersMoveSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hybridRunbookWorkersMoveSample.js","sourceRoot":"","sources":["../../samples-dev/hybridRunbookWorkersMoveSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oCAAoC;;QACjD,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC;QAC3E,MAAM,qBAAqB,GAAG,aAAa,CAAC;QAC5C,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;QACvD,MAAM,qBAAqB,GAAG,sCAAsC,CAAC;QACrE,MAAM,iCAAiC,GAAsC;YAC3E,4BAA4B,EAAE,kBAAkB;SACjD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,IAAI,CACnD,iBAAiB,EACjB,qBAAqB,EACrB,4BAA4B,EAC5B,qBAAqB,EACrB,iCAAiC,CAClC,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oCAAoC,EAAE,CAAC;IACzC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/jobCreateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Create a job of the runbook.
|
|
17
|
+
*
|
|
18
|
+
* @summary Create a job of the runbook.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/createJob.json
|
|
20
|
+
*/
|
|
21
|
+
function createJob() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"51766542-3ed7-4a72-a187-0c8ab644ddab";
|
|
25
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "mygroup";
|
|
26
|
+
const automationAccountName = "ContoseAutomationAccount";
|
|
27
|
+
const jobName = "foo";
|
|
28
|
+
const parameters = {
|
|
29
|
+
parameters: { key01: "value01", key02: "value02" },
|
|
30
|
+
runOn: "",
|
|
31
|
+
runbook: { name: "TestRunbook" }
|
|
32
|
+
};
|
|
33
|
+
const credential = new DefaultAzureCredential();
|
|
34
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
35
|
+
const result = yield client.jobOperations.create(resourceGroupName, automationAccountName, jobName, parameters);
|
|
36
|
+
console.log(result);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function main() {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
createJob();
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
main().catch(console.error);
|
|
45
|
+
//# sourceMappingURL=jobCreateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobCreateSample.js","sourceRoot":"","sources":["../../samples-dev/jobCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAuB,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,SAAS;;QACtB,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,SAAS,CAAC;QACxD,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;QACzD,MAAM,OAAO,GAAG,KAAK,CAAC;QACtB,MAAM,UAAU,GAAwB;YACtC,UAAU,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;YAClD,KAAK,EAAE,EAAE;YACT,OAAO,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;SACjC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,MAAM,CAC9C,iBAAiB,EACjB,qBAAqB,EACrB,OAAO,EACP,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,SAAS,EAAE,CAAC;IACd,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobGetOutputSample.d.ts","sourceRoot":"","sources":["../../samples-dev/jobGetOutputSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Retrieve the job output identified by job name.
|
|
17
|
+
*
|
|
18
|
+
* @summary Retrieve the job output identified by job name.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJobOutput.json
|
|
20
|
+
*/
|
|
21
|
+
function getJobOutput() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"51766542-3ed7-4a72-a187-0c8ab644ddab";
|
|
25
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "mygroup";
|
|
26
|
+
const automationAccountName = "ContoseAutomationAccount";
|
|
27
|
+
const jobName = "foo";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.jobOperations.getOutput(resourceGroupName, automationAccountName, jobName);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
getJobOutput();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=jobGetOutputSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobGetOutputSample.js","sourceRoot":"","sources":["../../samples-dev/jobGetOutputSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,YAAY;;QACzB,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,SAAS,CAAC;QACxD,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;QACzD,MAAM,OAAO,GAAG,KAAK,CAAC;QACtB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,SAAS,CACjD,iBAAiB,EACjB,qBAAqB,EACrB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,YAAY,EAAE,CAAC;IACjB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobGetRunbookContentSample.d.ts","sourceRoot":"","sources":["../../samples-dev/jobGetRunbookContentSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Retrieve the runbook content of the job identified by job name.
|
|
17
|
+
*
|
|
18
|
+
* @summary Retrieve the runbook content of the job identified by job name.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJobRunbookContent.json
|
|
20
|
+
*/
|
|
21
|
+
function getJobRunbookContent() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"51766542-3ed7-4a72-a187-0c8ab644ddab";
|
|
25
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "mygroup";
|
|
26
|
+
const automationAccountName = "ContoseAutomationAccount";
|
|
27
|
+
const jobName = "foo";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.jobOperations.getRunbookContent(resourceGroupName, automationAccountName, jobName);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
getJobRunbookContent();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=jobGetRunbookContentSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobGetRunbookContentSample.js","sourceRoot":"","sources":["../../samples-dev/jobGetRunbookContentSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,SAAS,CAAC;QACxD,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;QACzD,MAAM,OAAO,GAAG,KAAK,CAAC;QACtB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,iBAAiB,CACzD,iBAAiB,EACjB,qBAAqB,EACrB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/jobGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { AutomationClient } from "@azure/arm-automation";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Retrieve the job identified by job name.
|
|
17
|
+
*
|
|
18
|
+
* @summary Retrieve the job identified by job name.
|
|
19
|
+
* x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJob.json
|
|
20
|
+
*/
|
|
21
|
+
function getJob() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["AUTOMATION_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"51766542-3ed7-4a72-a187-0c8ab644ddab";
|
|
25
|
+
const resourceGroupName = process.env["AUTOMATION_RESOURCE_GROUP"] || "mygroup";
|
|
26
|
+
const automationAccountName = "ContoseAutomationAccount";
|
|
27
|
+
const jobName = "foo";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new AutomationClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.jobOperations.get(resourceGroupName, automationAccountName, jobName);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
getJob();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=jobGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobGetSample.js","sourceRoot":"","sources":["../../samples-dev/jobGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,MAAM;;QACnB,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;YACzC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,SAAS,CAAC;QACxD,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;QACzD,MAAM,OAAO,GAAG,KAAK,CAAC;QACtB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAChE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,GAAG,CAC3C,iBAAiB,EACjB,qBAAqB,EACrB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,MAAM,EAAE,CAAC;IACX,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobListByAutomationAccountSample.d.ts","sourceRoot":"","sources":["../../samples-dev/jobListByAutomationAccountSample.ts"],"names":[],"mappings":""}
|