Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,11 @@ Credential :

Specifies the API version used by the repository. Valid values are:

- `v2` - uses the NuGet V2 API
- `v3` - uses the NuGet V3 API
- `local` - use this for file system based repositories
- `nugetServer` - use this for NuGet.Server based repositories
- `V2` - uses the NuGet V2 API
- `V3` - uses the NuGet V3 API
- `ContainerRegistry` - used for Azure Container Registry
- `Local` - use this for file system based repositories
- `NugetServer` - use this for NuGet.Server based repositories

The `Register-PSResourceRepository` cmdlet should automatically detect the API version. This
parameter allows you to change the API version after you have registered a repository.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ Specifies the API version used by the repository. Valid values are:

- `v2` - uses the NuGet V2 API
- `v3` - uses the NuGet V3 API
- `ContainerRegistry` - used for Azure Container Registry
- `local` - use this for file system based repositories
- `nugetServer` - use this for NuGet.Server based repositories

Expand All @@ -166,7 +167,7 @@ parameter allows you to change the API version after you have registered a repos
Type: Microsoft.PowerShell.PSResourceGet.UtilClasses.PSRepositoryInfo+APIVersion
Parameter Sets: NameParameterSet
Aliases:
Accepted values: Unknown, V2, V3, Local, NugetServer, ContainerRegistry
Accepted values: V2, V3, Local, NugetServer, ContainerRegistry

Required: False
Position: Named
Expand Down