azure_mgmt_storage 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/azure_mgmt_storage.gemspec +1 -1
- data/lib/generated/azure_mgmt_storage/storage_accounts.rb +1 -1
- data/lib/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/generated/azure_mgmt_storage/usage_operations.rb +1 -1
- data/lib/generated/azure_mgmt_storage/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55a6a5284208dbeb036c3bf4e357fcf49d7ead12
|
4
|
+
data.tar.gz: 0a3aac6a7e29891f13c1a043566eaad8cb39db1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61ab1c6cf61ad1b097f668114438a08f1ca08dbdbd74befac8f03a95ab19c2d4e3416190e388f1ec28fa16cc92ba22471b8de7da83f1a59a830335ffd91d8c8c
|
7
|
+
data.tar.gz: e2f66435aa296e7a84db86f96631402dbe598186a45287a172d7e0e5309478cc8a5eb01064bf66694a0edc06fcd1731fab2b175f0c9ea772df22362046b97ee3
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Intro
|
2
2
|
|
3
|
-
This project provides a Ruby gem for easy access to the Azure ARM Storage API. With this gem you can create/update/list/delete storage accounts.
|
3
|
+
This project provides a Ruby gem for easy access to the Azure ARM Storage API. With this gem you can create/update/list/delete storage accounts.
|
4
4
|
|
5
5
|
# Supported Ruby Versions
|
6
6
|
|
@@ -48,17 +48,14 @@ client = Azure::ARM::Storage::StorageManagementClient.new(credentials)
|
|
48
48
|
client.subscription_id = subscription_id
|
49
49
|
|
50
50
|
# Create a model for new storage account.
|
51
|
-
props = Models::StorageAccountPropertiesCreateParameters.new
|
52
|
-
|
53
51
|
params = Models::StorageAccountCreateParameters.new
|
54
|
-
params.properties = props
|
55
52
|
params.location = 'westus'
|
56
53
|
sku = Models::Sku.new
|
57
54
|
sku.name = 'Standard_LRS'
|
58
55
|
params.sku = sku
|
59
56
|
params.kind = Models::Kind::Storage
|
60
57
|
|
61
|
-
promise = client.storage_accounts.
|
58
|
+
promise = client.storage_accounts.create_async('some_existing_resource_group', 'newstorageaccount', params)
|
62
59
|
```
|
63
60
|
|
64
61
|
The SDK method returns a promise which you can utilize depending on your needs. E.g. if you need to get result immediately via sync blocking call - do the following:
|
data/azure_mgmt_storage.gemspec
CHANGED
@@ -8,8 +8,8 @@ module Azure::ARM::Storage
|
|
8
8
|
# A service client - single point of access to the REST API.
|
9
9
|
#
|
10
10
|
class StorageManagementClient < MsRestAzure::AzureServiceClient
|
11
|
-
include MsRest::Serialization
|
12
11
|
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
13
|
|
14
14
|
# @return [String] the base URI of the service.
|
15
15
|
attr_accessor :base_url
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.4.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.4.0
|
83
83
|
description: Microsoft Azure Storage Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|