public IAsyncResult BeginGetMediaServices(string subscriptionName, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionName"] = subscriptionName;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginTestRepositoryHook(string owner, string repository, string id, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["owner"] = owner;
     result.Values["repository"] = repository;
     result.Values["id"] = id;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginGetSites(string subscriptionName, string webspaceName, string propertiesToInclude, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionName"] = subscriptionName;
     result.Values["webspaceName"] = webspaceName;
     result.Values["propertiesToInclude"] = propertiesToInclude;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginUpdateServerFirewallRule(string subscriptionId, string serverName, string ruleName, SqlDatabaseFirewallRuleInput input, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serverName"] = serverName;
     result.Values["ruleName"] = ruleName;
     result.Values["input"] = input;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginRemoveServer(string subscriptionId, string serverName, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serverName"] = serverName;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 /// <summary>
 /// Begins a mock call to GetImportExportStatus
 /// </summary>
 /// <param name="subscriptionId">The subscription Id to pass through</param>
 /// <param name="serverName">The server name to pass through</param>
 /// <param name="fullyQualifiedServerName">The fully qualified server name to pass through</param>
 /// <param name="userName">The userName to pass through</param>
 /// <param name="password">The password to pass through</param>
 /// <param name="requestId">The requestId to pass through</param>
 /// <param name="callback">The callback to pass through</param>
 /// <param name="state">The state to pass through</param>
 /// <returns>An <see cref="IAsyncResult"/> of the mock request</returns>
 public IAsyncResult BeginGetImportExportStatus(
     string subscriptionId,
     string serverName,
     string fullyQualifiedServerName,
     string userName,
     string password,
     string requestId,
     AsyncCallback callback,
     object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serverName"] = serverName;
     result.Values["fullyQualifiedServerName"] = fullyQualifiedServerName;
     result.Values["userName"] = userName;
     result.Values["password"] = password;
     result.Values["requestId"] = requestId;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginDeploy(string commitId, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["commitId"] = commitId;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginUpdateHostedService(string subscriptionId, string serviceName, UpdateHostedServiceInput input, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serviceName"] = serviceName;
     result.Values["input"] = input;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginCreateAffinityGroup(string subscriptionId, CreateAffinityGroupInput input, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["input"] = input;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginChangeConfiguration(string subscriptionId, string serviceName, string deploymentName, ChangeConfigurationInput input, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serviceName"] = serviceName;
     result.Values["deploymentName"] = deploymentName;
     result.Values["input"] = input;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginAddCertificates(string subscriptionId, string serviceName, CertificateFile input, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serviceName"] = serviceName;
     result.Values["input"] = input;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
        public IAsyncResult BeginCreateServiceBusNamespace(string subscriptionId, ServiceBusNamespace namespaceDescription, string name, AsyncCallback callback, object state)
        {
            SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
            result.Values["subscriptionId"] = subscriptionId;
            result.Values["namespaceDescription"] = namespaceDescription;
            result.Values["name"] = name;
            result.Values["callback"] = callback;
            result.Values["state"] = state;

            return result;
        }
        public IAsyncResult BeginIsServiceBusNamespaceAvailable(string subscriptionId, string serviceName, AsyncCallback callback, object state)
        {
            SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
            result.Values["subscriptionId"] = subscriptionId;
            result.Values["serviceName"] = serviceName;
            result.Values["callback"] = callback;
            result.Values["state"] = state;

            return result;
        }
 public IAsyncResult BeginCreateRepositoryHook(string owner, string repository, GithubRepositoryHook hook, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["owner"] = owner;
     result.Values["repository"] = repository;
     result.Values["hook"] = hook;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginReimageDeploymentRoleInstanceBySlot(string subscriptionId, string serviceName, string deploymentSlot, string roleInstanceName, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serviceName"] = serviceName;
     result.Values["deploymentSlot"] = deploymentSlot;
     result.Values["roleInstanceName"] = roleInstanceName;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginDeleteDeployment(string subscriptionId, string serviceName, string deploymentName, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serviceName"] = serviceName;
     result.Values["deploymentName"] = deploymentName;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginUpdateDeploymentStatusBySlot(string subscriptionId, string serviceName, string deploymentSlot, UpdateDeploymentStatusInput input, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serviceName"] = serviceName;
     result.Values["deploymentSlot"] = deploymentSlot;
     result.Values["input"] = input;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginGetAffinityGroup(string subscriptionId, string affinityGroupName, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["affinityGroupName"] = affinityGroupName;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginGetDeployments(int maxItems, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["maxItems"] = maxItems;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginGetCertificate(string subscriptionId, string serviceName, string thumbprintAlgorithm, string thumbprintInHex, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serviceName"] = serviceName;
     result.Values["thumbprintAlgorithm"] = thumbprintAlgorithm;
     result.Values["thumbprintInHex"] = thumbprintInHex;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginDownloadLogs(AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginGetHostedServiceWithDetails(string subscriptionId, string serviceName, Boolean embedDetail, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serviceName"] = serviceName;
     result.Values["embedDetail"] = embedDetail;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginNewServer(string subscriptionId, NewSqlDatabaseServerInput input, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["input"] = input;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginGetOperationStatus(string subscriptionId, string operationTrackingId, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["operationTrackingId"] = operationTrackingId;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginSetPassword(string subscriptionId, string serverName, XmlElement password, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serverName"] = serverName;
     result.Values["password"] = password;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginListStorageServices(string subscriptionId, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginDeleteSite(string subscriptionName, string webspaceName, string name, string deleteMetrics, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionName"] = subscriptionName;
     result.Values["webspaceName"] = webspaceName;
     result.Values["name"] = name;
     result.Values["deleteMetrics"] = deleteMetrics;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginRegenerateStorageServiceKeys(string subscriptionId, string serviceName, RegenerateKeys regenerateKeys, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionId"] = subscriptionId;
     result.Values["serviceName"] = serviceName;
     result.Values["regenerateKeys"] = regenerateKeys;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginUpdateSiteConfig(string subscriptionName, string webspaceName, string name, SiteConfig siteConfig, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["subscriptionName"] = subscriptionName;
     result.Values["webspaceName"] = webspaceName;
     result.Values["name"] = name;
     result.Values["siteConfig"] = siteConfig;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }
 public IAsyncResult BeginGetRepositoriesFromOrg(string organization, AsyncCallback callback, object state)
 {
     SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult();
     result.Values["organization"] = organization;
     result.Values["callback"] = callback;
     result.Values["state"] = state;
     return result;
 }