예제 #1
0
        public static void UpdateStorageAccount(this IServiceManagement proxy, string subscriptionId, string storageAccountName, string label, string description)
        {
            var input = new UpdateStorageServiceInput()
            {
                Label       = ServiceManagementHelper.EncodeToBase64String(label),
                Description = description
            };

            proxy.EndUpdateStorageAccount(proxy.BeginUpdateStorageAccount(subscriptionId, storageAccountName, input, null, null));
        }
 public IAsyncResult BeginUpdateStorageAccount(string subscriptionId, string storageAccountName, UpdateStorageServiceInput updateStorageServiceInput, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["storageAccountName"] = storageAccountName;
     result.Values["updateStorageServiceInput"] = updateStorageServiceInput;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
예제 #3
0
        public static void UpdateStorageAccount(this IServiceManagement proxy, string subscriptionId, string storageAccountName, string label, string description)
        {
            var input = new UpdateStorageServiceInput()
            {
                Label = ServiceManagementHelper.EncodeToBase64String(label),
                Description = description
            };

            proxy.EndUpdateStorageAccount(proxy.BeginUpdateStorageAccount(subscriptionId, storageAccountName, input, null, null));
        }