azure_mgmt_event_hub 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-08-01/generated/azure_mgmt_event_hub/consumer_groups.rb +555 -0
  3. data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +143 -0
  4. data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb +1268 -0
  5. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/models/access_rights.rb +1 -1
  6. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/models/check_name_availability_parameter.rb +1 -1
  7. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/models/check_name_availability_result.rb +13 -13
  8. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/consumer_group_create_or_update_parameters.rb +107 -0
  9. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +96 -0
  10. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/consumer_group_resource.rb +108 -0
  11. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/models/entity_status.rb +1 -1
  12. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_create_or_update_parameters.rb +139 -0
  13. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +96 -0
  14. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/event_hub_resource.rb +140 -0
  15. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_create_or_update_parameters.rb +148 -0
  16. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_list_result.rb +96 -0
  17. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_resource.rb +166 -0
  18. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_state.rb +27 -0
  19. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/namespace_update_parameter.rb +62 -0
  20. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/models/operation.rb +1 -1
  21. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/models/operation_display.rb +1 -1
  22. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/models/operation_list_result.rb +1 -1
  23. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/policykey.rb +16 -0
  24. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/regenerate_keys_parameters.rb +46 -0
  25. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/resource.rb +77 -0
  26. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/resource_list_keys.rb +93 -0
  27. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_create_or_update_parameters.rb +74 -0
  28. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_list_result.rb +98 -0
  29. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/shared_access_authorization_rule_resource.rb +83 -0
  30. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/sku.rb +66 -0
  31. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/models/sku_name.rb +1 -1
  32. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/sku_tier.rb +17 -0
  33. data/lib/2015-08-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb +82 -0
  34. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/models/unavailable_reason.rb +1 -1
  35. data/lib/2015-08-01/generated/azure_mgmt_event_hub/module_definition.rb +9 -0
  36. data/lib/2015-08-01/generated/azure_mgmt_event_hub/namespaces.rb +1764 -0
  37. data/lib/2015-08-01/generated/azure_mgmt_event_hub/operations.rb +213 -0
  38. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_event_hub/version.rb +2 -2
  39. data/lib/2015-08-01/generated/azure_mgmt_event_hub.rb +61 -0
  40. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/consumer_groups.rb +6 -6
  41. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/disaster_recovery_configs.rb +6 -6
  42. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/event_hub_management_client.rb +3 -3
  43. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/event_hubs.rb +14 -14
  44. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/access_keys.rb +1 -1
  45. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/access_rights.rb +17 -0
  46. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/arm_disaster_recovery.rb +1 -1
  47. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/arm_disaster_recovery_list_result.rb +1 -1
  48. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/authorization_rule.rb +1 -1
  49. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/authorization_rule_list_result.rb +1 -1
  50. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/capture_description.rb +1 -1
  51. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb +44 -0
  52. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb +71 -0
  53. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/consumer_group.rb +1 -1
  54. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/consumer_group_list_result.rb +1 -1
  55. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/destination.rb +1 -1
  56. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/ehnamespace.rb +1 -1
  57. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/ehnamespace_list_result.rb +1 -1
  58. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/encoding_capture_description.rb +1 -1
  59. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/entity_status.rb +23 -0
  60. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/error_response.rb +1 -1
  61. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/event_hub_list_result.rb +1 -1
  62. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/eventhub.rb +1 -1
  63. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/key_type.rb +1 -1
  64. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation.rb +56 -0
  65. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation_display.rb +68 -0
  66. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb +99 -0
  67. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/provisioning_state_dr.rb +1 -1
  68. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb +1 -1
  69. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/resource.rb +1 -1
  70. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/role_disaster_recovery.rb +1 -1
  71. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/sku.rb +1 -1
  72. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku_name.rb +16 -0
  73. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/sku_tier.rb +1 -1
  74. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/models/tracked_resource.rb +1 -1
  75. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/unavailable_reason.rb +20 -0
  76. data/lib/2017-04-01/generated/azure_mgmt_event_hub/module_definition.rb +9 -0
  77. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/namespaces.rb +24 -24
  78. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub/operations.rb +3 -3
  79. data/lib/{generated/azure_mgmt_event_hub/module_definition.rb → 2017-04-01/generated/azure_mgmt_event_hub/version.rb} +3 -3
  80. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_event_hub.rb +40 -40
  81. data/lib/azure_mgmt_event_hub.rb +3 -1
  82. data/lib/module_definition.rb +7 -0
  83. data/lib/profiles/common/configurable.rb +73 -0
  84. data/lib/profiles/common/default.rb +68 -0
  85. data/lib/profiles/latest/eventhub_latest_profile_client.rb +33 -0
  86. data/lib/profiles/latest/eventhub_module_definition.rb +9 -0
  87. data/lib/profiles/latest/modules/eventhub_profile_module.rb +178 -0
  88. data/lib/version.rb +7 -0
  89. metadata +88 -43
