Skip to content
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
f9ccbcd
add azure_mgmt_storage_v2019_06_01
ctaggart Oct 8, 2020
c2650b4
headers now generated
ctaggart Oct 8, 2020
5dd6a63
all local types in same mod
ctaggart Oct 9, 2020
98c20dc
include referenced types
ctaggart Oct 10, 2020
7f112b4
CamelCase for vec types
ctaggart Oct 10, 2020
85cefc9
fix referenced schemas
ctaggart Oct 10, 2020
c87dec1
add referenced schemas recursively
ctaggart Oct 10, 2020
6949562
multiple input files
ctaggart Oct 10, 2020
cf6deb6
create local structs
ctaggart Oct 10, 2020
0c11f82
Merge remote-tracking branch 'origin/master' into rest
ctaggart Oct 10, 2020
8430921
Merge remote-tracking branch 'origin/master' into rest
ctaggart Oct 10, 2020
9797149
move to rest/mgmt_storage/2019-06-01
ctaggart Oct 10, 2020
4c847d2
unlock build on other branches
ctaggart Oct 10, 2020
4a27b71
add rest/rustfmt.toml
ctaggart Oct 10, 2020
c6d291f
allOf & pub
ctaggart Oct 10, 2020
07126a3
optional params
ctaggart Oct 11, 2020
73bd8c4
default Configuration
ctaggart Oct 11, 2020
46a850f
added mgmt_storage 2020-08-01-preview
ctaggart Oct 11, 2020
e0c613c
API_VERSION const
ctaggart Oct 11, 2020
c736f0e
api-version from config
ctaggart Oct 11, 2020
6ebc62b
query params
ctaggart Oct 11, 2020
c367f52
map with Vec::is_empty
ctaggart Oct 11, 2020
1d22c03
skip_serializing if readOnly
ctaggart Oct 12, 2020
0ed1c5b
remove anyhow dependency
ctaggart Oct 12, 2020
7ba33e2
remove if statement around api-version param
ctaggart Oct 12, 2020
fb6c0c9
Merge remote-tracking branch 'origin/master' into rest
ctaggart Oct 12, 2020
f1a5365
switch services layout to be like go sdk
ctaggart Oct 12, 2020
955a852
add compute_mgmt example
ctaggart Oct 12, 2020
bb263d1
add body and header params
ctaggart Oct 12, 2020
d3bebaa
add avs_mgmt
ctaggart Oct 12, 2020
24212ab
group operations into modules
ctaggart Oct 13, 2020
6b92bd4
add resources mgmt
ctaggart Oct 13, 2020
4c3dbb0
service api versions as features
ctaggart Oct 13, 2020
b6b75c8
add two examples
ctaggart Oct 14, 2020
55fa8f9
version modules
ctaggart Oct 14, 2020
77a7901
add avs_private_cloud_list example
ctaggart Oct 14, 2020
7fe6ad9
Merge remote-tracking branch 'origin/master' into rest
ctaggart Oct 14, 2020
563b786
vm_list example
ctaggart Oct 15, 2020
0dbe768
switch name back to azure_mgmt_${service} #42
ctaggart Oct 15, 2020
0e10667
Merge remote-tracking branch 'origin/master' into rest
ctaggart Oct 15, 2020
a873e82
many compute API versions
ctaggart Oct 16, 2020
079dde9
add 70 mgmt services
ctaggart Oct 17, 2020
8840aea
map all respones with error handling
ctaggart Oct 19, 2020
5260faa
+30 mgmt services, 100 total
ctaggart Oct 20, 2020
2d7a751
Merge remote-tracking branch 'origin/master' into rest
ctaggart Oct 20, 2020
1bc80fa
use spec folder names
ctaggart Oct 20, 2020
64f6f89
add readme for Azure Service Crates
ctaggart Oct 20, 2020
835e61f
fix vmware example & add examples to readme
ctaggart Oct 20, 2020
8dd5ff1
add storage account list to readme
ctaggart Oct 20, 2020
6e81ec9
docs are hard
ctaggart Oct 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Build and Test
on:
pull_request:
push:
branches:
- master

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
members = [
"sdks/*",
"rest/mgmt_storage/*",
]
9 changes: 9 additions & 0 deletions rest/mgmt_storage/2019-06-01/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "azure_mgmt_storage_2019_06_01"
version = "0.1.0"
edition = "2018"

[dependencies]
serde = { version = "*", features = ["derive"] }
serde_json = "*"
reqwest = { version = "*", features = ["json"] }
1,562 changes: 1,562 additions & 0 deletions rest/mgmt_storage/2019-06-01/src/client.rs

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions rest/mgmt_storage/2019-06-01/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
mod client;
mod models;

pub use self::{client::*, models::*};

pub const API_VERSION: &str = "2019-06-01";

pub type Error = Box<dyn std::error::Error + Send + Sync>;
pub type Result<T> = std::result::Result<T, Error>;

pub struct Configuration {
pub api_version: String,
pub client: reqwest::Client,
pub base_path: String,
pub bearer_access_token: Option<String>,
}

impl Default for Configuration {
fn default() -> Self {
{
Self {
api_version: API_VERSION.to_owned(),
client: reqwest::Client::new(),
base_path: "https://management.azure.com".to_owned(),
bearer_access_token: None,
}
}
}
}
Loading