ManagedIdentityCapabilitiesOptions.CapabilityDiscoveryTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.