1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
pub mod resource_manager_endpoint {
pub const AZURE_CHINA_CLOUD: &str = "https://management.chinacloudapi.cn";
pub const AZURE_GERMANY_CLOUD: &str = "https://management.microsoftazure.de";
pub const AZURE_PUBLIC_CLOUD: &str = "https://management.azure.com";
pub const AZURE_US_GOVERNMENT_CLOUD: &str = "https://management.usgovcloudapi.net";
}
pub mod content_type {
use crate::headers::HeaderValue;
pub const MULTIPART_FORM_DATA: HeaderValue = HeaderValue::from_static("multipart/form-data");
pub const APPLICATION_X_WWW_FORM_URLENCODED: HeaderValue =
HeaderValue::from_static("application/x-www-form-urlencoded");
pub const APPLICATION_XML: HeaderValue = HeaderValue::from_static("application/xml");
pub const APPLICATION_JSON: HeaderValue = HeaderValue::from_static("application/json");
pub const APPLICATION_OCTET_STREAM: HeaderValue =
HeaderValue::from_static("application/octet-stream");
pub const TEXT_PLAIN: HeaderValue = HeaderValue::from_static("text/plain");
}
pub mod query_param {
pub const API_VERSION: &str = "api-version";
}