Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the Secret class.
 /// </summary>
 /// <param name="properties">Properties of the secret</param>
 /// <param name="id">Fully qualified identifier of the key vault
 /// resource.</param>
 /// <param name="name">Name of the key vault resource.</param>
 /// <param name="type">Resource type of the key vault resource.</param>
 /// <param name="location">Azure location of the key vault
 /// resource.</param>
 /// <param name="tags">Tags assigned to the key vault resource.</param>
 public Secret(SecretProperties properties, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>))
     : base(id, name, type, location, tags)
 {
     Properties = properties;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the SecretCreateOrUpdateParameters
 /// class.
 /// </summary>
 /// <param name="properties">Properties of the secret</param>
 /// <param name="tags">The tags that will be assigned to the secret.
 /// </param>
 public SecretCreateOrUpdateParameters(SecretProperties properties, IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Tags       = tags;
     Properties = properties;
     CustomInit();
 }