Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureStorageEmulatorResource.WithApiVersionCheck

Method
📦 Aspire.Hosting.Azure.Storage v17.0.0
type AzureStorageEmulatorResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: