From 3b11724d1423473778345dc9484870e80f7a3473 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Fri, 15 Aug 2014 13:57:36 -0500 Subject: [PATCH] Mark all synchronous extensions as obsolete --- .../Content/AsynchronousServices.aml | 6 ++ .../Synchronous/AutoScaleServiceExtensions.cs | 24 ++++++ .../Core/Synchronous/ClaimExtensions.cs | 3 + .../Synchronous/DatabaseServiceExtensions.cs | 29 ++++++++ .../Core/Synchronous/DnsServiceExtensions.cs | 26 +++++++ .../LoadBalancerServiceExtensions.cs | 62 ++++++++++++++++ .../MonitoringServiceExtensions.cs | 73 +++++++++++++++++++ .../Synchronous/QueueingServiceExtensions.cs | 24 ++++++ ...OnlyCollectionPageSynchronousExtensions.cs | 3 + 9 files changed, 250 insertions(+) diff --git a/src/Documentation/Content/AsynchronousServices.aml b/src/Documentation/Content/AsynchronousServices.aml index be1f2d7e6..0813e6413 100644 --- a/src/Documentation/Content/AsynchronousServices.aml +++ b/src/Documentation/Content/AsynchronousServices.aml @@ -228,6 +228,12 @@
Synchronous Extensions + + + All synchronous extension methods provided by this library are obsolete, and will be removed from a future + release. + + The namespace N:net.openstack.Core.Synchronous contains extension methods that allow methods in an asynchronous service interface to be invoked synchronously. These extension diff --git a/src/corelib/Core/Synchronous/AutoScaleServiceExtensions.cs b/src/corelib/Core/Synchronous/AutoScaleServiceExtensions.cs index 7bbf43ce4..6c64062f4 100644 --- a/src/corelib/Core/Synchronous/AutoScaleServiceExtensions.cs +++ b/src/corelib/Core/Synchronous/AutoScaleServiceExtensions.cs @@ -14,6 +14,7 @@ /// /// /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static class AutoScaleServiceExtensions { #region Groups @@ -29,6 +30,7 @@ public static class AutoScaleServiceExtensions /// If is less than or equal to 0. /// If the REST request does not return successfully. /// List scaling groups (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListScalingGroups(this IAutoScaleService service, ScalingGroupId marker, int? limit) { if (service == null) @@ -58,6 +60,7 @@ public static ReadOnlyCollectionPage ListScalingGroups(this IAutoS /// If is . /// If the REST request does not return successfully. /// Create group (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ScalingGroup CreateGroup(this IAutoScaleService service, ScalingGroupConfiguration configuration) { if (service == null) @@ -87,6 +90,7 @@ public static ScalingGroup CreateGroup(this IAutoScaleService service, ScalingGr /// If is . /// If the REST request does not return successfully. /// Show scaling group details (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ScalingGroup GetGroup(this IAutoScaleService service, ScalingGroupId groupId) { if (service == null) @@ -116,6 +120,7 @@ public static ScalingGroup GetGroup(this IAutoScaleService service, ScalingGroup /// If is . /// If the REST request does not return successfully. /// Delete scaling group (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void DeleteGroup(this IAutoScaleService service, ScalingGroupId groupId, bool? force) { if (service == null) @@ -145,6 +150,7 @@ public static void DeleteGroup(this IAutoScaleService service, ScalingGroupId gr /// If is . /// If the REST request does not return successfully. /// Get scaling group state (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static GroupState GetGroupState(this IAutoScaleService service, ScalingGroupId groupId) { if (service == null) @@ -173,6 +179,7 @@ public static GroupState GetGroupState(this IAutoScaleService service, ScalingGr /// If is . /// If the REST request does not return successfully. /// Pause group policy execution (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void PauseGroup(this IAutoScaleService service, ScalingGroupId groupId) { if (service == null) @@ -201,6 +208,7 @@ public static void PauseGroup(this IAutoScaleService service, ScalingGroupId gro /// If is . /// If the REST request does not return successfully. /// Resume group policy execution (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void ResumeGroup(this IAutoScaleService service, ScalingGroupId groupId) { if (service == null) @@ -234,6 +242,7 @@ public static void ResumeGroup(this IAutoScaleService service, ScalingGroupId gr /// If is . /// If the REST request does not return successfully. /// Show scaling group configuration (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static GroupConfiguration GetGroupConfiguration(this IAutoScaleService service, ScalingGroupId groupId) { if (service == null) @@ -267,6 +276,7 @@ public static GroupConfiguration GetGroupConfiguration(this IAutoScaleService se /// /// If the REST request does not return successfully. /// Update scaling group configuration (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetGroupConfiguration(this IAutoScaleService service, ScalingGroupId groupId, GroupConfiguration configuration) { if (service == null) @@ -296,6 +306,7 @@ public static void SetGroupConfiguration(this IAutoScaleService service, Scaling /// If is . /// If the REST request does not return successfully. /// Show launch configuration (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static LaunchConfiguration GetLaunchConfiguration(this IAutoScaleService service, ScalingGroupId groupId) { if (service == null) @@ -329,6 +340,7 @@ public static LaunchConfiguration GetLaunchConfiguration(this IAutoScaleService /// /// If the REST request does not return successfully. /// Update launch configuration (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetLaunchConfiguration(this IAutoScaleService service, ScalingGroupId groupId, LaunchConfiguration configuration) { if (service == null) @@ -365,6 +377,7 @@ public static void SetLaunchConfiguration(this IAutoScaleService service, Scalin /// If is less than or equal to 0. /// If the REST request does not return successfully. /// List policies (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListPolicies(this IAutoScaleService service, ScalingGroupId groupId, PolicyId marker, int? limit) { if (service == null) @@ -399,6 +412,7 @@ public static ReadOnlyCollectionPage ListPolicies(this IAutoScaleService /// /// If the REST request does not return successfully. /// Create policy (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Policy CreatePolicy(this IAutoScaleService service, ScalingGroupId groupId, PolicyConfiguration configuration) { if (service == null) @@ -433,6 +447,7 @@ public static Policy CreatePolicy(this IAutoScaleService service, ScalingGroupId /// /// If the REST request does not return successfully. /// Show policy details (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Policy GetPolicy(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId) { if (service == null) @@ -473,6 +488,7 @@ public static Policy GetPolicy(this IAutoScaleService service, ScalingGroupId gr /// /// If the REST request does not return successfully. /// Replace policy (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetPolicy(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId, PolicyConfiguration configuration) { if (service == null) @@ -506,6 +522,7 @@ public static void SetPolicy(this IAutoScaleService service, ScalingGroupId grou /// /// If the REST request does not return successfully. /// Delete policy (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void DeletePolicy(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId) { if (service == null) @@ -539,6 +556,7 @@ public static void DeletePolicy(this IAutoScaleService service, ScalingGroupId g /// /// If the REST request does not return successfully. /// Execute policy (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void ExecutePolicy(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId) { if (service == null) @@ -581,6 +599,7 @@ public static void ExecutePolicy(this IAutoScaleService service, ScalingGroupId /// If is less than or equal to 0. /// If the REST request does not return successfully. /// List webhooks for the policy (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListWebhooks(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId, WebhookId marker, int? limit) { if (service == null) @@ -618,6 +637,7 @@ public static ReadOnlyCollectionPage ListWebhooks(this IAutoScaleServic /// /// If the REST request does not return successfully. /// Create a webhook (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Webhook CreateWebhook(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId, NewWebhookConfiguration configuration) { if (service == null) @@ -656,6 +676,7 @@ public static Webhook CreateWebhook(this IAutoScaleService service, ScalingGroup /// If contains any values. /// If the REST request does not return successfully. /// Create a webhook (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection CreateWebhookRange(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId, IEnumerable configurations) { if (service == null) @@ -693,6 +714,7 @@ public static ReadOnlyCollection CreateWebhookRange(this IAutoScaleServ /// /// If the REST request does not return successfully. /// Show webhook details (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Webhook GetWebhook(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId, WebhookId webhookId) { if (service == null) @@ -732,6 +754,7 @@ public static Webhook GetWebhook(this IAutoScaleService service, ScalingGroupId /// /// If the REST request does not return successfully. /// Update webhook (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateWebhook(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId, WebhookId webhookId, UpdateWebhookConfiguration configuration) { if (service == null) @@ -768,6 +791,7 @@ public static void UpdateWebhook(this IAutoScaleService service, ScalingGroupId /// /// If the REST request does not return successfully. /// Delete webhook (Rackspace Auto Scale Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void DeleteWebhook(this IAutoScaleService service, ScalingGroupId groupId, PolicyId policyId, WebhookId webhookId) { if (service == null) diff --git a/src/corelib/Core/Synchronous/ClaimExtensions.cs b/src/corelib/Core/Synchronous/ClaimExtensions.cs index f7305cbe9..ab11ea884 100644 --- a/src/corelib/Core/Synchronous/ClaimExtensions.cs +++ b/src/corelib/Core/Synchronous/ClaimExtensions.cs @@ -13,6 +13,7 @@ /// /// /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static class ClaimExtensions { /// @@ -26,6 +27,7 @@ public static class ClaimExtensions /// The claim. /// If is . /// If the REST request does not return successfully. + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void Refresh(this Claim claim) { if (claim == null) @@ -61,6 +63,7 @@ public static void Refresh(this Claim claim) /// If is negative or . /// If the claim is empty (i.e. is empty). /// If the REST request does not return successfully. + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void Renew(this Claim claim, TimeSpan timeToLive) { if (claim == null) diff --git a/src/corelib/Core/Synchronous/DatabaseServiceExtensions.cs b/src/corelib/Core/Synchronous/DatabaseServiceExtensions.cs index f7f68e114..a554d9af4 100644 --- a/src/corelib/Core/Synchronous/DatabaseServiceExtensions.cs +++ b/src/corelib/Core/Synchronous/DatabaseServiceExtensions.cs @@ -13,6 +13,7 @@ /// /// /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static class DatabaseServiceExtensions { #region Database instances @@ -29,6 +30,7 @@ public static class DatabaseServiceExtensions /// If is . /// If the REST request does not return successfully. /// Create Database Instance (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DatabaseInstance CreateDatabaseInstance(this IDatabaseService service, DatabaseInstanceConfiguration configuration) { if (service == null) @@ -67,6 +69,7 @@ public static DatabaseInstance CreateDatabaseInstance(this IDatabaseService serv /// If the REST request does not return successfully. /// List All Database Instances (Rackspace Cloud Databases Developer Guide - API v1.0) /// Pagination (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListDatabaseInstances(this IDatabaseService service, DatabaseInstanceId marker, int? limit) { if (service == null) @@ -98,6 +101,7 @@ public static ReadOnlyCollectionPage ListDatabaseInstances(thi /// If is . /// If the REST request does not return successfully. /// List Database Instance Status and Details (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DatabaseInstance GetDatabaseInstance(this IDatabaseService service, DatabaseInstanceId instanceId) { if (service == null) @@ -126,6 +130,7 @@ public static DatabaseInstance GetDatabaseInstance(this IDatabaseService service /// If is . /// If the REST request does not return successfully. /// Delete Database Instance (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveDatabaseInstance(this IDatabaseService service, DatabaseInstanceId instanceId) { if (service == null) @@ -168,6 +173,7 @@ public static void RemoveDatabaseInstance(this IDatabaseService service, Databas /// If is . /// If the REST request does not return successfully. /// Enable Root User (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static RootUser EnableRootUser(this IDatabaseService service, DatabaseInstanceId instanceId) { if (service == null) @@ -199,6 +205,7 @@ public static RootUser EnableRootUser(this IDatabaseService service, DatabaseIns /// If is . /// If the REST request does not return successfully. /// List Root-Enabled Status (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static bool? CheckRootEnabledStatus(this IDatabaseService service, DatabaseInstanceId instanceId) { if (service == null) @@ -231,6 +238,7 @@ public static RootUser EnableRootUser(this IDatabaseService service, DatabaseIns /// If is . /// If the REST request does not return successfully. /// Restart Instance (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RestartDatabaseInstance(this IDatabaseService service, DatabaseInstanceId instanceId) { if (service == null) @@ -264,6 +272,7 @@ public static void RestartDatabaseInstance(this IDatabaseService service, Databa /// /// If the REST request does not return successfully. /// Resize the Instance (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void ResizeDatabaseInstance(this IDatabaseService service, DatabaseInstanceId instanceId, FlavorRef flavorRef) { if (service == null) @@ -297,6 +306,7 @@ public static void ResizeDatabaseInstance(this IDatabaseService service, Databas /// If is less than or equal to 0. /// If the REST request does not return successfully. /// Resize the Instance Volume (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void ResizeDatabaseInstanceVolume(this IDatabaseService service, DatabaseInstanceId instanceId, int volumeSize) { if (service == null) @@ -334,6 +344,7 @@ public static void ResizeDatabaseInstanceVolume(this IDatabaseService service, D /// /// If the REST request does not return successfully. /// Create Database (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void CreateDatabase(this IDatabaseService service, DatabaseInstanceId instanceId, DatabaseConfiguration configuration) { if (service == null) @@ -374,6 +385,7 @@ public static void CreateDatabase(this IDatabaseService service, DatabaseInstanc /// If the REST request does not return successfully. /// List Databases for Instance (Rackspace Cloud Databases Developer Guide - API v1.0) /// Pagination (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListDatabases(this IDatabaseService service, DatabaseInstanceId instanceId, DatabaseName marker, int? limit) { if (service == null) @@ -407,6 +419,7 @@ public static ReadOnlyCollectionPage ListDatabases(this IDatabaseServi /// /// If the REST request does not return successfully. /// Delete Database (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveDatabase(this IDatabaseService service, DatabaseInstanceId instanceId, DatabaseName databaseName) { if (service == null) @@ -444,6 +457,7 @@ public static void RemoveDatabase(this IDatabaseService service, DatabaseInstanc /// /// If the REST request does not return successfully. /// Create User (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void CreateUser(this IDatabaseService service, DatabaseInstanceId instanceId, UserConfiguration configuration) { if (service == null) @@ -484,6 +498,7 @@ public static void CreateUser(this IDatabaseService service, DatabaseInstanceId /// If the REST request does not return successfully. /// List Users in Database Instance (Rackspace Cloud Databases Developer Guide - API v1.0) /// Pagination (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListDatabaseUsers(this IDatabaseService service, DatabaseInstanceId instanceId, UserName marker, int? limit) { if (service == null) @@ -521,6 +536,7 @@ public static ReadOnlyCollectionPage ListDatabaseUsers(this IDatab /// If is empty. /// If the REST request does not return successfully. /// Change User(s) Password (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetUserPassword(this IDatabaseService service, DatabaseInstanceId instanceId, UserName userName, string password) { if (service == null) @@ -557,6 +573,7 @@ public static void SetUserPassword(this IDatabaseService service, DatabaseInstan /// /// If the REST request does not return successfully. /// Modify User Attributes (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateUser(this IDatabaseService service, DatabaseInstanceId instanceId, UserName userName, UpdateUserConfiguration configuration) { if (service == null) @@ -593,6 +610,7 @@ public static void UpdateUser(this IDatabaseService service, DatabaseInstanceId /// /// If the REST request does not return successfully. /// List User (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DatabaseUser GetUser(this IDatabaseService service, DatabaseInstanceId instanceId, UserName userName) { if (service == null) @@ -626,6 +644,7 @@ public static DatabaseUser GetUser(this IDatabaseService service, DatabaseInstan /// /// If the REST request does not return successfully. /// Delete User (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveUser(this IDatabaseService service, DatabaseInstanceId instanceId, UserName userName) { if (service == null) @@ -662,6 +681,7 @@ public static void RemoveUser(this IDatabaseService service, DatabaseInstanceId /// /// If the REST request does not return successfully. /// List User Access (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListUserAccess(this IDatabaseService service, DatabaseInstanceId instanceId, UserName userName) { if (service == null) @@ -698,6 +718,7 @@ public static ReadOnlyCollection ListUserAccess(this IDatabaseServ /// /// If the REST request does not return successfully. /// Grant User Access (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void GrantUserAccess(this IDatabaseService service, DatabaseInstanceId instanceId, DatabaseName databaseName, UserName userName) { if (service == null) @@ -734,6 +755,7 @@ public static void GrantUserAccess(this IDatabaseService service, DatabaseInstan /// /// If the REST request does not return successfully. /// Revoke User Access (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RevokeUserAccess(this IDatabaseService service, DatabaseInstanceId instanceId, DatabaseName databaseName, UserName userName) { if (service == null) @@ -767,6 +789,7 @@ public static void RevokeUserAccess(this IDatabaseService service, DatabaseInsta /// If is . /// If the REST request does not return successfully. /// List Flavors (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListFlavors(this IDatabaseService service) { if (service == null) @@ -798,6 +821,7 @@ public static ReadOnlyCollection ListFlavors(this IDatabaseServi /// If is . /// If the REST request does not return successfully. /// List Flavor By ID (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DatabaseFlavor GetFlavor(this IDatabaseService service, FlavorId flavorId) { if (service == null) @@ -833,6 +857,7 @@ public static DatabaseFlavor GetFlavor(this IDatabaseService service, FlavorId f /// If is . /// If the REST request does not return successfully. /// Create Backup (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Backup CreateBackup(this IDatabaseService service, BackupConfiguration configuration) { if (service == null) @@ -862,6 +887,7 @@ public static Backup CreateBackup(this IDatabaseService service, BackupConfigura /// If is . /// If the REST request does not return successfully. /// List Backups (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListBackups(this IDatabaseService service) { if (service == null) @@ -893,6 +919,7 @@ public static ReadOnlyCollection ListBackups(this IDatabaseService servi /// If is . /// If the REST request does not return successfully. /// List Backup by ID (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Backup GetBackup(this IDatabaseService service, BackupId backupId) { if (service == null) @@ -921,6 +948,7 @@ public static Backup GetBackup(this IDatabaseService service, BackupId backupId) /// If is . /// If the REST request does not return successfully. /// Delete Backup (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveBackup(this IDatabaseService service, BackupId backupId) { if (service == null) @@ -953,6 +981,7 @@ public static void RemoveBackup(this IDatabaseService service, BackupId backupId /// If is . /// If the REST request does not return successfully. /// List Backups (Rackspace Cloud Databases Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListBackupsForInstance(this IDatabaseService service, DatabaseInstanceId instanceId) { if (service == null) diff --git a/src/corelib/Core/Synchronous/DnsServiceExtensions.cs b/src/corelib/Core/Synchronous/DnsServiceExtensions.cs index e6a20363f..cdae8a1dc 100644 --- a/src/corelib/Core/Synchronous/DnsServiceExtensions.cs +++ b/src/corelib/Core/Synchronous/DnsServiceExtensions.cs @@ -15,6 +15,7 @@ /// Provides extension methods to allow synchronous calls to the methods in . /// /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static class DnsServiceExtensions { #region Limits @@ -27,6 +28,7 @@ public static class DnsServiceExtensions /// If is . /// If the REST request does not return successfully. /// List All Limits (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsServiceLimits ListLimits(this IDnsService service) { if (service == null) @@ -54,6 +56,7 @@ public static DnsServiceLimits ListLimits(this IDnsService service) /// If is . /// If the REST request does not return successfully. /// List Limit Types (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListLimitTypes(this IDnsService service) { if (service == null) @@ -86,6 +89,7 @@ public static ReadOnlyCollection ListLimitTypes(this IDnsService serv /// /// If the REST request does not return successfully. /// List Specific Limit (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsServiceLimits ListLimits(this IDnsService service, LimitType type) { if (service == null) @@ -123,6 +127,7 @@ public static DnsServiceLimits ListLimits(this IDnsService service, LimitType ty /// /// If the REST request does not return successfully. /// Synchronous and Asynchronous Responses (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob GetJobStatus(this IDnsService service, DnsJob job, bool showDetails) { if (service == null) @@ -159,6 +164,7 @@ public static DnsJob GetJobStatus(this IDnsService service, DnsJob job, bool sho /// If an error occurs while deserializing the response object. /// If the REST request does not return successfully. /// Synchronous and Asynchronous Responses (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob GetJobStatus(this IDnsService service, DnsJob job, bool showDetails) { if (service == null) @@ -203,6 +209,7 @@ public static DnsJob GetJobStatus(this IDnsService service /// If the REST request does not return successfully. /// List Domains (Rackspace Cloud DNS Developer Guide - API v1.0) /// Search Domains with Filtering (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Tuple, int?> ListDomains(this IDnsService service, string domainName, int? offset, int? limit) { if (service == null) @@ -234,6 +241,7 @@ public static DnsJob GetJobStatus(this IDnsService service /// If is . /// If the REST request does not return successfully. /// List Domain Details (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsDomain ListDomainDetails(this IDnsService service, DomainId domainId, bool showRecords, bool showSubdomains) { if (service == null) @@ -264,6 +272,7 @@ public static DnsDomain ListDomainDetails(this IDnsService service, DomainId dom /// If is . /// If the REST request does not return successfully. /// List Domain Changes (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsDomainChanges ListDomainChanges(this IDnsService service, DomainId domainId, DateTimeOffset? since) { if (service == null) @@ -302,6 +311,7 @@ public static DnsDomainChanges ListDomainChanges(this IDnsService service, Domai /// If is . /// If the REST request does not return successfully. /// Export Domain (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob ExportDomain(this IDnsService service, DomainId domainId) { if (service == null) @@ -331,6 +341,7 @@ public static DnsJob ExportDomain(this IDnsService service, Doma /// If is . /// If the REST request does not return successfully. /// Create Domain(s) (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob CreateDomains(this IDnsService service, DnsConfiguration configuration) { if (service == null) @@ -360,6 +371,7 @@ public static DnsJob CreateDomains(this IDnsService service, DnsConf /// If is . /// If the REST request does not return successfully. /// Modify Domain(s) (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob UpdateDomains(this IDnsService service, DnsUpdateConfiguration configuration) { if (service == null) @@ -401,6 +413,7 @@ public static DnsJob UpdateDomains(this IDnsService service, DnsUpdateConfigurat /// /// If the REST request does not return successfully. /// Clone Domain (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob CloneDomain(this IDnsService service, DomainId domainId, string cloneName, bool? cloneSubdomains, bool? modifyRecordData, bool? modifyEmailAddress, bool? modifyComment) { if (service == null) @@ -431,6 +444,7 @@ public static DnsJob CloneDomain(this IDnsService service, DomainId /// If is contains any values. /// If the REST request does not return successfully. /// Import Domain (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob ImportDomain(this IDnsService service, IEnumerable serializedDomains) { if (service == null) @@ -462,6 +476,7 @@ public static DnsJob ImportDomain(this IDnsService service, IEnumera /// If contains any values. /// If the REST request does not return successfully. /// Remove Domain(s) (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob RemoveDomains(this IDnsService service, IEnumerable domainIds, bool deleteSubdomains) { if (service == null) @@ -506,6 +521,7 @@ public static DnsJob RemoveDomains(this IDnsService service, IEnumerable /// If the REST request does not return successfully. /// List Subdomains (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Tuple, int?> ListSubdomains(this IDnsService service, DomainId domainId, int? offset, int? limit) { if (service == null) @@ -555,6 +571,7 @@ public static DnsJob RemoveDomains(this IDnsService service, IEnumerableIf the REST request does not return successfully. /// List Records (Rackspace Cloud DNS Developer Guide - API v1.0) /// Search Records (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Tuple, int?> ListRecords(this IDnsService service, DomainId domainId, DnsRecordType recordType, string recordName, string recordData, int? offset, int? limit) { if (service == null) @@ -589,6 +606,7 @@ public static DnsJob RemoveDomains(this IDnsService service, IEnumerable /// If the REST request does not return successfully. /// List Record Details (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsRecord ListRecordDetails(this IDnsService service, DomainId domainId, RecordId recordId) { if (service == null) @@ -626,6 +644,7 @@ public static DnsRecord ListRecordDetails(this IDnsService service, DomainId dom /// /// If the REST request does not return successfully. /// Add Records (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob AddRecords(this IDnsService service, DomainId domainId, IEnumerable recordConfigurations) { if (service == null) @@ -663,6 +682,7 @@ public static DnsJob AddRecords(this IDnsService service, Domain /// /// If the REST request does not return successfully. /// Modify Records (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob UpdateRecords(this IDnsService service, DomainId domainId, IEnumerable recordConfigurations) { if (service == null) @@ -700,6 +720,7 @@ public static DnsJob UpdateRecords(this IDnsService service, DomainId domainId, /// /// If the REST request does not return successfully. /// Remove Records (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob RemoveRecords(this IDnsService service, DomainId domainId, IEnumerable recordId) { if (service == null) @@ -750,6 +771,7 @@ public static DnsJob RemoveRecords(this IDnsService service, DomainId domainId, /// /// If the REST request does not return successfully. /// List PTR Records (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Tuple, int?> ListPtrRecords(this IDnsService service, string serviceName, Uri deviceResourceUri, int? offset, int? limit) { if (service == null) @@ -792,6 +814,7 @@ public static DnsJob RemoveRecords(this IDnsService service, DomainId domainId, /// /// If the REST request does not return successfully. /// List PTR Record Details (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsRecord ListPtrRecordDetails(this IDnsService service, string serviceName, Uri deviceResourceUri, RecordId recordId) { if (service == null) @@ -834,6 +857,7 @@ public static DnsRecord ListPtrRecordDetails(this IDnsService service, string se /// /// If the REST request does not return successfully. /// Add PTR Records (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob AddPtrRecords(this IDnsService service, string serviceName, Uri deviceResourceUri, IEnumerable recordConfigurations) { if (service == null) @@ -876,6 +900,7 @@ public static DnsJob AddPtrRecords(this IDnsService service, str /// /// If the REST request does not return successfully. /// Modify PTR Records (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob UpdatePtrRecords(this IDnsService service, string serviceName, Uri deviceResourceUri, IEnumerable recordConfigurations) { if (service == null) @@ -914,6 +939,7 @@ public static DnsJob UpdatePtrRecords(this IDnsService service, string serviceNa /// /// If the REST request does not return successfully. /// Remove PTR Records (Rackspace Cloud DNS Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static DnsJob RemovePtrRecords(this IDnsService service, string serviceName, Uri deviceResourceUri, IPAddress ipAddress) { if (service == null) diff --git a/src/corelib/Core/Synchronous/LoadBalancerServiceExtensions.cs b/src/corelib/Core/Synchronous/LoadBalancerServiceExtensions.cs index 4686e6f72..b61e86f65 100644 --- a/src/corelib/Core/Synchronous/LoadBalancerServiceExtensions.cs +++ b/src/corelib/Core/Synchronous/LoadBalancerServiceExtensions.cs @@ -15,6 +15,7 @@ /// /// /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static class LoadBalancerServiceExtensions { #region Load Balancers @@ -32,6 +33,7 @@ public static class LoadBalancerServiceExtensions /// If is less than or equal to 0. /// If the REST request does not return successfully. /// List Load Balancers (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListLoadBalancers(this ILoadBalancerService service, LoadBalancerId markerId, int? limit) { if (service == null) @@ -63,6 +65,7 @@ public static ReadOnlyCollectionPage ListLoadBalancers(this ILoadB /// If is . /// If the REST request does not return successfully. /// List Load Balancer Details (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static LoadBalancer GetLoadBalancer(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -94,6 +97,7 @@ public static LoadBalancer GetLoadBalancer(this ILoadBalancerService service, Lo /// If is . /// If the REST request does not return successfully. /// List Load Balancer Details (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static LoadBalancer CreateLoadBalancer(this ILoadBalancerService service, LoadBalancerConfiguration configuration) { if (service == null) @@ -127,6 +131,7 @@ public static LoadBalancer CreateLoadBalancer(this ILoadBalancerService service, /// /// If the REST request does not return successfully. /// Update Load Balancer Attributes (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateLoadBalancer(this ILoadBalancerService service, LoadBalancerId loadBalancerId, LoadBalancerUpdate configuration) { if (service == null) @@ -155,6 +160,7 @@ public static void UpdateLoadBalancer(this ILoadBalancerService service, LoadBal /// If is . /// If the REST request does not return successfully. /// Remove Load Balancer (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveLoadBalancer(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -186,6 +192,7 @@ public static void RemoveLoadBalancer(this ILoadBalancerService service, LoadBal /// /// If the REST request does not return successfully. /// Remove Load Balancer (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveLoadBalancerRange(this ILoadBalancerService service, IEnumerable loadBalancerIds) { if (service == null) @@ -222,6 +229,7 @@ public static void RemoveLoadBalancerRange(this ILoadBalancerService service, IE /// If is . /// If the REST request does not return successfully. /// Error Page Operations (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static string GetErrorPage(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -258,6 +266,7 @@ public static string GetErrorPage(this ILoadBalancerService service, LoadBalance /// /// If the REST request does not return successfully. /// Error Page Operations (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetErrorPage(this ILoadBalancerService service, LoadBalancerId loadBalancerId, string content) { if (service == null) @@ -286,6 +295,7 @@ public static void SetErrorPage(this ILoadBalancerService service, LoadBalancerI /// If is . /// If the REST request does not return successfully. /// Error Page Operations (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveErrorPage(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -322,6 +332,7 @@ public static void RemoveErrorPage(this ILoadBalancerService service, LoadBalanc /// If is . /// If the REST request does not return successfully. /// List Load Balancer Stats (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static LoadBalancerStatistics GetStatistics(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -358,6 +369,7 @@ public static LoadBalancerStatistics GetStatistics(this ILoadBalancerService ser /// If is . /// If the REST request does not return successfully. /// List Nodes (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListNodes(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -394,6 +406,7 @@ public static ReadOnlyCollection ListNodes(this ILoadBalancerService servi /// /// If the REST request does not return successfully. /// List Nodes (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Node GetNode(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeId nodeId) { if (service == null) @@ -430,6 +443,7 @@ public static Node GetNode(this ILoadBalancerService service, LoadBalancerId loa /// /// If the REST request does not return successfully. /// Add Nodes (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Node AddNode(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeConfiguration nodeConfiguration) { if (service == null) @@ -469,6 +483,7 @@ public static Node AddNode(this ILoadBalancerService service, LoadBalancerId loa /// /// If the REST request does not return successfully. /// Add Nodes (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection AddNodeRange(this ILoadBalancerService service, LoadBalancerId loadBalancerId, IEnumerable nodeConfigurations) { if (service == null) @@ -505,6 +520,7 @@ public static ReadOnlyCollection AddNodeRange(this ILoadBalancerService se /// /// If the REST request does not return successfully. /// Modify Nodes (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateNode(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeId nodeId, NodeUpdate configuration) { if (service == null) @@ -538,6 +554,7 @@ public static void UpdateNode(this ILoadBalancerService service, LoadBalancerId /// /// If the REST request does not return successfully. /// Remove Nodes (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveNode(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeId nodeId) { if (service == null) @@ -574,6 +591,7 @@ public static void RemoveNode(this ILoadBalancerService service, LoadBalancerId /// /// If the REST request does not return successfully. /// Remove Nodes (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveNodeRange(this ILoadBalancerService service, LoadBalancerId loadBalancerId, IEnumerable nodeIds) { if (service == null) @@ -608,6 +626,7 @@ public static void RemoveNodeRange(this ILoadBalancerService service, LoadBalanc /// If is less than or equal to 0. /// If the REST request does not return successfully. /// View Node Service Events (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListNodeServiceEvents(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeServiceEventId markerId, int? limit) { if (service == null) @@ -644,6 +663,7 @@ public static ReadOnlyCollectionPage ListNodeServiceEvents(thi /// If is . /// If the REST request does not return successfully. /// List Virtual IPs (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListVirtualAddresses(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -684,6 +704,7 @@ public static ReadOnlyCollection ListVirtualAddresse /// /// If the REST request does not return successfully. /// Add Virtual IP Version 6 (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static LoadBalancerVirtualAddress AddVirtualAddress(this ILoadBalancerService service, LoadBalancerId loadBalancerId, LoadBalancerVirtualAddressType type, AddressFamily addressFamily) { if (service == null) @@ -717,6 +738,7 @@ public static LoadBalancerVirtualAddress AddVirtualAddress(this ILoadBalancerSer /// /// If the REST request does not return successfully. /// Remove Virtual IP (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveVirtualAddress(this ILoadBalancerService service, LoadBalancerId loadBalancerId, VirtualAddressId virtualAddressId) { if (service == null) @@ -753,6 +775,7 @@ public static void RemoveVirtualAddress(this ILoadBalancerService service, LoadB /// /// If the REST request does not return successfully. /// Remove Virtual IP (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveVirtualAddressRange(this ILoadBalancerService service, LoadBalancerId loadBalancerId, IEnumerable virtualAddressIds) { if (service == null) @@ -786,6 +809,7 @@ public static void RemoveVirtualAddressRange(this ILoadBalancerService service, /// If is . /// If the REST request does not return successfully. /// View Node Service Events (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListAllowedDomains(this ILoadBalancerService service) { if (service == null) @@ -830,6 +854,7 @@ public static ReadOnlyCollection ListAllowedDomains(this ILoadBalancerSe /// /// If the REST request does not return successfully. /// List Usage (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListBillableLoadBalancers(this ILoadBalancerService service, DateTimeOffset? startTime, DateTimeOffset? endTime, int? offset, int? limit) { if (service == null) @@ -863,6 +888,7 @@ public static ReadOnlyCollectionPage ListBillableLoadBalancers(thi /// If occurs before . /// If the REST request does not return successfully. /// List Usage (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListAccountLevelUsage(this ILoadBalancerService service, DateTimeOffset? startTime, DateTimeOffset? endTime) { if (service == null) @@ -900,6 +926,7 @@ public static ReadOnlyCollection ListAccountLevelUsage(this I /// /// If the REST request does not return successfully. /// List Usage (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListHistoricalUsage(this ILoadBalancerService service, LoadBalancerId loadBalancerId, DateTimeOffset? startTime, DateTimeOffset? endTime) { if (service == null) @@ -932,6 +959,7 @@ public static ReadOnlyCollection ListHistoricalUsage(this ILo /// If is . /// If the REST request does not return successfully. /// List Usage (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListCurrentUsage(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -968,6 +996,7 @@ public static ReadOnlyCollection ListCurrentUsage(this ILoadB /// If is . /// If the REST request does not return successfully. /// Manage Access Lists (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListAccessList(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1001,6 +1030,7 @@ public static ReadOnlyCollection ListAccessList(this ILoadBalancerS /// /// If the REST request does not return successfully. /// Manage Access Lists (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void CreateAccessList(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NetworkItem networkItem) { if (service == null) @@ -1037,6 +1067,7 @@ public static void CreateAccessList(this ILoadBalancerService service, LoadBalan /// /// If the REST request does not return successfully. /// Manage Access Lists (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void CreateAccessList(this ILoadBalancerService service, LoadBalancerId loadBalancerId, IEnumerable networkItems) { if (service == null) @@ -1070,6 +1101,7 @@ public static void CreateAccessList(this ILoadBalancerService service, LoadBalan /// /// If the REST request does not return successfully. /// Manage Access Lists (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveAccessList(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NetworkItemId networkItemId) { if (service == null) @@ -1106,6 +1138,7 @@ public static void RemoveAccessList(this ILoadBalancerService service, LoadBalan /// /// If the REST request does not return successfully. /// Manage Access Lists (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveAccessListRange(this ILoadBalancerService service, LoadBalancerId loadBalancerId, IEnumerable networkItemIds) { if (service == null) @@ -1134,6 +1167,7 @@ public static void RemoveAccessListRange(this ILoadBalancerService service, Load /// If is . /// If the REST request does not return successfully. /// Manage Access Lists (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void ClearAccessList(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1170,6 +1204,7 @@ public static void ClearAccessList(this ILoadBalancerService service, LoadBalanc /// If is . /// If the REST request does not return successfully. /// Monitor Health (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HealthMonitor GetHealthMonitor(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1203,6 +1238,7 @@ public static HealthMonitor GetHealthMonitor(this ILoadBalancerService service, /// /// If the REST request does not return successfully. /// Monitor Health (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetHealthMonitor(this ILoadBalancerService service, LoadBalancerId loadBalancerId, HealthMonitor monitor) { if (service == null) @@ -1231,6 +1267,7 @@ public static void SetHealthMonitor(this ILoadBalancerService service, LoadBalan /// If is . /// If the REST request does not return successfully. /// Monitor Health (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveHealthMonitor(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1266,6 +1303,7 @@ public static void RemoveHealthMonitor(this ILoadBalancerService service, LoadBa /// If is . /// If the REST request does not return successfully. /// Manage Session Persistence (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static SessionPersistence GetSessionPersistence(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1320,6 +1358,7 @@ public static SessionPersistence GetSessionPersistence(this ILoadBalancerService /// /// If the REST request does not return successfully. /// Manage Session Persistence (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetSessionPersistence(this ILoadBalancerService service, LoadBalancerId loadBalancerId, SessionPersistence sessionPersistence) { if (service == null) @@ -1348,6 +1387,7 @@ public static void SetSessionPersistence(this ILoadBalancerService service, Load /// If is . /// If the REST request does not return successfully. /// Manage Session Persistence (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveSessionPersistence(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1383,6 +1423,7 @@ public static void RemoveSessionPersistence(this ILoadBalancerService service, L /// If is . /// If the REST request does not return successfully. /// Log Connections (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static bool GetConnectionLogging(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1412,6 +1453,7 @@ public static bool GetConnectionLogging(this ILoadBalancerService service, LoadB /// If is . /// If the REST request does not return successfully. /// Log Connections (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetConnectionLogging(this ILoadBalancerService service, LoadBalancerId loadBalancerId, bool enabled) { if (service == null) @@ -1443,6 +1485,7 @@ public static void SetConnectionLogging(this ILoadBalancerService service, LoadB /// If is . /// If the REST request does not return successfully. /// Throttle Connections (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ConnectionThrottles ListThrottles(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1476,6 +1519,7 @@ public static ConnectionThrottles ListThrottles(this ILoadBalancerService servic /// /// If the REST request does not return successfully. /// Throttle Connections (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateThrottles(this ILoadBalancerService service, LoadBalancerId loadBalancerId, ConnectionThrottles throttleConfiguration) { if (service == null) @@ -1504,6 +1548,7 @@ public static void UpdateThrottles(this ILoadBalancerService service, LoadBalanc /// If is . /// If the REST request does not return successfully. /// Throttle Connections (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveThrottles(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1553,6 +1598,7 @@ public static void RemoveThrottles(this ILoadBalancerService service, LoadBalanc /// If is . /// If the REST request does not return successfully. /// Content Caching (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static bool GetContentCaching(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1596,6 +1642,7 @@ public static bool GetContentCaching(this ILoadBalancerService service, LoadBala /// If is . /// If the REST request does not return successfully. /// Content Caching (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetContentCaching(this ILoadBalancerService service, LoadBalancerId loadBalancerId, bool enabled) { if (service == null) @@ -1630,6 +1677,7 @@ public static void SetContentCaching(this ILoadBalancerService service, LoadBala /// If is . /// If the REST request does not return successfully. /// List Load Balancing Protocols (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListProtocols(this ILoadBalancerService service) { if (service == null) @@ -1664,6 +1712,7 @@ public static ReadOnlyCollection ListProtocols(this ILoad /// If is . /// If the REST request does not return successfully. /// List Load Balancing Algorithms (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListAlgorithms(this ILoadBalancerService service) { if (service == null) @@ -1700,6 +1749,7 @@ public static ReadOnlyCollection ListAlgorithms(this ILo /// If is . /// If the REST request does not return successfully. /// SSL Termination (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static LoadBalancerSslConfiguration GetSslConfiguration(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1733,6 +1783,7 @@ public static LoadBalancerSslConfiguration GetSslConfiguration(this ILoadBalance /// /// If the REST request does not return successfully. /// SSL Termination (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateSslConfiguration(this ILoadBalancerService service, LoadBalancerId loadBalancerId, LoadBalancerSslConfiguration configuration) { if (service == null) @@ -1761,6 +1812,7 @@ public static void UpdateSslConfiguration(this ILoadBalancerService service, Loa /// If is . /// If the REST request does not return successfully. /// SSL Termination (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveSslConfiguration(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1797,6 +1849,7 @@ public static void RemoveSslConfiguration(this ILoadBalancerService service, Loa /// If is . /// If the REST request does not return successfully. /// List Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListLoadBalancerMetadata(this ILoadBalancerService service, LoadBalancerId loadBalancerId) { if (service == null) @@ -1833,6 +1886,7 @@ public static ReadOnlyCollection ListLoadBalancerMetad /// /// If the REST request does not return successfully. /// List Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static LoadBalancerMetadataItem GetLoadBalancerMetadataItem(this ILoadBalancerService service, LoadBalancerId loadBalancerId, MetadataId metadataId) { if (service == null) @@ -1870,6 +1924,7 @@ public static LoadBalancerMetadataItem GetLoadBalancerMetadataItem(this ILoadBal /// /// If the REST request does not return successfully. /// List Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection ListNodeMetadata(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeId nodeId) { if (service == null) @@ -1909,6 +1964,7 @@ public static ReadOnlyCollection ListNodeMetadata(this /// /// If the REST request does not return successfully. /// List Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static LoadBalancerMetadataItem GetNodeMetadataItem(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeId nodeId, MetadataId metadataId) { if (service == null) @@ -1954,6 +2010,7 @@ public static LoadBalancerMetadataItem GetNodeMetadataItem(this ILoadBalancerSer /// /// If the REST request does not return successfully. /// Add Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection AddLoadBalancerMetadata(this ILoadBalancerService service, LoadBalancerId loadBalancerId, IEnumerable> metadata) { if (service == null) @@ -2002,6 +2059,7 @@ public static ReadOnlyCollection AddLoadBalancerMetada /// /// If the REST request does not return successfully. /// Add Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection AddNodeMetadata(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeId nodeId, IEnumerable> metadata) { if (service == null) @@ -2038,6 +2096,7 @@ public static ReadOnlyCollection AddNodeMetadata(this /// /// If the REST request does not return successfully. /// Modify Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateLoadBalancerMetadataItem(this ILoadBalancerService service, LoadBalancerId loadBalancerId, MetadataId metadataId, string value) { if (service == null) @@ -2077,6 +2136,7 @@ public static void UpdateLoadBalancerMetadataItem(this ILoadBalancerService serv /// /// If the REST request does not return successfully. /// Modify Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateNodeMetadataItem(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeId nodeId, MetadataId metadataId, string value) { if (service == null) @@ -2113,6 +2173,7 @@ public static void UpdateNodeMetadataItem(this ILoadBalancerService service, Loa /// /// If the REST request does not return successfully. /// Remove Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveLoadBalancerMetadataItem(this ILoadBalancerService service, LoadBalancerId loadBalancerId, IEnumerable metadataIds) { if (service == null) @@ -2152,6 +2213,7 @@ public static void RemoveLoadBalancerMetadataItem(this ILoadBalancerService serv /// /// If the REST request does not return successfully. /// Remove Metadata (Rackspace Cloud Load Balancers Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveNodeMetadataItem(this ILoadBalancerService service, LoadBalancerId loadBalancerId, NodeId nodeId, IEnumerable metadataIds) { if (service == null) diff --git a/src/corelib/Core/Synchronous/MonitoringServiceExtensions.cs b/src/corelib/Core/Synchronous/MonitoringServiceExtensions.cs index 74d6a36c7..cfdc0de12 100644 --- a/src/corelib/Core/Synchronous/MonitoringServiceExtensions.cs +++ b/src/corelib/Core/Synchronous/MonitoringServiceExtensions.cs @@ -14,6 +14,7 @@ /// /// /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static class MonitoringServiceExtensions { #region Core @@ -28,6 +29,7 @@ public static class MonitoringServiceExtensions /// If is . /// If the REST request does not return successfully. /// Get Account (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static MonitoringAccount GetAccount(this IMonitoringService service) { if (service == null) @@ -61,6 +63,7 @@ public static MonitoringAccount GetAccount(this IMonitoringService service) /// /// If the REST request does not return successfully. /// Update Account (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateAccount(this IMonitoringService service, MonitoringAccountId accountId, AccountConfiguration configuration) { if (service == null) @@ -91,6 +94,7 @@ public static void UpdateAccount(this IMonitoringService service, MonitoringAcco /// If is . /// If the REST request does not return successfully. /// Get Limits (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static MonitoringLimits GetLimits(this IMonitoringService service) { if (service == null) @@ -135,6 +139,7 @@ public static MonitoringLimits GetLimits(this IMonitoringService service) /// List Audits (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Time Series Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAudits(this IMonitoringService service, AuditId marker, int? limit, DateTimeOffset? from, DateTimeOffset? to) { if (service == null) @@ -168,6 +173,7 @@ public static ReadOnlyCollectionPage ListAudits(this IMonitoring /// If is . /// If the REST request does not return successfully. /// Create Entities (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static EntityId CreateEntity(this IMonitoringService service, NewEntityConfiguration configuration) { if (service == null) @@ -202,6 +208,7 @@ public static EntityId CreateEntity(this IMonitoringService service, NewEntityCo /// If the REST request does not return successfully. /// List Entities (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListEntities(this IMonitoringService service, EntityId marker, int? limit) { if (service == null) @@ -231,6 +238,7 @@ public static ReadOnlyCollectionPage ListEntities(this IMonito /// If is . /// If the REST request does not return successfully. /// Get Entity (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Entity GetEntity(this IMonitoringService service, EntityId entityId) { if (service == null) @@ -264,6 +272,7 @@ public static Entity GetEntity(this IMonitoringService service, EntityId entityI /// /// If the REST request does not return successfully. /// Update Entity (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateEntity(this IMonitoringService service, EntityId entityId, UpdateEntityConfiguration configuration) { if (service == null) @@ -292,6 +301,7 @@ public static void UpdateEntity(this IMonitoringService service, EntityId entity /// If is . /// If the REST request does not return successfully. /// Delete Entity (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveEntity(this IMonitoringService service, EntityId entityId) { if (service == null) @@ -330,6 +340,7 @@ public static void RemoveEntity(this IMonitoringService service, EntityId entity /// /// If the REST request does not return successfully. /// Create Check (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static CheckId CreateCheck(this IMonitoringService service, EntityId entityId, NewCheckConfiguration configuration) { if (service == null) @@ -360,6 +371,7 @@ public static CheckId CreateCheck(this IMonitoringService service, EntityId enti /// If is . /// Test Check (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Test Check and Include Debug Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection TestCheck(this IMonitoringService service, EntityId entityId, NewCheckConfiguration configuration, bool? debug) { if (service == null) @@ -394,6 +406,7 @@ public static ReadOnlyCollection TestCheck(this IMonitoringService se /// /// If the REST request does not return successfully. /// Test Existing Check (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection TestExistingCheck(this IMonitoringService service, EntityId entityId, CheckId checkId) { if (service == null) @@ -430,6 +443,7 @@ public static ReadOnlyCollection TestExistingCheck(this IMonitoringSe /// If the REST request does not return successfully. /// List Checks (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListChecks(this IMonitoringService service, EntityId entityId, CheckId marker, int? limit) { if (service == null) @@ -464,6 +478,7 @@ public static ReadOnlyCollectionPage ListChecks(this IMonitoring /// /// If the REST request does not return successfully. /// Get Check (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Check GetCheck(this IMonitoringService service, EntityId entityId, CheckId checkId) { if (service == null) @@ -500,6 +515,7 @@ public static Check GetCheck(this IMonitoringService service, EntityId entityId, /// /// If the REST request does not return successfully. /// Update Check (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateCheck(this IMonitoringService service, EntityId entityId, CheckId checkId, UpdateCheckConfiguration configuration) { if (service == null) @@ -533,6 +549,7 @@ public static void UpdateCheck(this IMonitoringService service, EntityId entityI /// /// If the REST request does not return successfully. /// Delete Check (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveCheck(this IMonitoringService service, EntityId entityId, CheckId checkId) { if (service == null) @@ -571,6 +588,7 @@ public static void RemoveCheck(this IMonitoringService service, EntityId entityI /// If the REST request does not return successfully. /// List Check Types (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListCheckTypes(this IMonitoringService service, CheckTypeId marker, int? limit) { if (service == null) @@ -600,6 +618,7 @@ public static ReadOnlyCollectionPage ListCheckTypes(this /// If is . /// If the REST request does not return successfully. /// Get Check Type (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static CheckType GetCheckType(this IMonitoringService service, CheckTypeId checkTypeId) { if (service == null) @@ -645,6 +664,7 @@ public static CheckType GetCheckType(this IMonitoringService service, CheckTypeI /// If the REST request does not return successfully. /// List Metrics (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListMetrics(this IMonitoringService service, EntityId entityId, CheckId checkId, MetricName marker, int? limit) { if (service == null) @@ -702,6 +722,7 @@ public static ReadOnlyCollectionPage ListMetrics(this IMonit /// /// If the REST request does not return successfully. /// Fetch Data Points (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection GetDataPoints(this IMonitoringService service, EntityId entityId, CheckId checkId, MetricName metricName, int? points, DataPointGranularity resolution, IEnumerable select, DateTimeOffset from, DateTimeOffset to) { if (service == null) @@ -740,6 +761,7 @@ public static ReadOnlyCollection GetDataPoints(this IMonitoringServic /// /// If the REST request does not return successfully. /// Create Alarm (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static AlarmId CreateAlarm(this IMonitoringService service, EntityId entityId, NewAlarmConfiguration configuration) { if (service == null) @@ -774,6 +796,7 @@ public static AlarmId CreateAlarm(this IMonitoringService service, EntityId enti /// /// If the REST request does not return successfully. /// Test Alarm (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection TestAlarm(this IMonitoringService service, EntityId entityId, TestAlarmConfiguration configuration) { if (service == null) @@ -810,6 +833,7 @@ public static ReadOnlyCollection TestAlarm(this IMonitoringService se /// If the REST request does not return successfully. /// List Alarms (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAlarms(this IMonitoringService service, EntityId entityId, AlarmId marker, int? limit) { if (service == null) @@ -844,6 +868,7 @@ public static ReadOnlyCollectionPage ListAlarms(this IMonitoring /// /// If the REST request does not return successfully. /// Get Alarm (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Alarm GetAlarm(this IMonitoringService service, EntityId entityId, AlarmId alarmId) { if (service == null) @@ -880,6 +905,7 @@ public static Alarm GetAlarm(this IMonitoringService service, EntityId entityId, /// /// If the REST request does not return successfully. /// Update Alarm (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateAlarm(this IMonitoringService service, EntityId entityId, AlarmId alarmId, UpdateAlarmConfiguration configuration) { if (service == null) @@ -913,6 +939,7 @@ public static void UpdateAlarm(this IMonitoringService service, EntityId entityI /// /// If the REST request does not return successfully. /// Remove Alarm (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveAlarm(this IMonitoringService service, EntityId entityId, AlarmId alarmId) { if (service == null) @@ -946,6 +973,7 @@ public static void RemoveAlarm(this IMonitoringService service, EntityId entityI /// If is . /// If the REST request does not return successfully. /// Create Notification Plan (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static NotificationPlanId CreateNotificationPlan(this IMonitoringService service, NewNotificationPlanConfiguration configuration) { if (service == null) @@ -980,6 +1008,7 @@ public static NotificationPlanId CreateNotificationPlan(this IMonitoringService /// If the REST request does not return successfully. /// List Notification Plans (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListNotificationPlans(this IMonitoringService service, NotificationPlanId marker, int? limit) { if (service == null) @@ -1009,6 +1038,7 @@ public static ReadOnlyCollectionPage ListN /// If is . /// If the REST request does not return successfully. /// Get Notification Plan (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static NotificationPlan GetNotificationPlan(this IMonitoringService service, NotificationPlanId notificationPlanId) { if (service == null) @@ -1042,6 +1072,7 @@ public static NotificationPlan GetNotificationPlan(this IMonitoringService servi /// /// If the REST request does not return successfully. /// Update Notification Plans (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateNotificationPlan(this IMonitoringService service, NotificationPlanId notificationPlanId, UpdateNotificationPlanConfiguration configuration) { if (service == null) @@ -1070,6 +1101,7 @@ public static void UpdateNotificationPlan(this IMonitoringService service, Notif /// If is . /// If the REST request does not return successfully. /// Delete Notification Plans (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveNotificationPlan(this IMonitoringService service, NotificationPlanId notificationPlanId) { if (service == null) @@ -1108,6 +1140,7 @@ public static void RemoveNotificationPlan(this IMonitoringService service, Notif /// If the REST request does not return successfully. /// List Monitoring Zones (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListMonitoringZones(this IMonitoringService service, MonitoringZoneId marker, int? limit) { if (service == null) @@ -1137,6 +1170,7 @@ public static ReadOnlyCollectionPage ListMonit /// If is . /// If the REST request does not return successfully. /// Get Monitoring Zone (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static MonitoringZone GetMonitoringZone(this IMonitoringService service, MonitoringZoneId monitoringZoneId) { if (service == null) @@ -1171,6 +1205,7 @@ public static MonitoringZone GetMonitoringZone(this IMonitoringService service, /// /// If the REST request does not return successfully. /// Perform a "traceroute" from a Monitoring Zone (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static TraceRoute PerformTraceRouteFromMonitoringZone(this IMonitoringService service, MonitoringZoneId monitoringZoneId, TraceRouteConfiguration configuration) { if (service == null) @@ -1214,6 +1249,7 @@ public static TraceRoute PerformTraceRouteFromMonitoringZone(this IMonitoringSer /// /// If the REST request does not return successfully. /// Discover Alarm Notification History (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection DiscoverAlarmNotificationHistory(this IMonitoringService service, EntityId entityId, AlarmId alarmId) { if (service == null) @@ -1268,6 +1304,7 @@ public static ReadOnlyCollection DiscoverAlarmNotificationHistory(this /// List Alarm Notification History (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Time Series Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAlarmNotificationHistory(this IMonitoringService service, EntityId entityId, AlarmId alarmId, CheckId checkId, AlarmNotificationHistoryItemId marker, int? limit, DateTimeOffset? from, DateTimeOffset? to) { if (service == null) @@ -1308,6 +1345,7 @@ public static ReadOnlyCollectionPage /// If the REST request does not return successfully. /// Get Alarm Notification History (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static AlarmNotificationHistoryItem GetAlarmNotificationHistory(this IMonitoringService service, EntityId entityId, AlarmId alarmId, CheckId checkId, AlarmNotificationHistoryItemId alarmNotificationHistoryItemId) { if (service == null) @@ -1341,6 +1379,7 @@ public static AlarmNotificationHistoryItem GetAlarmNotificationHistory(this IMon /// If is . /// If the REST request does not return successfully. /// Create Notification (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static NotificationId CreateNotification(this IMonitoringService service, NewNotificationConfiguration configuration) { if (service == null) @@ -1370,6 +1409,7 @@ public static NotificationId CreateNotification(this IMonitoringService service, /// If is . /// If the REST request does not return successfully. /// Test Notification (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static NotificationData TestNotification(this IMonitoringService service, NewNotificationConfiguration configuration) { if (service == null) @@ -1399,6 +1439,7 @@ public static NotificationData TestNotification(this IMonitoringService service, /// If is . /// If the REST request does not return successfully. /// Test Existing Notification (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static NotificationData TestExistingNotification(this IMonitoringService service, NotificationId notificationId) { if (service == null) @@ -1433,6 +1474,7 @@ public static NotificationData TestExistingNotification(this IMonitoringService /// If the REST request does not return successfully. /// List Notifications (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListNotifications(this IMonitoringService service, NotificationId marker, int? limit) { if (service == null) @@ -1462,6 +1504,7 @@ public static ReadOnlyCollectionPage ListNotificat /// If is . /// If the REST request does not return successfully. /// Get Notification (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Notification GetNotification(this IMonitoringService service, NotificationId notificationId) { if (service == null) @@ -1495,6 +1538,7 @@ public static Notification GetNotification(this IMonitoringService service, Noti /// /// If the REST request does not return successfully. /// Update Notification (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateNotification(this IMonitoringService service, NotificationId notificationId, UpdateNotificationConfiguration configuration) { if (service == null) @@ -1523,6 +1567,7 @@ public static void UpdateNotification(this IMonitoringService service, Notificat /// If is . /// If the REST request does not return successfully. /// Delete Notification (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveNotification(this IMonitoringService service, NotificationId notificationId) { if (service == null) @@ -1561,6 +1606,7 @@ public static void RemoveNotification(this IMonitoringService service, Notificat /// If the REST request does not return successfully. /// List Notification Types (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListNotificationTypes(this IMonitoringService service, NotificationTypeId marker, int? limit) { if (service == null) @@ -1590,6 +1636,7 @@ public static ReadOnlyCollectionPage ListN /// If is . /// If the REST request does not return successfully. /// Get Notification Type (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static NotificationType GetNotificationType(this IMonitoringService service, NotificationTypeId notificationTypeId) { if (service == null) @@ -1638,6 +1685,7 @@ public static NotificationType GetNotificationType(this IMonitoringService servi /// List Alarm Changelogs (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Time Series Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAlarmChangelogs(this IMonitoringService service, AlarmChangelogId marker, int? limit, DateTimeOffset? from, DateTimeOffset? to) { if (service == null) @@ -1683,6 +1731,7 @@ public static ReadOnlyCollectionPage ListAlarm /// List Alarm Changelogs (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Time Series Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAlarmChangelogs(this IMonitoringService service, EntityId entityId, AlarmChangelogId marker, int? limit, DateTimeOffset? from, DateTimeOffset? to) { if (service == null) @@ -1721,6 +1770,7 @@ public static ReadOnlyCollectionPage ListAlarm /// If the REST request does not return successfully. /// Get Overview (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListEntityOverviews(this IMonitoringService service, EntityId marker, int? limit) { if (service == null) @@ -1757,6 +1807,7 @@ public static ReadOnlyCollectionPage ListEntityOvervie /// If the REST request does not return successfully. /// Get Overview (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListEntityOverviews(this IMonitoringService service, EntityId marker, int? limit, IEnumerable entityIdFilter) { if (service == null) @@ -1795,6 +1846,7 @@ public static ReadOnlyCollectionPage ListEntityOvervie /// If the REST request does not return successfully. /// List Alarm Examples (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAlarmExamples(this IMonitoringService service, AlarmExampleId marker, int? limit) { if (service == null) @@ -1824,6 +1876,7 @@ public static ReadOnlyCollectionPage ListAlarmExam /// If is . /// If the REST request does not return successfully. /// Get Alarm Example (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static AlarmExample GetAlarmExample(this IMonitoringService service, AlarmExampleId alarmExampleId) { if (service == null) @@ -1859,6 +1912,7 @@ public static AlarmExample GetAlarmExample(this IMonitoringService service, Alar /// If contains any empty keys. /// If the REST request does not return successfully. /// Evaluate Alarm Example (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static BoundAlarmExample EvaluateAlarmExample(this IMonitoringService service, AlarmExampleId alarmExampleId, IDictionary exampleParameters) { if (service == null) @@ -1901,6 +1955,7 @@ public static BoundAlarmExample EvaluateAlarmExample(this IMonitoringService ser /// If the REST request does not return successfully. /// List Agents (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAgents(this IMonitoringService service, AgentId marker, int? limit) { if (service == null) @@ -1930,6 +1985,7 @@ public static ReadOnlyCollectionPage ListAgents(this IMonitoring /// If is . /// If the REST request does not return successfully. /// Get Agent (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Agent GetAgent(this IMonitoringService service, AgentId agentId) { if (service == null) @@ -1966,6 +2022,7 @@ public static Agent GetAgent(this IMonitoringService service, AgentId agentId) /// If the REST request does not return successfully. /// List Agent Connections (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAgentConnections(this IMonitoringService service, AgentId agentId, AgentConnectionId marker, int? limit) { if (service == null) @@ -2000,6 +2057,7 @@ public static ReadOnlyCollectionPage ListAge /// /// If the REST request does not return successfully. /// Get Agent Connection (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static AgentConnection GetAgentConnection(this IMonitoringService service, AgentId agentId, AgentConnectionId agentConnectionId) { if (service == null) @@ -2033,6 +2091,7 @@ public static AgentConnection GetAgentConnection(this IMonitoringService service /// If is . /// If the REST request does not return successfully. /// Create Agent Token (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static AgentTokenId CreateAgentToken(this IMonitoringService service, AgentTokenConfiguration configuration) { if (service == null) @@ -2067,6 +2126,7 @@ public static AgentTokenId CreateAgentToken(this IMonitoringService service, Age /// If the REST request does not return successfully. /// List Agent Tokens (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAgentTokens(this IMonitoringService service, AgentTokenId marker, int? limit) { if (service == null) @@ -2096,6 +2156,7 @@ public static ReadOnlyCollectionPage ListAgentTokens(t /// If is . /// If the REST request does not return successfully. /// Get Agent Token (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static AgentToken GetAgentToken(this IMonitoringService service, AgentTokenId agentTokenId) { if (service == null) @@ -2129,6 +2190,7 @@ public static AgentToken GetAgentToken(this IMonitoringService service, AgentTok /// /// If the REST request does not return successfully. /// Update Agent Token (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateAgentToken(this IMonitoringService service, AgentTokenId agentTokenId, AgentTokenConfiguration configuration) { if (service == null) @@ -2157,6 +2219,7 @@ public static void UpdateAgentToken(this IMonitoringService service, AgentTokenI /// If is . /// If the REST request does not return successfully. /// Delete Agent Token (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void RemoveAgentToken(this IMonitoringService service, AgentTokenId agentTokenId) { if (service == null) @@ -2195,6 +2258,7 @@ public static void RemoveAgentToken(this IMonitoringService service, AgentTokenI /// /// If the REST request does not return successfully. /// Agent Host Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HostInformation GetAgentHostInformation(this IMonitoringService service, AgentId agentId, HostInformationType hostInformation) { if (service == null) @@ -2224,6 +2288,7 @@ public static HostInformation GetAgentHostInformation(this IMonitoringSe /// If is . /// If the REST request does not return successfully. /// Get CPUs Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HostInformation> GetCpuInformation(this IMonitoringService service, AgentId agentId) { if (service == null) @@ -2253,6 +2318,7 @@ public static HostInformation> GetCpuInformat /// If is . /// If the REST request does not return successfully. /// Get Disks Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HostInformation> GetDiskInformation(this IMonitoringService service, AgentId agentId) { if (service == null) @@ -2282,6 +2348,7 @@ public static HostInformation> GetDiskInform /// If is . /// If the REST request does not return successfully. /// Get Filesystems Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HostInformation> GetFilesystemInformation(this IMonitoringService service, AgentId agentId) { if (service == null) @@ -2311,6 +2378,7 @@ public static HostInformation> GetFile /// If is . /// If the REST request does not return successfully. /// Get Memory Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HostInformation GetMemoryInformation(this IMonitoringService service, AgentId agentId) { if (service == null) @@ -2340,6 +2408,7 @@ public static HostInformation GetMemoryInformation(this IMoni /// If is . /// If the REST request does not return successfully. /// Get Network Interfaces Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HostInformation> GetNetworkInterfaceInformation(this IMonitoringService service, AgentId agentId) { if (service == null) @@ -2369,6 +2438,7 @@ public static HostInformation> G /// If is . /// If the REST request does not return successfully. /// Get Processes Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HostInformation> GetProcessInformation(this IMonitoringService service, AgentId agentId) { if (service == null) @@ -2398,6 +2468,7 @@ public static HostInformation> GetProcess /// If is . /// If the REST request does not return successfully. /// Get System Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HostInformation GetSystemInformation(this IMonitoringService service, AgentId agentId) { if (service == null) @@ -2427,6 +2498,7 @@ public static HostInformation GetSystemInformation(this IMoni /// If is . /// If the REST request does not return successfully. /// Get Logged-in User Information (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HostInformation> GetLoginInformation(this IMonitoringService service, AgentId agentId) { if (service == null) @@ -2473,6 +2545,7 @@ public static HostInformation> GetLoginInfo /// If the REST request does not return successfully. /// List Agent Check Targets (Rackspace Cloud Monitoring Developer Guide - API v1.0) /// Paginated Collections (Rackspace Cloud Monitoring Developer Guide - API v1.0) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListAgentCheckTargets(this IMonitoringService service, EntityId entityId, CheckTypeId agentCheckType, CheckTargetId marker, int? limit) { if (service == null) diff --git a/src/corelib/Core/Synchronous/QueueingServiceExtensions.cs b/src/corelib/Core/Synchronous/QueueingServiceExtensions.cs index f386821f3..f8bd863c1 100644 --- a/src/corelib/Core/Synchronous/QueueingServiceExtensions.cs +++ b/src/corelib/Core/Synchronous/QueueingServiceExtensions.cs @@ -18,6 +18,7 @@ /// /// /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static class QueueingServiceExtensions { #region Base endpoints @@ -30,6 +31,7 @@ public static class QueueingServiceExtensions /// If is . /// If the REST request does not return successfully. /// Get Home Document (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static HomeDocument GetHome(this IQueueingService queueingService) { if (queueingService == null) @@ -61,6 +63,7 @@ public static HomeDocument GetHome(this IQueueingService queueingService) /// If is . /// If the REST request does not return successfully. /// Check Node Health (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void GetNodeHealth(this IQueueingService queueingService) { if (queueingService == null) @@ -94,6 +97,7 @@ public static void GetNodeHealth(this IQueueingService queueingService) /// If is . /// If the REST request does not return successfully. /// Create Queue (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static bool CreateQueue(this IQueueingService queueingService, QueueName queueName) { if (queueingService == null) @@ -125,6 +129,7 @@ public static bool CreateQueue(this IQueueingService queueingService, QueueName /// If is less than or equal to 0. /// If the REST request does not return successfully. /// List Queues (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage ListQueues(this IQueueingService queueingService, QueueName marker, int? limit, bool detailed) { if (queueingService == null) @@ -154,6 +159,7 @@ public static ReadOnlyCollectionPage ListQueues(this IQueueingServic /// If is . /// If the REST request does not return successfully. /// Checking Queue Existence (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static bool QueueExists(this IQueueingService queueingService, QueueName queueName) { if (queueingService == null) @@ -185,6 +191,7 @@ public static bool QueueExists(this IQueueingService queueingService, QueueName /// If is . /// If the REST request does not return successfully. /// Delete Queue (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void DeleteQueue(this IQueueingService queueingService, QueueName queueName) { if (queueingService == null) @@ -219,6 +226,7 @@ public static void DeleteQueue(this IQueueingService queueingService, QueueName /// If is . /// If the REST request does not return successfully. /// Set Queue Metadata (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void SetQueueMetadata(this IQueueingService queueingService, QueueName queueName, T metadata) where T : class { @@ -249,6 +257,7 @@ public static void SetQueueMetadata(this IQueueingService queueingService, Qu /// If is . /// If the REST request does not return successfully. /// Get Queue Metadata (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static JObject GetQueueMetadata(this IQueueingService queueingService, QueueName queueName) { if (queueingService == null) @@ -280,6 +289,7 @@ public static JObject GetQueueMetadata(this IQueueingService queueingService, Qu /// If an error occurs while deserializing the metadata. /// If the REST request does not return successfully. /// Get Queue Metadata (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static T GetQueueMetadata(this IQueueingService queueingService, QueueName queueName) where T : class { @@ -310,6 +320,7 @@ public static T GetQueueMetadata(this IQueueingService queueingService, Queue /// If is . /// If the REST request does not return successfully. /// Get Queue Stats (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static QueueStatistics GetQueueStatistics(this IQueueingService queueingService, QueueName queueName) { if (queueingService == null) @@ -348,6 +359,7 @@ public static QueueStatistics GetQueueStatistics(this IQueueingService queueingS /// If is less than or equal to 0. /// If the REST request does not return successfully. /// List Messages (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static QueuedMessageList ListMessages(this IQueueingService queueingService, QueueName queueName, QueuedMessageListId marker, int? limit, bool echo, bool includeClaimed) { if (queueingService == null) @@ -386,6 +398,7 @@ public static QueuedMessageList ListMessages(this IQueueingService queueingServi /// /// If the REST request does not return successfully. /// Get a Specific Message (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static QueuedMessage GetMessage(this IQueueingService queueingService, QueueName queueName, MessageId messageId) { if (queueingService == null) @@ -427,6 +440,7 @@ public static QueuedMessage GetMessage(this IQueueingService queueingService, Qu /// /// If the REST request does not return successfully. /// Get a Set of Messages by ID (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection GetMessages(this IQueueingService queueingService, QueueName queueName, IEnumerable messageIds) { if (queueingService == null) @@ -464,6 +478,7 @@ public static ReadOnlyCollection GetMessages(this IQueueingServic /// /// If the REST request does not return successfully. /// Post Message(s) (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static MessagesEnqueued PostMessages(this IQueueingService queueingService, QueueName queueName, IEnumerable messages) { if (queueingService == null) @@ -501,6 +516,7 @@ public static MessagesEnqueued PostMessages(this IQueueingService queueingServic /// /// If the REST request does not return successfully. /// Post Message(s) (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static MessagesEnqueued PostMessages(this IQueueingService queueingService, QueueName queueName, params Message[] messages) { if (queueingService == null) @@ -539,6 +555,7 @@ public static MessagesEnqueued PostMessages(this IQueueingService queueingServic /// /// If the REST request does not return successfully. /// Post Message(s) (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static MessagesEnqueued PostMessages(this IQueueingService queueingService, QueueName queueName, IEnumerable> messages) { if (queueingService == null) @@ -577,6 +594,7 @@ public static MessagesEnqueued PostMessages(this IQueueingService queueingSer /// /// If the REST request does not return successfully. /// Post Message(s) (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static MessagesEnqueued PostMessages(this IQueueingService queueingService, QueueName queueName, params Message[] messages) { if (queueingService == null) @@ -611,6 +629,7 @@ public static MessagesEnqueued PostMessages(this IQueueingService queueingSer /// /// If the REST request does not return successfully. /// Delete Message (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void DeleteMessage(this IQueueingService queueingService, QueueName queueName, MessageId messageId, Claim claim) { if (queueingService == null) @@ -652,6 +671,7 @@ public static void DeleteMessage(this IQueueingService queueingService, QueueNam /// /// If the REST request does not return successfully. /// Delete a Set of Messages by ID (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void DeleteMessages(this IQueueingService queueingService, QueueName queueName, IEnumerable messageIds) { if (queueingService == null) @@ -706,6 +726,7 @@ public static void DeleteMessages(this IQueueingService queueingService, QueueNa /// /// If the REST request does not return successfully. /// Claim Messages (OpenStack Marconi API v1 Blueprint) + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Claim ClaimMessage(this IQueueingService queueingService, QueueName queueName, int? limit, TimeSpan timeToLive, TimeSpan gracePeriod) { if (queueingService == null) @@ -744,6 +765,7 @@ public static Claim ClaimMessage(this IQueueingService queueingService, QueueNam /// If the REST request does not return successfully. /// Query Claim (OpenStack Marconi API v1 Blueprint) [EditorBrowsable(EditorBrowsableState.Never)] + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static Claim QueryClaim(this IQueueingService queueingService, QueueName queueName, Claim claim) { if (queueingService == null) @@ -783,6 +805,7 @@ public static Claim QueryClaim(this IQueueingService queueingService, QueueName /// If the REST request does not return successfully. /// Update Claim (OpenStack Marconi API v1 Blueprint) [EditorBrowsable(EditorBrowsableState.Never)] + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void UpdateClaim(this IQueueingService queueingService, QueueName queueName, Claim claim, TimeSpan timeToLive) { if (queueingService == null) @@ -821,6 +844,7 @@ public static void UpdateClaim(this IQueueingService queueingService, QueueName /// If the REST request does not return successfully. /// Release Claim (OpenStack Marconi API v1 Blueprint) [EditorBrowsable(EditorBrowsableState.Never)] + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static void ReleaseClaim(this IQueueingService queueingService, QueueName queueName, Claim claim) { if (queueingService == null) diff --git a/src/corelib/Core/Synchronous/ReadOnlyCollectionPageSynchronousExtensions.cs b/src/corelib/Core/Synchronous/ReadOnlyCollectionPageSynchronousExtensions.cs index 218ce657a..a4e685c0a 100644 --- a/src/corelib/Core/Synchronous/ReadOnlyCollectionPageSynchronousExtensions.cs +++ b/src/corelib/Core/Synchronous/ReadOnlyCollectionPageSynchronousExtensions.cs @@ -12,6 +12,7 @@ /// /// /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static class ReadOnlyCollectionPageSynchronousExtensions { /// @@ -30,6 +31,7 @@ public static class ReadOnlyCollectionPageSynchronousExtensions /// A read-only collection containing the complete set of results from the paginated collection. /// If is . /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollection GetAllPages(this ReadOnlyCollectionPage page) { if (page == null) @@ -58,6 +60,7 @@ public static ReadOnlyCollection GetAllPages(this ReadOnlyCollectionPageIf is . /// If the REST request does not return successfully. /// + [Obsolete("These synchronous wrappers should not be used. For more information, see http://blogs.msdn.com/b/pfxteam/archive/2012/04/13/10293638.aspx.")] public static ReadOnlyCollectionPage GetNextPage(this ReadOnlyCollectionPage page) { if (page == null)