Permalink
Browse files

Merge pull request #399 from WindowsAzure/dev

Latest WAML Libraries
  • Loading branch information...
jeffwilcox committed Jan 10, 2014
2 parents ec7e8d2 + 23cd39f commit c87ff50b964693e3b6da5aae61e073324aea7daf
Showing with 12,842 additions and 7,326 deletions.
  1. +12 −1 .nuget/NuGet.targets
  2. +1 −1 libraries.msbuild
  3. +2 −0 nuget.targets
  4. +11 −0 src/Common.Test/Common.Test.csproj
  5. +128 −0 src/Common.Test/Fakes/FakeServiceClientWithCredentials.cs
  6. +92 −0 src/Common.Test/Fakes/RecordedDelegatingHandler.cs
  7. +54 −0 src/Common.Test/TokenCloudCredentialsTest.cs
  8. +2 −2 src/Common.Tracing.Test/Common.Tracing.Test.csproj
  9. +1 −1 src/Common.Tracing.Test/packages.config
  10. +1 −0 src/Common/Common.csproj
  11. +125 −0 src/Common/Credentials/TokenCloudCredentials.cs
  12. +1 −1 src/Common/Microsoft.WindowsAzure.Common.nuget.proj
  13. +1 −1 src/Common/Microsoft.WindowsAzure.Common.nuspec
  14. +17 −4 src/ComputeManagement/ComputeManagement.csproj
  15. +9 −8 src/ComputeManagement/Generated/ComputeManagementClient.cs
  16. +100 −64 src/ComputeManagement/Generated/DeploymentOperations.cs
  17. +92 −72 src/ComputeManagement/Generated/HostedServiceOperations.cs
  18. +1 −1 src/ComputeManagement/Generated/IVirtualMachineImageOperations.cs
  19. +47 −5 src/ComputeManagement/Generated/IVirtualMachineOperations.cs
  20. +5 −5 src/ComputeManagement/Generated/Models/AccessControlListRule.cs
  21. +14 −2 src/ComputeManagement/Generated/Models/ConfigurationSet.cs
  22. +3 −3 src/ComputeManagement/Generated/Models/DnsServer.cs
  23. +1 −1 src/ComputeManagement/Generated/Models/DomainJoinCredentials.cs
  24. +2 −2 src/ComputeManagement/Generated/Models/DomainJoinProvisioning.cs
  25. +1 −1 src/ComputeManagement/Generated/Models/DomainJoinSettings.cs
  26. +2 −2 src/ComputeManagement/Generated/Models/EndpointAcl.cs
  27. +1 −1 src/ComputeManagement/Generated/Models/ExtensionConfiguration.cs
  28. +2 −2 src/ComputeManagement/Generated/Models/InputEndpoint.cs
  29. +3 −3 src/ComputeManagement/Generated/Models/Role.cs
  30. +2 −2 src/ComputeManagement/Generated/Models/RoleInstance.cs
  31. +2 −2 src/ComputeManagement/Generated/Models/VirtualMachineCreateParameters.cs
  32. +1 −1 src/ComputeManagement/Generated/Models/VirtualMachineDiskGetDiskResponse.cs
  33. +1 −1 src/ComputeManagement/Generated/Models/VirtualMachineDiskListResponse.cs
  34. +2 −2 src/ComputeManagement/Generated/Models/VirtualMachineGetResponse.cs
  35. +2 −3 src/ComputeManagement/Generated/Models/VirtualMachineImageCreateParameters.cs
  36. +2 −3 src/ComputeManagement/Generated/Models/VirtualMachineImageCreateResponse.cs
  37. +5 −6 src/ComputeManagement/Generated/Models/VirtualMachineImageGetResponse.cs
  38. +3 −3 src/ComputeManagement/Generated/Models/VirtualMachineImageListResponse.cs
  39. +2 −3 src/ComputeManagement/Generated/Models/VirtualMachineImageUpdateParameters.cs
  40. +2 −3 src/ComputeManagement/Generated/Models/VirtualMachineImageUpdateResponse.cs
  41. +11 −11 src/ComputeManagement/Generated/Models/VirtualMachineRoleSize.cs
  42. +1 −1 src/ComputeManagement/Generated/Models/VirtualMachineShutdownParameters.cs
  43. +2 −2 src/ComputeManagement/Generated/Models/VirtualMachineShutdownRolesParameters.cs
  44. +2 −2 src/ComputeManagement/Generated/Models/VirtualMachineStartRolesParameters.cs
  45. +2 −2 src/ComputeManagement/Generated/Models/VirtualMachineUpdateLoadBalancedSetParameters.cs
  46. +2 −2 src/ComputeManagement/Generated/Models/VirtualMachineUpdateParameters.cs
  47. +18 −16 src/ComputeManagement/Generated/OperatingSystemOperations.cs
  48. +24 −20 src/ComputeManagement/Generated/ServiceCertificateOperations.cs
  49. +57 −48 src/ComputeManagement/Generated/VirtualMachineDiskOperations.cs
  50. +48 −43 src/ComputeManagement/Generated/VirtualMachineImageOperations.cs
  51. +2 −2 src/ComputeManagement/Generated/VirtualMachineImageOperationsExtensions.cs
  52. +3,159 −3,007 src/ComputeManagement/Generated/VirtualMachineOperations.cs
  53. +116 −10 src/ComputeManagement/Generated/VirtualMachineOperationsExtensions.cs
  54. +1 −1 src/ComputeManagement/Microsoft.WindowsAzure.Management.Compute.nuget.proj
  55. +15 −0 src/ComputeManagement/app.config
  56. +2 −2 src/ComputeManagement/packages.config
  57. +3 −0 src/ComputeManagement/readme.txt
  58. +27 −22 src/Management/Generated/AffinityGroupOperations.cs
  59. +9 −0 src/Management/Generated/IManagementClient.cs
  60. +48 −0 src/Management/Generated/IRoleSizeOperations.cs
  61. +9 −8 src/Management/Generated/ListSubscriptions/SubscriptionOperations.cs
  62. +9 −8 src/Management/Generated/LocationOperations.cs
  63. +24 −20 src/Management/Generated/ManagementCertificateOperations.cs
  64. +21 −8 src/Management/Generated/ManagementClient.cs
  65. +149 −0 src/Management/Generated/Models/RoleSizeListResponse.cs
  66. +224 −0 src/Management/Generated/RoleSizeOperations.cs
  67. +83 −0 src/Management/Generated/RoleSizeOperationsExtensions.cs
  68. +24 −20 src/Management/Generated/SubscriptionOperations.cs
  69. +13 −4 src/Management/Management.csproj
  70. +1 −1 src/Management/Microsoft.WindowsAzure.Management.nuget.proj
  71. +15 −0 src/Management/app.config
  72. +3 −3 src/Management/packages.config
  73. +35 −30 src/MediaServicesManagement/Generated/AccountOperations.cs
  74. +4 −4 src/MediaServicesManagement/Generated/AccountOperationsExtensions.cs
  75. +2 −2 src/MediaServicesManagement/Generated/IAccountOperations.cs
  76. +14 −3 src/MediaServicesManagement/MediaServicesManagement.csproj
  77. +1 −1 src/MediaServicesManagement/Microsoft.WindowsAzure.Management.MediaServices.nuget.proj
  78. +15 −0 src/MediaServicesManagement/app.config
  79. +2 −2 src/MediaServicesManagement/packages.config
  80. +3 −0 src/MediaServicesManagement/readme.txt
  81. +1 −1 src/Microsoft.WindowsAzure.Management.Libraries.nuget.proj
  82. +1 −1 src/Monitoring/Generated/Alerts/IRuleOperations.cs
  83. +29 −32 src/Monitoring/Generated/Alerts/IncidentOperations.cs
  84. +24 −6 src/Monitoring/Generated/Alerts/Models/IncidentListResponse.cs
  85. +1 −1 src/Monitoring/Generated/Alerts/Models/RuleEmailAction.cs
  86. +24 −6 src/Monitoring/Generated/Alerts/Models/RuleListResponse.cs
  87. +40 −49 src/Monitoring/Generated/Alerts/RuleOperations.cs
  88. +2 −2 src/Monitoring/Generated/Alerts/RuleOperationsExtensions.cs
  89. +1 −1 src/Monitoring/Generated/Autoscale/Models/RecurrenceFrequency.cs
  90. +44 −58 src/Monitoring/Generated/Autoscale/SettingOperations.cs
  91. +1 −1 src/Monitoring/Generated/Metrics/IMetricsClient.cs
  92. +9 −8 src/Monitoring/Generated/Metrics/MetricDefinitionOperations.cs
  93. +21 −26 src/Monitoring/Generated/Metrics/MetricSettingOperations.cs
  94. +9 −8 src/Monitoring/Generated/Metrics/MetricValueOperations.cs
  95. +3 −3 src/Monitoring/Generated/Metrics/MetricsClient.cs
  96. +1 −1 src/Monitoring/Generated/Metrics/Models/MetricDefinition.cs
  97. +1 −1 src/Monitoring/Generated/Metrics/Models/MetricSetting.cs
  98. +2 −2 src/Monitoring/Generated/Models/MetricNamespace.cs
  99. +1 −1 src/Monitoring/Microsoft.WindowsAzure.Management.Monitoring.nuget.proj
  100. +17 −3 src/Monitoring/Monitoring.csproj
  101. +2 −1 src/Monitoring/Utilities/AutoscaleResourceIdBuilder.cs
  102. +15 −0 src/Monitoring/app.config
  103. +2 −2 src/Monitoring/packages.config
  104. +42 −38 src/NetworkManagement/Generated/ClientRootCertificateOperations.cs
  105. +14 −14 src/NetworkManagement/Generated/ClientRootCertificateOperationsExtensions.cs
  106. +131 −119 src/NetworkManagement/Generated/GatewayOperations.cs
  107. +48 −48 src/NetworkManagement/Generated/GatewayOperationsExtensions.cs
  108. +7 −7 src/NetworkManagement/Generated/IClientRootCertificateOperations.cs
  109. +24 −24 src/NetworkManagement/Generated/IGatewayOperations.cs
  110. +3 −3 src/NetworkManagement/Generated/INetworkOperations.cs
  111. +1 −1 src/NetworkManagement/Generated/IReservedIPOperations.cs
  112. +52 −0 src/NetworkManagement/Generated/IStaticIPOperations.cs
  113. +5 −0 src/NetworkManagement/Generated/IVirtualNetworkManagementClient.cs
  114. +1 −1 src/NetworkManagement/Generated/Models/ClientRootCertificateGetResponse.cs
  115. +2 −2 src/NetworkManagement/Generated/Models/ClientRootCertificateListResponse.cs
  116. +2 −0 src/NetworkManagement/Generated/Models/GatewayConnectivityState.cs
  117. +1 −1 src/NetworkManagement/Generated/Models/GatewayCreateParameters.cs
  118. +5 −5 src/NetworkManagement/Generated/Models/GatewayEvent.cs
  119. +3 −3 src/NetworkManagement/Generated/Models/GatewayGetDeviceConfigurationScriptParameters.cs
  120. +2 −2 src/NetworkManagement/Generated/Models/GatewayGetDeviceConfigurationScriptResponse.cs
  121. +4 −4 src/NetworkManagement/Generated/Models/GatewayGetResponse.cs
  122. +2 −2 src/NetworkManagement/Generated/Models/GatewayGetSharedKeyResponse.cs
  123. +6 −5 src/NetworkManagement/Generated/Models/GatewayListConnectionsResponse.cs
  124. +6 −6 src/NetworkManagement/Generated/Models/GatewayListSupportedDevicesResponse.cs
  125. +1 −1 src/NetworkManagement/Generated/Models/GatewayProcessorArchitecture.cs
  126. +1 −1 src/NetworkManagement/Generated/Models/GatewayProfile.cs
  127. +1 −1 src/NetworkManagement/Generated/Models/GatewayProvisioningEventStates.cs
  128. +1 −1 src/NetworkManagement/Generated/Models/GatewayResetSharedKeyParameters.cs
  129. +9 −9 src/NetworkManagement/Generated/Models/NetworkListResponse.cs
  130. +67 −0 src/NetworkManagement/Generated/Models/NetworkStaticIPAvailabilityResponse.cs
  131. +23 −20 src/NetworkManagement/Generated/NetworkOperations.cs
  132. +6 −6 src/NetworkManagement/Generated/NetworkOperationsExtensions.cs
  133. +25 −21 src/NetworkManagement/Generated/ReservedIPOperations.cs
  134. +2 −2 src/NetworkManagement/Generated/ReservedIPOperationsExtensions.cs
  135. +204 −0 src/NetworkManagement/Generated/StaticIPOperations.cs
  136. +94 −0 src/NetworkManagement/Generated/StaticIPOperationsExtensions.cs
  137. +17 −8 src/NetworkManagement/Generated/VirtualNetworkManagementClient.cs
  138. +1 −1 src/NetworkManagement/Microsoft.WindowsAzure.Management.NetworkManagement.nuget.proj
  139. +18 −3 src/NetworkManagement/NetworkManagement.csproj
  140. +15 −0 src/NetworkManagement/app.config
  141. +2 −2 src/NetworkManagement/packages.config
  142. +12 −10 src/SchedulerManagement/Generated/CloudServiceManagementClient.cs
  143. +23 −20 src/SchedulerManagement/Generated/CloudServiceOperations.cs
  144. +2 −2 src/SchedulerManagement/Generated/CloudServiceOperationsExtensions.cs
  145. +1 −1 src/SchedulerManagement/Generated/ICloudServiceOperations.cs
  146. +27 −22 src/SchedulerManagement/Generated/JobCollectionOperations.cs
  147. +1,424 −1,392 src/SchedulerManagement/Generated/JobOperations.cs
  148. +5 −5 src/SchedulerManagement/Generated/Models/CloudServiceListResponse.cs
  149. +0 −11 src/SchedulerManagement/Generated/Models/JobGetHistoryResponse.cs
  150. +24 −20 src/SchedulerManagement/Generated/SchedulerManagementClient.cs
  151. +1 −1 src/SchedulerManagement/Microsoft.WindowsAzure.Management.Scheduler.nuget.proj
  152. +2 −1 src/SchedulerManagement/Microsoft.WindowsAzure.Management.Scheduler.nuspec
  153. +9 −4 src/SchedulerManagement/SchedulerManagement.csproj
  154. +15 −0 src/SchedulerManagement/app.config
  155. +3 −3 src/SchedulerManagement/packages.config
  156. +3 −0 src/SchedulerManagement/readme.txt
  157. +39 −3 src/ServiceBusManagement/Generated/INamespaceOperations.cs
  158. +16 −1 src/ServiceBusManagement/Generated/INotificationHubOperations.cs
  159. +27 −0 src/ServiceBusManagement/Generated/IQueueOperations.cs
  160. +6 −0 src/ServiceBusManagement/Generated/IRelayOperations.cs
  161. +1 −1 src/ServiceBusManagement/Generated/IServiceBusManagementClient.cs
  162. +27 −0 src/ServiceBusManagement/Generated/ITopicOperations.cs
  163. +1 −1 src/ServiceBusManagement/Generated/Models/ServiceBusNamespacesResponse.cs
  164. +8 −8 src/ServiceBusManagement/Generated/Models/ServiceBusSharedAccessAuthorizationRule.cs
  165. +150 −79 src/ServiceBusManagement/Generated/NamespaceOperations.cs
  166. +78 −6 src/ServiceBusManagement/Generated/NamespaceOperationsExtensions.cs
  167. +63 −25 src/ServiceBusManagement/Generated/NotificationHubOperations.cs
  168. +31 −1 src/ServiceBusManagement/Generated/NotificationHubOperationsExtensions.cs
  169. +287 −230 src/ServiceBusManagement/Generated/QueueOperations.cs
  170. +54 −0 src/ServiceBusManagement/Generated/QueueOperationsExtensions.cs
  171. +23 −8 src/ServiceBusManagement/Generated/RelayOperations.cs
  172. +12 −0 src/ServiceBusManagement/Generated/RelayOperationsExtensions.cs
  173. +19 −17 src/ServiceBusManagement/Generated/ServiceBusManagementClient.cs
  174. +450 −388 src/ServiceBusManagement/Generated/TopicOperations.cs
  175. +54 −0 src/ServiceBusManagement/Generated/TopicOperationsExtensions.cs
  176. +1 −1 src/ServiceBusManagement/Microsoft.WindowsAzure.Management.ServiceBus.nuget.proj
  177. +14 −3 src/ServiceBusManagement/ServiceBusManagement.csproj
  178. +15 −0 src/ServiceBusManagement/app.config
  179. +2 −2 src/ServiceBusManagement/packages.config
  180. +50 −33 src/SqlManagement/Generated/DacOperations.cs
  181. +46 −18 src/SqlManagement/Generated/DacOperationsExtensions.cs
  182. +1,270 −0 src/SqlManagement/Generated/DatabaseCopyOperations.cs
  183. +355 −0 src/SqlManagement/Generated/DatabaseCopyOperationsExtensions.cs
  184. +35 −26 src/SqlManagement/Generated/DatabaseOperationOperations.cs
  185. +16 −4 src/SqlManagement/Generated/DatabaseOperationOperationsExtensions.cs
  186. +48 −44 src/SqlManagement/Generated/DatabaseOperations.cs
  187. +18 −20 src/SqlManagement/Generated/DatabaseOperationsExtensions.cs
  188. +43 −45 src/SqlManagement/Generated/FirewallRuleOperations.cs
  189. +26 −38 src/SqlManagement/Generated/FirewallRuleOperationsExtensions.cs
  190. +23 −9 src/SqlManagement/Generated/IDacOperations.cs
  191. +141 −0 src/SqlManagement/Generated/IDatabaseCopyOperations.cs
  192. +8 −2 src/SqlManagement/Generated/IDatabaseOperationOperations.cs
  193. +9 −10 src/SqlManagement/Generated/IDatabaseOperations.cs
  194. +13 −19 src/SqlManagement/Generated/IFirewallRuleOperations.cs
  195. +11 −13 src/SqlManagement/Generated/IServerOperations.cs
  196. +5 −2 src/SqlManagement/Generated/IServiceObjectiveOperations.cs
  197. +9 −0 src/SqlManagement/Generated/ISqlManagementClient.cs
  198. +10 −9 src/SqlManagement/Generated/Models/DacExportParameters.cs
  199. +19 −17 src/SqlManagement/Generated/Models/DacGetStatusResponse.cs
  200. +1 −1 src/SqlManagement/Generated/Models/DacImportExportResponse.cs
  201. +13 −9 src/SqlManagement/Generated/Models/DacImportParameters.cs
  202. +96 −0 src/SqlManagement/Generated/Models/DatabaseCopyCreateParameters.cs
  203. +70 −0 src/SqlManagement/Generated/Models/DatabaseCopyListResponse.cs
  204. +229 −0 src/SqlManagement/Generated/Models/DatabaseCopyResponse.cs
  205. +96 −0 src/SqlManagement/Generated/Models/DatabaseCopyUpdateParameters.cs
  206. +5 −5 src/SqlManagement/Generated/Models/DatabaseCreateParameters.cs
  207. +19 −17 src/SqlManagement/Generated/Models/DatabaseCreateResponse.cs
  208. +1 −1 src/SqlManagement/Generated/Models/DatabaseEditions.cs
  209. +19 −17 src/SqlManagement/Generated/Models/DatabaseGetResponse.cs
  210. +23 −18 src/SqlManagement/Generated/Models/DatabaseListResponse.cs
  211. +22 −17 src/SqlManagement/Generated/Models/DatabaseOperationGetResponse.cs
  212. +26 −21 src/SqlManagement/Generated/Models/DatabaseOperationListResponse.cs
  213. +6 −6 src/SqlManagement/Generated/Models/DatabaseUpdateParameters.cs
  214. +19 −17 src/SqlManagement/Generated/Models/DatabaseUpdateResponse.cs
  215. +4 −4 src/SqlManagement/Generated/Models/FirewallRuleCreateParameters.cs
  216. +5 −5 src/SqlManagement/Generated/Models/FirewallRuleCreateResponse.cs
  217. +8 −5 src/SqlManagement/Generated/Models/FirewallRuleListResponse.cs
  218. +4 −4 src/SqlManagement/Generated/Models/FirewallRuleUpdateParameters.cs
  219. +5 −5 src/SqlManagement/Generated/Models/FirewallRuleUpdateResponse.cs
  220. +1 −1 src/SqlManagement/Generated/Models/ServerChangeAdministratorPasswordParameters.cs
  221. +3 −3 src/SqlManagement/Generated/Models/ServerCreateParameters.cs
  222. +2 −2 src/SqlManagement/Generated/Models/ServerCreateResponse.cs
  223. +9 −8 src/SqlManagement/Generated/Models/ServerListResponse.cs
  224. +27 −23 src/SqlManagement/Generated/Models/ServiceObjectiveGetResponse.cs
  225. +32 −24 src/SqlManagement/Generated/Models/ServiceObjectiveListResponse.cs
  226. +35 −33 src/SqlManagement/Generated/ServerOperations.cs
  227. +22 −26 src/SqlManagement/Generated/ServerOperationsExtensions.cs
  228. +23 −18 src/SqlManagement/Generated/ServiceObjectiveOperations.cs
  229. +10 −4 src/SqlManagement/Generated/ServiceObjectiveOperationsExtensions.cs
  230. +12 −0 src/SqlManagement/Generated/SqlManagementClient.cs
  231. +1 −1 src/SqlManagement/Microsoft.WindowsAzure.Management.Sql.nuget.proj
  232. +21 −3 src/SqlManagement/SqlManagement.csproj
  233. +15 −0 src/SqlManagement/app.config
  234. +2 −2 src/SqlManagement/packages.config
  235. +3 −0 src/SqlManagement/readme.txt
  236. +1 −1 src/StorageManagement/Generated/IStorageAccountOperations.cs
  237. +1 −1 src/StorageManagement/Generated/Models/CheckNameAvailabilityResponse.cs
  238. +1 −1 src/StorageManagement/Generated/Models/GeoRegionNames.cs
  239. +55 −47 src/StorageManagement/Generated/StorageAccountOperations.cs
  240. +2 −2 src/StorageManagement/Generated/StorageAccountOperationsExtensions.cs
  241. +9 −8 src/StorageManagement/Generated/StorageManagementClient.cs
  242. +1 −1 src/StorageManagement/Microsoft.WindowsAzure.Management.Storage.nuget.proj
  243. +17 −3 src/StorageManagement/StorageManagement.csproj
  244. +15 −0 src/StorageManagement/app.config
  245. +2 −2 src/StorageManagement/packages.config
  246. +9 −6 src/StoreManagement/Generated/AddOnOperations.cs
  247. +13 −11 src/StoreManagement/Generated/CloudServiceOperations.cs
  248. +2 −2 src/StoreManagement/Generated/CloudServiceOperationsExtensions.cs
  249. +1 −1 src/StoreManagement/Generated/ICloudServiceOperations.cs
  250. +1 −1 src/StoreManagement/Generated/Models/AddOnCreateParameters.cs
  251. +1 −1 src/StoreManagement/Generated/Models/AddOnUpdateParameters.cs
  252. +1 −1 src/StoreManagement/Generated/Models/CloudServiceCreateParameters.cs
  253. +1 −1 src/StoreManagement/Generated/Models/CloudServiceListResponse.cs
  254. +9 −8 src/StoreManagement/Generated/StoreManagementClient.cs
  255. +13 −0 src/StoreManagement/Microsoft.WindowsAzure.Management.Store.nuget.proj
  256. +41 −0 src/StoreManagement/Microsoft.WindowsAzure.Management.Store.nuspec
  257. +19 −3 src/StoreManagement/StoreManagement.csproj
  258. +15 −0 src/StoreManagement/app.config
  259. +2 −2 src/StoreManagement/packages.config
  260. +25 −8 src/WebSiteManagement/Generated/IWebSiteOperations.cs
  261. +1 −1 src/WebSiteManagement/Generated/IWebSpaceOperations.cs
  262. +1 −1 src/WebSiteManagement/Generated/Models/WebSiteCreateParameters.cs
  263. +73 −0 src/WebSiteManagement/Generated/Models/WebSiteDeleteParameters.cs
  264. +2 −2 src/WebSiteManagement/Generated/Models/WebSiteGetConfigurationResponse.cs
  265. +1 −1 src/WebSiteManagement/Generated/Models/WebSiteGetParameters.cs
  266. +1 −1 src/WebSiteManagement/Generated/Models/WebSiteListParameters.cs
  267. +2 −2 src/WebSiteManagement/Generated/Models/WebSiteUpdateConfigurationParameters.cs
  268. +3 −3 src/WebSiteManagement/Generated/Models/WebSpacesCreatePublishingUserResponse.cs
  269. +1 −1 src/WebSiteManagement/Generated/Models/WebSpacesGetDnsSuffixResponse.cs
  270. +5 −5 src/WebSiteManagement/Generated/Models/WebSpacesListGeoRegionsResponse.cs
  271. +3 −3 src/WebSiteManagement/Generated/Models/WebSpacesListPublishingUsersResponse.cs
  272. +39 −34 src/WebSiteManagement/Generated/ServerFarmOperations.cs
  273. +2 −2 src/WebSiteManagement/Generated/WebSiteExtendedErrorCodes.cs
  274. +6 −4 src/WebSiteManagement/Generated/WebSiteManagementClient.cs
  275. +241 −104 src/WebSiteManagement/Generated/WebSiteOperations.cs
  276. +74 −18 src/WebSiteManagement/Generated/WebSiteOperationsExtensions.cs
  277. +64 −57 src/WebSiteManagement/Generated/WebSpaceOperations.cs
  278. +2 −2 src/WebSiteManagement/Generated/WebSpaceOperationsExtensions.cs
  279. +1 −1 src/WebSiteManagement/Microsoft.WindowsAzure.Management.WebSites.nuget.proj
  280. +18 −3 src/WebSiteManagement/WebSiteManagement.csproj
  281. +15 −0 src/WebSiteManagement/app.config
  282. +2 −2 src/WebSiteManagement/packages.config
  283. +1 −1 src/library.targets
