Skip to content

Added docs and readme samples for copy blob#15560

Merged
rickle-msft merged 2 commits intoAzure:masterfrom
rickle-msft:copyReadmeSample
Oct 2, 2020
Merged

Added docs and readme samples for copy blob#15560
rickle-msft merged 2 commits intoAzure:masterfrom
rickle-msft:copyReadmeSample

Conversation

@rickle-msft
Copy link
Contributor

@rickle-msft rickle-msft commented Sep 23, 2020

Resolves #15426

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Sep 23, 2020

<!-- embedme ./src/samples/java/com/azure/storage/blob/ReadmeSamples.java#L131-L132 -->
```java
SyncPoller<BlobCopyInfo, Void> poller = blobClient.beginCopy("<url-to-blob>", Duration.ofSeconds(1));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we maybe add like if you get a CannotVerifyCopySource, make sure authentication is correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spoke offline. It's atypical for us to call out specific error codes in our docs at the moment, so I'll leave this out for now. If these updates still are insufficient to help customers solve their own issues, we can add in call-outs to that error code later.

@rickle-msft rickle-msft merged commit c3bdd28 into Azure:master Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add copy samples to blob readme

3 participants