Language

ManagedIdentityCapabilitiesOptions.CapabilityDiscoveryTimeout Property

Definition

Gets or sets the total time allowed for uncached managed identity capability discovery.

public TimeSpan? CapabilityDiscoveryTimeout { get; set; }
member this.CapabilityDiscoveryTimeout : Nullable<TimeSpan> with get, set
Public Property CapabilityDiscoveryTimeout As Nullable(Of TimeSpan)

Property Value

Remarks

The timeout covers discovery lock contention, IMDS probes and retries, fallback, compute metadata retrieval, and binding-strength detection. A null value preserves the existing cancellation ordering and waits without a discovery timeout. When a timeout is configured, an already-canceled caller token is observed before uncached discovery begins. Cancellation is cooperative, so non-interruptible platform work may finish before the timeout is observed.

Applies to