azure_mgmt_event_grid 0.17.1 → 0.17.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.rb +91 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +231 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/domains.rb +986 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +153 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +1917 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +70 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +140 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +62 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +49 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +95 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +65 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +116 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +299 -0
- data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +1095 -0
- data/lib/azure_mgmt_event_grid.rb +1 -0
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +187 -99
- data/lib/version.rb +1 -1
- metadata +69 -2
@@ -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::V2018_09_15_preview
|
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::V2018_09_15_preview
|
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
|
@@ -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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for InputSchema
|
10
|
+
#
|
11
|
+
module InputSchema
|
12
|
+
EventGridSchema = "EventGridSchema"
|
13
|
+
CustomEventSchema = "CustomEventSchema"
|
14
|
+
CloudEventV01Schema = "CloudEventV01Schema"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,49 @@
|
|
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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# By default, Event Grid expects events to be in the Event Grid event
|
10
|
+
# schema. Specifying an input schema mapping enables publishing to Event
|
11
|
+
# Grid using a custom input schema. Currently, the only supported type of
|
12
|
+
# InputSchemaMapping is 'JsonInputSchemaMapping'.
|
13
|
+
#
|
14
|
+
class InputSchemaMapping
|
15
|
+
|
16
|
+
include MsRestAzure
|
17
|
+
|
18
|
+
@@discriminatorMap = Hash.new
|
19
|
+
@@discriminatorMap["Json"] = "JsonInputSchemaMapping"
|
20
|
+
|
21
|
+
def initialize
|
22
|
+
@inputSchemaMappingType = "InputSchemaMapping"
|
23
|
+
end
|
24
|
+
|
25
|
+
attr_accessor :inputSchemaMappingType
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for InputSchemaMapping 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: 'InputSchemaMapping',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
polymorphic_discriminator: 'inputSchemaMappingType',
|
40
|
+
uber_parent: 'InputSchemaMapping',
|
41
|
+
class_name: 'InputSchemaMapping',
|
42
|
+
model_properties: {
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# This is used to express the source of an input schema mapping for a
|
10
|
+
# single target field in the Event Grid Event schema. This is currently
|
11
|
+
# used in the mappings for the 'id','topic' and 'eventtime' properties.
|
12
|
+
# This represents a field in the input event schema.
|
13
|
+
#
|
14
|
+
class JsonField
|
15
|
+
|
16
|
+
include MsRestAzure
|
17
|
+
|
18
|
+
# @return [String] Name of a field in the input event schema that's to be
|
19
|
+
# used as the source of a mapping.
|
20
|
+
attr_accessor :source_field
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for JsonField class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'JsonField',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'JsonField',
|
35
|
+
model_properties: {
|
36
|
+
source_field: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'sourceField',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,65 @@
|
|
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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# This is used to express the source of an input schema mapping for a
|
10
|
+
# single target field in the Event Grid Event schema. This is currently
|
11
|
+
# used in the mappings for the 'subject','eventtype' and 'dataversion'
|
12
|
+
# properties. This represents a field in the input event schema along with
|
13
|
+
# a default value to be used, and at least one of these two properties
|
14
|
+
# should be provided.
|
15
|
+
#
|
16
|
+
class JsonFieldWithDefault
|
17
|
+
|
18
|
+
include MsRestAzure
|
19
|
+
|
20
|
+
# @return [String] Name of a field in the input event schema that's to be
|
21
|
+
# used as the source of a mapping.
|
22
|
+
attr_accessor :source_field
|
23
|
+
|
24
|
+
# @return [String] The default value to be used for mapping when a
|
25
|
+
# SourceField is not provided or if there's no property with the
|
26
|
+
# specified name in the published JSON event payload.
|
27
|
+
attr_accessor :default_value
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for JsonFieldWithDefault class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'JsonFieldWithDefault',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'JsonFieldWithDefault',
|
42
|
+
model_properties: {
|
43
|
+
source_field: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'sourceField',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
default_value: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'defaultValue',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb
ADDED
@@ -0,0 +1,130 @@
|
|
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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# This enables publishing to Event Grid using a custom input schema. This
|
10
|
+
# can be used to map properties from a custom input JSON schema to the
|
11
|
+
# Event Grid event schema.
|
12
|
+
#
|
13
|
+
class JsonInputSchemaMapping < InputSchemaMapping
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
|
18
|
+
def initialize
|
19
|
+
@inputSchemaMappingType = "Json"
|
20
|
+
end
|
21
|
+
|
22
|
+
attr_accessor :inputSchemaMappingType
|
23
|
+
|
24
|
+
# @return [JsonField] The mapping information for the Id property of the
|
25
|
+
# Event Grid Event.
|
26
|
+
attr_accessor :id
|
27
|
+
|
28
|
+
# @return [JsonField] The mapping information for the Topic property of
|
29
|
+
# the Event Grid Event.
|
30
|
+
attr_accessor :topic
|
31
|
+
|
32
|
+
# @return [JsonField] The mapping information for the EventTime property
|
33
|
+
# of the Event Grid Event.
|
34
|
+
attr_accessor :event_time
|
35
|
+
|
36
|
+
# @return [JsonFieldWithDefault] The mapping information for the
|
37
|
+
# EventType property of the Event Grid Event.
|
38
|
+
attr_accessor :event_type
|
39
|
+
|
40
|
+
# @return [JsonFieldWithDefault] The mapping information for the Subject
|
41
|
+
# property of the Event Grid Event.
|
42
|
+
attr_accessor :subject
|
43
|
+
|
44
|
+
# @return [JsonFieldWithDefault] The mapping information for the
|
45
|
+
# DataVersion property of the Event Grid Event.
|
46
|
+
attr_accessor :data_version
|
47
|
+
|
48
|
+
|
49
|
+
#
|
50
|
+
# Mapper for JsonInputSchemaMapping class as Ruby Hash.
|
51
|
+
# This will be used for serialization/deserialization.
|
52
|
+
#
|
53
|
+
def self.mapper()
|
54
|
+
{
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'Json',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'JsonInputSchemaMapping',
|
61
|
+
model_properties: {
|
62
|
+
inputSchemaMappingType: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: true,
|
65
|
+
serialized_name: 'inputSchemaMappingType',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
id: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'properties.id',
|
74
|
+
type: {
|
75
|
+
name: 'Composite',
|
76
|
+
class_name: 'JsonField'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
topic: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'properties.topic',
|
83
|
+
type: {
|
84
|
+
name: 'Composite',
|
85
|
+
class_name: 'JsonField'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
event_time: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'properties.eventTime',
|
92
|
+
type: {
|
93
|
+
name: 'Composite',
|
94
|
+
class_name: 'JsonField'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
event_type: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'properties.eventType',
|
101
|
+
type: {
|
102
|
+
name: 'Composite',
|
103
|
+
class_name: 'JsonFieldWithDefault'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
subject: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'properties.subject',
|
110
|
+
type: {
|
111
|
+
name: 'Composite',
|
112
|
+
class_name: 'JsonFieldWithDefault'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
data_version: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'properties.dataVersion',
|
119
|
+
type: {
|
120
|
+
name: 'Composite',
|
121
|
+
class_name: 'JsonFieldWithDefault'
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
@@ -0,0 +1,69 @@
|
|
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::V2018_09_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# NumberGreaterThan Filter
|
10
|
+
#
|
11
|
+
class NumberGreaterThanAdvancedFilter < AdvancedFilter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@operatorType = "NumberGreaterThan"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :operatorType
|
21
|
+
|
22
|
+
# @return [Float] The filter value
|
23
|
+
attr_accessor :value
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for NumberGreaterThanAdvancedFilter class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'NumberGreaterThan',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'NumberGreaterThanAdvancedFilter',
|
38
|
+
model_properties: {
|
39
|
+
key: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'key',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
operatorType: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'operatorType',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
value: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'value',
|
59
|
+
type: {
|
60
|
+
name: 'Double'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|