1. Packages
  2. Azure Native
  3. API Docs
  4. appcomplianceautomation
  5. getWebhook
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.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.appcomplianceautomation.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.0.1 published on Monday, Apr 7, 2025 by Pulumi

Get the AppComplianceAutomation webhook and its properties.

Uses Azure REST API version 2024-06-27.

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(report_name: Optional[str] = None,
                webhook_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetWebhookResult
def get_webhook_output(report_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:appcomplianceautomation:getWebhook
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ReportName
This property is required.
Changes to this property will trigger replacement.
string
Report Name.
WebhookName
This property is required.
Changes to this property will trigger replacement.
string
Webhook Name.
ReportName
This property is required.
Changes to this property will trigger replacement.
string
Report Name.
WebhookName
This property is required.
Changes to this property will trigger replacement.
string
Webhook Name.
reportName
This property is required.
Changes to this property will trigger replacement.
String
Report Name.
webhookName
This property is required.
Changes to this property will trigger replacement.
String
Webhook Name.
reportName
This property is required.
Changes to this property will trigger replacement.
string
Report Name.
webhookName
This property is required.
Changes to this property will trigger replacement.
string
Webhook Name.
report_name
This property is required.
Changes to this property will trigger replacement.
str
Report Name.
webhook_name
This property is required.
Changes to this property will trigger replacement.
str
Webhook Name.
reportName
This property is required.
Changes to this property will trigger replacement.
String
Report Name.
webhookName
This property is required.
Changes to this property will trigger replacement.
String
Webhook Name.

getWebhook Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
DeliveryStatus string
webhook deliveryStatus
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
ProvisioningState string
Azure Resource Provisioning State
SystemData Pulumi.AzureNative.AppComplianceAutomation.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
TenantId string
Tenant id.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
WebhookId string
Webhook id in database.
WebhookKeyEnabled string
whether webhookKey is enabled.
ContentType string
content type
EnableSslVerification string
whether to enable ssl verification
Events List<string>
under which event notification should be sent.
PayloadUrl string
webhook payload url
SendAllEvents string
whether to send notification under any event.
Status string
Webhook status.
UpdateWebhookKey string
whether to update webhookKey.
WebhookKey string
webhook secret token. If not set, this field value is null; otherwise, please set a string value.
AzureApiVersion string
The Azure API version of the resource.
DeliveryStatus string
webhook deliveryStatus
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
ProvisioningState string
Azure Resource Provisioning State
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
TenantId string
Tenant id.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
WebhookId string
Webhook id in database.
WebhookKeyEnabled string
whether webhookKey is enabled.
ContentType string
content type
EnableSslVerification string
whether to enable ssl verification
Events []string
under which event notification should be sent.
PayloadUrl string
webhook payload url
SendAllEvents string
whether to send notification under any event.
Status string
Webhook status.
UpdateWebhookKey string
whether to update webhookKey.
WebhookKey string
webhook secret token. If not set, this field value is null; otherwise, please set a string value.
azureApiVersion String
The Azure API version of the resource.
deliveryStatus String
webhook deliveryStatus
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
provisioningState String
Azure Resource Provisioning State
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
tenantId String
Tenant id.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
webhookId String
Webhook id in database.
webhookKeyEnabled String
whether webhookKey is enabled.
contentType String
content type
enableSslVerification String
whether to enable ssl verification
events List<String>
under which event notification should be sent.
payloadUrl String
webhook payload url
sendAllEvents String
whether to send notification under any event.
status String
Webhook status.
updateWebhookKey String
whether to update webhookKey.
webhookKey String
webhook secret token. If not set, this field value is null; otherwise, please set a string value.
azureApiVersion string
The Azure API version of the resource.
deliveryStatus string
webhook deliveryStatus
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name string
The name of the resource
provisioningState string
Azure Resource Provisioning State
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
tenantId string
Tenant id.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
webhookId string
Webhook id in database.
webhookKeyEnabled string
whether webhookKey is enabled.
contentType string
content type
enableSslVerification string
whether to enable ssl verification
events string[]
under which event notification should be sent.
payloadUrl string
webhook payload url
sendAllEvents string
whether to send notification under any event.
status string
Webhook status.
updateWebhookKey string
whether to update webhookKey.
webhookKey string
webhook secret token. If not set, this field value is null; otherwise, please set a string value.
azure_api_version str
The Azure API version of the resource.
delivery_status str
webhook deliveryStatus
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name str
The name of the resource
provisioning_state str
Azure Resource Provisioning State
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
tenant_id str
Tenant id.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
webhook_id str
Webhook id in database.
webhook_key_enabled str
whether webhookKey is enabled.
content_type str
content type
enable_ssl_verification str
whether to enable ssl verification
events Sequence[str]
under which event notification should be sent.
payload_url str
webhook payload url
send_all_events str
whether to send notification under any event.
status str
Webhook status.
update_webhook_key str
whether to update webhookKey.
webhook_key str
webhook secret token. If not set, this field value is null; otherwise, please set a string value.
azureApiVersion String
The Azure API version of the resource.
deliveryStatus String
webhook deliveryStatus
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
provisioningState String
Azure Resource Provisioning State
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
tenantId String
Tenant id.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
webhookId String
Webhook id in database.
webhookKeyEnabled String
whether webhookKey is enabled.
contentType String
content type
enableSslVerification String
whether to enable ssl verification
events List<String>
under which event notification should be sent.
payloadUrl String
webhook payload url
sendAllEvents String
whether to send notification under any event.
status String
Webhook status.
updateWebhookKey String
whether to update webhookKey.
webhookKey String
webhook secret token. If not set, this field value is null; otherwise, please set a string value.

Supporting Types

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
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_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
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.0.1 published on Monday, Apr 7, 2025 by Pulumi