1. Packages
  2. Azure Native
  3. API Docs
  4. appcomplianceautomation
  5. Webhook
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.appcomplianceautomation.Webhook

Explore with Pulumi AI

azure-native logo
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

    A class represent an AppComplianceAutomation webhook resource. Azure REST API version: 2024-06-27.

    Example Usage

    Webhook_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var webhook = new AzureNative.AppComplianceAutomation.Webhook("webhook", new()
        {
            ContentType = AzureNative.AppComplianceAutomation.ContentType.ApplicationJson,
            EnableSslVerification = AzureNative.AppComplianceAutomation.EnableSslVerification.True,
            Events = new[]
            {
                AzureNative.AppComplianceAutomation.NotificationEvent.Generate_snapshot_failed,
            },
            PayloadUrl = "https://example.com",
            ReportName = "testReportName",
            SendAllEvents = AzureNative.AppComplianceAutomation.SendAllEvents.False,
            Status = AzureNative.AppComplianceAutomation.WebhookStatus.Enabled,
            UpdateWebhookKey = AzureNative.AppComplianceAutomation.UpdateWebhookKey.True,
            WebhookKey = "00000000-0000-0000-0000-000000000000",
            WebhookName = "testWebhookName",
        });
    
    });
    
    package main
    
    import (
    	appcomplianceautomation "github.com/pulumi/pulumi-azure-native-sdk/appcomplianceautomation/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := appcomplianceautomation.NewWebhook(ctx, "webhook", &appcomplianceautomation.WebhookArgs{
    			ContentType:           pulumi.String(appcomplianceautomation.ContentTypeApplicationJson),
    			EnableSslVerification: pulumi.String(appcomplianceautomation.EnableSslVerificationTrue),
    			Events: pulumi.StringArray{
    				pulumi.String(appcomplianceautomation.NotificationEvent_Generate_snapshot_failed),
    			},
    			PayloadUrl:       pulumi.String("https://example.com"),
    			ReportName:       pulumi.String("testReportName"),
    			SendAllEvents:    pulumi.String(appcomplianceautomation.SendAllEventsFalse),
    			Status:           pulumi.String(appcomplianceautomation.WebhookStatusEnabled),
    			UpdateWebhookKey: pulumi.String(appcomplianceautomation.UpdateWebhookKeyTrue),
    			WebhookKey:       pulumi.String("00000000-0000-0000-0000-000000000000"),
    			WebhookName:      pulumi.String("testWebhookName"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.appcomplianceautomation.Webhook;
    import com.pulumi.azurenative.appcomplianceautomation.WebhookArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var webhook = new Webhook("webhook", WebhookArgs.builder()
                .contentType("application/json")
                .enableSslVerification("true")
                .events("generate_snapshot_failed")
                .payloadUrl("https://example.com")
                .reportName("testReportName")
                .sendAllEvents("false")
                .status("Enabled")
                .updateWebhookKey("true")
                .webhookKey("00000000-0000-0000-0000-000000000000")
                .webhookName("testWebhookName")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    webhook = azure_native.appcomplianceautomation.Webhook("webhook",
        content_type=azure_native.appcomplianceautomation.ContentType.APPLICATION_JSON,
        enable_ssl_verification=azure_native.appcomplianceautomation.EnableSslVerification.TRUE,
        events=[azure_native.appcomplianceautomation.NotificationEvent.GENERATE_SNAPSHOT_FAILED],
        payload_url="https://example.com",
        report_name="testReportName",
        send_all_events=azure_native.appcomplianceautomation.SendAllEvents.FALSE,
        status=azure_native.appcomplianceautomation.WebhookStatus.ENABLED,
        update_webhook_key=azure_native.appcomplianceautomation.UpdateWebhookKey.TRUE,
        webhook_key="00000000-0000-0000-0000-000000000000",
        webhook_name="testWebhookName")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const webhook = new azure_native.appcomplianceautomation.Webhook("webhook", {
        contentType: azure_native.appcomplianceautomation.ContentType.ApplicationJson,
        enableSslVerification: azure_native.appcomplianceautomation.EnableSslVerification.True,
        events: [azure_native.appcomplianceautomation.NotificationEvent.Generate_snapshot_failed],
        payloadUrl: "https://example.com",
        reportName: "testReportName",
        sendAllEvents: azure_native.appcomplianceautomation.SendAllEvents.False,
        status: azure_native.appcomplianceautomation.WebhookStatus.Enabled,
        updateWebhookKey: azure_native.appcomplianceautomation.UpdateWebhookKey.True,
        webhookKey: "00000000-0000-0000-0000-000000000000",
        webhookName: "testWebhookName",
    });
    
    resources:
      webhook:
        type: azure-native:appcomplianceautomation:Webhook
        properties:
          contentType: application/json
          enableSslVerification: 'true'
          events:
            - generate_snapshot_failed
          payloadUrl: https://example.com
          reportName: testReportName
          sendAllEvents: 'false'
          status: Enabled
          updateWebhookKey: 'true'
          webhookKey: 00000000-0000-0000-0000-000000000000
          webhookName: testWebhookName
    

    Create Webhook Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Webhook(name: string, args: WebhookArgs, opts?: CustomResourceOptions);
    @overload
    def Webhook(resource_name: str,
                args: WebhookArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Webhook(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                report_name: Optional[str] = None,
                content_type: Optional[Union[str, ContentType]] = None,
                enable_ssl_verification: Optional[Union[str, EnableSslVerification]] = None,
                events: Optional[Sequence[Union[str, NotificationEvent]]] = None,
                payload_url: Optional[str] = None,
                send_all_events: Optional[Union[str, SendAllEvents]] = None,
                status: Optional[Union[str, WebhookStatus]] = None,
                update_webhook_key: Optional[Union[str, UpdateWebhookKey]] = None,
                webhook_key: Optional[str] = None,
                webhook_name: Optional[str] = None)
    func NewWebhook(ctx *Context, name string, args WebhookArgs, opts ...ResourceOption) (*Webhook, error)
    public Webhook(string name, WebhookArgs args, CustomResourceOptions? opts = null)
    public Webhook(String name, WebhookArgs args)
    public Webhook(String name, WebhookArgs args, CustomResourceOptions options)
    
    type: azure-native:appcomplianceautomation:Webhook
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var webhookResource = new AzureNative.AppComplianceAutomation.Webhook("webhookResource", new()
    {
        ReportName = "string",
        ContentType = "string",
        EnableSslVerification = "string",
        Events = new[]
        {
            "string",
        },
        PayloadUrl = "string",
        SendAllEvents = "string",
        Status = "string",
        UpdateWebhookKey = "string",
        WebhookKey = "string",
        WebhookName = "string",
    });
    
    example, err := appcomplianceautomation.NewWebhook(ctx, "webhookResource", &appcomplianceautomation.WebhookArgs{
    ReportName: pulumi.String("string"),
    ContentType: pulumi.String("string"),
    EnableSslVerification: pulumi.String("string"),
    Events: pulumi.StringArray{
    pulumi.String("string"),
    },
    PayloadUrl: pulumi.String("string"),
    SendAllEvents: pulumi.String("string"),
    Status: pulumi.String("string"),
    UpdateWebhookKey: pulumi.String("string"),
    WebhookKey: pulumi.String("string"),
    WebhookName: pulumi.String("string"),
    })
    
    var webhookResource = new Webhook("webhookResource", WebhookArgs.builder()
        .reportName("string")
        .contentType("string")
        .enableSslVerification("string")
        .events("string")
        .payloadUrl("string")
        .sendAllEvents("string")
        .status("string")
        .updateWebhookKey("string")
        .webhookKey("string")
        .webhookName("string")
        .build());
    
    webhook_resource = azure_native.appcomplianceautomation.Webhook("webhookResource",
        report_name="string",
        content_type="string",
        enable_ssl_verification="string",
        events=["string"],
        payload_url="string",
        send_all_events="string",
        status="string",
        update_webhook_key="string",
        webhook_key="string",
        webhook_name="string")
    
    const webhookResource = new azure_native.appcomplianceautomation.Webhook("webhookResource", {
        reportName: "string",
        contentType: "string",
        enableSslVerification: "string",
        events: ["string"],
        payloadUrl: "string",
        sendAllEvents: "string",
        status: "string",
        updateWebhookKey: "string",
        webhookKey: "string",
        webhookName: "string",
    });
    
    type: azure-native:appcomplianceautomation:Webhook
    properties:
        contentType: string
        enableSslVerification: string
        events:
            - string
        payloadUrl: string
        reportName: string
        sendAllEvents: string
        status: string
        updateWebhookKey: string
        webhookKey: string
        webhookName: string
    

    Webhook Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Webhook resource accepts the following input properties:

    ReportName string
    Report Name.
    ContentType string | Pulumi.AzureNative.AppComplianceAutomation.ContentType
    content type
    EnableSslVerification string | Pulumi.AzureNative.AppComplianceAutomation.EnableSslVerification
    whether to enable ssl verification
    Events List<Union<string, Pulumi.AzureNative.AppComplianceAutomation.NotificationEvent>>
    under which event notification should be sent.
    PayloadUrl string
    webhook payload url
    SendAllEvents string | Pulumi.AzureNative.AppComplianceAutomation.SendAllEvents
    whether to send notification under any event.
    Status string | Pulumi.AzureNative.AppComplianceAutomation.WebhookStatus
    Webhook status.
    UpdateWebhookKey string | Pulumi.AzureNative.AppComplianceAutomation.UpdateWebhookKey
    whether to update webhookKey.
    WebhookKey string
    webhook secret token. If not set, this field value is null; otherwise, please set a string value.
    WebhookName string
    Webhook Name.
    ReportName string
    Report Name.
    ContentType string | ContentType
    content type
    EnableSslVerification string | EnableSslVerification
    whether to enable ssl verification
    Events []string
    under which event notification should be sent.
    PayloadUrl string
    webhook payload url
    SendAllEvents string | SendAllEvents
    whether to send notification under any event.
    Status string | WebhookStatus
    Webhook status.
    UpdateWebhookKey string | UpdateWebhookKey
    whether to update webhookKey.
    WebhookKey string
    webhook secret token. If not set, this field value is null; otherwise, please set a string value.
    WebhookName string
    Webhook Name.
    reportName String
    Report Name.
    contentType String | ContentType
    content type
    enableSslVerification String | EnableSslVerification
    whether to enable ssl verification
    events List<Either<String,NotificationEvent>>
    under which event notification should be sent.
    payloadUrl String
    webhook payload url
    sendAllEvents String | SendAllEvents
    whether to send notification under any event.
    status String | WebhookStatus
    Webhook status.
    updateWebhookKey String | UpdateWebhookKey
    whether to update webhookKey.
    webhookKey String
    webhook secret token. If not set, this field value is null; otherwise, please set a string value.
    webhookName String
    Webhook Name.
    reportName string
    Report Name.
    contentType string | ContentType
    content type
    enableSslVerification string | EnableSslVerification
    whether to enable ssl verification
    events (string | NotificationEvent)[]
    under which event notification should be sent.
    payloadUrl string
    webhook payload url
    sendAllEvents string | SendAllEvents
    whether to send notification under any event.
    status string | WebhookStatus
    Webhook status.
    updateWebhookKey string | UpdateWebhookKey
    whether to update webhookKey.
    webhookKey string
    webhook secret token. If not set, this field value is null; otherwise, please set a string value.
    webhookName string
    Webhook Name.
    report_name str
    Report Name.
    content_type str | ContentType
    content type
    enable_ssl_verification str | EnableSslVerification
    whether to enable ssl verification
    events Sequence[Union[str, NotificationEvent]]
    under which event notification should be sent.
    payload_url str
    webhook payload url
    send_all_events str | SendAllEvents
    whether to send notification under any event.
    status str | WebhookStatus
    Webhook status.
    update_webhook_key str | UpdateWebhookKey
    whether to update webhookKey.
    webhook_key str
    webhook secret token. If not set, this field value is null; otherwise, please set a string value.
    webhook_name str
    Webhook Name.
    reportName String
    Report Name.
    contentType String | "application/json"
    content type
    enableSslVerification String | "true" | "false"
    whether to enable ssl verification
    events List<String | "generate_snapshot_success" | "generate_snapshot_failed" | "assessment_failure" | "report_configuration_changes" | "report_deletion">
    under which event notification should be sent.
    payloadUrl String
    webhook payload url
    sendAllEvents String | "true" | "false"
    whether to send notification under any event.
    status String | "Enabled" | "Disabled"
    Webhook status.
    updateWebhookKey String | "true" | "false"
    whether to update webhookKey.
    webhookKey String
    webhook secret token. If not set, this field value is null; otherwise, please set a string value.
    webhookName String
    Webhook Name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Webhook resource produces the following output properties:

    DeliveryStatus string
    webhook deliveryStatus
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    DeliveryStatus string
    webhook deliveryStatus
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    deliveryStatus String
    webhook deliveryStatus
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    deliveryStatus string
    webhook deliveryStatus
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    delivery_status str
    webhook deliveryStatus
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    deliveryStatus String
    webhook deliveryStatus
    id String
    The provider-assigned unique ID for this managed resource.
    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.

    Supporting Types

    ContentType, ContentTypeArgs

    ApplicationJson
    application/jsonThe content type is application/json.
    ContentTypeApplicationJson
    application/jsonThe content type is application/json.
    ApplicationJson
    application/jsonThe content type is application/json.
    ApplicationJson
    application/jsonThe content type is application/json.
    APPLICATION_JSON
    application/jsonThe content type is application/json.
    "application/json"
    application/jsonThe content type is application/json.

    EnableSslVerification, EnableSslVerificationArgs

    True
    trueThe ssl verification is enabled.
    False
    falseThe ssl verification is not enabled.
    EnableSslVerificationTrue
    trueThe ssl verification is enabled.
    EnableSslVerificationFalse
    falseThe ssl verification is not enabled.
    True
    trueThe ssl verification is enabled.
    False
    falseThe ssl verification is not enabled.
    True
    trueThe ssl verification is enabled.
    False
    falseThe ssl verification is not enabled.
    TRUE
    trueThe ssl verification is enabled.
    FALSE
    falseThe ssl verification is not enabled.
    "true"
    trueThe ssl verification is enabled.
    "false"
    falseThe ssl verification is not enabled.

    NotificationEvent, NotificationEventArgs

    Generate_snapshot_success
    generate_snapshot_successThe subscribed report's snapshot is successfully generated.
    Generate_snapshot_failed
    generate_snapshot_failedThe subscribed report's snapshot is failed to generate.
    Assessment_failure
    assessment_failureThe subscribed report failed while collecting the assessments.
    Report_configuration_changes
    report_configuration_changesThe subscribed report's configuration is changed.
    Report_deletion
    report_deletionThe subscribed report is deleted.
    NotificationEvent_Generate_snapshot_success
    generate_snapshot_successThe subscribed report's snapshot is successfully generated.
    NotificationEvent_Generate_snapshot_failed
    generate_snapshot_failedThe subscribed report's snapshot is failed to generate.
    NotificationEvent_Assessment_failure
    assessment_failureThe subscribed report failed while collecting the assessments.
    NotificationEvent_Report_configuration_changes
    report_configuration_changesThe subscribed report's configuration is changed.
    NotificationEvent_Report_deletion
    report_deletionThe subscribed report is deleted.
    Generate_snapshot_success
    generate_snapshot_successThe subscribed report's snapshot is successfully generated.
    Generate_snapshot_failed
    generate_snapshot_failedThe subscribed report's snapshot is failed to generate.
    Assessment_failure
    assessment_failureThe subscribed report failed while collecting the assessments.
    Report_configuration_changes
    report_configuration_changesThe subscribed report's configuration is changed.
    Report_deletion
    report_deletionThe subscribed report is deleted.
    Generate_snapshot_success
    generate_snapshot_successThe subscribed report's snapshot is successfully generated.
    Generate_snapshot_failed
    generate_snapshot_failedThe subscribed report's snapshot is failed to generate.
    Assessment_failure
    assessment_failureThe subscribed report failed while collecting the assessments.
    Report_configuration_changes
    report_configuration_changesThe subscribed report's configuration is changed.
    Report_deletion
    report_deletionThe subscribed report is deleted.
    GENERATE_SNAPSHOT_SUCCESS
    generate_snapshot_successThe subscribed report's snapshot is successfully generated.
    GENERATE_SNAPSHOT_FAILED
    generate_snapshot_failedThe subscribed report's snapshot is failed to generate.
    ASSESSMENT_FAILURE
    assessment_failureThe subscribed report failed while collecting the assessments.
    REPORT_CONFIGURATION_CHANGES
    report_configuration_changesThe subscribed report's configuration is changed.
    REPORT_DELETION
    report_deletionThe subscribed report is deleted.
    "generate_snapshot_success"
    generate_snapshot_successThe subscribed report's snapshot is successfully generated.
    "generate_snapshot_failed"
    generate_snapshot_failedThe subscribed report's snapshot is failed to generate.
    "assessment_failure"
    assessment_failureThe subscribed report failed while collecting the assessments.
    "report_configuration_changes"
    report_configuration_changesThe subscribed report's configuration is changed.
    "report_deletion"
    report_deletionThe subscribed report is deleted.

    SendAllEvents, SendAllEventsArgs

    True
    trueNeed send notification under any event.
    False
    falseNo need to send notification under any event.
    SendAllEventsTrue
    trueNeed send notification under any event.
    SendAllEventsFalse
    falseNo need to send notification under any event.
    True
    trueNeed send notification under any event.
    False
    falseNo need to send notification under any event.
    True
    trueNeed send notification under any event.
    False
    falseNo need to send notification under any event.
    TRUE
    trueNeed send notification under any event.
    FALSE
    falseNo need to send notification under any event.
    "true"
    trueNeed send notification under any event.
    "false"
    falseNo need to send notification under any event.

    SystemDataResponse, SystemDataResponseArgs

    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.

    UpdateWebhookKey, UpdateWebhookKeyArgs

    True
    trueNeed update the webhook key.
    False
    falseNo need to update the webhook key.
    UpdateWebhookKeyTrue
    trueNeed update the webhook key.
    UpdateWebhookKeyFalse
    falseNo need to update the webhook key.
    True
    trueNeed update the webhook key.
    False
    falseNo need to update the webhook key.
    True
    trueNeed update the webhook key.
    False
    falseNo need to update the webhook key.
    TRUE
    trueNeed update the webhook key.
    FALSE
    falseNo need to update the webhook key.
    "true"
    trueNeed update the webhook key.
    "false"
    falseNo need to update the webhook key.

    WebhookStatus, WebhookStatusArgs

    Enabled
    EnabledThe webhook is enabled.
    Disabled
    DisabledThe webhook is disabled.
    WebhookStatusEnabled
    EnabledThe webhook is enabled.
    WebhookStatusDisabled
    DisabledThe webhook is disabled.
    Enabled
    EnabledThe webhook is enabled.
    Disabled
    DisabledThe webhook is disabled.
    Enabled
    EnabledThe webhook is enabled.
    Disabled
    DisabledThe webhook is disabled.
    ENABLED
    EnabledThe webhook is enabled.
    DISABLED
    DisabledThe webhook is disabled.
    "Enabled"
    EnabledThe webhook is enabled.
    "Disabled"
    DisabledThe webhook is disabled.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:appcomplianceautomation:Webhook testWebhookName /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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