Hello Orion SDK Community,
I'm attempting to update a SAM template by invoking the UpdateApplicationTemplateSettings verb.
Although the operation completes successfully (I get a response), no changes are shown in the application template.
Not sure what I'm missing here, I'm guessing there is something simple I'm missing.
Assuming that $swis is a valid connection string, please see the below code.
I appreciate anyone's help with this.
$sometemplate = "335"
$app_temp_setting = ([xml]"
<ApplicationTemplateSetting>
<Name>HelloWorld</Name>
<Description>This is a message from HelloWorld</Description>
<Frequency>350</Frequency>
<Timeout>350</Timeout>
<DebugLoggingEnabled>True</DebugLoggingEnabled>
<NumberOfLogFilesToKeep>31</NumberOfLogFilesToKeep>
<Use64Bit>False</Use64Bit>
</ApplicationTemplateSetting>").DocumentElement
Invoke-SwisVerb $swis Orion.APM.ApplicationTemplate UpdateApplicationTemplateSettings @($sometemplate,$app_temp_setting)
Thank you,
=swql