| Modifier and Type | Interface and Description |
|---|---|
static interface |
Webhook.WebhookDefinition<ParentT>
Grouping of the container register webhook definitions.
|
| Modifier and Type | Method and Description |
|---|---|
Webhook.DefinitionStages.WithAttach<ParentT> |
Webhook.DefinitionStages.WithDefaultStatus.enabled(boolean defaultStatus)
Specifies the default status of the webhook; default is "enabled".
|
Webhook.DefinitionStages.WithAttach<ParentT> |
Webhook.DefinitionStages.WithCustomHeaders.withCustomHeader(String name,
String value)
Specifies a custom header that will be added to notifications.
|
Webhook.DefinitionStages.WithAttach<ParentT> |
Webhook.DefinitionStages.WithCustomHeaders.withCustomHeaders(Map<String,String> customHeaders)
Specifies the custom headers that will be added to the notifications.
|
Webhook.DefinitionStages.WithAttach<ParentT> |
Webhook.DefinitionStages.WithRepositoriesScope.withRepositoriesScope(String repositoriesScope)
Specifies the scope of repositories where the event can be triggered.
|
Webhook.DefinitionStages.WithAttach<ParentT> |
Webhook.DefinitionStages.WithServiceUri.withServiceUri(String serviceUri)
Specifies the service URI for post notifications.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/