To use this function add it to the class library file named PluginVCACCAFEService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: PluginVCACCAFEService.ts
Description: Orchestrator Function to Find All Objects of a Given Type for vCACCAFE.
Public Function: FindAllForType
public FindAllForType<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[] {
let strObjectTypePrefix: string = "vCACCAFE";
let strObjectTypeName: string = `${strObjectTypePrefix}:${strObjectType}`;
let arrObjectType: T[] = this.serverFindAllForType<T>(strObjectTypeName);
return arrObjectType;
}TypeScriptDiscover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
