ArmAutomationModelFactory.AutomationWebhookCreateOrUpdateContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.