azure_mgmt_event_grid 0.20.1 → 0.20.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_event_grid.rb +108 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/domain_topics.rb +699 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/domains.rb +1328 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +161 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +3648 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +86 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/connection_state.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain.rb +212 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +52 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/ip_action_type.rb +15 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +121 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +64 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic.rb +213 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +150 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +122 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/operations.rb +118 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +791 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/private_link_resources.rb +423 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -0
- data/lib/2020-06-01/generated/azure_mgmt_event_grid/topics.rb +1439 -0
- data/lib/azure_mgmt_event_grid.rb +1 -0
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +184 -360
- data/lib/version.rb +1 -1
- metadata +86 -2
data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb
ADDED
@@ -0,0 +1,21 @@
|
|
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::EventGrid::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for EventSubscriptionProvisioningState
|
10
|
+
#
|
11
|
+
module EventSubscriptionProvisioningState
|
12
|
+
Creating = "Creating"
|
13
|
+
Updating = "Updating"
|
14
|
+
Deleting = "Deleting"
|
15
|
+
Succeeded = "Succeeded"
|
16
|
+
Canceled = "Canceled"
|
17
|
+
Failed = "Failed"
|
18
|
+
AwaitingManualAction = "AwaitingManualAction"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb
ADDED
@@ -0,0 +1,137 @@
|
|
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::EventGrid::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of the Event Subscription update.
|
10
|
+
#
|
11
|
+
class EventSubscriptionUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [EventSubscriptionDestination] Information about the
|
16
|
+
# destination where events have to be delivered for the event
|
17
|
+
# subscription.
|
18
|
+
attr_accessor :destination
|
19
|
+
|
20
|
+
# @return [EventSubscriptionFilter] Information about the filter for the
|
21
|
+
# event subscription.
|
22
|
+
attr_accessor :filter
|
23
|
+
|
24
|
+
# @return [Array<String>] List of user defined labels.
|
25
|
+
attr_accessor :labels
|
26
|
+
|
27
|
+
# @return [DateTime] Information about the expiration time for the event
|
28
|
+
# subscription.
|
29
|
+
attr_accessor :expiration_time_utc
|
30
|
+
|
31
|
+
# @return [EventDeliverySchema] The event delivery schema for the event
|
32
|
+
# subscription. Possible values include: 'EventGridSchema',
|
33
|
+
# 'CustomInputSchema', 'CloudEventSchemaV1_0'
|
34
|
+
attr_accessor :event_delivery_schema
|
35
|
+
|
36
|
+
# @return [RetryPolicy] The retry policy for events. This can be used to
|
37
|
+
# configure maximum number of delivery attempts and time to live for
|
38
|
+
# events.
|
39
|
+
attr_accessor :retry_policy
|
40
|
+
|
41
|
+
# @return [DeadLetterDestination] The DeadLetter destination of the event
|
42
|
+
# subscription.
|
43
|
+
attr_accessor :dead_letter_destination
|
44
|
+
|
45
|
+
|
46
|
+
#
|
47
|
+
# Mapper for EventSubscriptionUpdateParameters class as Ruby Hash.
|
48
|
+
# This will be used for serialization/deserialization.
|
49
|
+
#
|
50
|
+
def self.mapper()
|
51
|
+
{
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'EventSubscriptionUpdateParameters',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'EventSubscriptionUpdateParameters',
|
58
|
+
model_properties: {
|
59
|
+
destination: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'destination',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
polymorphic_discriminator: 'endpointType',
|
66
|
+
uber_parent: 'EventSubscriptionDestination',
|
67
|
+
class_name: 'EventSubscriptionDestination'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
filter: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'filter',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'EventSubscriptionFilter'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
labels: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'labels',
|
83
|
+
type: {
|
84
|
+
name: 'Sequence',
|
85
|
+
element: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'StringElementType',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
},
|
95
|
+
expiration_time_utc: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'expirationTimeUtc',
|
99
|
+
type: {
|
100
|
+
name: 'DateTime'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
event_delivery_schema: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
serialized_name: 'eventDeliverySchema',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
retry_policy: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'retryPolicy',
|
115
|
+
type: {
|
116
|
+
name: 'Composite',
|
117
|
+
class_name: 'RetryPolicy'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
dead_letter_destination: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'deadLetterDestination',
|
124
|
+
type: {
|
125
|
+
name: 'Composite',
|
126
|
+
polymorphic_discriminator: 'endpointType',
|
127
|
+
uber_parent: 'DeadLetterDestination',
|
128
|
+
class_name: 'DeadLetterDestination'
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
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::EventGrid::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the List EventSubscriptions operation
|
10
|
+
#
|
11
|
+
class EventSubscriptionsListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<EventSubscription>] A collection of EventSubscriptions
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] A link for the next page of event subscriptions
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<EventSubscription>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [EventSubscriptionsListResult] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for EventSubscriptionsListResult class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'EventSubscriptionsListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'EventSubscriptionsListResult',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'value',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'EventSubscriptionElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'EventSubscription'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
next_link: {
|
85
|
+
client_side_validation: true,
|
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,106 @@
|
|
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::EventGrid::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Event Type for a subject under a topic
|
10
|
+
#
|
11
|
+
class EventType < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Display name of the event type.
|
16
|
+
attr_accessor :display_name
|
17
|
+
|
18
|
+
# @return [String] Description of the event type.
|
19
|
+
attr_accessor :description
|
20
|
+
|
21
|
+
# @return [String] Url of the schema for this event type.
|
22
|
+
attr_accessor :schema_url
|
23
|
+
|
24
|
+
# @return [Boolean] IsInDefaultSet flag of the event type.
|
25
|
+
attr_accessor :is_in_default_set
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for EventType class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'EventType',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'EventType',
|
40
|
+
model_properties: {
|
41
|
+
id: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'id',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
name: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'name',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
type: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'type',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
display_name: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'properties.displayName',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
description: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'properties.description',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
schema_url: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'properties.schemaUrl',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
is_in_default_set: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'properties.isInDefaultSet',
|
96
|
+
type: {
|
97
|
+
name: 'Boolean'
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
@@ -0,0 +1,55 @@
|
|
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::EventGrid::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the List Event Types operation
|
10
|
+
#
|
11
|
+
class EventTypesListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<EventType>] A collection of event types
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for EventTypesListResult class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'EventTypesListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'EventTypesListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'EventTypeElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'EventType'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,64 @@
|
|
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::EventGrid::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information about the HybridConnection destination for an event
|
10
|
+
# subscription.
|
11
|
+
#
|
12
|
+
class HybridConnectionEventSubscriptionDestination < EventSubscriptionDestination
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@endpointType = "HybridConnection"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :endpointType
|
22
|
+
|
23
|
+
# @return [String] The Azure Resource ID of an hybrid connection that is
|
24
|
+
# the destination of an event subscription.
|
25
|
+
attr_accessor :resource_id
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for HybridConnectionEventSubscriptionDestination class as Ruby
|
30
|
+
# Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'HybridConnection',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'HybridConnectionEventSubscriptionDestination',
|
41
|
+
model_properties: {
|
42
|
+
endpointType: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: true,
|
45
|
+
serialized_name: 'endpointType',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
resource_id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'properties.resourceId',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|