Share via


ArmKeyVaultModelFactory.SecretAttributes Method

Definition

Initializes a new instance of SecretAttributes.

public static Azure.ResourceManager.KeyVault.Models.SecretAttributes SecretAttributes (bool? enabled = default, DateTimeOffset? notBefore = default, DateTimeOffset? expires = default, DateTimeOffset? created = default, DateTimeOffset? updated = default);
static member SecretAttributes : Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.KeyVault.Models.SecretAttributes
Public Shared Function SecretAttributes (Optional enabled As Nullable(Of Boolean) = Nothing, Optional notBefore As Nullable(Of DateTimeOffset) = Nothing, Optional expires As Nullable(Of DateTimeOffset) = Nothing, Optional created As Nullable(Of DateTimeOffset) = Nothing, Optional updated As Nullable(Of DateTimeOffset) = Nothing) As SecretAttributes

Parameters

enabled
Nullable<Boolean>

Determines whether the object is enabled.

notBefore
Nullable<DateTimeOffset>

Not before date in seconds since 1970-01-01T00:00:00Z.

expires
Nullable<DateTimeOffset>

Expiry date in seconds since 1970-01-01T00:00:00Z.

created
Nullable<DateTimeOffset>

Creation time in seconds since 1970-01-01T00:00:00Z.

updated
Nullable<DateTimeOffset>

Last updated time in seconds since 1970-01-01T00:00:00Z.

Returns

A new SecretAttributes instance for mocking.

Applies to