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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9eb136c8657308f0ffc02b2ddc20e2b2f54fe18a
4
- data.tar.gz: 3acd00708bc7544335b674f4567fa7066b290b7e
3
+ metadata.gz: 55a6a5284208dbeb036c3bf4e357fcf49d7ead12
4
+ data.tar.gz: 0a3aac6a7e29891f13c1a043566eaad8cb39db1b
5
5
  SHA512:
6
- metadata.gz: cb2dad809d2f1cc4594c6f00670ebb63a2ebc6a4e6ea5f3876e7d1f55a9012511f6e3aa2e2a8c7fdefa1785a940a2c7ea3a026847e12e97d1881680e3669f204
7
- data.tar.gz: 56398e387be15da3d79cf72909937e86201be429996919330a11e09812e89c5ef89afcf29431f6b3abd010b313412ac3a9b9a72d1d7df831653f04a9c82dfb3d
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. Usage operation aren't supported yet.
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.create('some_existing_resource_group', 'newstorageaccount', params)
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:
@@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency 'rspec', '~> 3'
31
31
  spec.add_development_dependency 'dotenv', '~> 2'
32
32
 
33
- spec.add_runtime_dependency 'ms_rest_azure', '~> 0.3.0'
33
+ spec.add_runtime_dependency 'ms_rest_azure', '~> 0.4.0'
34
34
  end
@@ -19,7 +19,7 @@ module Azure::ARM::Storage
19
19
  @client = client
20
20
  end
21
21
 
22
- # @return reference to the StorageManagementClient
22
+ # @return [StorageManagementClient] reference to the StorageManagementClient
23
23
  attr_reader :client
24
24
 
25
25
  #
@@ -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
@@ -19,7 +19,7 @@ module Azure::ARM::Storage
19
19
  @client = client
20
20
  end
21
21
 
22
- # @return reference to the StorageManagementClient
22
+ # @return [StorageManagementClient] reference to the StorageManagementClient
23
23
  attr_reader :client
24
24
 
25
25
  #
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Storage
7
- VERSION = '0.4.0'
7
+ VERSION = '0.5.0'
8
8
  end
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.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-07-22 00:00:00.000000000 Z
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.3.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.3.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: []