Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] [Storage] Blob download_blob and upload_blob APIs, BlobContainerClient and BlobServiceClient clients #2108

Draft
wants to merge 13 commits into
base: vincenttran/get_blob_props_mvp
Choose a base branch
from

Conversation

vincenttran-msft
Copy link
Member

@vincenttran-msft vincenttran-msft commented Feb 12, 2025

This PR currently generates against vincenttran/blob-tsp-test2 which should roughly represent v0.9.1.

This pull request contains the following:
BlobClient

  • download_blob
  • upload_blob

BlobContainerClient

  • Initial introduction of BlobContainerClient client
  • create_container
  • delete_container
  • get_container_properties`
    • Includes handwritten model ContainerProperties and FromHeaders impl

BlobServiceClient

  • Initial introduction of BlobServiceClient client
  • get_service_properties

@@ -15,19 +20,41 @@ async fn test_get_blob_properties() -> Result<(), Box<dyn Error>> {
let credential = DefaultAzureCredentialBuilder::default().build()?;

// Act
let container_client = BlobContainerClient::new(
&endpoint,
String::from("testcontainer1"),
Copy link
Member Author

Choose a reason for hiding this comment

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

We need to figure out how to seed the container names similar to other languages (seeded random based on test name) since we keep hitting conflicting test container names.

@vincenttran-msft vincenttran-msft changed the title [Draft] [Storage] ContainerClient, upload_blob, download_blob [Draft] [Storage] Blob download_blob and upload_blob APIs, BlobContainerClient and BlobServiceClient clients Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant