azure_mgmt_event_grid 0.20.2 → 0.21.0
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/event_grid_management_client.rb +1 -1
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid.rb +171 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb +699 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/domains.rb +1328 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/event_channels.rb +658 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +194 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +3775 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/extension_topics.rb +141 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +81 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +112 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/connection_state.rb +69 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/created_by_type.rb +18 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_with_resource_identity.rb +66 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_attribute_list_result.rb +58 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_attribute_mapping.rb +58 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_with_resource_identity.rb +67 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain.rb +253 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +89 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +117 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/dynamic_delivery_attribute_mapping.rb +69 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel.rb +172 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_destination.rb +75 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb +70 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_provisioning_state.rb +20 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_source.rb +48 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb +98 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +84 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +244 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +52 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +132 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb +61 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity_type.rb +16 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +176 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/extended_location.rb +57 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/extension_topic.rb +86 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +86 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/identity_info.rb +96 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/identity_type.rb +18 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +59 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/ip_action_type.rb +15 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/is_not_null_advanced_filter.rb +58 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/is_null_or_undefined_advanced_filter.rb +58 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_in_range_advanced_filter.rb +85 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_range_advanced_filter.rb +85 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace.rb +140 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_provisioning_state.rb +20 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb +46 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb +57 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_update_parameters.rb +54 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespaces_list_result.rb +98 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb +278 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb +68 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_provisioning_state.rb +20 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb +137 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_visibility_state.rb +17 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb +99 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb +179 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_activation_state.rb +17 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_provisioning_state.rb +20 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_readiness_state.rb +18 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_type.rb +134 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_type_authorization_state.rb +17 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_types_list_result.rb +55 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_update_parameters.rb +54 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb +98 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +121 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_kind.rb +16 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb +47 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +61 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +85 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +86 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/sku.rb +16 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/static_delivery_attribute_mapping.rb +81 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +86 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_begins_with_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_contains_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_ends_with_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_data.rb +105 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topic.rb +159 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topic_update_parameters.rb +66 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topics_list_result.rb +98 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +278 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +169 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +117 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/user_identity_properties.rb +57 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +148 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/operations.rb +118 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_namespaces.rb +1333 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_registrations.rb +1074 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_topic_event_subscriptions.rb +1156 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/partner_topics.rb +1102 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +791 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/private_link_resources.rb +423 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/system_topic_event_subscriptions.rb +1152 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/system_topics.rb +1128 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +305 -0
- data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/topics.rb +1489 -0
- data/lib/azure_mgmt_event_grid.rb +8 -7
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +417 -181
- data/lib/version.rb +1 -1
- metadata +150 -3
data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb
ADDED
@@ -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_10_15_preview
|
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
|
data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb
ADDED
@@ -0,0 +1,132 @@
|
|
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_10_15_preview
|
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 [Boolean] Allows advanced filters to be evaluated against an
|
37
|
+
# array of values instead of expecting a singular value.
|
38
|
+
attr_accessor :enable_advanced_filtering_on_arrays
|
39
|
+
|
40
|
+
# @return [Array<AdvancedFilter>] An array of advanced filters that are
|
41
|
+
# used for filtering event subscriptions.
|
42
|
+
attr_accessor :advanced_filters
|
43
|
+
|
44
|
+
|
45
|
+
#
|
46
|
+
# Mapper for EventSubscriptionFilter 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: 'EventSubscriptionFilter',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'EventSubscriptionFilter',
|
57
|
+
model_properties: {
|
58
|
+
subject_begins_with: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'subjectBeginsWith',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
subject_ends_with: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'subjectEndsWith',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
included_event_types: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'includedEventTypes',
|
78
|
+
type: {
|
79
|
+
name: 'Sequence',
|
80
|
+
element: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'StringElementType',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
},
|
90
|
+
is_subject_case_sensitive: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'isSubjectCaseSensitive',
|
94
|
+
default_value: false,
|
95
|
+
type: {
|
96
|
+
name: 'Boolean'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
enable_advanced_filtering_on_arrays: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'enableAdvancedFilteringOnArrays',
|
103
|
+
type: {
|
104
|
+
name: 'Boolean'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
advanced_filters: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'advancedFilters',
|
111
|
+
type: {
|
112
|
+
name: 'Sequence',
|
113
|
+
element: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'AdvancedFilterElementType',
|
117
|
+
type: {
|
118
|
+
name: 'Composite',
|
119
|
+
polymorphic_discriminator: 'operatorType',
|
120
|
+
uber_parent: 'AdvancedFilter',
|
121
|
+
class_name: 'AdvancedFilter'
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb
ADDED
@@ -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_10_15_preview
|
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
|
data/lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb
ADDED
@@ -0,0 +1,61 @@
|
|
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_10_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The identity information with the event subscription.
|
10
|
+
#
|
11
|
+
class EventSubscriptionIdentity
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [EventSubscriptionIdentityType] The type of managed identity
|
16
|
+
# used. The type 'SystemAssigned, UserAssigned' includes both an
|
17
|
+
# implicitly created identity and a set of user-assigned identities. The
|
18
|
+
# type 'None' will remove any identity. Possible values include:
|
19
|
+
# 'SystemAssigned', 'UserAssigned'
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
# @return [String] The user identity associated with the resource.
|
23
|
+
attr_accessor :user_assigned_identity
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for EventSubscriptionIdentity 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: 'EventSubscriptionIdentity',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'EventSubscriptionIdentity',
|
38
|
+
model_properties: {
|
39
|
+
type: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'type',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
user_assigned_identity: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'userAssignedIdentity',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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_10_15_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for EventSubscriptionIdentityType
|
10
|
+
#
|
11
|
+
module EventSubscriptionIdentityType
|
12
|
+
SystemAssigned = "SystemAssigned"
|
13
|
+
UserAssigned = "UserAssigned"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -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_10_15_preview
|
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
|
@@ -0,0 +1,176 @@
|
|
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_10_15_preview
|
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
|
+
# Uses Azure Event Grid's identity to acquire the authentication tokens
|
19
|
+
# being used during delivery / dead-lettering.
|
20
|
+
attr_accessor :destination
|
21
|
+
|
22
|
+
# @return [DeliveryWithResourceIdentity] Information about the
|
23
|
+
# destination where events have to be delivered for the event
|
24
|
+
# subscription.
|
25
|
+
# Uses the managed identity setup on the parent resource (topic / domain)
|
26
|
+
# to acquire the authentication tokens being used during delivery /
|
27
|
+
# dead-lettering.
|
28
|
+
attr_accessor :delivery_with_resource_identity
|
29
|
+
|
30
|
+
# @return [EventSubscriptionFilter] Information about the filter for the
|
31
|
+
# event subscription.
|
32
|
+
attr_accessor :filter
|
33
|
+
|
34
|
+
# @return [Array<String>] List of user defined labels.
|
35
|
+
attr_accessor :labels
|
36
|
+
|
37
|
+
# @return [DateTime] Information about the expiration time for the event
|
38
|
+
# subscription.
|
39
|
+
attr_accessor :expiration_time_utc
|
40
|
+
|
41
|
+
# @return [EventDeliverySchema] The event delivery schema for the event
|
42
|
+
# subscription. Possible values include: 'EventGridSchema',
|
43
|
+
# 'CustomInputSchema', 'CloudEventSchemaV1_0'
|
44
|
+
attr_accessor :event_delivery_schema
|
45
|
+
|
46
|
+
# @return [RetryPolicy] The retry policy for events. This can be used to
|
47
|
+
# configure maximum number of delivery attempts and time to live for
|
48
|
+
# events.
|
49
|
+
attr_accessor :retry_policy
|
50
|
+
|
51
|
+
# @return [DeadLetterDestination] The dead letter destination of the
|
52
|
+
# event subscription. Any event that cannot be delivered to its'
|
53
|
+
# destination is sent to the dead letter destination.
|
54
|
+
# Uses Azure Event Grid's identity to acquire the authentication tokens
|
55
|
+
# being used during delivery / dead-lettering.
|
56
|
+
attr_accessor :dead_letter_destination
|
57
|
+
|
58
|
+
# @return [DeadLetterWithResourceIdentity] The dead letter destination of
|
59
|
+
# the event subscription. Any event that cannot be delivered to its'
|
60
|
+
# destination is sent to the dead letter destination.
|
61
|
+
# Uses the managed identity setup on the parent resource (topic / domain)
|
62
|
+
# to acquire the authentication tokens being used during delivery /
|
63
|
+
# dead-lettering.
|
64
|
+
attr_accessor :dead_letter_with_resource_identity
|
65
|
+
|
66
|
+
|
67
|
+
#
|
68
|
+
# Mapper for EventSubscriptionUpdateParameters class as Ruby Hash.
|
69
|
+
# This will be used for serialization/deserialization.
|
70
|
+
#
|
71
|
+
def self.mapper()
|
72
|
+
{
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'EventSubscriptionUpdateParameters',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'EventSubscriptionUpdateParameters',
|
79
|
+
model_properties: {
|
80
|
+
destination: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'destination',
|
84
|
+
type: {
|
85
|
+
name: 'Composite',
|
86
|
+
polymorphic_discriminator: 'endpointType',
|
87
|
+
uber_parent: 'EventSubscriptionDestination',
|
88
|
+
class_name: 'EventSubscriptionDestination'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
delivery_with_resource_identity: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'deliveryWithResourceIdentity',
|
95
|
+
type: {
|
96
|
+
name: 'Composite',
|
97
|
+
class_name: 'DeliveryWithResourceIdentity'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
filter: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'filter',
|
104
|
+
type: {
|
105
|
+
name: 'Composite',
|
106
|
+
class_name: 'EventSubscriptionFilter'
|
107
|
+
}
|
108
|
+
},
|
109
|
+
labels: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
serialized_name: 'labels',
|
113
|
+
type: {
|
114
|
+
name: 'Sequence',
|
115
|
+
element: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'StringElementType',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
},
|
125
|
+
expiration_time_utc: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'expirationTimeUtc',
|
129
|
+
type: {
|
130
|
+
name: 'DateTime'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
event_delivery_schema: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'eventDeliverySchema',
|
137
|
+
type: {
|
138
|
+
name: 'String'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
retry_policy: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'retryPolicy',
|
145
|
+
type: {
|
146
|
+
name: 'Composite',
|
147
|
+
class_name: 'RetryPolicy'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
dead_letter_destination: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'deadLetterDestination',
|
154
|
+
type: {
|
155
|
+
name: 'Composite',
|
156
|
+
polymorphic_discriminator: 'endpointType',
|
157
|
+
uber_parent: 'DeadLetterDestination',
|
158
|
+
class_name: 'DeadLetterDestination'
|
159
|
+
}
|
160
|
+
},
|
161
|
+
dead_letter_with_resource_identity: {
|
162
|
+
client_side_validation: true,
|
163
|
+
required: false,
|
164
|
+
serialized_name: 'deadLetterWithResourceIdentity',
|
165
|
+
type: {
|
166
|
+
name: 'Composite',
|
167
|
+
class_name: 'DeadLetterWithResourceIdentity'
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|