Changes for page Microservice Cmdlets
Last modified by jklein on 2025/08/15 09:48
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -155,7 +155,7 @@ 155 155 * **CpuUsage**: Die aktuelle CPU-Auslastung des Microservices in Prozent. 156 156 * **MemoryUsage**: Die aktuelle Speicherauslastung des Microservices in Bytes. 157 157 158 -== Edit-AESBMicroservice s==158 +== Edit-AESBMicroservice == 159 159 160 160 Dieses Cmdlet ermöglicht die Bearbeitung der Konfiguration eines spezifischen Microservice. Derzeit unterstützt es die Änderung des Starttyps (StartupType) und optional die Konfiguration von Anmeldeinformationen (Credentials) für den Microservice. Dies ist besonders nützlich, um das Startverhalten von Microservices zu steuern oder SICS-Anmeldeinformationen zu aktualisieren. 161 161 ... ... @@ -653,7 +653,34 @@ 653 653 {{/apimacro}} 654 654 655 655 {{apimacro title="Beispiel der Template-Konfiguration"}} 656 - 656 +{{code language="PowerShell" layout="LINENUMBERS"}} 657 +$templateConfig = "<MicroserviceConfiguration Version=`"1.11.0.895`" Type=`"SnmpConnector`" SessionKey=`"bcafdb4e94f2572eed78525430ad0e0275229f98`"> 658 + <SnmpConnectorConfiguration> 659 + <SnmpReader> 660 + <ParallelRequests>10</ParallelRequests> 661 + <SchedulingConfig> 662 + <SchedulingConfig_Scheduling>Interval</SchedulingConfig_Scheduling> 663 + <SchedulingConfig_Interval>P1D</SchedulingConfig_Interval> 664 + <SchedulingConfig_IgnoreLastExecutionTime>false</SchedulingConfig_IgnoreLastExecutionTime> 665 + </SchedulingConfig> 666 + <Groups /> 667 + <GlobalCredentialLists> 668 + <GlobalCredentials /> 669 + <GlobalCredentialsNoPriv /> 670 + <GlobalCredentialsNoAuthNoPriv /> 671 + </GlobalCredentialLists> 672 + </SnmpReader> 673 + <SnmpWriters> 674 + <DescriptionWriteMode>Keep</DescriptionWriteMode> 675 + <LocationWriteMode>Ignore</LocationWriteMode> 676 + <ContactWriteMode>Ignore</ContactWriteMode> 677 + <ProcessorWriter /> 678 + <DispatcherStarter /> 679 + <FileDumper /> 680 + </SnmpWriters> 681 + </SnmpConnectorConfiguration> 682 +</MicroserviceConfiguration>" 683 +{{/code}} 657 657 {{/apimacro}} 658 658 659 659 === **Rückgabewerte** === ... ... @@ -674,73 +674,30 @@ 674 674 ** Version 675 675 *** Die Versionierung des Templates 676 676 677 -{{apimacro title="Rcükgabewerte der Template-Konfiguration"}} 704 +{{apimacro title="Rückgabewerte der Template-Konfiguration"}} 705 +{{code language="PowerShell" layout="LINENUMBERS"}} 706 +Successfully added template 'Test'. 678 678 679 -{{/apimacro}} 680 - 681 -**Beispiel Template Konfiguration** 682 - 683 -|((( 684 -1 685 - 686 -2 687 - 688 -3 689 - 690 -4 691 - 692 -5 693 - 694 -6 695 - 696 -7 697 - 698 -8 699 - 700 -9 701 - 702 -10 703 - 704 -11 705 - 706 -12 707 - 708 -13 709 - 710 -14 711 -)))|((( 712 -Successfully added template 'Test'. 713 - 714 - 715 -TemplateId : 119398aa-8108-43bd-811b-bd3e703e7f5c 716 - 708 +TemplateId : 119398aa-8108-43bd-811b-bd3e703e7f5c 717 717 Configuration : <SnmpConnectorConfiguration><SnmpReader><ParallelRequests>10</ParallelRequests><SchedulingConfig><Sched 718 - 719 719 ulingConfig_Scheduling>Interval</SchedulingConfig_Scheduling><SchedulingConfig_Interval>P1D</Scheduling 720 - 721 721 Config_Interval><SchedulingConfig_IgnoreLastExecutionTime>false</SchedulingConfig_IgnoreLastExecutionTi 722 - 723 723 me></SchedulingConfig><Groups /><GlobalCredentialLists><GlobalCredentials /><GlobalCredentialsNoPriv 724 - 725 725 /><GlobalCredentialsNoAuthNoPriv /></GlobalCredentialLists></SnmpReader><SnmpWriters><DescriptionWriteM 726 - 727 727 ode>Keep</DescriptionWriteMode><LocationWriteMode>Ignore</LocationWriteMode><ContactWriteMode>Ignore</C 728 - 729 729 ontactWriteMode><ProcessorWriter /><DispatcherStarter /><FileDumper 730 - 731 731 /></SnmpWriters></SnmpConnectorConfiguration> 717 +Name : Test 718 +Type : SnmpConnector 719 +Version : 1.11.0.895 720 +{{/code}} 721 +{{/apimacro}} 732 732 733 - Name:Test723 +== Export-MicroserviceTemplateConfig == 734 734 735 - Type:SnmpConnector725 +Dieses Cmdlet ermöglicht es, die Konfiguration einer Microservice-Vorlagen zu exportieren. 736 736 737 -Version : 1.11.0.895 738 -))) 739 739 740 - 741 - 742 -== Export-MicroserviceTemplateConfig == 743 - 744 744 == Get-AESBMicroserviceTemplateConfig == 745 745 746 746 == Import-AESBMicroserviceTemplateConfig ==

