ArmKeyVaultModelFactory.SecretAttributes 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 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
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET