-
Notifications
You must be signed in to change notification settings - Fork 0
AzDoServiceHook
github-actions[bot] edited this page Aug 19, 2026
·
4 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Name | Key | System.String | A logical name for the subscription. This is the key; it is not sent to Azure DevOps. | |
| ConsumerActionId | Required | System.String | The consumer action id (e.g. 'httpRequest'). | |
| ConsumerId | Required | System.String | The consumer id (e.g. 'webHooks'). | |
| EventType | Required | System.String | The event type (e.g. 'git.push', 'build.complete'). | |
| PublisherId | Required | System.String | The event publisher id (e.g. 'tfs', 'rm'). | |
| ConsumerInputs | Write | System.Collections.Hashtable | The consumer input values (e.g. @{ url = 'https://...' }). | |
| Ensure | Write | Ensure |
Present, Absent
|
|
| ProjectName | Write | System.String | Optional project to scope the subscription to; its id is added to the publisher inputs. | |
| PublisherInputs | Write | System.Collections.Hashtable | The publisher input values (e.g. @{ repository = '...' }). | |
| ResourceVersion | Write | System.String | The event resource version. Defaults to '1.0'. | |
| LookupResult | Read | System.Collections.Hashtable |
The AzDoServiceHook resource creates and manages service hook subscriptions (e.g. webhooks to external systems) via the Service Hooks REST API. Subscriptions have no native name, so the Name property is a logical DSC handle; the live subscription is matched by its identity tuple (publisherId + eventType + consumerId + consumerActionId, plus the consumer 'url'). It inherits Test()/Set() from the AzDevOpsDscResourceBase class.
- 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