TestimoX

API Reference

Class

BenchmarkTarget

Namespace TestimoX.Benchmarks.Targets
Assembly TestimoX
Modifiers sealed

Identifies one concrete resource assessed or changed by the benchmark engine without storing credentials.

Inheritance

  • Object
  • BenchmarkTarget

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Methods

public static BenchmarkTarget ActiveDirectoryCertificateAuthority(String computerName, String certificationAuthorityName = null) #
Returns: BenchmarkTarget

Creates an Active Directory Certificate Services certification-authority target.

Parameters

computerName System.String requiredposition: 0
certificationAuthorityName System.String = null optionalposition: 1
public BenchmarkTarget Clone() #
Returns: BenchmarkTarget

Creates an independent copy safe for provider discovery and execution enrichment.

public static BenchmarkTarget DhcpServer(String computerName) #
Returns: BenchmarkTarget

Creates a Windows DHCP server target.

Parameters

computerName System.String requiredposition: 0
public static BenchmarkTarget DnsServer(String computerName) #
Returns: BenchmarkTarget

Creates a Windows DNS server target.

Parameters

computerName System.String requiredposition: 0
public static BenchmarkTarget EntraConnectServer(String computerName) #
Returns: BenchmarkTarget

Creates a Microsoft Entra Connect synchronization-server target.

Parameters

computerName System.String requiredposition: 0
public static BenchmarkTarget ExchangeOrganization(String computerName) #
Returns: BenchmarkTarget

Creates an Exchange organization target routed through an on-premises management server.

Parameters

computerName System.String requiredposition: 0
public static BenchmarkTarget FailoverClusterNode(String computerName) #
Returns: BenchmarkTarget

Creates a Windows failover-cluster node target.

Parameters

computerName System.String requiredposition: 0
public static BenchmarkTarget FileServer(String computerName) #
Returns: BenchmarkTarget

Creates a Windows file-server target.

Parameters

computerName System.String requiredposition: 0
public static BenchmarkTarget FromIdentifier(BenchmarkTargetKind kind, String identifier, String computerName = null) #
Returns: BenchmarkTarget

Creates a supported top-level target from an operator or inventory identifier.

Parameters

kind TestimoX.Benchmarks.BenchmarkTargetKind requiredposition: 0
Concrete target kind.
identifier System.String requiredposition: 1
Computer name, SQL Server endpoint, or other top-level resource identifier.
computerName System.String = null optionalposition: 2
Optional Windows host that owns or exposes the resource.
public static BenchmarkTarget HyperVHost(String computerName) #
Returns: BenchmarkTarget

Creates a Microsoft Hyper-V host target.

Parameters

computerName System.String requiredposition: 0
public static BenchmarkTarget IisServer(String computerName) #
Returns: BenchmarkTarget

Creates an IIS server target.

Parameters

computerName System.String requiredposition: 0
public String RequireComputerName() #
Returns: String

Returns the target computer name or throws when the resource has no Windows host.

public static BenchmarkTarget SqlServerInstance(String serverOrInstance, String computerName = null) #
Returns: BenchmarkTarget

Creates a SQL Server instance target using a non-secret server or instance endpoint.

Parameters

serverOrInstance System.String requiredposition: 0
computerName System.String = null optionalposition: 1
public static BenchmarkTarget WindowsHost(String computerName) #
Returns: BenchmarkTarget

Creates a Windows-host target.

Parameters

computerName System.String requiredposition: 0
public static BenchmarkTarget WindowsServerUpdateServicesServer(String computerName) #
Returns: BenchmarkTarget

Creates a Windows Server Update Services target.

Parameters

computerName System.String requiredposition: 0

Properties

public String Id { get; set; } #

Gets or sets the stable target identifier used in plans, reports, and transaction records.

public BenchmarkTargetKind Kind { get; set; } #

Gets or sets the concrete target kind.

public String DisplayName { get; set; } #

Gets or sets the user-facing target name.

public String ComputerName { get; set; } #

Gets or sets the Windows host that owns or exposes this resource.

public String Endpoint { get; set; } #

Gets or sets a non-secret provider endpoint such as sql01\instance.

public String ResourceName { get; set; } #

Gets or sets a resource name within the parent target.

public String ParentId { get; set; } #

Gets or sets the parent target identifier when this resource is nested.

public String ProductName { get; set; } #

Gets or sets the discovered product name.

public String ProductVersion { get; set; } #

Gets or sets the discovered product version.

public String ProductEdition { get; set; } #

Gets or sets the discovered product edition.

public HashSet<BenchmarkWorkloadRole> WorkloadRoles { get; set; } #

Gets or sets declared workload roles for applicability and assignment.

public Dictionary<String, String> Labels { get; set; } #

Gets or sets non-secret inventory and routing labels.

public Dictionary<String, String> Facts { get; set; } #

Gets or sets non-secret provider facts retained with the assessment.