access_condition::generate_lease_condition Method
Generates an access condition such that an operation will be performed only if the lease ID on the resource matches the specified lease ID.
static access_condition generate_lease_condition(
utility::string_t lease_id
);
Parameters
- lease_id
The lease ID that must match the lease ID of the resource.
Return Value
An azure::storage::access_condition object that represents the lease condition.
Requirements
Header: blob.h
Namespace: azure::storage