Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit 60e4ef2

Browse files
committed
manual updates to azure_mgmt_storage
1 parent df09e86 commit 60e4ef2

File tree

7 files changed

+24
-7
lines changed

7 files changed

+24
-7
lines changed

management/azure_mgmt_storage/.rspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
--require spec_helper
1+
--require 2017-06-01/spec_helper
22
--color
33
--format documentation

management/azure_mgmt_storage/lib/azure_mgmt_storage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44

5-
require 'generated/azure_mgmt_storage'
5+
require '2017-06-01/generated/azure_mgmt_storage'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# encoding: utf-8
2+
# Code generated by Microsoft (R) AutoRest Code Generator.
3+
# Changes may cause incorrect behavior and will be lost if the code is
4+
# regenerated.
5+
6+
module Azure end
7+
module Azure::ARM end
8+
module Azure::ARM::Storage end
9+
module Azure::ARM::Storage::Api_2017_06_01 end
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# encoding: utf-8
2+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3+
# Changes may cause incorrect behavior and will be lost if the code is
4+
# regenerated.
5+
6+
module Azure::ARM::Storage
7+
VERSION = '0.11.0'
8+
end

management/azure_mgmt_storage/spec/2017-06-01/spec_helper.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
include MsRest
1111
include MsRestAzure
12-
include Azure::ARM::Resources
13-
include Azure::ARM::Storage
12+
include Azure::ARM::Resources::Api_2017_05_10
13+
include Azure::ARM::Storage::Api_2017_06_01
1414

1515
class ResourceHelper
1616
attr_accessor :storage_client
@@ -40,7 +40,7 @@ def initialize
4040

4141
def create_resource_group
4242
resource_group_name = 'RubySDKTest_azure_mgmt_storage'
43-
params = Azure::ARM::Resources::Models::ResourceGroup.new
43+
params = Azure::ARM::Resources::Api_2017_05_10::Models::ResourceGroup.new
4444
params.location = 'westus'
4545

4646
@resource_client.resource_groups.create_or_update(resource_group_name, params)

management/azure_mgmt_storage/spec/2017-06-01/storage_accounts_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
require_relative 'spec_helper'
66

77
include MsRestAzure
8-
include Azure::ARM::Storage::Api_2017_05_10
8+
include Azure::ARM::Storage::Api_2017_06_01
99

1010
describe StorageAccounts do
1111

management/azure_mgmt_storage/spec/2017-06-01/usage_operations_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
require_relative 'spec_helper'
66

77
include MsRestAzure
8-
include Azure::ARM::Storage::Api_2017_05_10
8+
include Azure::ARM::Storage::Api_2017_06_01
99

1010
describe 'Usage Operations' do
1111
before(:each) do

0 commit comments

Comments
 (0)