Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the SecretUpdateParameters class.
 /// </summary>
 /// <param name="contentType">Type of the secret value such as a
 /// password.</param>
 /// <param name="secretAttributes">The secret management
 /// attributes.</param>
 /// <param name="tags">Application specific metadata in the form of
 /// key-value pairs.</param>
 public SecretUpdateParameters(string contentType = default(string), SecretAttributes secretAttributes = default(SecretAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     ContentType      = contentType;
     SecretAttributes = secretAttributes;
     Tags             = tags;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the SecretSetParameters class.
 /// </summary>
 /// <param name="value">The value of the secret</param>
 /// <param name="tags">Application-specific metadata in the form of
 /// key-value pairs</param>
 /// <param name="contentType">Type of the secret value such as a
 /// password</param>
 /// <param name="secretAttributes">The secret management
 /// attributes</param>
 public SecretSetParameters(string value, IDictionary <string, string> tags = default(IDictionary <string, string>), string contentType = default(string), SecretAttributes secretAttributes = default(SecretAttributes))
 {
     Value            = value;
     Tags             = tags;
     ContentType      = contentType;
     SecretAttributes = secretAttributes;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the SecretItem class.
 /// </summary>
 /// <param name="id">Secret Identifier</param>
 /// <param name="attributes">The secret management attributes</param>
 /// <param name="tags">Application-specific metadata in the form of
 /// key-value pairs</param>
 /// <param name="contentType">Type of the secret value such as a
 /// password</param>
 /// <param name="managed">True if the secret's lifetime is managed by
 /// key vault i.e. if this is a key backing a certificate, then
 /// managed will be true.</param>
 public SecretItem(string id = default(string), SecretAttributes attributes = default(SecretAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>), string contentType = default(string), bool?managed = default(bool?))
 {
     Id          = id;
     Attributes  = attributes;
     Tags        = tags;
     ContentType = contentType;
     Managed     = managed;
 }
 /// <summary>
 /// Initializes a new instance of the DeletedSecretItem class.
 /// </summary>
 /// <param name="id">Secret identifier.</param>
 /// <param name="attributes">The secret management attributes.</param>
 /// <param name="tags">Application specific metadata in the form of
 /// key-value pairs.</param>
 /// <param name="contentType">Type of the secret value such as a
 /// password.</param>
 /// <param name="managed">True if the secret's lifetime is managed by
 /// key vault. If this is a key backing a certificate, then managed
 /// will be true.</param>
 /// <param name="recoveryId">The url of the recovery object, used to
 /// identify and recover the deleted secret.</param>
 /// <param name="scheduledPurgeDate">The time when the secret is
 /// scheduled to be purged, in UTC</param>
 /// <param name="deletedDate">The time when the secret was deleted, in
 /// UTC</param>
 public DeletedSecretItem(string id = default(string), SecretAttributes attributes = default(SecretAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>), string contentType = default(string), bool?managed = default(bool?), string recoveryId = default(string), System.DateTime?scheduledPurgeDate = default(System.DateTime?), System.DateTime?deletedDate = default(System.DateTime?))
     : base(id, attributes, tags, contentType, managed)
 {
     RecoveryId         = recoveryId;
     ScheduledPurgeDate = scheduledPurgeDate;
     DeletedDate        = deletedDate;
     CustomInit();
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the SecretBundle class.
 /// </summary>
 /// <param name="value">The secret value </param>
 /// <param name="id">The secret id</param>
 /// <param name="contentType">The content type of the secret</param>
 /// <param name="attributes">The secret management attributes</param>
 /// <param name="tags">Application-specific metadata in the form of
 /// key-value pairs</param>
 /// <param name="kid">If this is a secret backing a KV certificate,
 /// then this field specifies the corresponding key backing the KV
 /// certificate.</param>
 /// <param name="managed">True if the secret's lifetime is managed by
 /// key vault i.e. if this is a secret backing a certificate, then
 /// managed will be true.</param>
 public SecretBundle(string value = default(string), string id = default(string), string contentType = default(string), SecretAttributes attributes = default(SecretAttributes), IDictionary <string, string> tags = default(IDictionary <string, string>), string kid = default(string), bool?managed = default(bool?))
 {
     Value       = value;
     Id          = id;
     ContentType = contentType;
     Attributes  = attributes;
     Tags        = tags;
     Kid         = kid;
     Managed     = managed;
 }