azure-native.appcomplianceautomation.Webhook
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Webhook resource accepts the following input properties:
- Report
Name string - Report Name.
- Content
Type string | Pulumi.Azure Native. App Compliance Automation. Content Type - content type
- Enable
Ssl string | Pulumi.Verification Azure Native. App Compliance Automation. Enable Ssl Verification - whether to enable ssl verification
- Events
List<Union<string, Pulumi.
Azure Native. App Compliance Automation. Notification Event>> - under which event notification should be sent.
- Payload
Url string - webhook payload url
- Send
All string | Pulumi.Events Azure Native. App Compliance Automation. Send All Events - whether to send notification under any event.
- Status
string | Pulumi.
Azure Native. App Compliance Automation. Webhook Status - Webhook status.
- Update
Webhook string | Pulumi.Key Azure Native. App Compliance Automation. Update Webhook Key - whether to update webhookKey.
- Webhook
Key string - webhook secret token. If not set, this field value is null; otherwise, please set a string value.
- Webhook
Name string - Webhook Name.
- Report
Name string - Report Name.
- Content
Type string | ContentType - content type
- Enable
Ssl string | EnableVerification Ssl Verification - whether to enable ssl verification
- Events []string
- under which event notification should be sent.
- Payload
Url string - webhook payload url
- Send
All string | SendEvents All Events - whether to send notification under any event.
- Status
string | Webhook
Status - Webhook status.
- Update
Webhook string | UpdateKey Webhook Key - whether to update webhookKey.
- Webhook
Key string - webhook secret token. If not set, this field value is null; otherwise, please set a string value.
- Webhook
Name string - Webhook Name.
- report
Name String - Report Name.
- content
Type String | ContentType - content type
- enable
Ssl String | EnableVerification Ssl Verification - whether to enable ssl verification
- events
List<Either<String,Notification
Event>> - under which event notification should be sent.
- payload
Url String - webhook payload url
- send
All String | SendEvents All Events - whether to send notification under any event.
- status
String | Webhook
Status - Webhook status.
- update
Webhook String | UpdateKey Webhook Key - whether to update webhookKey.
- webhook
Key String - webhook secret token. If not set, this field value is null; otherwise, please set a string value.
- webhook
Name String - Webhook Name.
- report
Name string - Report Name.
- content
Type string | ContentType - content type
- enable
Ssl string | EnableVerification Ssl Verification - whether to enable ssl verification
- events
(string | Notification
Event)[] - under which event notification should be sent.
- payload
Url string - webhook payload url
- send
All string | SendEvents All Events - whether to send notification under any event.
- status
string | Webhook
Status - Webhook status.
- update
Webhook string | UpdateKey Webhook Key - whether to update webhookKey.
- webhook
Key string - webhook secret token. If not set, this field value is null; otherwise, please set a string value.
- webhook
Name string - Webhook Name.
- report_
name str - Report Name.
- content_
type str | ContentType - content type
- enable_
ssl_ str | Enableverification Ssl Verification - whether to enable ssl verification
- events
Sequence[Union[str, Notification
Event]] - under which event notification should be sent.
- payload_
url str - webhook payload url
- send_
all_ str | Sendevents All Events - whether to send notification under any event.
- status
str | Webhook
Status - Webhook status.
- update_
webhook_ str | Updatekey Webhook Key - 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.
- report
Name String - Report Name.
- content
Type String | "application/json" - content type
- enable
Ssl String | "true" | "false"Verification - 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.
- payload
Url String - webhook payload url
- send
All String | "true" | "false"Events - whether to send notification under any event.
- status String | "Enabled" | "Disabled"
- Webhook status.
- update
Webhook String | "true" | "false"Key - whether to update webhookKey.
- webhook
Key String - webhook secret token. If not set, this field value is null; otherwise, please set a string value.
- webhook
Name String - Webhook Name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Webhook resource produces the following output properties:
- Delivery
Status string - webhook deliveryStatus
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Azure Resource Provisioning State
- System
Data Pulumi.Azure Native. App Compliance Automation. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Tenant
Id string - Tenant id.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Webhook
Id string - Webhook id in database.
- Webhook
Key stringEnabled - whether webhookKey is enabled.
- Delivery
Status string - webhook deliveryStatus
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Azure Resource Provisioning State
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Tenant
Id string - Tenant id.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Webhook
Id string - Webhook id in database.
- Webhook
Key stringEnabled - whether webhookKey is enabled.
- delivery
Status String - webhook deliveryStatus
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Azure Resource Provisioning State
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tenant
Id String - Tenant id.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- webhook
Id String - Webhook id in database.
- webhook
Key StringEnabled - whether webhookKey is enabled.
- delivery
Status string - webhook deliveryStatus
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Azure Resource Provisioning State
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tenant
Id string - Tenant id.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- webhook
Id string - Webhook id in database.
- webhook
Key stringEnabled - 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 SystemData Response - 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_ strenabled - whether webhookKey is enabled.
- delivery
Status String - webhook deliveryStatus
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Azure Resource Provisioning State
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tenant
Id String - Tenant id.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- webhook
Id String - Webhook id in database.
- webhook
Key StringEnabled - whether webhookKey is enabled.
Supporting Types
ContentType, ContentTypeArgs
- Application
Json - application/jsonThe content type is application/json.
- Content
Type Application Json - 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.
- 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.
- Enable
Ssl Verification True - trueThe ssl verification is enabled.
- Enable
Ssl Verification 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.
- "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.
- Notification
Event_Generate_ snapshot_ success - generate_snapshot_successThe subscribed report's snapshot is successfully generated.
- Notification
Event_Generate_ snapshot_ failed - generate_snapshot_failedThe subscribed report's snapshot is failed to generate.
- Notification
Event_Assessment_ failure - assessment_failureThe subscribed report failed while collecting the assessments.
- Notification
Event_Report_ configuration_ changes - report_configuration_changesThe subscribed report's configuration is changed.
- Notification
Event_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.
- Send
All Events True - trueNeed send notification under any event.
- Send
All Events 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.
- "true"
- trueNeed send notification under any event.
- "false"
- falseNo need to send notification under any event.
SystemDataResponse, SystemDataResponseArgs
- 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.
UpdateWebhookKey, UpdateWebhookKeyArgs
- True
- trueNeed update the webhook key.
- False
- falseNo need to update the webhook key.
- Update
Webhook Key True - trueNeed update the webhook key.
- Update
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.
- "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.
- Webhook
Status Enabled - EnabledThe webhook is enabled.
- Webhook
Status 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.
- "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