共用方式為


EventGridModelFactory.KeyVaultKeyNearExpiryEventData Method

Definition

Initializes a new instance of KeyVaultKeyNearExpiryEventData.

public static Azure.Messaging.EventGrid.SystemEvents.KeyVaultKeyNearExpiryEventData KeyVaultKeyNearExpiryEventData (string id = default, string vaultName = default, string objectType = default, string objectName = default, string version = default, float? nbf = default, float? exp = default);
static member KeyVaultKeyNearExpiryEventData : string * string * string * string * string * Nullable<single> * Nullable<single> -> Azure.Messaging.EventGrid.SystemEvents.KeyVaultKeyNearExpiryEventData
Public Shared Function KeyVaultKeyNearExpiryEventData (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 KeyVaultKeyNearExpiryEventData

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 KeyVaultKeyNearExpiryEventData instance for mocking.

Applies to