Represents a shared access policy for an account, which specifies the start time, expiry time, permissions, singed service, signed resource type, signed protocol, and signed IP addresses for a shared access signature.
More...
|
enum | permissions {
none = 0,
read = 1,
write = 2,
del = 4,
list = 8,
add = 0x10,
update = 0x20,
process = 0x40,
create = 0x80
} |
| An enumeration describing permissions that may be used for a shared access signature. More...
|
|
enum | service_types { blob = 0x1,
queue = 0x2,
table = 0x4,
file = 0x8
} |
| Specifies the set of possible signed services for a shared access account policy. More...
|
|
enum | resource_types { service = 0x1,
container = 0x2,
object = 0x4
} |
| Specifies the set of possible signed resource types for a shared access account policy. More...
|
|
enum | protocols { https_only = 0x1,
https_or_http = 0x2
} |
| Specifies the set of possible signed protocols for a shared access account policy. More...
|
|
|
utility::string_t | service_types_to_string () const |
| Get a canonical string representation of the services for a shared access policy. More...
|
|
utility::string_t | resource_types_to_string () const |
| Get a canonical string representation of the resource types for a shared access policy. More...
|
|
| account_shared_access_policy () |
| Initializes a new instance of the azure::storage::account_shared_access_policy class. More...
|
|
| account_shared_access_policy (service_types service, resource_types resource) |
| Initializes a new instance of the azure::storage::account_shared_access_policy class. More...
|
|
| account_shared_access_policy (utility::datetime expiry, uint8_t permission, service_types service, resource_types resource) |
| Initializes a new instance of the azure::storage::account_shared_access_policy class. More...
|
|
| account_shared_access_policy (utility::datetime start, utility::datetime expiry, uint8_t permission, service_types service, resource_types resource) |
| Initializes a new instance of the azure::storage::account_shared_access_policy class. More...
|
|
| account_shared_access_policy (utility::datetime start, utility::datetime expiry, uint8_t permission, protocols protocol, utility::string_t address, service_types service, resource_types resource) |
| Initializes a new instance of the azure::storage::account_shared_access_policy class. More...
|
|
| account_shared_access_policy (utility::datetime start, utility::datetime expiry, uint8_t permission, protocols protocol, utility::string_t minimum_address, utility::string_t maximum_address, service_types service, resource_types resource) |
| Initializes a new instance of the azure::storage::account_shared_access_policy class. More...
|
|
void | set_service_type (service_types value) |
| Sets the services (blob, file, queue, table) for a shared access signature associated with this shared access policy. More...
|
|
service_types | service_type () |
| Gets the services (blob, file, queue, table) for a shared access signature associated with this shared access policy. More...
|
|
void | set_resource_type (resource_types value) |
| Sets the resource type for a shared access signature associated with this shared access policy. More...
|
|
resource_types | resource_type () |
| Gets the resource type for a shared access signature associated with this shared access policy. More...
|
|
utility::string_t | protocols_to_string () const |
| Get a canonical string representation of the protocols for a shared access policy. More...
|
|
utility::string_t | permissions_to_string () const |
| Get a canonical string representation of the permissions for a shared access policy. More...
|
|
void | set_permissions_from_string (const utility::string_t &value) |
| Sets the permissions from the given string. More...
|
|
void | set_permissions (uint8_t value) |
| Sets the permissions from the specified permissions. More...
|
|
uint8_t | permission () const |
| Gets the permissions for the shared access policy. More...
|
|
void | set_start (utility::datetime value) |
| Sets the start time for the shared access policy. More...
|
|
utility::datetime | start () const |
| Gets the start time for the shared access policy. More...
|
|
void | set_expiry (utility::datetime value) |
| Sets the expiry time for the shared access policy. More...
|
|
utility::datetime | expiry () const |
| Gets the expiry time for the shared access policy. More...
|
|
bool | is_valid () const |
| Indicates whether the azure::storage::shared_access_policy object is valid. More...
|
|
void | set_protocol (protocols value) |
| Sets the allowed protocols for a shared access signature associated with this shared access policy. More...
|
|
protocols | protocol () const |
| Gets the allowed protocols for a shared access signature associated with this shared access policy. More...
|
|
void | set_address_or_range (ip_address_or_range value) |
| Sets the allowed IP address or IP address range for a shared access signature associated with this shared access policy. More...
|
|
const ip_address_or_range & | address_or_range () const |
| Gets the allowed IP address or IP address range for a shared access signature associated with this shared access policy. More...
|
|
Represents a shared access policy for an account, which specifies the start time, expiry time, permissions, singed service, signed resource type, signed protocol, and signed IP addresses for a shared access signature.