ToRequestUri() public method

public ToRequestUri ( string requestId ) : RequestUri
requestId string
return RequestUri
 public RequestUri BeginCreate(DeploymentSlotUri deploymentUri, IDeploymentConfiguration configuration)
 {
     BeginCreateDeploymentUri = deploymentUri;
     BeginCreateConfiguration = configuration;
     RunScript();
     return deploymentUri.ToRequestUri(NextRequestId);
 }
        public RequestUri BeginDelete(DeploymentSlotUri deploymentUri)
        {
            OurTrace.TraceVerbose("BeginDelete");
            var response = _http.Delete(deploymentUri.ToString());
            var statusCode = response.StatusCode;

            if (statusCode.IsAccepted())
                return deploymentUri.ToRequestUri(response.AzureRequestIdHeader);

            if (statusCode.IsConflict())
                return null;

            ThrowUnexpectedHttpResponse(response);
            return null; // can't be reached
        }
        public RequestUri BeginCreate(DeploymentSlotUri deploymentUri, IDeploymentConfiguration configuration)
        {
            OurTrace.TraceVerbose("BeginCreate");
            var xml = configuration.MakeCreateDeploymentMessage();
            OurTrace.TraceInfo(xml);

            var response = _http.Post(deploymentUri.ToString(), xml);
            var statusCode = response.StatusCode;

            if (statusCode.IsAccepted())
                return deploymentUri.ToRequestUri(response.AzureRequestIdHeader);

            if (statusCode.IsConflict())
                return null;

            ThrowUnexpectedHttpResponse(response);
            return null; // can't be reached.
        }
        private RequestUri ChangeStatus(DeploymentSlotUri deploymentUri, string newStatus)
        {
            OurTrace.TraceVerbose("Changing status to:" + newStatus);
            FailFast.Unless(newStatus == "Suspended" || newStatus == "Running",
                            "status must be 'Running' or 'Suspended'");

            var updateDeploymentUri = string.Format("{0}/?comp=status", deploymentUri);
            var suspendXml = BuildUpdateDeploymentStatusXml(newStatus);

            var response = _http.Post(updateDeploymentUri, suspendXml);
            var statusCode = response.StatusCode;

            if (statusCode.IsAccepted())
                return deploymentUri.ToRequestUri(response.AzureRequestIdHeader);

            if (statusCode.IsConflict())
                return null;

            ThrowUnexpectedHttpResponse(response);
            return null; // can't be reached.
        }
 public RequestUri BeginSuspend(DeploymentSlotUri deploymentUri)
 {
     BeginSuspendDeploymentUri = deploymentUri;
     RunScript();
     return deploymentUri.ToRequestUri(NextRequestId);
 }
 public RequestUri BeginDelete(DeploymentSlotUri deploymentUri)
 {
     BeginDeleteDeploymentUri = deploymentUri;
     RunScript();
     return deploymentUri.ToRequestUri(NextRequestId);
 }