/// <summary>
        /// Get the given endpoint suffix in the given environment
        /// </summary>
        /// <param name="environment">The environment to check</param>
        /// <param name="endpointSuffix">The nemaed endpoint suffix to search for</param>
        /// <returns>The value of the endpoint suffix, or null if it is not set</returns>
        public static string GetEndpointSuffix(this IAzureEnvironment environment, string endpointSuffix)
        {
            string suffix;

            if (environment.TryGetEndpointString(endpointSuffix, out suffix))
            {
                return(suffix);
            }

            return(null);
        }
        /// <summary>
        /// Get the string endpoint value from this environemtn for the given named endpoint
        /// </summary>
        /// <param name="environment">The environemnt to use</param>
        /// <param name="endpoint">The endpoint to get from the environemnt.</param>
        /// <returns>The value of the given endpoint in the environment if found, or null if not.</returns>
        public static string GetEndpoint(this IAzureEnvironment environment, string endpoint)
        {
            string endpointValue;

            if (environment.TryGetEndpointString(endpoint, out endpointValue))
            {
                return(endpointValue);
            }

            return(null);
        }
        /// <summary>
        /// Determine if the given endpoint is set in the given environment
        /// </summary>
        /// <param name="environment">The environment to check</param>
        /// <param name="endpoint">The named endpoint to search for</param>
        /// <returns>True if the endpoint is set to a non-null value in the environment, otherwise false</returns>
        public static bool IsEndpointSet(this IAzureEnvironment environment, string endpoint)
        {
            string endpointValue;

            return(environment.TryGetEndpointString(endpoint, out endpointValue));
        }