azure_mgmt_event_hub 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,5 +1,5 @@
|
|
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
|
|
@@ -8,16 +8,17 @@ module Azure::ARM::EventHub
|
|
8
8
|
#
|
9
9
|
# Namespace/EventHub Connection String
|
10
10
|
#
|
11
|
-
class
|
11
|
+
class AccessKeys
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] Primary connection string of the created namespace
|
16
|
-
#
|
17
|
+
# AuthorizationRule.
|
17
18
|
attr_accessor :primary_connection_string
|
18
19
|
|
19
20
|
# @return [String] Secondary connection string of the created namespace
|
20
|
-
#
|
21
|
+
# AuthorizationRule.
|
21
22
|
attr_accessor :secondary_connection_string
|
22
23
|
|
23
24
|
# @return [String] A base64-encoded 256-bit primary key for signing and
|
@@ -28,21 +29,21 @@ module Azure::ARM::EventHub
|
|
28
29
|
# validating the SAS token.
|
29
30
|
attr_accessor :secondary_key
|
30
31
|
|
31
|
-
# @return [String] A string that describes the
|
32
|
+
# @return [String] A string that describes the AuthorizationRule.
|
32
33
|
attr_accessor :key_name
|
33
34
|
|
34
35
|
|
35
36
|
#
|
36
|
-
# Mapper for
|
37
|
+
# Mapper for AccessKeys class as Ruby Hash.
|
37
38
|
# This will be used for serialization/deserialization.
|
38
39
|
#
|
39
40
|
def self.mapper()
|
40
41
|
{
|
41
42
|
required: false,
|
42
|
-
serialized_name: '
|
43
|
+
serialized_name: 'AccessKeys',
|
43
44
|
type: {
|
44
45
|
name: 'Composite',
|
45
|
-
class_name: '
|
46
|
+
class_name: 'AccessKeys',
|
46
47
|
model_properties: {
|
47
48
|
primary_connection_string: {
|
48
49
|
required: false,
|
@@ -1,57 +1,60 @@
|
|
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
|
-
#
|
10
|
-
# operation.
|
9
|
+
# Single item in a List or Get AuthorizationRule operation
|
11
10
|
#
|
12
|
-
class
|
11
|
+
class AuthorizationRule < MsRestAzure::Resource
|
13
12
|
|
14
13
|
include MsRestAzure
|
15
14
|
|
16
|
-
|
17
|
-
attr_accessor :location
|
18
|
-
|
19
|
-
# @return [String] Name of the authorization rule.
|
20
|
-
attr_accessor :name
|
21
|
-
|
15
|
+
include MsRest::JSONable
|
22
16
|
# @return [Array<AccessRights>] The rights associated with the rule.
|
23
17
|
attr_accessor :rights
|
24
18
|
|
25
19
|
|
26
20
|
#
|
27
|
-
# Mapper for
|
28
|
-
# as Ruby Hash.
|
21
|
+
# Mapper for AuthorizationRule class as Ruby Hash.
|
29
22
|
# This will be used for serialization/deserialization.
|
30
23
|
#
|
31
24
|
def self.mapper()
|
32
25
|
{
|
33
26
|
required: false,
|
34
|
-
serialized_name: '
|
27
|
+
serialized_name: 'AuthorizationRule',
|
35
28
|
type: {
|
36
29
|
name: 'Composite',
|
37
|
-
class_name: '
|
30
|
+
class_name: 'AuthorizationRule',
|
38
31
|
model_properties: {
|
39
|
-
|
32
|
+
id: {
|
40
33
|
required: false,
|
41
|
-
|
34
|
+
read_only: true,
|
35
|
+
serialized_name: 'id',
|
42
36
|
type: {
|
43
37
|
name: 'String'
|
44
38
|
}
|
45
39
|
},
|
46
40
|
name: {
|
47
41
|
required: false,
|
42
|
+
read_only: true,
|
48
43
|
serialized_name: 'name',
|
49
44
|
type: {
|
50
45
|
name: 'String'
|
51
46
|
}
|
52
47
|
},
|
48
|
+
type: {
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'type',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
53
56
|
rights: {
|
54
|
-
required:
|
57
|
+
required: false,
|
55
58
|
serialized_name: 'properties.rights',
|
56
59
|
type: {
|
57
60
|
name: 'Sequence',
|
@@ -59,8 +62,7 @@ module Azure::ARM::EventHub
|
|
59
62
|
required: false,
|
60
63
|
serialized_name: 'AccessRightsElementType',
|
61
64
|
type: {
|
62
|
-
name: '
|
63
|
-
module: 'AccessRights'
|
65
|
+
name: 'String'
|
64
66
|
}
|
65
67
|
}
|
66
68
|
}
|
@@ -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 response from the List
|
9
|
+
# The response from the List namespace operation.
|
10
10
|
#
|
11
|
-
class
|
11
|
+
class AuthorizationRuleListResult
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
|
16
|
-
# List Authorization
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<AuthorizationRule>] Result of the List Authorization
|
17
|
+
# Rules operation.
|
17
18
|
attr_accessor :value
|
18
19
|
|
19
20
|
# @return [String] Link to the next set of results. Not empty if Value
|
@@ -26,8 +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
|
-
# results.
|
30
|
+
# @return [Array<AuthorizationRule>] operation results.
|
31
31
|
#
|
32
32
|
def get_all_items
|
33
33
|
items = @value
|
@@ -42,8 +42,7 @@ module Azure::ARM::EventHub
|
|
42
42
|
#
|
43
43
|
# Gets the next page of results.
|
44
44
|
#
|
45
|
-
# @return [
|
46
|
-
# content.
|
45
|
+
# @return [AuthorizationRuleListResult] with next page content.
|
47
46
|
#
|
48
47
|
def get_next_page
|
49
48
|
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
@@ -55,16 +54,16 @@ module Azure::ARM::EventHub
|
|
55
54
|
end
|
56
55
|
|
57
56
|
#
|
58
|
-
# Mapper for
|
57
|
+
# Mapper for AuthorizationRuleListResult class as Ruby Hash.
|
59
58
|
# This will be used for serialization/deserialization.
|
60
59
|
#
|
61
60
|
def self.mapper()
|
62
61
|
{
|
63
62
|
required: false,
|
64
|
-
serialized_name: '
|
63
|
+
serialized_name: 'AuthorizationRuleListResult',
|
65
64
|
type: {
|
66
65
|
name: 'Composite',
|
67
|
-
class_name: '
|
66
|
+
class_name: 'AuthorizationRuleListResult',
|
68
67
|
model_properties: {
|
69
68
|
value: {
|
70
69
|
required: false,
|
@@ -73,10 +72,10 @@ module Azure::ARM::EventHub
|
|
73
72
|
name: 'Sequence',
|
74
73
|
element: {
|
75
74
|
required: false,
|
76
|
-
serialized_name: '
|
75
|
+
serialized_name: 'AuthorizationRuleElementType',
|
77
76
|
type: {
|
78
77
|
name: 'Composite',
|
79
|
-
class_name: '
|
78
|
+
class_name: 'AuthorizationRule'
|
80
79
|
}
|
81
80
|
}
|
82
81
|
}
|
@@ -0,0 +1,103 @@
|
|
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
|
+
# Properties to configure capture description for eventhub
|
10
|
+
#
|
11
|
+
class CaptureDescription
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Boolean] A value that indicates whether capture description is
|
17
|
+
# enabled.
|
18
|
+
attr_accessor :enabled
|
19
|
+
|
20
|
+
# @return [EncodingCaptureDescription] Enumerates the possible values for
|
21
|
+
# the encoding format of capture description. Possible values include:
|
22
|
+
# 'Avro', 'AvroDeflate'
|
23
|
+
attr_accessor :encoding
|
24
|
+
|
25
|
+
# @return [Integer] The time window allows you to set the frequency with
|
26
|
+
# which the capture to Azure Blobs will happen, value should between 60
|
27
|
+
# to 900 seconds
|
28
|
+
attr_accessor :interval_in_seconds
|
29
|
+
|
30
|
+
# @return [Integer] The size window defines the amount of data built up
|
31
|
+
# in your Event Hub before an capture operation, value should be between
|
32
|
+
# 10485760 to 524288000 bytes
|
33
|
+
attr_accessor :size_limit_in_bytes
|
34
|
+
|
35
|
+
# @return [Destination] Properties of Destination where capture will be
|
36
|
+
# stored. (Storage Account, Blob Names)
|
37
|
+
attr_accessor :destination
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for CaptureDescription class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'CaptureDescription',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'CaptureDescription',
|
51
|
+
model_properties: {
|
52
|
+
enabled: {
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'enabled',
|
55
|
+
type: {
|
56
|
+
name: 'Boolean'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
encoding: {
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'encoding',
|
62
|
+
type: {
|
63
|
+
name: 'Enum',
|
64
|
+
module: 'EncodingCaptureDescription'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
interval_in_seconds: {
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'intervalInSeconds',
|
70
|
+
constraints: {
|
71
|
+
InclusiveMaximum: 900,
|
72
|
+
InclusiveMinimum: 60
|
73
|
+
},
|
74
|
+
type: {
|
75
|
+
name: 'Number'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
size_limit_in_bytes: {
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'sizeLimitInBytes',
|
81
|
+
constraints: {
|
82
|
+
InclusiveMaximum: 524288000,
|
83
|
+
InclusiveMinimum: 10485760
|
84
|
+
},
|
85
|
+
type: {
|
86
|
+
name: 'Number'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
destination: {
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'destination',
|
92
|
+
type: {
|
93
|
+
name: 'Composite',
|
94
|
+
class_name: 'Destination'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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
|
+
# Parameter supplied to check Namespace name availability operation
|
10
|
+
#
|
11
|
+
class CheckNameAvailabilityParameter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] Name to check the namespace name availability
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for CheckNameAvailabilityParameter class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'CheckNameAvailabilityParameter',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'CheckNameAvailabilityParameter',
|
31
|
+
model_properties: {
|
32
|
+
name: {
|
33
|
+
required: true,
|
34
|
+
serialized_name: 'name',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,72 @@
|
|
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
|
+
# The Result of the CheckNameAvailability operation
|
10
|
+
#
|
11
|
+
class CheckNameAvailabilityResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The detailed info regarding the reason associated with
|
17
|
+
# the Namespace.
|
18
|
+
attr_accessor :message
|
19
|
+
|
20
|
+
# @return [Boolean] Value indicating Namespace is availability, true if
|
21
|
+
# the Namespace is available; otherwise, false.
|
22
|
+
attr_accessor :name_available
|
23
|
+
|
24
|
+
# @return [UnavailableReason] The reason for unavailability of a
|
25
|
+
# Namespace. Possible values include: 'None', 'InvalidName',
|
26
|
+
# 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown',
|
27
|
+
# 'TooManyNamespaceInCurrentSubscription'
|
28
|
+
attr_accessor :reason
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for CheckNameAvailabilityResult class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'CheckNameAvailabilityResult',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'CheckNameAvailabilityResult',
|
42
|
+
model_properties: {
|
43
|
+
message: {
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'message',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
name_available: {
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'nameAvailable',
|
54
|
+
type: {
|
55
|
+
name: 'Boolean'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
reason: {
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'reason',
|
61
|
+
type: {
|
62
|
+
name: 'Enum',
|
63
|
+
module: 'UnavailableReason'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|