azure_mgmt_event_hub 0.13.0 → 0.14.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: a28d1222739c1de61a2822ea51a7204c45ee2442
4
- data.tar.gz: 2fe48d6d2835439ac119339f4ba424f9bc19f774
3
+ metadata.gz: df5e43f1de9a6f8d25e1c8deff284a77d8cffdb0
4
+ data.tar.gz: 347681351bf8eb3eac4d2755b3f7316199eecee3
5
5
  SHA512:
6
- metadata.gz: 5a1424ee17489ca27085e16d624a9b48cd69b784da20b1d26f6e95ddbb56a7ab335bb9d311017cc9f081015f318746217914fec02411e4ae5f6f45d9736a7078
7
- data.tar.gz: 481ecf3774f43814344d9b840950db6167519ce8e54fd290426a8c2f29d9b7cc9b01cc8f1336092f8ac8f9e8dd3b155dbc656e4c8ac8187ebaf7a9423161ed00
6
+ metadata.gz: 22abd6470241686e07db5c48b856214b7cec7f5e293f875580a3f9fef935e0c10c8a5ab9486582052f2d7f81d885e5339ccecfd78fceb9d34bd15ffe6e862c1e
7
+ data.tar.gz: 904e5550b81fc43f49680a2f23dbffa9470bfa9690b887596b84f7c63a050e9c032411d7da535d8287a95c639ca2ae54dd97845c0b4195fb5fd1e75647bf7a7a
@@ -30,6 +30,7 @@ module Azure::ARM::EventHub
30
30
  module Models
31
31
  autoload :CaptureDescription, 'generated/azure_mgmt_event_hub/models/capture_description.rb'
32
32
  autoload :Destination, 'generated/azure_mgmt_event_hub/models/destination.rb'
33
+ autoload :Resource, 'generated/azure_mgmt_event_hub/models/resource.rb'
33
34
  autoload :Operation, 'generated/azure_mgmt_event_hub/models/operation.rb'
34
35
  autoload :ErrorResponse, 'generated/azure_mgmt_event_hub/models/error_response.rb'
35
36
  autoload :OperationListResult, 'generated/azure_mgmt_event_hub/models/operation_list_result.rb'
@@ -12,7 +12,6 @@ module Azure::ARM::EventHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Primary connection string of the created namespace
17
16
  # AuthorizationRule.
18
17
  attr_accessor :primary_connection_string
@@ -9,11 +9,10 @@ module Azure::ARM::EventHub
9
9
  # Single item in List or Get Alias(Disaster Recovery configuration)
10
10
  # operation
11
11
  #
12
- class ArmDisasterRecovery < MsRestAzure::Resource
12
+ class ArmDisasterRecovery < Resource
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [ProvisioningStateDR] Provisioning state of the Alias(Disaster
18
17
  # Recovery configuration) - possible values 'Accepted' or 'Succeeded' or
19
18
  # 'Failed'. Possible values include: 'Accepted', 'Succeeded', 'Failed'
@@ -8,11 +8,10 @@ module Azure::ARM::EventHub
8
8
  #
9
9
  # Single item in a List or Get AuthorizationRule operation
10
10
  #
11
- class AuthorizationRule < MsRestAzure::Resource
11
+ class AuthorizationRule < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<AccessRights>] The rights associated with the rule.
17
16
  attr_accessor :rights
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::EventHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] A value that indicates whether capture description is
17
16
  # enabled.
18
17
  attr_accessor :enabled
@@ -12,7 +12,6 @@ module Azure::ARM::EventHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Name to check the namespace name availability
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::EventHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The detailed info regarding the reason associated with
17
16
  # the Namespace.
18
17
  attr_accessor :message
@@ -8,11 +8,10 @@ module Azure::ARM::EventHub
8
8
  #
9
9
  # Single item in List or Get Consumer group operation
10
10
  #
11
- class ConsumerGroup < MsRestAzure::Resource
11
+ class ConsumerGroup < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [DateTime] Exact time the message was created.
17
16
  attr_accessor :created_at
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::EventHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Name for capture destination
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::EventHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Sku] Properties of sku resource
17
16
  attr_accessor :sku
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::EventHub
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] Error code.
18
17
  attr_accessor :code
19
18
 
@@ -8,11 +8,10 @@ module Azure::ARM::EventHub
8
8
  #
9
9
  # Single item in List or Get Event Hub operation
10
10
  #
11
- class Eventhub < MsRestAzure::Resource
11
+ class Eventhub < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<String>] Current number of shards on the Event Hub.
17
16
  attr_accessor :partition_ids
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::EventHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Operation name: {provider}/{resource}/{operation}
17
16
  attr_accessor :name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::EventHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Service provider: Microsoft.EventHub
17
16
  attr_accessor :provider
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::EventHub
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [KeyType] The access key to regenerate. Possible values
18
17
  # include: 'PrimaryKey', 'SecondaryKey'
19
18
  attr_accessor :key_type
@@ -0,0 +1,67 @@
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::ARM::EventHub
7
+ module Models
8
+ #
9
+ # The Resource definition
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource Id
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
24
+
25
+ #
26
+ # Mapper for Resource class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'Resource',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'Resource',
36
+ model_properties: {
37
+ id: {
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'id',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ name: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ type: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::EventHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [SkuName] Name of this SKU. Possible values include: 'Basic',
17
16
  # 'Standard'
18
17
  attr_accessor :name
@@ -8,11 +8,10 @@ module Azure::ARM::EventHub
8
8
  #
9
9
  # Definition of Resource
10
10
  #
11
- class TrackedResource < MsRestAzure::Resource
11
+ class TrackedResource < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Resource location
17
16
  attr_accessor :location
18
17
 
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::EventHub
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_event_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.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: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -118,6 +118,7 @@ files:
118
118
  - lib/generated/azure_mgmt_event_hub/models/operation_list_result.rb
119
119
  - lib/generated/azure_mgmt_event_hub/models/provisioning_state_dr.rb
120
120
  - lib/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb
121
+ - lib/generated/azure_mgmt_event_hub/models/resource.rb
121
122
  - lib/generated/azure_mgmt_event_hub/models/role_disaster_recovery.rb
122
123
  - lib/generated/azure_mgmt_event_hub/models/sku.rb
123
124
  - lib/generated/azure_mgmt_event_hub/models/sku_name.rb