Share via


EventGridModelFactory.KeyVaultSecretNearExpiryEventData Method

Definition

Initializes a new instance of KeyVaultSecretNearExpiryEventData.

public static Azure.Messaging.EventGrid.SystemEvents.KeyVaultSecretNearExpiryEventData KeyVaultSecretNearExpiryEventData (string id = default, string vaultName = default, string objectType = default, string objectName = default, string version = default, float? nbf = default, float? exp = default);
static member KeyVaultSecretNearExpiryEventData : string * string * string * string * string * Nullable<single> * Nullable<single> -> Azure.Messaging.EventGrid.SystemEvents.KeyVaultSecretNearExpiryEventData
Public Shared Function KeyVaultSecretNearExpiryEventData (Optional id As String = Nothing, Optional vaultName As String = Nothing, Optional objectType As String = Nothing, Optional objectName As String = Nothing, Optional version As String = Nothing, Optional nbf As Nullable(Of Single) = Nothing, Optional exp As Nullable(Of Single) = Nothing) As KeyVaultSecretNearExpiryEventData

Parameters

id
String

The id of the object that triggered this event.

vaultName
String

Key vault name of the object that triggered this event.

objectType
String

The type of the object that triggered this event.

objectName
String

The name of the object that triggered this event.

version
String

The version of the object that triggered this event.

nbf
Nullable<Single>

Not before date of the object that triggered this event.

exp
Nullable<Single>

The expiration date of the object that triggered this event.

Returns

A new KeyVaultSecretNearExpiryEventData instance for mocking.

Applies to