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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET