To use this function add it to the class library file named PluginVCACCAFEService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: PluginVCACCAFEService.ts
Public Function: FindAllForType
publicFindAllForType<T>(strObjectType:"CustomProperty"|"CatalogResourceExtension"|"ApprovalPolicy"|"Subtenant"|"WorkItem"|"CatalogResourceAction"|"EventTopic"|"CatalogItemRequest"|"IdentityStore"|"AdminCatalogItem"|"EndpointType"|"CatalogItem"|"ResourceActionRequest"|"CompositeBlueprint"|"PropertyGroup"|"BusinessGroup"|"Endpoint"|"Entitlement"|"CatalogResource"|"ConsumerResourceOperation"|"VCACHost"|"FabricGroup"|"CustomResource"|"WorkItemAction"|"Tenant"|"Service"|"WorkflowSubscription"|"PropertyDefinition"|"ResourceAction"|"ReservationPolicy"|"Reservation"|"ServiceBlueprint"|"AssociationType"|"MachinePrefix"):T[]{
letstrObjectTypePrefix:string="vCACCAFE";
letstrObjectTypeName:string=`${strObjectTypePrefix}:${strObjectType}`;
letarrObjectType:T[]=this.serverFindAllForType<T>(strObjectTypeName);
returnarrObjectType;
}TypeScriptDiscover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
