@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get the AppComplianceAutomation webhook and its properties.
*
* Uses Azure REST API version 2024-06-27.
*/
export declare function getWebhook(args: GetWebhookArgs, opts?: pulumi.InvokeOptions): Promise<GetWebhookResult>;
export interface GetWebhookArgs {
/**
* Report Name.
*/
reportName: string;
/**
* Webhook Name.
*/
webhookName: string;
}
/**
* A class represent an AppComplianceAutomation webhook resource.
*/
export interface GetWebhookResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* content type
*/
readonly contentType?: string;
/**
* webhook deliveryStatus
*/
readonly deliveryStatus: string;
/**
* whether to enable ssl verification
*/
readonly enableSslVerification?: string;
/**
* under which event notification should be sent.
*/
readonly events?: string[];
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* webhook payload url
*/
readonly payloadUrl?: string;
/**
* Azure Resource Provisioning State
*/
readonly provisioningState: string;
/**
* whether to send notification under any event.
*/
readonly sendAllEvents?: string;
/**
* Webhook status.
*/
readonly status?: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.appcomplianceautomation.SystemDataResponse;
/**
* Tenant id.
*/
readonly tenantId: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* whether to update webhookKey.
*/
readonly updateWebhookKey?: string;
/**
* Webhook id in database.
*/
readonly webhookId: string;
/**
* webhook secret token. If not set, this field value is null; otherwise, please set a string value.
*/
readonly webhookKey?: string;
/**
* whether webhookKey is enabled.
*/
readonly webhookKeyEnabled: string;
}
/**
* Get the AppComplianceAutomation webhook and its properties.
*
* Uses Azure REST API version 2024-06-27.
*/
export declare function getWebhookOutput(args: GetWebhookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebhookResult>;
export interface GetWebhookOutputArgs {
/**
* Report Name.
*/
reportName: pulumi.Input<string>;
/**
* Webhook Name.
*/
webhookName: pulumi.Input<string>;
}