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
@@ -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::EventGrid::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for EventDeliverySchema
|
10
|
+
#
|
11
|
+
module EventDeliverySchema
|
12
|
+
EventGridSchema = "EventGridSchema"
|
13
|
+
CustomInputSchema = "CustomInputSchema"
|
14
|
+
CloudEventSchemaV10 = "CloudEventSchemaV1_0"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,62 @@
|
|
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 event hub destination for an event subscription.
|
10
|
+
#
|
11
|
+
class EventHubEventSubscriptionDestination < EventSubscriptionDestination
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@endpointType = "EventHub"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :endpointType
|
21
|
+
|
22
|
+
# @return [String] The Azure Resource Id that represents the endpoint of
|
23
|
+
# an Event Hub destination of an event subscription.
|
24
|
+
attr_accessor :resource_id
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for EventHubEventSubscriptionDestination class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'EventHub',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'EventHubEventSubscriptionDestination',
|
39
|
+
model_properties: {
|
40
|
+
endpointType: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'endpointType',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
resource_id: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'properties.resourceId',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,189 @@
|
|
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 Subscription
|
10
|
+
#
|
11
|
+
class EventSubscription < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the topic of the event subscription.
|
16
|
+
attr_accessor :topic
|
17
|
+
|
18
|
+
# @return [EventSubscriptionProvisioningState] Provisioning state of the
|
19
|
+
# event subscription. Possible values include: 'Creating', 'Updating',
|
20
|
+
# 'Deleting', 'Succeeded', 'Canceled', 'Failed', 'AwaitingManualAction'
|
21
|
+
attr_accessor :provisioning_state
|
22
|
+
|
23
|
+
# @return [EventSubscriptionDestination] Information about the
|
24
|
+
# destination where events have to be delivered for the event
|
25
|
+
# subscription.
|
26
|
+
attr_accessor :destination
|
27
|
+
|
28
|
+
# @return [EventSubscriptionFilter] Information about the filter for the
|
29
|
+
# event subscription.
|
30
|
+
attr_accessor :filter
|
31
|
+
|
32
|
+
# @return [Array<String>] List of user defined labels.
|
33
|
+
attr_accessor :labels
|
34
|
+
|
35
|
+
# @return [DateTime] Expiration time of the event subscription.
|
36
|
+
attr_accessor :expiration_time_utc
|
37
|
+
|
38
|
+
# @return [EventDeliverySchema] The event delivery schema for the event
|
39
|
+
# subscription. Possible values include: 'EventGridSchema',
|
40
|
+
# 'CustomInputSchema', 'CloudEventSchemaV1_0'
|
41
|
+
attr_accessor :event_delivery_schema
|
42
|
+
|
43
|
+
# @return [RetryPolicy] The retry policy for events. This can be used to
|
44
|
+
# configure maximum number of delivery attempts and time to live for
|
45
|
+
# events.
|
46
|
+
attr_accessor :retry_policy
|
47
|
+
|
48
|
+
# @return [DeadLetterDestination] The DeadLetter destination of the event
|
49
|
+
# subscription.
|
50
|
+
attr_accessor :dead_letter_destination
|
51
|
+
|
52
|
+
|
53
|
+
#
|
54
|
+
# Mapper for EventSubscription class as Ruby Hash.
|
55
|
+
# This will be used for serialization/deserialization.
|
56
|
+
#
|
57
|
+
def self.mapper()
|
58
|
+
{
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'EventSubscription',
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'EventSubscription',
|
65
|
+
model_properties: {
|
66
|
+
id: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'id',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
name: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
read_only: true,
|
79
|
+
serialized_name: 'name',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
type: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'type',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
topic: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'properties.topic',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
provisioning_state: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
read_only: true,
|
106
|
+
serialized_name: 'properties.provisioningState',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
destination: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'properties.destination',
|
115
|
+
type: {
|
116
|
+
name: 'Composite',
|
117
|
+
polymorphic_discriminator: 'endpointType',
|
118
|
+
uber_parent: 'EventSubscriptionDestination',
|
119
|
+
class_name: 'EventSubscriptionDestination'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
filter: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'properties.filter',
|
126
|
+
type: {
|
127
|
+
name: 'Composite',
|
128
|
+
class_name: 'EventSubscriptionFilter'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
labels: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
serialized_name: 'properties.labels',
|
135
|
+
type: {
|
136
|
+
name: 'Sequence',
|
137
|
+
element: {
|
138
|
+
client_side_validation: true,
|
139
|
+
required: false,
|
140
|
+
serialized_name: 'StringElementType',
|
141
|
+
type: {
|
142
|
+
name: 'String'
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
},
|
147
|
+
expiration_time_utc: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'properties.expirationTimeUtc',
|
151
|
+
type: {
|
152
|
+
name: 'DateTime'
|
153
|
+
}
|
154
|
+
},
|
155
|
+
event_delivery_schema: {
|
156
|
+
client_side_validation: true,
|
157
|
+
required: false,
|
158
|
+
serialized_name: 'properties.eventDeliverySchema',
|
159
|
+
type: {
|
160
|
+
name: 'String'
|
161
|
+
}
|
162
|
+
},
|
163
|
+
retry_policy: {
|
164
|
+
client_side_validation: true,
|
165
|
+
required: false,
|
166
|
+
serialized_name: 'properties.retryPolicy',
|
167
|
+
type: {
|
168
|
+
name: 'Composite',
|
169
|
+
class_name: 'RetryPolicy'
|
170
|
+
}
|
171
|
+
},
|
172
|
+
dead_letter_destination: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
serialized_name: 'properties.deadLetterDestination',
|
176
|
+
type: {
|
177
|
+
name: 'Composite',
|
178
|
+
polymorphic_discriminator: 'endpointType',
|
179
|
+
uber_parent: 'DeadLetterDestination',
|
180
|
+
class_name: 'DeadLetterDestination'
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
@@ -0,0 +1,52 @@
|
|
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 destination for an event subscription.
|
10
|
+
#
|
11
|
+
class EventSubscriptionDestination
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
@@discriminatorMap = Hash.new
|
16
|
+
@@discriminatorMap["WebHook"] = "WebHookEventSubscriptionDestination"
|
17
|
+
@@discriminatorMap["EventHub"] = "EventHubEventSubscriptionDestination"
|
18
|
+
@@discriminatorMap["StorageQueue"] = "StorageQueueEventSubscriptionDestination"
|
19
|
+
@@discriminatorMap["HybridConnection"] = "HybridConnectionEventSubscriptionDestination"
|
20
|
+
@@discriminatorMap["ServiceBusQueue"] = "ServiceBusQueueEventSubscriptionDestination"
|
21
|
+
@@discriminatorMap["ServiceBusTopic"] = "ServiceBusTopicEventSubscriptionDestination"
|
22
|
+
@@discriminatorMap["AzureFunction"] = "AzureFunctionEventSubscriptionDestination"
|
23
|
+
|
24
|
+
def initialize
|
25
|
+
@endpointType = "EventSubscriptionDestination"
|
26
|
+
end
|
27
|
+
|
28
|
+
attr_accessor :endpointType
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for EventSubscriptionDestination class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'EventSubscriptionDestination',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
polymorphic_discriminator: 'endpointType',
|
43
|
+
uber_parent: 'EventSubscriptionDestination',
|
44
|
+
class_name: 'EventSubscriptionDestination',
|
45
|
+
model_properties: {
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,120 @@
|
|
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
|
+
# Filter for the Event Subscription.
|
10
|
+
#
|
11
|
+
class EventSubscriptionFilter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] An optional string to filter events for an event
|
16
|
+
# subscription based on a resource path prefix.
|
17
|
+
# The format of this depends on the publisher of the events.
|
18
|
+
# Wildcard characters are not supported in this path.
|
19
|
+
attr_accessor :subject_begins_with
|
20
|
+
|
21
|
+
# @return [String] An optional string to filter events for an event
|
22
|
+
# subscription based on a resource path suffix.
|
23
|
+
# Wildcard characters are not supported in this path.
|
24
|
+
attr_accessor :subject_ends_with
|
25
|
+
|
26
|
+
# @return [Array<String>] A list of applicable event types that need to
|
27
|
+
# be part of the event subscription. If it is desired to subscribe to all
|
28
|
+
# default event types, set the IncludedEventTypes to null.
|
29
|
+
attr_accessor :included_event_types
|
30
|
+
|
31
|
+
# @return [Boolean] Specifies if the SubjectBeginsWith and
|
32
|
+
# SubjectEndsWith properties of the filter
|
33
|
+
# should be compared in a case sensitive manner. Default value: false .
|
34
|
+
attr_accessor :is_subject_case_sensitive
|
35
|
+
|
36
|
+
# @return [Array<AdvancedFilter>] An array of advanced filters that are
|
37
|
+
# used for filtering event subscriptions.
|
38
|
+
attr_accessor :advanced_filters
|
39
|
+
|
40
|
+
|
41
|
+
#
|
42
|
+
# Mapper for EventSubscriptionFilter class as Ruby Hash.
|
43
|
+
# This will be used for serialization/deserialization.
|
44
|
+
#
|
45
|
+
def self.mapper()
|
46
|
+
{
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'EventSubscriptionFilter',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'EventSubscriptionFilter',
|
53
|
+
model_properties: {
|
54
|
+
subject_begins_with: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'subjectBeginsWith',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
subject_ends_with: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'subjectEndsWith',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
included_event_types: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'includedEventTypes',
|
74
|
+
type: {
|
75
|
+
name: 'Sequence',
|
76
|
+
element: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'StringElementType',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
is_subject_case_sensitive: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'isSubjectCaseSensitive',
|
90
|
+
default_value: false,
|
91
|
+
type: {
|
92
|
+
name: 'Boolean'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
advanced_filters: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'advancedFilters',
|
99
|
+
type: {
|
100
|
+
name: 'Sequence',
|
101
|
+
element: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'AdvancedFilterElementType',
|
105
|
+
type: {
|
106
|
+
name: 'Composite',
|
107
|
+
polymorphic_discriminator: 'operatorType',
|
108
|
+
uber_parent: 'AdvancedFilter',
|
109
|
+
class_name: 'AdvancedFilter'
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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
|
+
# Full endpoint url of an event subscription
|
10
|
+
#
|
11
|
+
class EventSubscriptionFullUrl
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The URL that represents the endpoint of the
|
16
|
+
# destination of an event subscription.
|
17
|
+
attr_accessor :endpoint_url
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for EventSubscriptionFullUrl class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'EventSubscriptionFullUrl',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'EventSubscriptionFullUrl',
|
32
|
+
model_properties: {
|
33
|
+
endpoint_url: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'endpointUrl',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|