| Modifier and Type | Interface and Description |
|---|---|
static interface |
Webhook.UpdateResource<ParentT>
The entirety of a webhook resource update as part of a container registry update.
|
static interface |
Webhook.UpdateResourceStages.Blank<ParentT>
The first stage of the webhook definition.
|
| Modifier and Type | Method and Description |
|---|---|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
Webhook.UpdateResourceStages.WithDefaultStatus.enabled(boolean defaultStatus)
Updates the default status of the webhook.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
Webhook.UpdateResourceStages.WithCustomHeaders.withCustomHeader(String name,
String value)
Specifies a custom header that will be added to notifications.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
Webhook.UpdateResourceStages.WithCustomHeaders.withCustomHeaders(Map<String,String> customHeaders)
Specifies the custom headers that will be added to the notifications.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
Webhook.UpdateResourceStages.WithOrWithoutTags.withoutTag(String key)
Removes a tag from the resource.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
Webhook.UpdateResourceStages.WithRepositoriesScope.withRepositoriesScope(String repositoriesScope)
Updates the scope of repositories where the event can be triggered.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
Webhook.UpdateResourceStages.WithServiceUri.withServiceUri(String serviceUri)
Specifies the service URI for post notifications.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
Webhook.UpdateResourceStages.WithOrWithoutTags.withTag(String key,
String value)
Adds a tag to the webhook.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
Webhook.UpdateResourceStages.WithOrWithoutTags.withTags(Map<String,String> tags)
Specifies tags for the webhook.
|
Webhook.UpdateResourceStages.WithAttach<ParentT> |
Webhook.UpdateResourceStages.WithTriggerWhen.withTriggerWhen(WebhookAction... webhookActions)
Specifies the actions that will trigger the webhook notifications.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/