Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithApiVersionCheck

Method
📦 Aspire.Hosting.Azure.Storage v17.0.0
func (AzureStorageEmulatorResource) WithApiVersionCheck(options ...*WithApiVersionCheckOptions) AzureStorageEmulatorResource

Signature

methodWithApiVersionCheckbuilder
Ensures the emulator checks that the requested API version is valid.
WithApiVersionCheck(options ...*WithApiVersionCheckOptions) AzureStorageEmulatorResource
options...*WithApiVersionCheckOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithApiVersionCheckOptions argument.

Enable*boolWhether to enable API version check or not. Default is true.
AzureStorageEmulatorResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: