ArmSecurityInsightsModelFactory.SourceControlWebhook 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.
public static Azure.ResourceManager.SecurityInsights.Models.SourceControlWebhook SourceControlWebhook(string webhookId = default, string webhookUri = default, DateTimeOffset? webhookSecretUpdateOn = default, bool? isWebhookSecretRotated = default);
static member SourceControlWebhook : string * string * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.ResourceManager.SecurityInsights.Models.SourceControlWebhook
Public Shared Function SourceControlWebhook (Optional webhookId As String = Nothing, Optional webhookUri As String = Nothing, Optional webhookSecretUpdateOn As Nullable(Of DateTimeOffset) = Nothing, Optional isWebhookSecretRotated As Nullable(Of Boolean) = Nothing) As SourceControlWebhook
Parameters
- webhookId
- String
Unique identifier for the webhook.
- webhookUri
- String
URL that gets invoked by the webhook.
- webhookSecretUpdateOn
- Nullable<DateTimeOffset>
Time when the webhook secret was updated.
A flag to instruct the backend service to rotate webhook secret.
Returns
A new SourceControlWebhook instance for mocking.