public async Task TestRenameLinkedService() { PipelineClient client = CreateClient(); PipelineResource resource = await DisposablePipeline.CreateResource(client, Recording); string newPipelineName = Recording.GenerateId("Pipeline2", 16); PipelineRenamePipelineOperation renameOperation = await client.StartRenamePipelineAsync(resource.Name, new ArtifactRenameRequest() { NewName = newPipelineName }); await renameOperation.WaitForCompletionResponseAsync(); PipelineResource pipeline = await client.GetPipelineAsync(newPipelineName); Assert.AreEqual(newPipelineName, pipeline.Name); PipelineDeletePipelineOperation operation = await client.StartDeletePipelineAsync(newPipelineName); await operation.WaitForCompletionResponseAsync(); }