This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi
azure-native.automation.getWebhook
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi
Retrieve the webhook identified by webhook name.
Uses Azure REST API version 2023-05-15-preview.
Other available API versions: 2015-10-31, 2024-10-23. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native automation [ApiVersion]
. See the version guide for details.
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>
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]
func LookupWebhook(ctx *Context, args *LookupWebhookArgs, opts ...InvokeOption) (*LookupWebhookResult, error)
func LookupWebhookOutput(ctx *Context, args *LookupWebhookOutputArgs, opts ...InvokeOption) LookupWebhookResultOutput
> 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)
}
public static CompletableFuture<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
public static Output<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:automation:getWebhook
arguments:
# arguments dictionary
The following arguments are supported:
- Automation
Account stringName - The name of the automation account.
- Resource
Group stringName - Name of an Azure Resource group.
- Webhook
Name string - The webhook name.
- Automation
Account stringName - The name of the automation account.
- Resource
Group stringName - Name of an Azure Resource group.
- Webhook
Name string - The webhook name.
- automation
Account StringName - The name of the automation account.
- resource
Group StringName - Name of an Azure Resource group.
- webhook
Name String - The webhook name.
- automation
Account stringName - The name of the automation account.
- resource
Group stringName - Name of an Azure Resource group.
- webhook
Name string - The webhook name.
- automation_
account_ strname - The name of the automation account.
- resource_
group_ strname - Name of an Azure Resource group.
- webhook_
name str - The webhook name.
- automation
Account StringName - The name of the automation account.
- resource
Group StringName - Name of an Azure Resource group.
- webhook
Name String - The webhook name.
getWebhook Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Automation. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Creation
Time string - Gets or sets the creation time.
- Description string
- Gets or sets the description.
- Expiry
Time string - Gets or sets the expiry time.
- Is
Enabled bool - Gets or sets the value of the enabled flag of the webhook.
- Last
Invoked stringTime - Gets or sets the last invoked time.
- Last
Modified stringBy - Details of the user who last modified the Webhook
- Last
Modified stringTime - 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.
- Run
On string - Gets or sets the name of the hybrid worker group the webhook job will run on.
- Runbook
Pulumi.
Azure Native. Automation. Outputs. Runbook Association Property Response - Gets or sets the runbook the webhook is associated with.
- Uri string
- Gets or sets the webhook uri.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Creation
Time string - Gets or sets the creation time.
- Description string
- Gets or sets the description.
- Expiry
Time string - Gets or sets the expiry time.
- Is
Enabled bool - Gets or sets the value of the enabled flag of the webhook.
- Last
Invoked stringTime - Gets or sets the last invoked time.
- Last
Modified stringBy - Details of the user who last modified the Webhook
- Last
Modified stringTime - 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.
- Run
On string - Gets or sets the name of the hybrid worker group the webhook job will run on.
- Runbook
Runbook
Association Property Response - Gets or sets the runbook the webhook is associated with.
- Uri string
- Gets or sets the webhook uri.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- creation
Time String - Gets or sets the creation time.
- description String
- Gets or sets the description.
- expiry
Time String - Gets or sets the expiry time.
- is
Enabled Boolean - Gets or sets the value of the enabled flag of the webhook.
- last
Invoked StringTime - Gets or sets the last invoked time.
- last
Modified StringBy - Details of the user who last modified the Webhook
- last
Modified StringTime - 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.
- run
On String - Gets or sets the name of the hybrid worker group the webhook job will run on.
- runbook
Runbook
Association Property Response - Gets or sets the runbook the webhook is associated with.
- uri String
- Gets or sets the webhook uri.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- creation
Time string - Gets or sets the creation time.
- description string
- Gets or sets the description.
- expiry
Time string - Gets or sets the expiry time.
- is
Enabled boolean - Gets or sets the value of the enabled flag of the webhook.
- last
Invoked stringTime - Gets or sets the last invoked time.
- last
Modified stringBy - Details of the user who last modified the Webhook
- last
Modified stringTime - 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.
- run
On string - Gets or sets the name of the hybrid worker group the webhook job will run on.
- runbook
Runbook
Association Property Response - Gets or sets the runbook the webhook is associated with.
- uri string
- Gets or sets the webhook uri.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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_ strtime - Gets or sets the last invoked time.
- last_
modified_ strby - Details of the user who last modified the Webhook
- last_
modified_ strtime - 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
Runbook
Association Property Response - Gets or sets the runbook the webhook is associated with.
- uri str
- Gets or sets the webhook uri.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- creation
Time String - Gets or sets the creation time.
- description String
- Gets or sets the description.
- expiry
Time String - Gets or sets the expiry time.
- is
Enabled Boolean - Gets or sets the value of the enabled flag of the webhook.
- last
Invoked StringTime - Gets or sets the last invoked time.
- last
Modified StringBy - Details of the user who last modified the Webhook
- last
Modified StringTime - 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.
- run
On 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.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi