Пример #1
0
 /// <summary>
 /// Get the endpoint for the table service for the given storage account in this environment
 /// </summary>
 /// <param name="environment">The environment containing the storage account</param>
 /// <param name="storageAccountName">The name of the storage account</param>
 /// <param name="useHttps">True if https should be used in communicating with the storage service, otherwise false</param>
 /// <returns>The Uri of the table service for the given service in the given environment</returns>
 public static Uri GetStorageTableEndpoint(this IAzureEnvironment environment, string storageAccountName, bool useHttps = true)
 {
     return(new Uri(string.Format(environment.StorageTableEndpointFormat(), useHttps ? "https" : "http", storageAccountName)));
 }