Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the SecretPatchProperties class.
 /// </summary>
 /// <param name="value">The value of the secret.</param>
 /// <param name="contentType">The content type of the secret.</param>
 /// <param name="attributes">The attributes of the secret.</param>
 public SecretPatchProperties(string value = default(string), string contentType = default(string), SecretAttributes attributes = default(SecretAttributes))
 {
     Value       = value;
     ContentType = contentType;
     Attributes  = attributes;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the SecretProperties class.
 /// </summary>
 /// <param name="value">The value of the secret. NOTE: 'value' will
 /// never be returned from the service, as APIs using this model are is
 /// intended for internal use in ARM deployments. Users should use the
 /// data-plane REST service for interaction with vault secrets.</param>
 /// <param name="contentType">The content type of the secret.</param>
 /// <param name="attributes">The attributes of the secret.</param>
 /// <param name="secretUri">The URI to retrieve the current version of
 /// the secret.</param>
 /// <param name="secretUriWithVersion">The URI to retrieve the specific
 /// version of the secret.</param>
 public SecretProperties(string value = default(string), string contentType = default(string), SecretAttributes attributes = default(SecretAttributes), string secretUri = default(string), string secretUriWithVersion = default(string))
 {
     Value                = value;
     ContentType          = contentType;
     Attributes           = attributes;
     SecretUri            = secretUri;
     SecretUriWithVersion = secretUriWithVersion;
     CustomInit();
 }