TestimoX

API Reference

Class

AdmxUpdateService

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

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) #
Returns: 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 requiredposition: 0
Plan produced by AdmxRelease).
options ADPlayground.Gpo.GpoLocal.AdmxUpdateOptions requiredposition: 1
Copy behavior options (overwrite, backup, destination, language).
workingDirectory System.String requiredposition: 2
Temporary working folder for downloads/extraction.

Returns

Execution result describing filesystem operations performed.

public static AdmxUpdatePlan BuildPlan(AdmxInventory inventory, AdmxRelease release) #
Returns: AdmxUpdatePlan

Composes an update plan from a discovered release and existing inventory.

Parameters

inventory ADPlayground.Gpo.GpoLocal.AdmxInventory requiredposition: 0
Current ADMX/ADML inventory.
release ADPlayground.Gpo.GpoLocal.AdmxRelease requiredposition: 1
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) #
Returns: 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 requiredposition: 0
options ADPlayground.Gpo.GpoLocal.AdmxUpdateOptions requiredposition: 1
workingDirectory System.String requiredposition: 2
public static Object Project(AdmxUpdateReview review, AdmxStatusView view) #
Returns: Object

Projects an ADMX update review into a focused view object.

Parameters

review ADPlayground.Gpo.GpoLocal.AdmxUpdateReview requiredposition: 0
view ADPlayground.Gpo.GpoLocal.AdmxStatusView requiredposition: 1
public static IReadOnlyList<Object> ProviderMatrix(AdmxProvider[] providers) #
Returns: IReadOnlyList<Object>

Builds a provider availability matrix. When providers is null, all known providers are checked.

Parameters

providers ADPlayground.Gpo.GpoLocal.AdmxProvider[] requiredposition: 0
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) #
Returns: AdmxUpdateReview

Returns inventory + health diagnostics and an optional plan for the provided release.

Parameters

domainName System.String requiredposition: 0
language System.String requiredposition: 1
release ADPlayground.Gpo.GpoLocal.AdmxRelease = null optionalposition: 2