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.
Initializes a new instance of SourceControlWebhook.
public static Azure.ResourceManager.SecurityInsights.Models.SourceControlWebhook SourceControlWebhook (string webhookId = default, Uri webhookUri = default, DateTimeOffset? webhookSecretUpdateOn = default, bool? isWebhookSecretRotated = default);
static member SourceControlWebhook : string * Uri * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.ResourceManager.SecurityInsights.Models.SourceControlWebhook
Public Shared Function SourceControlWebhook (Optional webhookId As String = Nothing, Optional webhookUri As Uri = 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
- Uri
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.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET