-
Notifications
You must be signed in to change notification settings - Fork 0
AzDoAuditStream
github-actions[bot] edited this page Aug 19, 2026
·
4 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| StreamName | Key | System.String | ||
| ConsumerInputs | Required | System.Collections.Hashtable | ||
| ConsumerType | Required | System.String |
AzureMonitorLogs, Splunk, AzureEventGrid, AzureEventHub
|
|
| Enabled | Write | System.Boolean | ||
| Ensure | Write | Ensure |
Present, Absent
|
|
| LookupResult | Read | System.Collections.Hashtable |
configuration Add_AzDoAuditStream
{
Import-DscResource -ModuleName AzureDevOpsDscNative
AzDoAuditStream 'AddAuditStream'
{
StreamName = 'MySlackAuditStream'
ConsumerType = 'Slack'
ConsumerInputs = @{
webhookUrl = 'https://hooks.slack.com/services/T000/B000/XXXX'
channelId = '#audit'
}
Enabled = $true
Ensure = 'Present'
}
}configuration Update_AzDoAuditStream
{
Import-DscResource -ModuleName AzureDevOpsDscNative
AzDoAuditStream 'UpdateAuditStream'
{
StreamName = 'MySlackAuditStream'
ConsumerType = 'Slack'
ConsumerInputs = @{
webhookUrl = 'https://hooks.slack.com/services/T000/B000/YYYY'
channelId = '#audit-updated'
}
Enabled = $true
Ensure = 'Present'
}
}configuration Remove_AzDoAuditStream
{
Import-DscResource -ModuleName AzureDevOpsDscNative
AzDoAuditStream 'RemoveAuditStream'
{
StreamName = 'MySlackAuditStream'
ConsumerType = 'Slack'
ConsumerInputs = @{
webhookUrl = 'https://hooks.slack.com/services/T000/B000/XXXX'
}
Ensure = 'Absent'
}
}- 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