API Reference
AdmxUpdateService
Creates update plans for ADMX/ADML repositories and aggregates inventory with health diagnostics. Network fetching is out-of-scope; callers provide release manifests (e.g., JSON → AdmxRelease).
Inheritance
- Object
- AdmxUpdateService
Methods
public static async Task<AdmxUpdateExecutionResult> ApplyAsync(AdmxUpdatePlan plan, AdmxUpdateOptions options, String workingDirectory) #Task<AdmxUpdateExecutionResult>Downloads assets from the update plan and (optionally) copies ADMX/ADML into the Central Store. This performs filesystem work only; call sites should guard with WhatIf/Confirm.
Parameters
- plan ADPlayground.Gpo.GpoLocal.AdmxUpdatePlan
- Plan produced by AdmxRelease).
- options ADPlayground.Gpo.GpoLocal.AdmxUpdateOptions
- Copy behavior options (overwrite, backup, destination, language).
- workingDirectory System.String
- Temporary working folder for downloads/extraction.
Returns
Execution result describing filesystem operations performed.
public static AdmxUpdatePlan BuildPlan(AdmxInventory inventory, AdmxRelease release) #AdmxUpdatePlanComposes an update plan from a discovered release and existing inventory.
Parameters
- inventory ADPlayground.Gpo.GpoLocal.AdmxInventory
- Current ADMX/ADML inventory.
- release ADPlayground.Gpo.GpoLocal.AdmxRelease
- Release artifact(s) to apply.
Returns
Plan listing download actions and target version metadata.
public static async Task<AdmxUpdatePreview> PreviewAsync(AdmxUpdatePlan plan, AdmxUpdateOptions options, String workingDirectory) #Task<AdmxUpdatePreview>Builds a preview of the update by downloading/extracting to a working directory and comparing to destination without copying.
Parameters
- plan ADPlayground.Gpo.GpoLocal.AdmxUpdatePlan
- options ADPlayground.Gpo.GpoLocal.AdmxUpdateOptions
- workingDirectory System.String
public static Object Project(AdmxUpdateReview review, AdmxStatusView view) #ObjectProjects an ADMX update review into a focused view object.
Parameters
- review ADPlayground.Gpo.GpoLocal.AdmxUpdateReview
- view ADPlayground.Gpo.GpoLocal.AdmxStatusView
public static IReadOnlyList<Object> ProviderMatrix(AdmxProvider[] providers) #IReadOnlyList<Object>Builds a provider availability matrix. When providers is null, all known providers are checked.
Parameters
- providers ADPlayground.Gpo.GpoLocal.AdmxProvider[]
- Optional provider filter.
Returns
List of rows with Provider, Available, Version, Source, and Kind (Download|LocalSource).
public static AdmxUpdateReview Review(String domainName, String language, AdmxRelease release = null) #AdmxUpdateReviewReturns inventory + health diagnostics and an optional plan for the provided release.
Parameters
- domainName System.String
- language System.String
- release ADPlayground.Gpo.GpoLocal.AdmxRelease = null