Microsoft Azure Storage Client Library for C++  7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
Classes | Public Member Functions | List of all members
azure::storage::service_properties Class Reference

Class representing a set of properties pertaining to the Blob, Queue, or Table service. More...

Classes

class  cors_rule
 Class representing the service properties pertaining to CORS. More...
 
class  logging_properties
 An object representing the service properties pertaining to logging. More...
 
class  metrics_properties
 An object representing the service properties pertaining to metrics. More...
 

Public Member Functions

 service_properties ()
 Initializes a new instance of the azure::storage::service_properties class. More...
 
const logging_propertieslogging () const
 Gets the logging properties for the service. More...
 
logging_propertieslogging ()
 Gets the logging properties for the service. More...
 
void set_logging (logging_properties value)
 Sets the logging properties for the service. More...
 
const metrics_propertieshour_metrics () const
 Gets the hour metrics properties for the service. More...
 
metrics_propertieshour_metrics ()
 Gets the hour metrics properties for the service. More...
 
void set_hour_metrics (metrics_properties value)
 Sets the hour metrics properties for the service. More...
 
const metrics_propertiesminute_metrics () const
 Gets the minute metrics properties for the service. More...
 
metrics_propertiesminute_metrics ()
 Gets the minute metrics properties for the service. More...
 
void set_minute_metrics (metrics_properties value)
 Sets the minute metrics properties for the service. More...
 
const std::vector< cors_rule > & cors () const
 Gets the Cross Origin Resource Sharing (CORS) properties for the service. More...
 
std::vector< cors_rule > & cors ()
 Gets the Cross Origin Resource Sharing (CORS) properties for the service. More...
 
void set_cors (std::vector< cors_rule > value)
 Sets the Cross Origin Resource Sharing (CORS) properties for the service. More...
 
const utility::string_t & default_service_version () const
 Gets the default service version for the Blob service. More...
 
void set_default_service_version (utility::string_t value)
 Sets the default service version for the Blob service. More...
 

Detailed Description

Class representing a set of properties pertaining to the Blob, Queue, or Table service.

Constructor & Destructor Documentation

◆ service_properties()

azure::storage::service_properties::service_properties ( )
inline

Initializes a new instance of the azure::storage::service_properties class.

Member Function Documentation

◆ cors() [1/2]

const std::vector<cors_rule>& azure::storage::service_properties::cors ( ) const
inline

Gets the Cross Origin Resource Sharing (CORS) properties for the service.

Returns
The CORS properties for the service.

◆ cors() [2/2]

std::vector<cors_rule>& azure::storage::service_properties::cors ( )
inline

Gets the Cross Origin Resource Sharing (CORS) properties for the service.

Returns
The CORS properties for the service.

◆ default_service_version()

const utility::string_t& azure::storage::service_properties::default_service_version ( ) const
inline

Gets the default service version for the Blob service.

Returns
The default service version for the Blob service.

◆ hour_metrics() [1/2]

const metrics_properties& azure::storage::service_properties::hour_metrics ( ) const
inline

Gets the hour metrics properties for the service.

Returns
The hour metrics properties for the service.

◆ hour_metrics() [2/2]

metrics_properties& azure::storage::service_properties::hour_metrics ( )
inline

Gets the hour metrics properties for the service.

Returns
The hour metrics properties for the service.

◆ logging() [1/2]

const logging_properties& azure::storage::service_properties::logging ( ) const
inline

Gets the logging properties for the service.

Returns
The logging properties for the service.

◆ logging() [2/2]

logging_properties& azure::storage::service_properties::logging ( )
inline

Gets the logging properties for the service.

Returns
The logging properties for the service.

◆ minute_metrics() [1/2]

const metrics_properties& azure::storage::service_properties::minute_metrics ( ) const
inline

Gets the minute metrics properties for the service.

Returns
The minute metrics properties for the service.

◆ minute_metrics() [2/2]

metrics_properties& azure::storage::service_properties::minute_metrics ( )
inline

Gets the minute metrics properties for the service.

Returns
The minute metrics properties for the service.

◆ set_cors()

void azure::storage::service_properties::set_cors ( std::vector< cors_rule value)
inline

Sets the Cross Origin Resource Sharing (CORS) properties for the service.

Parameters
valueThe CORS properties for the service.

◆ set_default_service_version()

void azure::storage::service_properties::set_default_service_version ( utility::string_t  value)
inline

Sets the default service version for the Blob service.

Parameters
valueThe default service version for the Blob service.

◆ set_hour_metrics()

void azure::storage::service_properties::set_hour_metrics ( metrics_properties  value)
inline

Sets the hour metrics properties for the service.

Parameters
valueThe hour metrics properties for the service.

◆ set_logging()

void azure::storage::service_properties::set_logging ( logging_properties  value)
inline

Sets the logging properties for the service.

Parameters
valueThe logging properties for the service.

◆ set_minute_metrics()

void azure::storage::service_properties::set_minute_metrics ( metrics_properties  value)
inline

Sets the minute metrics properties for the service.

Parameters
valueThe minute metrics properties for the service.