WebhookInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. containerregistry. fluent. models. WebhookInner
- com.
- com.
- com.
public final class WebhookInner
extends Resource
An object that represents a webhook for a container registry.
Constructor | Description |
---|---|
Webhook |
Creates an instance of Webhook |
Modifier and Type | Method and Description |
---|---|
List<Webhook |
actions()
Get the actions property: The list of actions that trigger the webhook to post notifications. |
static
Webhook |
from Reads an instance of Webhook |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioning Get the provisioning |
String |
scope()
Get the scope property: The scope of repositories where the event can be triggered. |
Webhook |
status()
Get the status property: The status of the webhook at the time the operation was called. |
System |
system Get the system |
Json |
to |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Webhook |
with Set the actions property: The list of actions that trigger the webhook to post notifications. |
Webhook |
with |
Webhook |
with Set the scope property: The scope of repositories where the event can be triggered. |
Webhook |
with Set the status property: The status of the webhook at the time the operation was called. |
Webhook |
with |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
WebhookInner
public WebhookInner()
Creates an instance of WebhookInner class.
actions
public List
Get the actions property: The list of actions that trigger the webhook to post notifications.
Returns:
fromJson
public static WebhookInner fromJson(JsonReader jsonReader)
Reads an instance of WebhookInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
WebhookInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
WebhookInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the webhook at the time the operation was called.
Returns:
scope
public String scope()
Get the scope property: The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
Returns:
status
public WebhookStatus status()
Get the status property: The status of the webhook at the time the operation was called.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WebhookInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
WebhookInner.type()Returns:
validate
public void validate()
Validates the instance.
withActions
public WebhookInner withActions(List
Set the actions property: The list of actions that trigger the webhook to post notifications.
Parameters:
Returns:
withLocation
public WebhookInner withLocation(String location)
Overrides:
WebhookInner.withLocation(String location)Parameters:
withScope
public WebhookInner withScope(String scope)
Set the scope property: The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
Parameters:
Returns:
withStatus
public WebhookInner withStatus(WebhookStatus status)
Set the status property: The status of the webhook at the time the operation was called.
Parameters:
Returns:
withTags
public WebhookInner withTags(Map
Overrides:
WebhookInner.withTags(Map<String,String> tags)Parameters:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: