azure_mgmt_event_hub 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_event_hub.rb +23 -15
- data/lib/generated/azure_mgmt_event_hub/consumer_groups.rb +123 -111
- data/lib/generated/azure_mgmt_event_hub/event_hub_management_client.rb +6 -2
- data/lib/generated/azure_mgmt_event_hub/event_hubs.rb +240 -218
- data/lib/generated/azure_mgmt_event_hub/models/{resource_list_keys.rb → access_keys.rb} +9 -8
- data/lib/generated/azure_mgmt_event_hub/models/access_rights.rb +1 -1
- data/lib/generated/azure_mgmt_event_hub/models/{shared_access_authorization_rule_create_or_update_parameters.rb → authorization_rule.rb} +21 -19
- data/lib/generated/azure_mgmt_event_hub/models/{shared_access_authorization_rule_list_result.rb → authorization_rule_list_result.rb} +13 -14
- data/lib/generated/azure_mgmt_event_hub/models/capture_description.rb +103 -0
- data/lib/generated/azure_mgmt_event_hub/models/check_name_availability_parameter.rb +45 -0
- data/lib/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb +72 -0
- data/lib/generated/azure_mgmt_event_hub/models/{consumer_group_create_or_update_parameters.rb → consumer_group.rb} +21 -34
- data/lib/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb +8 -7
- data/lib/generated/azure_mgmt_event_hub/models/destination.rb +79 -0
- data/lib/generated/azure_mgmt_event_hub/models/{namespace_resource.rb → ehnamespace.rb} +54 -11
- data/lib/generated/azure_mgmt_event_hub/models/{namespace_list_result.rb → ehnamespace_list_result.rb} +12 -12
- data/lib/generated/azure_mgmt_event_hub/models/encoding_capture_description.rb +16 -0
- data/lib/generated/azure_mgmt_event_hub/models/entity_status.rb +1 -1
- data/lib/generated/azure_mgmt_event_hub/models/error_response.rb +56 -0
- data/lib/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb +8 -8
- data/lib/generated/azure_mgmt_event_hub/models/{event_hub_resource.rb → eventhub.rb} +43 -43
- data/lib/generated/azure_mgmt_event_hub/models/{policykey.rb → key_type.rb} +3 -3
- data/lib/generated/azure_mgmt_event_hub/models/operation.rb +57 -0
- data/lib/generated/azure_mgmt_event_hub/models/operation_display.rb +69 -0
- data/lib/generated/azure_mgmt_event_hub/models/operation_list_result.rb +99 -0
- data/lib/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb +59 -0
- data/lib/generated/azure_mgmt_event_hub/models/sku.rb +12 -6
- data/lib/generated/azure_mgmt_event_hub/models/sku_name.rb +1 -1
- data/lib/generated/azure_mgmt_event_hub/models/sku_tier.rb +1 -2
- data/lib/generated/azure_mgmt_event_hub/models/{shared_access_authorization_rule_resource.rb → tracked_resource.rb} +13 -24
- data/lib/generated/azure_mgmt_event_hub/models/unavailable_reason.rb +20 -0
- data/lib/generated/azure_mgmt_event_hub/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_event_hub/namespaces.rb +480 -251
- data/lib/generated/azure_mgmt_event_hub/operations.rb +213 -0
- data/lib/generated/azure_mgmt_event_hub/version.rb +2 -2
- metadata +25 -17
- data/lib/generated/azure_mgmt_event_hub/models/consumer_group_resource.rb +0 -122
- data/lib/generated/azure_mgmt_event_hub/models/event_hub_create_or_update_parameters.rb +0 -139
- data/lib/generated/azure_mgmt_event_hub/models/namespace_create_or_update_parameters.rb +0 -113
- data/lib/generated/azure_mgmt_event_hub/models/regenerate_keys_parameters.rb +0 -46
@@ -1,86 +1,73 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::EventHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Single item in List or Get Consumer group operation
|
10
10
|
#
|
11
|
-
class
|
11
|
+
class ConsumerGroup < MsRestAzure::Resource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
|
16
|
-
attr_accessor :location
|
17
|
-
|
18
|
-
# @return [String] ARM type of the namespace.
|
19
|
-
attr_accessor :type
|
20
|
-
|
21
|
-
# @return [String] Name of the consumer group.
|
22
|
-
attr_accessor :name
|
23
|
-
|
15
|
+
include MsRest::JSONable
|
24
16
|
# @return [DateTime] Exact time the message was created.
|
25
17
|
attr_accessor :created_at
|
26
18
|
|
27
|
-
# @return [String] The path of the Event Hub.
|
28
|
-
attr_accessor :event_hub_path
|
29
|
-
|
30
19
|
# @return [DateTime] The exact time the message was updated.
|
31
20
|
attr_accessor :updated_at
|
32
21
|
|
33
|
-
# @return [String]
|
22
|
+
# @return [String] Usermetadata is a placeholder to store user-defined
|
23
|
+
# string data with maximum length 1024. e.g. it can be used to store
|
24
|
+
# descriptive data, such as list of teams and their contact information
|
25
|
+
# also user-defined configuration settings can be stored.
|
34
26
|
attr_accessor :user_metadata
|
35
27
|
|
36
28
|
|
37
29
|
#
|
38
|
-
# Mapper for
|
30
|
+
# Mapper for ConsumerGroup class as Ruby Hash.
|
39
31
|
# This will be used for serialization/deserialization.
|
40
32
|
#
|
41
33
|
def self.mapper()
|
42
34
|
{
|
43
35
|
required: false,
|
44
|
-
serialized_name: '
|
36
|
+
serialized_name: 'ConsumerGroup',
|
45
37
|
type: {
|
46
38
|
name: 'Composite',
|
47
|
-
class_name: '
|
39
|
+
class_name: 'ConsumerGroup',
|
48
40
|
model_properties: {
|
49
|
-
|
50
|
-
required: true,
|
51
|
-
serialized_name: 'location',
|
52
|
-
type: {
|
53
|
-
name: 'String'
|
54
|
-
}
|
55
|
-
},
|
56
|
-
type: {
|
41
|
+
id: {
|
57
42
|
required: false,
|
58
|
-
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'id',
|
59
45
|
type: {
|
60
46
|
name: 'String'
|
61
47
|
}
|
62
48
|
},
|
63
49
|
name: {
|
64
50
|
required: false,
|
51
|
+
read_only: true,
|
65
52
|
serialized_name: 'name',
|
66
53
|
type: {
|
67
54
|
name: 'String'
|
68
55
|
}
|
69
56
|
},
|
70
|
-
|
57
|
+
type: {
|
71
58
|
required: false,
|
72
59
|
read_only: true,
|
73
|
-
serialized_name: '
|
60
|
+
serialized_name: 'type',
|
74
61
|
type: {
|
75
|
-
name: '
|
62
|
+
name: 'String'
|
76
63
|
}
|
77
64
|
},
|
78
|
-
|
65
|
+
created_at: {
|
79
66
|
required: false,
|
80
67
|
read_only: true,
|
81
|
-
serialized_name: 'properties.
|
68
|
+
serialized_name: 'properties.createdAt',
|
82
69
|
type: {
|
83
|
-
name: '
|
70
|
+
name: 'DateTime'
|
84
71
|
}
|
85
72
|
},
|
86
73
|
updated_at: {
|
@@ -1,19 +1,20 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::EventHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The
|
9
|
+
# The result to the List Consumer Group operation.
|
10
10
|
#
|
11
11
|
class ConsumerGroupListResult
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
|
16
|
-
# Group
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<ConsumerGroup>] Result of the List Consumer Group
|
17
|
+
# operation.
|
17
18
|
attr_accessor :value
|
18
19
|
|
19
20
|
# @return [String] Link to the next set of results. Not empty if Value
|
@@ -26,7 +27,7 @@ module Azure::ARM::EventHub
|
|
26
27
|
#
|
27
28
|
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
29
|
#
|
29
|
-
# @return [Array<
|
30
|
+
# @return [Array<ConsumerGroup>] operation results.
|
30
31
|
#
|
31
32
|
def get_all_items
|
32
33
|
items = @value
|
@@ -71,10 +72,10 @@ module Azure::ARM::EventHub
|
|
71
72
|
name: 'Sequence',
|
72
73
|
element: {
|
73
74
|
required: false,
|
74
|
-
serialized_name: '
|
75
|
+
serialized_name: 'ConsumerGroupElementType',
|
75
76
|
type: {
|
76
77
|
name: 'Composite',
|
77
|
-
class_name: '
|
78
|
+
class_name: 'ConsumerGroup'
|
78
79
|
}
|
79
80
|
}
|
80
81
|
}
|
@@ -0,0 +1,79 @@
|
|
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::EventHub
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Capture storage details for capture description
|
10
|
+
#
|
11
|
+
class Destination
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Name for capture destination
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [String] Resource id of the storage account to be used to
|
20
|
+
# create the blobs
|
21
|
+
attr_accessor :storage_account_resource_id
|
22
|
+
|
23
|
+
# @return [String] Blob container Name
|
24
|
+
attr_accessor :blob_container
|
25
|
+
|
26
|
+
# @return [String] Blob naming convention for archive, e.g.
|
27
|
+
# {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}.
|
28
|
+
# Here all the parameters (Namespace,EventHub .. etc) are mandatory
|
29
|
+
# irrespective of order
|
30
|
+
attr_accessor :archive_name_format
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for Destination class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'Destination',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'Destination',
|
44
|
+
model_properties: {
|
45
|
+
name: {
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'name',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
storage_account_resource_id: {
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'properties.storageAccountResourceId',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
blob_container: {
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'properties.blobContainer',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
archive_name_format: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'properties.archiveNameFormat',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -1,45 +1,58 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::EventHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Single Namespace item in List or Get Operation
|
10
10
|
#
|
11
|
-
class
|
11
|
+
class EHNamespace < TrackedResource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Sku] Properties of sku resource
|
16
17
|
attr_accessor :sku
|
17
18
|
|
18
|
-
# @return [String] Provisioning state of the
|
19
|
+
# @return [String] Provisioning state of the Namespace.
|
19
20
|
attr_accessor :provisioning_state
|
20
21
|
|
21
|
-
# @return [DateTime] The time the
|
22
|
+
# @return [DateTime] The time the Namespace was created.
|
22
23
|
attr_accessor :created_at
|
23
24
|
|
24
|
-
# @return [DateTime] The time the
|
25
|
+
# @return [DateTime] The time the Namespace was updated.
|
25
26
|
attr_accessor :updated_at
|
26
27
|
|
27
28
|
# @return [String] Endpoint you can use to perform Service Bus
|
28
29
|
# operations.
|
29
30
|
attr_accessor :service_bus_endpoint
|
30
31
|
|
32
|
+
# @return [String] Identifier for Azure Insights metrics.
|
33
|
+
attr_accessor :metric_id
|
34
|
+
|
35
|
+
# @return [Boolean] Value that indicates whether AutoInflate is enabled
|
36
|
+
# for eventhub namespace.
|
37
|
+
attr_accessor :is_auto_inflate_enabled
|
38
|
+
|
39
|
+
# @return [Integer] Upper limit of throughput units when AutoInflate is
|
40
|
+
# enabled, vaule should be within 0 to 20 throughput units. ( '0' if
|
41
|
+
# AutoInflateEnabled = true)
|
42
|
+
attr_accessor :maximum_throughput_units
|
43
|
+
|
31
44
|
|
32
45
|
#
|
33
|
-
# Mapper for
|
46
|
+
# Mapper for EHNamespace class as Ruby Hash.
|
34
47
|
# This will be used for serialization/deserialization.
|
35
48
|
#
|
36
49
|
def self.mapper()
|
37
50
|
{
|
38
51
|
required: false,
|
39
|
-
serialized_name: '
|
52
|
+
serialized_name: 'EHNamespace',
|
40
53
|
type: {
|
41
54
|
name: 'Composite',
|
42
|
-
class_name: '
|
55
|
+
class_name: 'EHNamespace',
|
43
56
|
model_properties: {
|
44
57
|
id: {
|
45
58
|
required: false,
|
@@ -66,7 +79,7 @@ module Azure::ARM::EventHub
|
|
66
79
|
}
|
67
80
|
},
|
68
81
|
location: {
|
69
|
-
required:
|
82
|
+
required: false,
|
70
83
|
serialized_name: 'location',
|
71
84
|
type: {
|
72
85
|
name: 'String'
|
@@ -96,6 +109,7 @@ module Azure::ARM::EventHub
|
|
96
109
|
},
|
97
110
|
provisioning_state: {
|
98
111
|
required: false,
|
112
|
+
read_only: true,
|
99
113
|
serialized_name: 'properties.provisioningState',
|
100
114
|
type: {
|
101
115
|
name: 'String'
|
@@ -103,6 +117,7 @@ module Azure::ARM::EventHub
|
|
103
117
|
},
|
104
118
|
created_at: {
|
105
119
|
required: false,
|
120
|
+
read_only: true,
|
106
121
|
serialized_name: 'properties.createdAt',
|
107
122
|
type: {
|
108
123
|
name: 'DateTime'
|
@@ -110,6 +125,7 @@ module Azure::ARM::EventHub
|
|
110
125
|
},
|
111
126
|
updated_at: {
|
112
127
|
required: false,
|
128
|
+
read_only: true,
|
113
129
|
serialized_name: 'properties.updatedAt',
|
114
130
|
type: {
|
115
131
|
name: 'DateTime'
|
@@ -117,10 +133,37 @@ module Azure::ARM::EventHub
|
|
117
133
|
},
|
118
134
|
service_bus_endpoint: {
|
119
135
|
required: false,
|
136
|
+
read_only: true,
|
120
137
|
serialized_name: 'properties.serviceBusEndpoint',
|
121
138
|
type: {
|
122
139
|
name: 'String'
|
123
140
|
}
|
141
|
+
},
|
142
|
+
metric_id: {
|
143
|
+
required: false,
|
144
|
+
read_only: true,
|
145
|
+
serialized_name: 'properties.metricId',
|
146
|
+
type: {
|
147
|
+
name: 'String'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
is_auto_inflate_enabled: {
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'properties.isAutoInflateEnabled',
|
153
|
+
type: {
|
154
|
+
name: 'Boolean'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
maximum_throughput_units: {
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'properties.maximumThroughputUnits',
|
160
|
+
constraints: {
|
161
|
+
InclusiveMaximum: 20,
|
162
|
+
InclusiveMinimum: 0
|
163
|
+
},
|
164
|
+
type: {
|
165
|
+
name: 'Number'
|
166
|
+
}
|
124
167
|
}
|
125
168
|
}
|
126
169
|
}
|
@@ -1,19 +1,19 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::EventHub
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The response of the List Namespace operation
|
9
|
+
# The response of the List Namespace operation
|
10
10
|
#
|
11
|
-
class
|
11
|
+
class EHNamespaceListResult
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
|
16
|
-
# operation
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<EHNamespace>] Result of the List Namespace operation
|
17
17
|
attr_accessor :value
|
18
18
|
|
19
19
|
# @return [String] Link to the next set of results. Not empty if Value
|
@@ -26,7 +26,7 @@ module Azure::ARM::EventHub
|
|
26
26
|
#
|
27
27
|
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
28
|
#
|
29
|
-
# @return [Array<
|
29
|
+
# @return [Array<EHNamespace>] operation results.
|
30
30
|
#
|
31
31
|
def get_all_items
|
32
32
|
items = @value
|
@@ -41,7 +41,7 @@ module Azure::ARM::EventHub
|
|
41
41
|
#
|
42
42
|
# Gets the next page of results.
|
43
43
|
#
|
44
|
-
# @return [
|
44
|
+
# @return [EHNamespaceListResult] with next page content.
|
45
45
|
#
|
46
46
|
def get_next_page
|
47
47
|
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
@@ -53,16 +53,16 @@ module Azure::ARM::EventHub
|
|
53
53
|
end
|
54
54
|
|
55
55
|
#
|
56
|
-
# Mapper for
|
56
|
+
# Mapper for EHNamespaceListResult class as Ruby Hash.
|
57
57
|
# This will be used for serialization/deserialization.
|
58
58
|
#
|
59
59
|
def self.mapper()
|
60
60
|
{
|
61
61
|
required: false,
|
62
|
-
serialized_name: '
|
62
|
+
serialized_name: 'EHNamespaceListResult',
|
63
63
|
type: {
|
64
64
|
name: 'Composite',
|
65
|
-
class_name: '
|
65
|
+
class_name: 'EHNamespaceListResult',
|
66
66
|
model_properties: {
|
67
67
|
value: {
|
68
68
|
required: false,
|
@@ -71,10 +71,10 @@ module Azure::ARM::EventHub
|
|
71
71
|
name: 'Sequence',
|
72
72
|
element: {
|
73
73
|
required: false,
|
74
|
-
serialized_name: '
|
74
|
+
serialized_name: 'EHNamespaceElementType',
|
75
75
|
type: {
|
76
76
|
name: 'Composite',
|
77
|
-
class_name: '
|
77
|
+
class_name: 'EHNamespace'
|
78
78
|
}
|
79
79
|
}
|
80
80
|
}
|
@@ -0,0 +1,16 @@
|
|
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::EventHub
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for EncodingCaptureDescription
|
10
|
+
#
|
11
|
+
module EncodingCaptureDescription
|
12
|
+
Avro = "Avro"
|
13
|
+
AvroDeflate = "AvroDeflate"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|