This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.automation.getWebhook
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Retrieve the webhook identified by webhook name. Azure REST API version: 2015-10-31.
Other available API versions: 2023-05-15-preview.
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)
// Output-based functions aren't available in Java yet
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:
- Id string
- Fully qualified resource Id for the resource
- Name string
- The name of the resource
- Type string
- The type of the resource.
- 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.
- Id string
- Fully qualified resource Id for the resource
- Name string
- The name of the resource
- Type string
- The type of the resource.
- 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.
- id String
- Fully qualified resource Id for the resource
- name String
- The name of the resource
- type String
- The type of the resource.
- 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.
- id string
- Fully qualified resource Id for the resource
- name string
- The name of the resource
- type string
- The type of the resource.
- 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.
- 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_ 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.
- id String
- Fully qualified resource Id for the resource
- name String
- The name of the resource
- type String
- The type of the resource.
- 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.
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 v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi