| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.KeyVault.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Parameters for the issuer of the X509 component of a certificate. |
| | 18 | | /// </summary> |
| | 19 | | public partial class IssuerParameters |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the IssuerParameters class. |
| | 23 | | /// </summary> |
| 130 | 24 | | public IssuerParameters() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 130 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the IssuerParameters class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="name">Name of the referenced issuer object or reserved |
| | 33 | | /// names; for example, 'Self' or 'Unknown'.</param> |
| | 34 | | /// <param name="certificateType">Type of certificate to be requested |
| | 35 | | /// from the issuer provider.</param> |
| | 36 | | /// <param name="certificateTransparency">Indicates if the certificates |
| | 37 | | /// generated under this policy should be published to certificate |
| | 38 | | /// transparency logs.</param> |
| 0 | 39 | | public IssuerParameters(string name = default(string), string certificateType = default(string), bool? certifica |
| | 40 | | { |
| 0 | 41 | | Name = name; |
| 0 | 42 | | CertificateType = certificateType; |
| 0 | 43 | | CertificateTransparency = certificateTransparency; |
| | 44 | | CustomInit(); |
| 0 | 45 | | } |
| | 46 | |
|
| | 47 | | /// <summary> |
| | 48 | | /// An initialization method that performs custom operations like setting defaults |
| | 49 | | /// </summary> |
| | 50 | | partial void CustomInit(); |
| | 51 | |
|
| | 52 | | /// <summary> |
| | 53 | | /// Gets or sets name of the referenced issuer object or reserved |
| | 54 | | /// names; for example, 'Self' or 'Unknown'. |
| | 55 | | /// </summary> |
| | 56 | | [JsonProperty(PropertyName = "name")] |
| 144 | 57 | | public string Name { get; set; } |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// Gets or sets type of certificate to be requested from the issuer |
| | 61 | | /// provider. |
| | 62 | | /// </summary> |
| | 63 | | [JsonProperty(PropertyName = "cty")] |
| 0 | 64 | | public string CertificateType { get; set; } |
| | 65 | |
|
| | 66 | | /// <summary> |
| | 67 | | /// Gets or sets indicates if the certificates generated under this |
| | 68 | | /// policy should be published to certificate transparency logs. |
| | 69 | | /// </summary> |
| | 70 | | [JsonProperty(PropertyName = "cert_transparency")] |
| 0 | 71 | | public bool? CertificateTransparency { get; set; } |
| | 72 | |
|
| | 73 | | } |
| | 74 | | } |