1. Packages
  2. Azure Native v2
  3. API Docs
  4. automation
  5. getWebhook
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.automation.getWebhook

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Retrieve the webhook identified by webhook name. Azure REST API version: 2015-10-31.

Other available API versions: 2023-05-15-preview, 2024-10-23.

Using getWebhook

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getWebhook(args: GetWebhookArgs, opts?: InvokeOptions): Promise<GetWebhookResult>
function getWebhookOutput(args: GetWebhookOutputArgs, opts?: InvokeOptions): Output<GetWebhookResult>
Copy
def get_webhook(automation_account_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                webhook_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetWebhookResult
def get_webhook_output(automation_account_name: Optional[pulumi.Input[str]] = None,
                resource_group_name: Optional[pulumi.Input[str]] = None,
                webhook_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetWebhookResult]
Copy
func LookupWebhook(ctx *Context, args *LookupWebhookArgs, opts ...InvokeOption) (*LookupWebhookResult, error)
func LookupWebhookOutput(ctx *Context, args *LookupWebhookOutputArgs, opts ...InvokeOption) LookupWebhookResultOutput
Copy

> Note: This function is named LookupWebhook in the Go SDK.

public static class GetWebhook 
{
    public static Task<GetWebhookResult> InvokeAsync(GetWebhookArgs args, InvokeOptions? opts = null)
    public static Output<GetWebhookResult> Invoke(GetWebhookInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
public static Output<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:automation:getWebhook
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AutomationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
WebhookName
This property is required.
Changes to this property will trigger replacement.
string
The webhook name.
AutomationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
WebhookName
This property is required.
Changes to this property will trigger replacement.
string
The webhook name.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the automation account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.
webhookName
This property is required.
Changes to this property will trigger replacement.
String
The webhook name.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
webhookName
This property is required.
Changes to this property will trigger replacement.
string
The webhook name.
automation_account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the automation account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of an Azure Resource group.
webhook_name
This property is required.
Changes to this property will trigger replacement.
str
The webhook name.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the automation account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.
webhookName
This property is required.
Changes to this property will trigger replacement.
String
The webhook name.

getWebhook Result

The following output properties are available:

Id string
Fully qualified resource Id for the resource
Name string
The name of the resource
Type string
The type of the resource.
CreationTime string
Gets or sets the creation time.
Description string
Gets or sets the description.
ExpiryTime string
Gets or sets the expiry time.
IsEnabled bool
Gets or sets the value of the enabled flag of the webhook.
LastInvokedTime string
Gets or sets the last invoked time.
LastModifiedBy string
Details of the user who last modified the Webhook
LastModifiedTime string
Gets or sets the last modified time.
Parameters Dictionary<string, string>
Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
RunOn string
Gets or sets the name of the hybrid worker group the webhook job will run on.
Runbook Pulumi.AzureNative.Automation.Outputs.RunbookAssociationPropertyResponse
Gets or sets the runbook the webhook is associated with.
Uri string
Gets or sets the webhook uri.
Id string
Fully qualified resource Id for the resource
Name string
The name of the resource
Type string
The type of the resource.
CreationTime string
Gets or sets the creation time.
Description string
Gets or sets the description.
ExpiryTime string
Gets or sets the expiry time.
IsEnabled bool
Gets or sets the value of the enabled flag of the webhook.
LastInvokedTime string
Gets or sets the last invoked time.
LastModifiedBy string
Details of the user who last modified the Webhook
LastModifiedTime string
Gets or sets the last modified time.
Parameters map[string]string
Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
RunOn string
Gets or sets the name of the hybrid worker group the webhook job will run on.
Runbook RunbookAssociationPropertyResponse
Gets or sets the runbook the webhook is associated with.
Uri string
Gets or sets the webhook uri.
id String
Fully qualified resource Id for the resource
name String
The name of the resource
type String
The type of the resource.
creationTime String
Gets or sets the creation time.
description String
Gets or sets the description.
expiryTime String
Gets or sets the expiry time.
isEnabled Boolean
Gets or sets the value of the enabled flag of the webhook.
lastInvokedTime String
Gets or sets the last invoked time.
lastModifiedBy String
Details of the user who last modified the Webhook
lastModifiedTime String
Gets or sets the last modified time.
parameters Map<String,String>
Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
runOn String
Gets or sets the name of the hybrid worker group the webhook job will run on.
runbook RunbookAssociationPropertyResponse
Gets or sets the runbook the webhook is associated with.
uri String
Gets or sets the webhook uri.
id string
Fully qualified resource Id for the resource
name string
The name of the resource
type string
The type of the resource.
creationTime string
Gets or sets the creation time.
description string
Gets or sets the description.
expiryTime string
Gets or sets the expiry time.
isEnabled boolean
Gets or sets the value of the enabled flag of the webhook.
lastInvokedTime string
Gets or sets the last invoked time.
lastModifiedBy string
Details of the user who last modified the Webhook
lastModifiedTime string
Gets or sets the last modified time.
parameters {[key: string]: string}
Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
runOn string
Gets or sets the name of the hybrid worker group the webhook job will run on.
runbook RunbookAssociationPropertyResponse
Gets or sets the runbook the webhook is associated with.
uri string
Gets or sets the webhook uri.
id str
Fully qualified resource Id for the resource
name str
The name of the resource
type str
The type of the resource.
creation_time str
Gets or sets the creation time.
description str
Gets or sets the description.
expiry_time str
Gets or sets the expiry time.
is_enabled bool
Gets or sets the value of the enabled flag of the webhook.
last_invoked_time str
Gets or sets the last invoked time.
last_modified_by str
Details of the user who last modified the Webhook
last_modified_time str
Gets or sets the last modified time.
parameters Mapping[str, str]
Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
run_on str
Gets or sets the name of the hybrid worker group the webhook job will run on.
runbook RunbookAssociationPropertyResponse
Gets or sets the runbook the webhook is associated with.
uri str
Gets or sets the webhook uri.
id String
Fully qualified resource Id for the resource
name String
The name of the resource
type String
The type of the resource.
creationTime String
Gets or sets the creation time.
description String
Gets or sets the description.
expiryTime String
Gets or sets the expiry time.
isEnabled Boolean
Gets or sets the value of the enabled flag of the webhook.
lastInvokedTime String
Gets or sets the last invoked time.
lastModifiedBy String
Details of the user who last modified the Webhook
lastModifiedTime String
Gets or sets the last modified time.
parameters Map<String>
Gets or sets the parameters of the job that is created when the webhook calls the runbook it is associated with.
runOn String
Gets or sets the name of the hybrid worker group the webhook job will run on.
runbook Property Map
Gets or sets the runbook the webhook is associated with.
uri String
Gets or sets the webhook uri.

Supporting Types

RunbookAssociationPropertyResponse

Name string
Gets or sets the name of the runbook.
Name string
Gets or sets the name of the runbook.
name String
Gets or sets the name of the runbook.
name string
Gets or sets the name of the runbook.
name str
Gets or sets the name of the runbook.
name String
Gets or sets the name of the runbook.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi