sparse-intern-71089
08/04/2023, 8:51 AMfull-eve-52536
08/04/2023, 1:58 PMI would like to have the id of managementZone available inI image you have something like this in managementZone.ts:&autoTag.ts
. What would be the best way to achieve that? Thanks.alertingProfile.ts
export const myManagementZone = dynatrace.getManagementZone({
name: "Example",
});
In autoTag.ts
and alertingProfile.ts
you can import myMangementZone
and reference it's ID:
import { myManagementZone } from './mangementZone.ts';
console.log(myManagementZone.id);
As for referencing a resource solely using the logical name, I'm not sure if that's possible.salmon-account-74572
08/04/2023, 3:30 PMindex.ts
).modern-journalist-43763
08/06/2023, 8:29 PM