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
DotnetToolResourceConfigures the resource to treat package source failures as warnings.
withToolIgnoreFailedSources(): DotnetToolResourceReturns
DotnetToolResourceSets the package identifier for the tool configuration associated with the resource builder.
withToolPackage(packageId: string): DotnetToolResourceParameters
packageIdstringReturns
DotnetToolResourceAllows prerelease versions of the tool to be used
withToolPrerelease(): DotnetToolResourceReturns
DotnetToolResourceAdds a NuGet package source for tool acquisition.
withToolSource(source: string): DotnetToolResourceParameters
sourcestringReturns
DotnetToolResourceSets the package version for a tool to use.
withToolVersion(version: string): DotnetToolResourceParameters
versionstringReturns
DotnetToolResource