internal PsApiManagementHostnameConfiguration(HostnameConfiguration hostnameConfigurationResource)
            :this()
        {
            if (hostnameConfigurationResource == null)
            {
                throw new ArgumentNullException("hostnameConfigurationResource");
            }

            HostnameCertificate = new PsApiManagementHostnameCertificate(hostnameConfigurationResource.Certificate);
        }
        internal PsApiManagementHostnameConfiguration(HostnameConfiguration hostnameConfigurationResource)
            : this()
        {
            if (hostnameConfigurationResource == null)
            {
                throw new ArgumentNullException("hostnameConfigurationResource");
            }

            HostnameCertificate = new PsApiManagementHostnameCertificate(hostnameConfigurationResource.Certificate);
        }