Interface Webhook
public interface Webhook
An immutable client-side representation of Webhook.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Webhook definition.static interface
The Webhook definition stages.static interface
The template for Webhook update.static interface
The Webhook update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the creationTime property: Gets or sets the creation time.Gets the description property: Gets or sets the description.Gets the expiryTime property: Gets or sets the expiry time.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.automation.fluent.models.WebhookInner object.Gets the isEnabled property: Gets or sets the value of the enabled flag of the webhook.Gets the lastInvokedTime property: Gets or sets the last invoked time.Gets the lastModifiedBy property: Details of the user who last modified the Webhook.Gets the lastModifiedTime property: Gets or sets the last modified time.name()
Gets the name property: The name of the resource.Gets the parameters property: Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.runbook()
Gets the runbook property: Gets or sets the runbook the webhook is associated with.runOn()
Gets the runOn property: Gets or sets the name of the hybrid worker group the webhook job will run on.type()
Gets the type property: The type of the resource.update()
Begins update for the Webhook resource.uri()
Gets the uri property: Gets or sets the webhook uri.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
isEnabled
Boolean isEnabled()Gets the isEnabled property: Gets or sets the value of the enabled flag of the webhook.- Returns:
- the isEnabled value.
-
uri
String uri()Gets the uri property: Gets or sets the webhook uri.- Returns:
- the uri value.
-
expiryTime
OffsetDateTime expiryTime()Gets the expiryTime property: Gets or sets the expiry time.- Returns:
- the expiryTime value.
-
lastInvokedTime
OffsetDateTime lastInvokedTime()Gets the lastInvokedTime property: Gets or sets the last invoked time.- Returns:
- the lastInvokedTime value.
-
parameters
Gets the parameters property: Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.- Returns:
- the parameters value.
-
runbook
RunbookAssociationProperty runbook()Gets the runbook property: Gets or sets the runbook the webhook is associated with.- Returns:
- the runbook value.
-
runOn
String runOn()Gets the runOn property: Gets or sets the name of the hybrid worker group the webhook job will run on.- Returns:
- the runOn value.
-
creationTime
OffsetDateTime creationTime()Gets the creationTime property: Gets or sets the creation time.- Returns:
- the creationTime value.
-
lastModifiedTime
OffsetDateTime lastModifiedTime()Gets the lastModifiedTime property: Gets or sets the last modified time.- Returns:
- the lastModifiedTime value.
-
lastModifiedBy
String lastModifiedBy()Gets the lastModifiedBy property: Details of the user who last modified the Webhook.- Returns:
- the lastModifiedBy value.
-
description
String description()Gets the description property: Gets or sets the description.- Returns:
- the description value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
WebhookInner innerModel()Gets the inner com.azure.resourcemanager.automation.fluent.models.WebhookInner object.- Returns:
- the inner object.
-
update
Webhook.Update update()Begins update for the Webhook resource.- Returns:
- the stage of resource update.
-
refresh
Webhook refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-