-
Notifications
You must be signed in to change notification settings - Fork 0
AzDoArtifactFeedSettings
github-actions[bot] edited this page Aug 19, 2026
·
4 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| ProjectName | Key | System.String | ||
| FeedName | Required | System.String | ||
| DaysToKeepRecentlyDownloadedPackages | Write | System.Int32 | ||
| Ensure | Write | Ensure |
Present, Absent
|
|
| HideDeletedPackageVersions | Write | System.Boolean | ||
| RetentionCountLimit | Write | System.Int32 | ||
| UpstreamSources | Write | System.Collections.Hashtable[] | ||
| LookupResult | Read | System.Collections.Hashtable |
Manages the configurable settings of an existing feed: its upstream sources, whether deleted package versions are hidden, and the artifact lifecycle (retention policy). Retention is only managed when 'RetentionCountLimit' is greater than zero.
This example shows how to configure the settings of an Azure Artifacts feed, including upstream sources, hiding deleted package versions, and the artifact lifecycle (retention policy). Use AzDoArtifactFeedPermission to manage who can read or contribute to the feed.
Configuration Example
{
Import-DscResource -ModuleName 'AzureDevOpsDscNative'
node localhost
{
AzDoArtifactFeedSettings 'ConfigureMyFeed'
{
Ensure = 'Present'
ProjectName = 'MyProject'
FeedName = 'MyFeed'
UpstreamSources = @('npmjs', 'NuGet Gallery')
HideDeletedPackageVersions = $true
# Artifact lifecycle (retention policy)
RetentionCountLimit = 100
DaysToKeepRecentlyDownloadedPackages = 30
}
}
}- Assert-BoundParameter
- Assert-ElevatedUser
- Assert-IPAddress
- Assert-Module
- AzDoAPI_0_ProjectCache
- AzDoAPI_1_GroupCache
- AzDoAPI_2_UserCache
- AzDoAPI_3_GroupMemberCache
- AzDoAPI_4_GitRepositoryCache
- AzDoAPI_5_PermissionsCache
- AzDoAPI_6_ServicePrinciple
- AzDoAPI_7_IdentitySubjectDescriptors
- AzDoAPI_8_ProjectProcessTemplates
- AzDoAPI_9_DevOpsClassificationNodes
- Compare-DscParameterState
- Compare-ResourcePropertyState
- ConvertFrom-DscResourceInstance
- ConvertTo-Base64String
- ConvertTo-CimInstance
- ConvertTo-HashTable
- Find-Certificate
- Format-Path
- Get-AzDevOpsOperation
- Get-AzDevOpsServicesApiUri
- Get-AzDevOpsServicesUri
- AzDoAgentPool
- AzDoAgentPoolPermission
- AzDoAgentQueue
- AzDoAreaNodes
- AzDoAreaPermission
- AzDoArtifactFeed
- AzDoArtifactFeedPermission
- AzDoArtifactFeedSettings
- AzDoArtifactFeedView
- AzDoAuditStream
- AzDoBranchPolicy
- AzDoCheckConfiguration
- AzDoDeploymentGroup
- AzDoEnvironmentApproval
- AzDoEnvironmentPermission
- AzDoExtension
- AzDoGitPermission
- AzDoGitRepository
- AzDoGroupMember
- AzDoGroupPermission
- AzDoIterationNodes
- AzDoIterationPermission
- AzDoNotificationSubscription
- AzDoOrganizationGroup
- AzDoOrganizationSettings
- AzDoPipeline
- AzDoPipelineEnvironment
- AzDoPipelinePermission
- AzDoPipelineSettings
- AzDoProcess
- AzDoProcessPermission
- AzDoProject
- AzDoProjectGroup
- AzDoProjectPermission
- AzDoProjectServices
- AzDoRepositorySettings
- AzDoSecurityNamespacePermission
- AzDoServiceConnection
- AzDoServiceConnectionPermission
- AzDoServiceHook
- AzDoTaskGroup
- AzDoTeam
- AzDoTeamMember
- AzDoTeamSettings
- AzDoUserEntitlement
- AzDoVariableGroup
- AzDoVariableGroupPermission
- AzDoWiki
- AzDoWIPTags