Condividi tramite


ArmAutomationModelFactory.AutomationWebhookCreateOrUpdateContent Method

Definition

Initializes a new instance of AutomationWebhookCreateOrUpdateContent.

public static Azure.ResourceManager.Automation.Models.AutomationWebhookCreateOrUpdateContent AutomationWebhookCreateOrUpdateContent(string name = default, bool? isEnabled = default, Uri uri = default, DateTimeOffset? expireOn = default, System.Collections.Generic.IDictionary<string,string> parameters = default, string runbookName = default, string runOn = default);
static member AutomationWebhookCreateOrUpdateContent : string * Nullable<bool> * Uri * Nullable<DateTimeOffset> * System.Collections.Generic.IDictionary<string, string> * string * string -> Azure.ResourceManager.Automation.Models.AutomationWebhookCreateOrUpdateContent
Public Shared Function AutomationWebhookCreateOrUpdateContent (Optional name As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional uri As Uri = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional parameters As IDictionary(Of String, String) = Nothing, Optional runbookName As String = Nothing, Optional runOn As String = Nothing) As AutomationWebhookCreateOrUpdateContent

Parameters

name
String

Gets or sets the name of the webhook.

isEnabled
Nullable<Boolean>

Gets or sets the value of the enabled flag of webhook.

uri
Uri

Gets or sets the uri.

expireOn
Nullable<DateTimeOffset>

Gets or sets the expiry time.

parameters
IDictionary<String,String>

Gets or sets the parameters of the job.

runbookName
String

Gets or sets the runbook.

runOn
String

Gets or sets the name of the hybrid worker group the webhook job will run on.

Returns

A new AutomationWebhookCreateOrUpdateContent instance for mocking.

Applies to