@@ -0,0 +1,46 @@
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::EventHub::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Parameters supplied to the Regenerate Authorization Rule keys operation.
10
+ #
11
+ class RegenerateKeysParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Policykey] Key that needs to be regenerated. Possible values
16
+ # include: 'PrimaryKey', 'SecondaryKey'
17
+ attr_accessor :policykey
18
+
19
+
20
+ #
21
+ # Mapper for RegenerateKeysParameters class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'RegenerateKeysParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'RegenerateKeysParameters',
31
+ model_properties: {
32
+ policykey: {
33
+ required: false,
34
+ serialized_name: 'policykey',
35
+ type: {
36
+ name: 'Enum',
37
+ module: 'Policykey'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,77 @@
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::EventHub::Mgmt::V2015_08_01
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 location
22
+ attr_accessor :location
23
+
24
+ # @return [String] Resource type
25
+ attr_accessor :type
26
+
27
+
28
+ #
29
+ # Mapper for Resource class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'Resource',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'Resource',
39
+ model_properties: {
40
+ id: {
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'id',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ name: {
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'name',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ location: {
57
+ required: false,
58
+ serialized_name: 'location',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ type: {
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'type',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,93 @@
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::EventHub::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Namespace/EventHub Connection String
10
+ #
11
+ class ResourceListKeys
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Primary connection string of the created Namespace
16
+ # AuthorizationRule.
17
+ attr_accessor :primary_connection_string
18
+
19
+ # @return [String] Secondary connection string of the created Namespace
20
+ # AuthorizationRule.
21
+ attr_accessor :secondary_connection_string
22
+
23
+ # @return [String] A base64-encoded 256-bit primary key for signing and
24
+ # validating the SAS token.
25
+ attr_accessor :primary_key
26
+
27
+ # @return [String] A base64-encoded 256-bit primary key for signing and
28
+ # validating the SAS token.
29
+ attr_accessor :secondary_key
30
+
31
+ # @return [String] A string that describes the AuthorizationRule.
32
+ attr_accessor :key_name
33
+
34
+
35
+ #
36
+ # Mapper for ResourceListKeys class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ required: false,
42
+ serialized_name: 'ResourceListKeys',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'ResourceListKeys',
46
+ model_properties: {
47
+ primary_connection_string: {
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'primaryConnectionString',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ secondary_connection_string: {
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'secondaryConnectionString',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ primary_key: {
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'primaryKey',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ secondary_key: {
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: 'secondaryKey',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ key_name: {
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'keyName',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ end
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,74 @@
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::EventHub::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Parameters supplied to the Create Or Update Authorization Rules
10
+ # operation.
11
+ #
12
+ class SharedAccessAuthorizationRuleCreateOrUpdateParameters
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Data center location.
17
+ attr_accessor :location
18
+
19
+ # @return [String] Name of the AuthorizationRule.
20
+ attr_accessor :name
21
+
22
+ # @return [Array<AccessRights>] The rights associated with the rule.
23
+ attr_accessor :rights
24
+
25
+
26
+ #
27
+ # Mapper for SharedAccessAuthorizationRuleCreateOrUpdateParameters class
28
+ # as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'SharedAccessAuthorizationRuleCreateOrUpdateParameters',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'SharedAccessAuthorizationRuleCreateOrUpdateParameters',
38
+ model_properties: {
39
+ location: {
40
+ required: false,
41
+ serialized_name: 'location',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ name: {
47
+ required: false,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ rights: {
54
+ required: true,
55
+ serialized_name: 'properties.rights',
56
+ type: {
57
+ name: 'Sequence',
58
+ element: {
59
+ required: false,
60
+ serialized_name: 'AccessRightsElementType',
61
+ type: {
62
+ name: 'Enum',
63
+ module: 'AccessRights'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,98 @@
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::EventHub::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # The response from the List Namespace operation.
10
+ #
11
+ class SharedAccessAuthorizationRuleListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<SharedAccessAuthorizationRuleResource>] Result of the
17
+ # List Authorization Rules operation.
18
+ attr_accessor :value
19
+
20
+ # @return [String] Link to the next set of results. Not empty if Value
21
+ # contains an incomplete list of Authorization Rules
22
+ attr_accessor :next_link
23
+
24
+ # return [Proc] with next page method call.
25
+ attr_accessor :next_method
26
+
27
+ #
28
+ # Gets the rest of the items for the request, enabling auto-pagination.
29
+ #
30
+ # @return [Array<SharedAccessAuthorizationRuleResource>] operation
31
+ # results.
32
+ #
33
+ def get_all_items
34
+ items = @value
35
+ page = self
36
+ while page.next_link != nil do
37
+ page = page.get_next_page
38
+ items.concat(page.value)
39
+ end
40
+ items
41
+ end
42
+
43
+ #
44
+ # Gets the next page of results.
45
+ #
46
+ # @return [SharedAccessAuthorizationRuleListResult] with next page
47
+ # content.
48
+ #
49
+ def get_next_page
50
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
51
+ unless response.nil?
52
+ @next_link = response.body.next_link
53
+ @value = response.body.value
54
+ self
55
+ end
56
+ end
57
+
58
+ #
59
+ # Mapper for SharedAccessAuthorizationRuleListResult class as Ruby Hash.
60
+ # This will be used for serialization/deserialization.
61
+ #
62
+ def self.mapper()
63
+ {
64
+ required: false,
65
+ serialized_name: 'SharedAccessAuthorizationRuleListResult',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'SharedAccessAuthorizationRuleListResult',
69
+ model_properties: {
70
+ value: {
71
+ required: false,
72
+ serialized_name: 'value',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ required: false,
77
+ serialized_name: 'SharedAccessAuthorizationRuleResourceElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'SharedAccessAuthorizationRuleResource'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ required: false,
87
+ serialized_name: 'nextLink',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,83 @@
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::EventHub::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Single item in a List or Get AuthorizationRule operation
10
+ #
11
+ class SharedAccessAuthorizationRuleResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<AccessRights>] The rights associated with the rule.
16
+ attr_accessor :rights
17
+
18
+
19
+ #
20
+ # Mapper for SharedAccessAuthorizationRuleResource class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'SharedAccessAuthorizationRuleResource',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'SharedAccessAuthorizationRuleResource',
30
+ model_properties: {
31
+ id: {
32
+ required: false,
33
+ read_only: true,
34
+ serialized_name: 'id',
35
+ type: {
36
+ name: 'String'
37
+ }
38
+ },
39
+ name: {
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ location: {
48
+ required: false,
49
+ serialized_name: 'location',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ type: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'type',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ rights: {
63
+ required: true,
64
+ serialized_name: 'properties.rights',
65
+ type: {
66
+ name: 'Sequence',
67
+ element: {
68
+ required: false,
69
+ serialized_name: 'AccessRightsElementType',
70
+ type: {
71
+ name: 'Enum',
72
+ module: 'AccessRights'
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,66 @@
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::EventHub::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # SKU parameters supplied to the create Namespace operation
10
+ #
11
+ class Sku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [SkuName] Name of this SKU. Possible values include: 'Basic',
16
+ # 'Standard'
17
+ attr_accessor :name
18
+
19
+ # @return [SkuTier] The billing tier of this particular SKU. Possible
20
+ # values include: 'Basic', 'Standard', 'Premium'
21
+ attr_accessor :tier
22
+
23
+ # @return [Integer] The Event Hubs throughput units.
24
+ attr_accessor :capacity
25
+
26
+
27
+ #
28
+ # Mapper for Sku class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'Sku',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Sku',
38
+ model_properties: {
39
+ name: {
40
+ required: false,
41
+ serialized_name: 'name',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ tier: {
47
+ required: true,
48
+ serialized_name: 'tier',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ capacity: {
54
+ required: false,
55
+ serialized_name: 'capacity',
56
+ type: {
57
+ name: 'Number'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventHub
6
+ module Azure::EventHub::Mgmt::V2015_08_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for SkuName
@@ -0,0 +1,17 @@
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::EventHub::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Defines values for SkuTier
10
+ #
11
+ module SkuTier
12
+ Basic = "Basic"
13
+ Standard = "Standard"
14
+ Premium = "Premium"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,82 @@
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::EventHub::Mgmt::V2015_08_01
7
+ module Models
8
+ #
9
+ # Definition of Resource
10
+ #
11
+ class TrackedResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Resource tags
16
+ attr_accessor :tags
17
+
18
+
19
+ #
20
+ # Mapper for TrackedResource class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'TrackedResource',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'TrackedResource',
30
+ model_properties: {
31
+ id: {
32
+ required: false,
33
+ read_only: true,
34
+ serialized_name: 'id',
35
+ type: {
36
+ name: 'String'
37
+ }
38
+ },
39
+ name: {
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'name',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ location: {
48
+ required: false,
49
+ serialized_name: 'location',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ type: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'type',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ tags: {
63
+ required: false,
64
+ serialized_name: 'tags',
65
+ type: {
66
+ name: 'Dictionary',
67
+ value: {
68
+ required: false,
69
+ serialized_name: 'StringElementType',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ end
80
+ end
81
+ end
82
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventHub
6
+ module Azure::EventHub::Mgmt::V2015_08_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for UnavailableReason
@@ -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::EventHub end
8
+ module Azure::EventHub::Mgmt end
9
+ module Azure::EventHub::Mgmt::V2015_08_01 end