Skip to content

Commit 7d8c420

Browse files
o-l-a-vsdwheeler
andauthored
Register-PSResourceRepository: Add ContainerRegistry as valid ApiVersion (#185)
* Add ContainerRegistry as valid ApiVersion * Remove "unknown" * Use relative linking * Update API version descriptions for repositories --------- Co-authored-by: Sean Wheeler <[email protected]>
1 parent 8f4f1cc commit 7d8c420

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,11 @@ Credential :
149149

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

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

157158
The `Register-PSResourceRepository` cmdlet should automatically detect the API version. This
158159
parameter allows you to change the API version after you have registered a repository.

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ Specifies the API version used by the repository. Valid values are:
156156

157157
- `v2` - uses the NuGet V2 API
158158
- `v3` - uses the NuGet V3 API
159+
- `ContainerRegistry` - used for Azure Container Registry
159160
- `local` - use this for file system based repositories
160161
- `nugetServer` - use this for NuGet.Server based repositories
161162

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

171172
Required: False
172173
Position: Named

0 commit comments

Comments
 (0)