/// <summary>
 /// Initializes a new instance of the CustomHttpsConfiguration class.
 /// </summary>
 /// <param name="certificateSource">Defines the source of the SSL
 /// certificate. Possible values include: 'AzureKeyVault',
 /// 'FrontDoor'</param>
 /// <param name="minimumTlsVersion">The minimum TLS version required
 /// from the clients to establish an SSL handshake with Front Door.
 /// Possible values include: '1.0', '1.2'</param>
 /// <param name="vault">The Key Vault containing the SSL
 /// certificate</param>
 /// <param name="secretName">The name of the Key Vault secret
 /// representing the full certificate PFX</param>
 /// <param name="secretVersion">The version of the Key Vault secret
 /// representing the full certificate PFX</param>
 /// <param name="certificateType">Defines the type of the certificate
 /// used for secure connections to a frontendEndpoint. Possible values
 /// include: 'Dedicated'</param>
 public CustomHttpsConfiguration(string certificateSource, string minimumTlsVersion, KeyVaultCertificateSourceParametersVault vault = default(KeyVaultCertificateSourceParametersVault), string secretName = default(string), string secretVersion = default(string), string certificateType = default(string))
 {
     CertificateSource = certificateSource;
     MinimumTlsVersion = minimumTlsVersion;
     Vault             = vault;
     SecretName        = secretName;
     SecretVersion     = secretVersion;
     CertificateType   = certificateType;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the CustomHttpsConfiguration class.
 /// </summary>
 /// <param name="certificateSource">Defines the source of the SSL
 /// certificate. Possible values include: 'AzureKeyVault',
 /// 'FrontDoor'</param>
 /// <param name="protocolType">Defines the TLS extension protocol that
 /// is used for secure delivery. Possible values include:
 /// 'ServerNameIndication'</param>
 /// <param name="vault">The Key Vault containing the SSL
 /// certificate</param>
 /// <param name="secretName">The name of the Key Vault secret
 /// representing the full certificate PFX</param>
 /// <param name="secretVersion">The version of the Key Vault secret
 /// representing the full certificate PFX</param>
 /// <param name="certificateType">Defines the type of the certificate
 /// used for secure connections to a frontendEndpoint. Possible values
 /// include: 'Dedicated'</param>
 public CustomHttpsConfiguration(string certificateSource = default(string), string protocolType = default(string), KeyVaultCertificateSourceParametersVault vault = default(KeyVaultCertificateSourceParametersVault), string secretName = default(string), string secretVersion = default(string), string certificateType = default(string))
 {
     CertificateSource = certificateSource;
     ProtocolType      = protocolType;
     Vault             = vault;
     SecretName        = secretName;
     SecretVersion     = secretVersion;
     CertificateType   = certificateType;
     CustomInit();
 }