示例#1
0
 /// <summary>
 /// Gets the server URI.
 /// </summary>
 /// <param name="tenantId">The tenant identifier.</param>
 /// <param name="id">The identifier.</param>
 /// <returns></returns>
 private static string GetServerUri(string host, string tenantId, string id)
 {
     return(String.Format(
                "{0}{1}/{2}/servers/{3}",
                ConfigurationHelpers.GetBaseUrl(host),
                Constants.CurrentApiVersion,
                tenantId,
                id
                ));
 }
 public ApiVersionList GetAvailableApiVersions()
 {
     return(new ApiVersionList(ConfigurationHelpers.GetBaseUrl()));
 }