View
@@ -1,5 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <!--
+ **
+ ** Note: This file has been modified from it's original version. NuGet Package Restore is
+ ** now non-fatal - if package restore fails, the build will continue.
+ **
+ ** If you need to modify this file be sure to check the diffs carefully, specifically
+ ** the RestorePackages target.
+ **
+ -->
<PropertyGroup>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
@@ -86,11 +95,13 @@
</Target>
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
+ <Warning Text="Modified NuGet package restore in use to enable building without access to private NuGet feeds." />
<Exec Command="$(RestoreCommand)"
+ IgnoreExitCode="true"
Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
<Exec Command="$(RestoreCommand)"
- LogStandardErrorAsError="true"
+ IgnoreExitCode="true"
Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
</Target>
View
@@ -94,7 +94,7 @@
Developer builds are signed using the c66ce9294aae1300 full key pair that
is unofficial and provided to the public via the Development.snk key pair.
- Official builds should never be shipped with the developer key pair token.
+ Official builds should never use the developer key pair token.
-->
<PropertyGroup>
<MicrosoftLibrariesStrongNameToken>31bf3856ad364e35</MicrosoftLibrariesStrongNameToken>
View
@@ -159,12 +159,14 @@
<Message Importance="high" Text="Publishing NuGet packages to the cloud at $(NuGetPublishingSource)" />
<Exec Command="$(NuGetCommand) push &quot;$(PackageOutputDir)\%(SdkNuGetPackage.Identity).%(SdkNuGetPackage.PackageVersion)$(BuildVersionSuffix)$(AdditionalVersionSuffix).nupkg&quot; $(NuGetKey)$(ActualSource)"
+ IgnoreExitCode="true"
Condition=" '%(SdkNuGetPackage.Publish)' != 'false' " />
<Message Importance="high" Text="Publishing NuGet symbol &amp; source packages to the cloud at $(NuGetSymbolPublishingSource)"
Condition=" $(NuGetSymbolPublishingSource) != '' "/>
<Exec Command="$(NuGetCommand) push &quot;$(PackageOutputDir)\%(SdkNuGetPackage.Identity).%(SdkNuGetPackage.PackageVersion)$(BuildVersionSuffix)$(AdditionalVersionSuffix).Symbols.nupkg&quot; $(NuGetKey) -Source $(NuGetSymbolPublishingSource)"
Condition=" $(NuGetSymbolPublishingSource) != '' And '%(SdkNuGetPackage.Publish)' != 'false' And '%(SdkNuGetPackage.SkipSymbolSourcePackage)' != 'true' And '$(PublishSymbolSourcePackages)' == 'true' "
+ IgnoreExitCode="true"
ContinueOnError="true" />
<Message Text="Not publishing package %(SdkNuGetPackage.Identity) as Publish is set to 'false' for the component."
@@ -64,8 +64,11 @@
<ItemGroup>
<Compile Include="Fakes\BadResponseDelegatingHandler.cs" />
<Compile Include="Fakes\FakeHttpHandler.cs" />
+ <Compile Include="Fakes\FakeServiceClientWithCredentials.cs" />
<Compile Include="Fakes\FakeServiceClient.cs" />
+ <Compile Include="Fakes\RecordedDelegatingHandler.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="TokenCloudCredentialsTest.cs" />
<Compile Include="ServiceClientTest.cs" />
<Compile Include="Tracing\CloudTracingExtensionsTest.cs" />
<Compile Include="TransientFaultHandling\GeneralRetryPolicyTests.cs" />
@@ -74,10 +77,18 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
+ <ProjectReference Include="..\Common.NetFramework\Common.NetFramework.csproj">
+ <Project>{14529261-9f9f-4d2f-80d5-b26677f51e8b}</Project>
+ <Name>Common.NetFramework</Name>
+ </ProjectReference>
<ProjectReference Include="..\Common\Common.csproj">
<Project>{856a1d19-c3bf-439a-bebf-e822a332bc12}</Project>
<Name>Common</Name>
</ProjectReference>
+ <ProjectReference Include="..\Management\Management.csproj">
+ <Project>{2b6d304f-5dc0-4052-a8ab-80e53c291e5f}</Project>
+ <Name>Management</Name>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
@@ -0,0 +1,128 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Http;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using Microsoft.WindowsAzure.Common.Internals;
+
+namespace Microsoft.WindowsAzure.Common.Test.Fakes
+{
+ public class FakeServiceClientWithCredentials : ServiceClient<FakeServiceClientWithCredentials>
+ {
+ private Uri _baseUri;
+
+ public Uri BaseUri
+ {
+ get { return this._baseUri; }
+ }
+
+ private SubscriptionCloudCredentials _credentials;
+
+ public SubscriptionCloudCredentials Credentials
+ {
+ get { return this._credentials; }
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the FakeServiceClientWithCredentials class.
+ /// </summary>
+ private FakeServiceClientWithCredentials()
+ : base()
+ {
+ this.HttpClient.Timeout = TimeSpan.FromSeconds(300);
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the FakeServiceClientWithCredentials class.
+ /// </summary>
+ public FakeServiceClientWithCredentials(SubscriptionCloudCredentials credentials, Uri baseUri)
+ : this()
+ {
+ if (credentials == null)
+ {
+ throw new ArgumentNullException("credentials");
+ }
+ if (baseUri == null)
+ {
+ throw new ArgumentNullException("baseUri");
+ }
+ this._credentials = credentials;
+ this._baseUri = baseUri;
+
+ this.Credentials.InitializeServiceClient(this);
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the FakeServiceClientWithCredentials class.
+ /// </summary>
+ public FakeServiceClientWithCredentials(SubscriptionCloudCredentials credentials)
+ : this()
+ {
+ if (credentials == null)
+ {
+ throw new ArgumentNullException("credentials");
+ }
+ this._credentials = credentials;
+ this._baseUri = new Uri("https://TBD");
+
+ this.Credentials.InitializeServiceClient(this);
+ }
+
+ public async Task<HttpResponseMessage> DoStuff()
+ {
+ // Construct URL
+ string url = "http://www.microsoft.com";
+
+ // Create HTTP transport objects
+ HttpRequestMessage httpRequest = null;
+
+ httpRequest = new HttpRequestMessage();
+ httpRequest.Method = HttpMethod.Get;
+ httpRequest.RequestUri = new Uri(url);
+
+ await this.Credentials.ProcessHttpRequestAsync(httpRequest, new CancellationToken());
+
+ // Set Headers
+ httpRequest.Headers.Add("x-ms-version", "2013-11-01");
+
+ // Set Credentials
+ var cancellationToken = new CancellationToken();
+ cancellationToken.ThrowIfCancellationRequested();
+ return await this.HttpClient.SendAsync(httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+
+ public FakeServiceClientWithCredentials WithHandler(DelegatingHandler handler)
+ {
+ return (FakeServiceClientWithCredentials)WithHandler(new FakeServiceClientWithCredentials(), handler);
+ }
+
+ protected override void Clone(ServiceClient<FakeServiceClientWithCredentials> client)
+ {
+ base.Clone(client);
+ FakeServiceClientWithCredentials management = client as FakeServiceClientWithCredentials;
+ if (management != null)
+ {
+ management._credentials = Credentials;
+ management._baseUri = BaseUri;
+ management.Credentials.InitializeServiceClient(management);
+ }
+ }
+ }
+}
@@ -0,0 +1,92 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+using System;
+using System.Net;
+using System.Net.Http;
+using System.Net.Http.Headers;
+using System.Threading.Tasks;
+
+namespace Microsoft.WindowsAzure.Common.Test.Fakes
+{
+ public class RecordedDelegatingHandler : DelegatingHandler
+ {
+ private HttpResponseMessage _response;
+
+ public RecordedDelegatingHandler()
+ {
+ StatusCodeToReturn = HttpStatusCode.Created;
+ }
+
+ public RecordedDelegatingHandler(HttpResponseMessage response)
+ {
+ StatusCodeToReturn = HttpStatusCode.Created;
+ _response = response;
+ }
+
+ public HttpStatusCode StatusCodeToReturn { get; set; }
+
+ public string Request { get; private set; }
+
+ public HttpRequestHeaders RequestHeaders { get; private set; }
+
+ public HttpContentHeaders ContentHeaders { get; private set; }
+
+ public HttpMethod Method { get; private set; }
+
+ public Uri Uri { get; private set; }
+
+ public bool IsPassThrough { get; set; }
+
+ protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, System.Threading.CancellationToken cancellationToken)
+ {
+ // Save request
+ if (request.Content == null)
+ {
+ Request = string.Empty;
+ }
+ else
+ {
+ Request = await request.Content.ReadAsStringAsync();
+ }
+ RequestHeaders = request.Headers;
+ if (request.Content != null)
+ {
+ ContentHeaders = request.Content.Headers;
+ }
+ Method = request.Method;
+ Uri = request.RequestUri;
+
+ // Prepare response
+ if (IsPassThrough)
+ {
+ return await base.SendAsync(request, cancellationToken);
+ }
+ else
+ {
+ if (_response != null)
+ {
+ return _response;
+ }
+ else
+ {
+ HttpResponseMessage response = new HttpResponseMessage(StatusCodeToReturn);
+ response.Content = new StringContent("");
+ return response;
+ }
+ }
+ }
+ }
+}
@@ -0,0 +1,54 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+using System.Net;
+using Microsoft.WindowsAzure.Common.Test.Fakes;
+using Xunit;
+
+namespace Microsoft.WindowsAzure.Common.Test
+{
+ public class TokenCloudCredentialsTest
+ {
+ [Fact]
+ public void TokenCloudCredentialAddsHeader()
+ {
+ var tokenCredentials = new TokenCloudCredentials("123","abc");
+ var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
+ var fakeClient = new FakeServiceClientWithCredentials(tokenCredentials).WithHandler(handler);
+ fakeClient.DoStuff().Wait();
+
+ Assert.Equal("Bearer", handler.RequestHeaders.Authorization.Scheme);
+ Assert.Equal("abc", handler.RequestHeaders.Authorization.Parameter);
+ }
+
+ [Fact]
+ public void TokenCloudCredentialUpdatesHeader()
+ {
+ var credentials = new TokenCloudCredentials("123", "abc");
+ var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
+ var fakeClient = new FakeServiceClientWithCredentials(credentials).WithHandler(handler);
+ fakeClient.DoStuff().Wait();
+
+ Assert.Equal("Bearer", handler.RequestHeaders.Authorization.Scheme);
+ Assert.Equal("abc", handler.RequestHeaders.Authorization.Parameter);
+
+ credentials.Token = "xyz";
+ fakeClient.DoStuff().Wait();
+
+ Assert.Equal("Bearer", handler.RequestHeaders.Authorization.Scheme);
+ Assert.Equal("xyz", handler.RequestHeaders.Authorization.Parameter);
+ }
+ }
+}
@@ -33,7 +33,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Diagnostics.Tracing.TraceEvent">
- <HintPath>..\..\packages\Microsoft.Diagnostics.Tracing.TraceEvent.1.0.1-beta\lib\net40\Microsoft.Diagnostics.Tracing.TraceEvent.dll</HintPath>
+ <HintPath>..\..\packages\Microsoft.Diagnostics.Tracing.TraceEvent.1.0.2-rc\lib\net40\Microsoft.Diagnostics.Tracing.TraceEvent.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks">
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.165\lib\net45\Microsoft.Threading.Tasks.dll</HintPath>
@@ -94,10 +94,10 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
- <Import Project="..\..\packages\Microsoft.Diagnostics.Tracing.TraceEvent.1.0.1-beta\tools\Microsoft.Diagnostics.Tracing.TraceEvent.targets" Condition="Exists('..\..\packages\Microsoft.Diagnostics.Tracing.TraceEvent.1.0.1-beta\tools\Microsoft.Diagnostics.Tracing.TraceEvent.targets')" />
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.13\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.13\tools\Microsoft.Bcl.Build.targets')" />
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.13\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
<Error Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.13\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
</Target>
+ <Import Project="..\..\packages\Microsoft.Diagnostics.Tracing.TraceEvent.1.0.2-rc\tools\Microsoft.Diagnostics.Tracing.TraceEvent.targets" />
</Project>
@@ -3,7 +3,7 @@
<package id="Microsoft.Bcl" version="1.1.6" targetFramework="net45" />
<package id="Microsoft.Bcl.Async" version="1.0.165" targetFramework="net45" />
<package id="Microsoft.Bcl.Build" version="1.0.13" targetFramework="net45" />
- <package id="Microsoft.Diagnostics.Tracing.TraceEvent" version="1.0.1-beta" targetFramework="net45" />
+ <package id="Microsoft.Diagnostics.Tracing.TraceEvent" version="1.0.2-rc" targetFramework="net45" />
<package id="Microsoft.Net.Http" version="2.2.18" targetFramework="net45" />
<package id="xunit" version="1.9.2" targetFramework="net45" />
<package id="xunit.extensions" version="1.9.2" targetFramework="net45" />
Oops, something went wrong.

0 comments on commit c87ff50

Please sign in to comment.