azure_mgmt_event_grid 0.17.8 → 0.17.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- 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.rb +97 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +699 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/domains.rb +1328 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +153 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +3648 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +86 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +187 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +52 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +59 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/ip_action_type.rb +15 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +64 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +189 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +150 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +122 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/operations.rb +118 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/topics.rb +1439 -0
- data/lib/azure_mgmt_event_grid.rb +15 -14
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +327 -319
- data/lib/version.rb +7 -7
- metadata +76 -4
@@ -0,0 +1,74 @@
|
|
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_04_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# This is the base type that represents an advanced filter. To configure an
|
10
|
+
# advanced filter, do not directly instantiate an object of this class.
|
11
|
+
# Instead, instantiate an object of a derived class such as
|
12
|
+
# BoolEqualsAdvancedFilter, NumberInAdvancedFilter,
|
13
|
+
# StringEqualsAdvancedFilter etc. depending on the type of the key based on
|
14
|
+
# which you want to filter.
|
15
|
+
#
|
16
|
+
class AdvancedFilter
|
17
|
+
|
18
|
+
include MsRestAzure
|
19
|
+
|
20
|
+
@@discriminatorMap = Hash.new
|
21
|
+
@@discriminatorMap["NumberIn"] = "NumberInAdvancedFilter"
|
22
|
+
@@discriminatorMap["NumberNotIn"] = "NumberNotInAdvancedFilter"
|
23
|
+
@@discriminatorMap["NumberLessThan"] = "NumberLessThanAdvancedFilter"
|
24
|
+
@@discriminatorMap["NumberGreaterThan"] = "NumberGreaterThanAdvancedFilter"
|
25
|
+
@@discriminatorMap["NumberLessThanOrEquals"] = "NumberLessThanOrEqualsAdvancedFilter"
|
26
|
+
@@discriminatorMap["NumberGreaterThanOrEquals"] = "NumberGreaterThanOrEqualsAdvancedFilter"
|
27
|
+
@@discriminatorMap["BoolEquals"] = "BoolEqualsAdvancedFilter"
|
28
|
+
@@discriminatorMap["StringIn"] = "StringInAdvancedFilter"
|
29
|
+
@@discriminatorMap["StringNotIn"] = "StringNotInAdvancedFilter"
|
30
|
+
@@discriminatorMap["StringBeginsWith"] = "StringBeginsWithAdvancedFilter"
|
31
|
+
@@discriminatorMap["StringEndsWith"] = "StringEndsWithAdvancedFilter"
|
32
|
+
@@discriminatorMap["StringContains"] = "StringContainsAdvancedFilter"
|
33
|
+
|
34
|
+
def initialize
|
35
|
+
@operatorType = "AdvancedFilter"
|
36
|
+
end
|
37
|
+
|
38
|
+
attr_accessor :operatorType
|
39
|
+
|
40
|
+
# @return [String] The field/property in the event based on which you
|
41
|
+
# want to filter.
|
42
|
+
attr_accessor :key
|
43
|
+
|
44
|
+
|
45
|
+
#
|
46
|
+
# Mapper for AdvancedFilter class as Ruby Hash.
|
47
|
+
# This will be used for serialization/deserialization.
|
48
|
+
#
|
49
|
+
def self.mapper()
|
50
|
+
{
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'AdvancedFilter',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
polymorphic_discriminator: 'operatorType',
|
57
|
+
uber_parent: 'AdvancedFilter',
|
58
|
+
class_name: 'AdvancedFilter',
|
59
|
+
model_properties: {
|
60
|
+
key: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'key',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -0,0 +1,86 @@
|
|
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_04_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information about the azure function destination for an event
|
10
|
+
# subscription.
|
11
|
+
#
|
12
|
+
class AzureFunctionEventSubscriptionDestination < EventSubscriptionDestination
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@endpointType = "AzureFunction"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :endpointType
|
22
|
+
|
23
|
+
# @return [String] The Azure Resource Id that represents the endpoint of
|
24
|
+
# the Azure Function destination of an event subscription.
|
25
|
+
attr_accessor :resource_id
|
26
|
+
|
27
|
+
# @return [Integer] Maximum number of events per batch.
|
28
|
+
attr_accessor :max_events_per_batch
|
29
|
+
|
30
|
+
# @return [Integer] Preferred batch size in Kilobytes.
|
31
|
+
attr_accessor :preferred_batch_size_in_kilobytes
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for AzureFunctionEventSubscriptionDestination class as Ruby
|
36
|
+
# Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'AzureFunction',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'AzureFunctionEventSubscriptionDestination',
|
47
|
+
model_properties: {
|
48
|
+
endpointType: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: true,
|
51
|
+
serialized_name: 'endpointType',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
resource_id: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'properties.resourceId',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
max_events_per_batch: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'properties.maxEventsPerBatch',
|
68
|
+
type: {
|
69
|
+
name: 'Number'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
preferred_batch_size_in_kilobytes: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'properties.preferredBatchSizeInKilobytes',
|
76
|
+
type: {
|
77
|
+
name: 'Number'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb
ADDED
@@ -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::V2020_04_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# BoolEquals Advanced Filter.
|
10
|
+
#
|
11
|
+
class BoolEqualsAdvancedFilter < AdvancedFilter
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@operatorType = "BoolEquals"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :operatorType
|
21
|
+
|
22
|
+
# @return [Boolean] The boolean filter value.
|
23
|
+
attr_accessor :value
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for BoolEqualsAdvancedFilter 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: 'BoolEquals',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'BoolEqualsAdvancedFilter',
|
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: 'Boolean'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
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::V2020_04_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information about the dead letter destination for an event subscription.
|
10
|
+
# To configure a deadletter destination, do not directly instantiate an
|
11
|
+
# object of this class. Instead, instantiate an object of a derived class.
|
12
|
+
# Currently, StorageBlobDeadLetterDestination is the only class that
|
13
|
+
# derives from this class.
|
14
|
+
#
|
15
|
+
class DeadLetterDestination
|
16
|
+
|
17
|
+
include MsRestAzure
|
18
|
+
|
19
|
+
@@discriminatorMap = Hash.new
|
20
|
+
@@discriminatorMap["StorageBlob"] = "StorageBlobDeadLetterDestination"
|
21
|
+
|
22
|
+
def initialize
|
23
|
+
@endpointType = "DeadLetterDestination"
|
24
|
+
end
|
25
|
+
|
26
|
+
attr_accessor :endpointType
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for DeadLetterDestination class as Ruby 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: 'DeadLetterDestination',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
polymorphic_discriminator: 'endpointType',
|
41
|
+
uber_parent: 'DeadLetterDestination',
|
42
|
+
class_name: 'DeadLetterDestination',
|
43
|
+
model_properties: {
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,187 @@
|
|
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_04_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# EventGrid Domain.
|
10
|
+
#
|
11
|
+
class Domain < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DomainProvisioningState] Provisioning state of the domain.
|
16
|
+
# Possible values include: 'Creating', 'Updating', 'Deleting',
|
17
|
+
# 'Succeeded', 'Canceled', 'Failed'
|
18
|
+
attr_accessor :provisioning_state
|
19
|
+
|
20
|
+
# @return [String] Endpoint for the domain.
|
21
|
+
attr_accessor :endpoint
|
22
|
+
|
23
|
+
# @return [InputSchema] This determines the format that Event Grid should
|
24
|
+
# expect for incoming events published to the domain. Possible values
|
25
|
+
# include: 'EventGridSchema', 'CustomEventSchema',
|
26
|
+
# 'CloudEventSchemaV1_0'. Default value: 'EventGridSchema' .
|
27
|
+
attr_accessor :input_schema
|
28
|
+
|
29
|
+
# @return [InputSchemaMapping] Information about the InputSchemaMapping
|
30
|
+
# which specified the info about mapping event payload.
|
31
|
+
attr_accessor :input_schema_mapping
|
32
|
+
|
33
|
+
# @return [String] Metric resource id for the domain.
|
34
|
+
attr_accessor :metric_resource_id
|
35
|
+
|
36
|
+
# @return [Boolean] This determines if IP filtering rules ought to be
|
37
|
+
# evaluated or not. By default it will not evaluate and will allow
|
38
|
+
# traffic from all IPs.
|
39
|
+
attr_accessor :allow_traffic_from_all_ips
|
40
|
+
|
41
|
+
# @return [Array<InboundIpRule>] This determines the IP filtering rules
|
42
|
+
# that ought be applied when events are received on this domain.
|
43
|
+
attr_accessor :inbound_ip_rules
|
44
|
+
|
45
|
+
|
46
|
+
#
|
47
|
+
# Mapper for Domain 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: 'Domain',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'Domain',
|
58
|
+
model_properties: {
|
59
|
+
id: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'id',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
name: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'name',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
type: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
read_only: true,
|
81
|
+
serialized_name: 'type',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
location: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: true,
|
89
|
+
serialized_name: 'location',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
tags: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'tags',
|
98
|
+
type: {
|
99
|
+
name: 'Dictionary',
|
100
|
+
value: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'StringElementType',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
},
|
110
|
+
provisioning_state: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
read_only: true,
|
114
|
+
serialized_name: 'properties.provisioningState',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
endpoint: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
read_only: true,
|
123
|
+
serialized_name: 'properties.endpoint',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
input_schema: {
|
129
|
+
client_side_validation: true,
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'properties.inputSchema',
|
132
|
+
default_value: 'EventGridSchema',
|
133
|
+
type: {
|
134
|
+
name: 'String'
|
135
|
+
}
|
136
|
+
},
|
137
|
+
input_schema_mapping: {
|
138
|
+
client_side_validation: true,
|
139
|
+
required: false,
|
140
|
+
serialized_name: 'properties.inputSchemaMapping',
|
141
|
+
type: {
|
142
|
+
name: 'Composite',
|
143
|
+
polymorphic_discriminator: 'inputSchemaMappingType',
|
144
|
+
uber_parent: 'InputSchemaMapping',
|
145
|
+
class_name: 'InputSchemaMapping'
|
146
|
+
}
|
147
|
+
},
|
148
|
+
metric_resource_id: {
|
149
|
+
client_side_validation: true,
|
150
|
+
required: false,
|
151
|
+
serialized_name: 'properties.metricResourceId',
|
152
|
+
type: {
|
153
|
+
name: 'String'
|
154
|
+
}
|
155
|
+
},
|
156
|
+
allow_traffic_from_all_ips: {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'properties.allowTrafficFromAllIPs',
|
160
|
+
type: {
|
161
|
+
name: 'Boolean'
|
162
|
+
}
|
163
|
+
},
|
164
|
+
inbound_ip_rules: {
|
165
|
+
client_side_validation: true,
|
166
|
+
required: false,
|
167
|
+
serialized_name: 'properties.inboundIpRules',
|
168
|
+
type: {
|
169
|
+
name: 'Sequence',
|
170
|
+
element: {
|
171
|
+
client_side_validation: true,
|
172
|
+
required: false,
|
173
|
+
serialized_name: 'InboundIpRuleElementType',
|
174
|
+
type: {
|
175
|
+
name: 'Composite',
|
176
|
+
class_name: 'InboundIpRule'
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|