Go to the documentation of this file.
15 #ifndef _az_STORAGE_BLOBS_H
16 #define _az_STORAGE_BLOBS_H
25 #include <azure/core/internal/az_http_internal.h>
29 #include <azure/core/_az_cfg_prefix.h>
66 _az_http_pipeline pipeline;
68 _az_credential* credential;
128 ._internal = { .unused =
false } };
151 #include <azure/core/_az_cfg_suffix.h>
153 #endif // _az_STORAGE_BLOBS_H
AZ_NODISCARD AZ_INLINE az_storage_blobs_blob_upload_options az_storage_blobs_blob_upload_options_default()
Gets the default blob upload options.
Definition: az_storage_blobs.h:125
Definition of az_result and helper functions.
_az_http_policy_apiversion_options api_version
Definition: az_storage_blobs.h:48
az_http_policy_retry_options retry_options
Optional values used to override the default retry policy options.
Definition: az_storage_blobs.h:42
Allows customization of the blob client.
Definition: az_storage_blobs.h:40
az_result
The type represents the various success and error conditions.
Definition: az_result.h:53
az_context az_context_application
The application root az_context instances.
Allows customization of the upload operation.
Definition: az_storage_blobs.h:96
Azure Storage Blobs Blob Client.
Definition: az_storage_blobs.h:59
Context for canceling long running operations.
AZ_NODISCARD az_result az_storage_blobs_blob_upload(az_storage_blobs_blob_client *ref_client, az_span content, az_storage_blobs_blob_upload_options const *options, az_http_response *ref_response)
Uploads the contents to blob storage.
Allows you to customize the retry policy used by SDK clients whenever they perform an I/O operation.
Definition: az_http.h:126
@ AZ_HTTP_REQUEST_URL_BUFFER_SIZE
The maximum buffer size for a URL.
Definition: az_config.h:26
An az_span represents a contiguous byte buffer and is used for string manipulations,...
Credentials used for authentication with many (not all) Azure SDK client libraries.
This header defines the types and functions your application uses to leverage HTTP request and respon...
bool unused
Currently, this is unused, but needed as a placeholder since we can't have an empty struct.
Definition: az_storage_blobs.h:101
_az_http_policy_telemetry_options telemetry_options
Options for the telemetry policy.
Definition: az_storage_blobs.h:51
AZ_NODISCARD az_storage_blobs_blob_client_options az_storage_blobs_blob_client_options_default()
Gets the default blob storage options.
A context is a node within a tree that represents expiration times and key/value pairs.
Definition: az_context.h:37
AZ_NODISCARD az_result az_storage_blobs_blob_client_init(az_storage_blobs_blob_client *out_client, az_span endpoint, void *credential, az_storage_blobs_blob_client_options const *options)
Initialize a client with default options.
az_context * context
Operation context.
Definition: az_storage_blobs.h:97
Utilities to be used by HTTP transport policy implementations.
Configurable constants used by the Azure SDK.
#define AZ_SPAN_LITERAL_FROM_STR(STRING_LITERAL)
Returns a literal az_span over a literal string. The size of the az_span is equal to the length of th...
Definition: az_span.h:105
Allows you to parse an HTTP response's status line, headers, and body.
Definition: az_http.h:157
Represents a "view" over a byte buffer that represents a contiguous region of memory....
Definition: az_span.h:33