DotnetToolResource
Handle
interface DotnetToolResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport { withToolIgnoreExistingFeeds(): DotnetToolResource; withToolIgnoreFailedSources(): DotnetToolResource; withToolPackage(packageId: string): DotnetToolResource; withToolPrerelease(): DotnetToolResource; withToolSource(source: string): DotnetToolResource; withToolVersion(version: string): DotnetToolResource;} 6 members
Methods
Configures the tool to use only the specified package sources, ignoring existing NuGet configuration.
withToolIgnoreExistingFeeds(): DotnetToolResourceReturns
DotnetToolResource Configures the resource to treat package source failures as warnings.
withToolIgnoreFailedSources(): DotnetToolResourceReturns
DotnetToolResource Sets the package identifier for the tool configuration associated with the resource builder.
withToolPackage(packageId: string): DotnetToolResourceParameters
packageId string Returns
DotnetToolResource Allows prerelease versions of the tool to be used
withToolPrerelease(): DotnetToolResourceReturns
DotnetToolResource Adds a NuGet package source for tool acquisition.
withToolSource(source: string): DotnetToolResourceParameters
source string Returns
DotnetToolResource Sets the package version for a tool to use.
withToolVersion(version: string): DotnetToolResourceParameters
version string Returns
DotnetToolResource