azure_mgmt_event_grid 0.18.0 → 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.rb +39 -39
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_channels.rb +106 -62
- data/lib/2020-04-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/models/connection_state.rb +1 -1
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel.rb +56 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb +58 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb +58 -1
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb +20 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb +28 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_readiness_state.rb +18 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +2 -1
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb +2 -3
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +1 -2
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/partner_topic_event_subscriptions.rb +173 -8
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +27 -9
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/system_topic_event_subscriptions.rb +173 -8
- 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-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type.rb → 2020-06-01/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb} +28 -18
- 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/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-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type_list_result.rb → 2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb} +12 -11
- 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 -6
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +353 -293
- data/lib/version.rb +1 -1
- metadata +238 -7
@@ -0,0 +1,171 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2020-10-15-preview/generated/azure_mgmt_event_grid/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::EventGrid::Mgmt::V2020_10_15_preview
|
23
|
+
autoload :Domains, '2020-10-15-preview/generated/azure_mgmt_event_grid/domains.rb'
|
24
|
+
autoload :DomainTopics, '2020-10-15-preview/generated/azure_mgmt_event_grid/domain_topics.rb'
|
25
|
+
autoload :EventChannels, '2020-10-15-preview/generated/azure_mgmt_event_grid/event_channels.rb'
|
26
|
+
autoload :EventSubscriptions, '2020-10-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb'
|
27
|
+
autoload :SystemTopicEventSubscriptions, '2020-10-15-preview/generated/azure_mgmt_event_grid/system_topic_event_subscriptions.rb'
|
28
|
+
autoload :PartnerTopicEventSubscriptions, '2020-10-15-preview/generated/azure_mgmt_event_grid/partner_topic_event_subscriptions.rb'
|
29
|
+
autoload :Operations, '2020-10-15-preview/generated/azure_mgmt_event_grid/operations.rb'
|
30
|
+
autoload :PartnerNamespaces, '2020-10-15-preview/generated/azure_mgmt_event_grid/partner_namespaces.rb'
|
31
|
+
autoload :PartnerRegistrations, '2020-10-15-preview/generated/azure_mgmt_event_grid/partner_registrations.rb'
|
32
|
+
autoload :PartnerTopics, '2020-10-15-preview/generated/azure_mgmt_event_grid/partner_topics.rb'
|
33
|
+
autoload :PrivateEndpointConnections, '2020-10-15-preview/generated/azure_mgmt_event_grid/private_endpoint_connections.rb'
|
34
|
+
autoload :PrivateLinkResources, '2020-10-15-preview/generated/azure_mgmt_event_grid/private_link_resources.rb'
|
35
|
+
autoload :SystemTopics, '2020-10-15-preview/generated/azure_mgmt_event_grid/system_topics.rb'
|
36
|
+
autoload :Topics, '2020-10-15-preview/generated/azure_mgmt_event_grid/topics.rb'
|
37
|
+
autoload :ExtensionTopics, '2020-10-15-preview/generated/azure_mgmt_event_grid/extension_topics.rb'
|
38
|
+
autoload :TopicTypes, '2020-10-15-preview/generated/azure_mgmt_event_grid/topic_types.rb'
|
39
|
+
autoload :EventGridManagementClient, '2020-10-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb'
|
40
|
+
|
41
|
+
module Models
|
42
|
+
autoload :DeadLetterDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb'
|
43
|
+
autoload :DeadLetterWithResourceIdentity, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/dead_letter_with_resource_identity.rb'
|
44
|
+
autoload :ConnectionState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/connection_state.rb'
|
45
|
+
autoload :DeliveryAttributeMapping, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_attribute_mapping.rb'
|
46
|
+
autoload :InputSchemaMapping, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb'
|
47
|
+
autoload :PartnerTopicUpdateParameters, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_update_parameters.rb'
|
48
|
+
autoload :ResourceSku, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb'
|
49
|
+
autoload :PartnerTopicsListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb'
|
50
|
+
autoload :IdentityInfo, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/identity_info.rb'
|
51
|
+
autoload :EventChannelsListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb'
|
52
|
+
autoload :JsonField, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_field.rb'
|
53
|
+
autoload :EventSubscriptionDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb'
|
54
|
+
autoload :DeliveryAttributeListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_attribute_list_result.rb'
|
55
|
+
autoload :EventSubscriptionsListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb'
|
56
|
+
autoload :SystemData, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_data.rb'
|
57
|
+
autoload :EventSubscriptionFullUrl, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb'
|
58
|
+
autoload :DomainUpdateParameters, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb'
|
59
|
+
autoload :EventSubscriptionUpdateParameters, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb'
|
60
|
+
autoload :DomainSharedAccessKeys, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb'
|
61
|
+
autoload :PrivateLinkResource, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_link_resource.rb'
|
62
|
+
autoload :PartnerRegistrationsListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb'
|
63
|
+
autoload :PrivateLinkResourcesListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb'
|
64
|
+
autoload :EventChannelSource, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_source.rb'
|
65
|
+
autoload :SystemTopicUpdateParameters, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topic_update_parameters.rb'
|
66
|
+
autoload :AdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb'
|
67
|
+
autoload :SystemTopicsListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topics_list_result.rb'
|
68
|
+
autoload :PartnerRegistrationUpdateParameters, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb'
|
69
|
+
autoload :UserIdentityProperties, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/user_identity_properties.rb'
|
70
|
+
autoload :PartnerNamespaceRegenerateKeyRequest, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb'
|
71
|
+
autoload :Resource, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource.rb'
|
72
|
+
autoload :PartnerNamespacesListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespaces_list_result.rb'
|
73
|
+
autoload :JsonFieldWithDefault, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb'
|
74
|
+
autoload :PrivateEndpointConnectionListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb'
|
75
|
+
autoload :ExtendedLocation, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/extended_location.rb'
|
76
|
+
autoload :Operation, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/operation.rb'
|
77
|
+
autoload :EventSubscriptionIdentity, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb'
|
78
|
+
autoload :PartnerRegistrationEventTypesListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb'
|
79
|
+
autoload :DeliveryWithResourceIdentity, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/delivery_with_resource_identity.rb'
|
80
|
+
autoload :DomainsListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb'
|
81
|
+
autoload :EventSubscriptionFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb'
|
82
|
+
autoload :DomainTopicsListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb'
|
83
|
+
autoload :RetryPolicy, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb'
|
84
|
+
autoload :EventChannelFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb'
|
85
|
+
autoload :PrivateEndpoint, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint.rb'
|
86
|
+
autoload :PartnerNamespaceSharedAccessKeys, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb'
|
87
|
+
autoload :PartnerNamespaceUpdateParameters, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_update_parameters.rb'
|
88
|
+
autoload :TopicUpdateParameters, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb'
|
89
|
+
autoload :OperationInfo, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb'
|
90
|
+
autoload :InboundIpRule, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb'
|
91
|
+
autoload :DomainRegenerateKeyRequest, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb'
|
92
|
+
autoload :EventTypesListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb'
|
93
|
+
autoload :TopicTypesListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb'
|
94
|
+
autoload :PartnerTopicTypesListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_types_list_result.rb'
|
95
|
+
autoload :TopicRegenerateKeyRequest, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb'
|
96
|
+
autoload :OperationsListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb'
|
97
|
+
autoload :TopicSharedAccessKeys, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb'
|
98
|
+
autoload :EventChannelDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_destination.rb'
|
99
|
+
autoload :TopicsListResult, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb'
|
100
|
+
autoload :PrivateEndpointConnection, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb'
|
101
|
+
autoload :JsonInputSchemaMapping, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb'
|
102
|
+
autoload :TrackedResource, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb'
|
103
|
+
autoload :Domain, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain.rb'
|
104
|
+
autoload :DomainTopic, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb'
|
105
|
+
autoload :NumberInAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb'
|
106
|
+
autoload :NumberNotInAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb'
|
107
|
+
autoload :NumberLessThanAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb'
|
108
|
+
autoload :NumberGreaterThanAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb'
|
109
|
+
autoload :NumberLessThanOrEqualsAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb'
|
110
|
+
autoload :NumberGreaterThanOrEqualsAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb'
|
111
|
+
autoload :BoolEqualsAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb'
|
112
|
+
autoload :StringInAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb'
|
113
|
+
autoload :StringNotInAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb'
|
114
|
+
autoload :StringBeginsWithAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb'
|
115
|
+
autoload :StringEndsWithAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb'
|
116
|
+
autoload :StringContainsAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb'
|
117
|
+
autoload :NumberInRangeAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_in_range_advanced_filter.rb'
|
118
|
+
autoload :NumberNotInRangeAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/number_not_in_range_advanced_filter.rb'
|
119
|
+
autoload :StringNotBeginsWithAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_begins_with_advanced_filter.rb'
|
120
|
+
autoload :StringNotEndsWithAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_ends_with_advanced_filter.rb'
|
121
|
+
autoload :StringNotContainsAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/string_not_contains_advanced_filter.rb'
|
122
|
+
autoload :IsNullOrUndefinedAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/is_null_or_undefined_advanced_filter.rb'
|
123
|
+
autoload :IsNotNullAdvancedFilter, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/is_not_null_advanced_filter.rb'
|
124
|
+
autoload :EventChannel, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel.rb'
|
125
|
+
autoload :StaticDeliveryAttributeMapping, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/static_delivery_attribute_mapping.rb'
|
126
|
+
autoload :DynamicDeliveryAttributeMapping, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/dynamic_delivery_attribute_mapping.rb'
|
127
|
+
autoload :StorageBlobDeadLetterDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb'
|
128
|
+
autoload :WebHookEventSubscriptionDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb'
|
129
|
+
autoload :EventHubEventSubscriptionDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb'
|
130
|
+
autoload :StorageQueueEventSubscriptionDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb'
|
131
|
+
autoload :HybridConnectionEventSubscriptionDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb'
|
132
|
+
autoload :ServiceBusQueueEventSubscriptionDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb'
|
133
|
+
autoload :ServiceBusTopicEventSubscriptionDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb'
|
134
|
+
autoload :AzureFunctionEventSubscriptionDestination, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb'
|
135
|
+
autoload :EventSubscription, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb'
|
136
|
+
autoload :PartnerNamespace, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace.rb'
|
137
|
+
autoload :PartnerRegistration, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb'
|
138
|
+
autoload :EventType, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb'
|
139
|
+
autoload :PartnerTopic, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb'
|
140
|
+
autoload :PartnerTopicType, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_type.rb'
|
141
|
+
autoload :SystemTopic, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/system_topic.rb'
|
142
|
+
autoload :Topic, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic.rb'
|
143
|
+
autoload :ExtensionTopic, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/extension_topic.rb'
|
144
|
+
autoload :TopicTypeInfo, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb'
|
145
|
+
autoload :PersistedConnectionStatus, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb'
|
146
|
+
autoload :ResourceProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb'
|
147
|
+
autoload :DomainProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb'
|
148
|
+
autoload :InputSchema, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/input_schema.rb'
|
149
|
+
autoload :PublicNetworkAccess, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/public_network_access.rb'
|
150
|
+
autoload :IpActionType, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/ip_action_type.rb'
|
151
|
+
autoload :Sku, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/sku.rb'
|
152
|
+
autoload :IdentityType, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/identity_type.rb'
|
153
|
+
autoload :CreatedByType, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/created_by_type.rb'
|
154
|
+
autoload :DomainTopicProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb'
|
155
|
+
autoload :EventChannelProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_channel_provisioning_state.rb'
|
156
|
+
autoload :PartnerTopicReadinessState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_readiness_state.rb'
|
157
|
+
autoload :EventSubscriptionProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb'
|
158
|
+
autoload :EventSubscriptionIdentityType, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity_type.rb'
|
159
|
+
autoload :EventDeliverySchema, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb'
|
160
|
+
autoload :PartnerNamespaceProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_namespace_provisioning_state.rb'
|
161
|
+
autoload :PartnerRegistrationProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_provisioning_state.rb'
|
162
|
+
autoload :PartnerRegistrationVisibilityState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_registration_visibility_state.rb'
|
163
|
+
autoload :PartnerTopicProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_provisioning_state.rb'
|
164
|
+
autoload :PartnerTopicActivationState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_activation_state.rb'
|
165
|
+
autoload :PartnerTopicTypeAuthorizationState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/partner_topic_type_authorization_state.rb'
|
166
|
+
autoload :TopicProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb'
|
167
|
+
autoload :ResourceKind, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_kind.rb'
|
168
|
+
autoload :ResourceRegionType, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb'
|
169
|
+
autoload :TopicTypeProvisioningState, '2020-10-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb'
|
170
|
+
end
|
171
|
+
end
|
@@ -0,0 +1,699 @@
|
|
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
|
+
#
|
8
|
+
# Azure EventGrid Management Client
|
9
|
+
#
|
10
|
+
class DomainTopics
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the DomainTopics class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [EventGridManagementClient] reference to the EventGridManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Get a domain topic.
|
26
|
+
#
|
27
|
+
# Get properties of a domain topic.
|
28
|
+
#
|
29
|
+
# @param resource_group_name [String] The name of the resource group within the
|
30
|
+
# user's subscription.
|
31
|
+
# @param domain_name [String] Name of the domain.
|
32
|
+
# @param domain_topic_name [String] Name of the topic.
|
33
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
|
+
# will be added to the HTTP request.
|
35
|
+
#
|
36
|
+
# @return [DomainTopic] operation results.
|
37
|
+
#
|
38
|
+
def get(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
39
|
+
response = get_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
|
40
|
+
response.body unless response.nil?
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Get a domain topic.
|
45
|
+
#
|
46
|
+
# Get properties of a domain topic.
|
47
|
+
#
|
48
|
+
# @param resource_group_name [String] The name of the resource group within the
|
49
|
+
# user's subscription.
|
50
|
+
# @param domain_name [String] Name of the domain.
|
51
|
+
# @param domain_topic_name [String] Name of the topic.
|
52
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
53
|
+
# will be added to the HTTP request.
|
54
|
+
#
|
55
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
56
|
+
#
|
57
|
+
def get_with_http_info(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
58
|
+
get_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
|
59
|
+
end
|
60
|
+
|
61
|
+
#
|
62
|
+
# Get a domain topic.
|
63
|
+
#
|
64
|
+
# Get properties of a domain topic.
|
65
|
+
#
|
66
|
+
# @param resource_group_name [String] The name of the resource group within the
|
67
|
+
# user's subscription.
|
68
|
+
# @param domain_name [String] Name of the domain.
|
69
|
+
# @param domain_topic_name [String] Name of the topic.
|
70
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
71
|
+
# to the HTTP request.
|
72
|
+
#
|
73
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
74
|
+
#
|
75
|
+
def get_async(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
76
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
77
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
78
|
+
fail ArgumentError, 'domain_name is nil' if domain_name.nil?
|
79
|
+
fail ArgumentError, 'domain_topic_name is nil' if domain_topic_name.nil?
|
80
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
81
|
+
|
82
|
+
|
83
|
+
request_headers = {}
|
84
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
85
|
+
|
86
|
+
# Set Headers
|
87
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
88
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
89
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}'
|
90
|
+
|
91
|
+
request_url = @base_url || @client.base_url
|
92
|
+
|
93
|
+
options = {
|
94
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
95
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'domainName' => domain_name,'domainTopicName' => domain_topic_name},
|
96
|
+
query_params: {'api-version' => @client.api_version},
|
97
|
+
headers: request_headers.merge(custom_headers || {}),
|
98
|
+
base_url: request_url
|
99
|
+
}
|
100
|
+
promise = @client.make_request_async(:get, path_template, options)
|
101
|
+
|
102
|
+
promise = promise.then do |result|
|
103
|
+
http_response = result.response
|
104
|
+
status_code = http_response.status
|
105
|
+
response_content = http_response.body
|
106
|
+
unless status_code == 200
|
107
|
+
error_model = JSON.load(response_content)
|
108
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
109
|
+
end
|
110
|
+
|
111
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
112
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
113
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
114
|
+
# Deserialize Response
|
115
|
+
if status_code == 200
|
116
|
+
begin
|
117
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
118
|
+
result_mapper = Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::DomainTopic.mapper()
|
119
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
120
|
+
rescue Exception => e
|
121
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
result
|
126
|
+
end
|
127
|
+
|
128
|
+
promise.execute
|
129
|
+
end
|
130
|
+
|
131
|
+
#
|
132
|
+
# Create or update a domain topic.
|
133
|
+
#
|
134
|
+
# Asynchronously creates or updates a new domain topic with the specified
|
135
|
+
# parameters.
|
136
|
+
#
|
137
|
+
# @param resource_group_name [String] The name of the resource group within the
|
138
|
+
# user's subscription.
|
139
|
+
# @param domain_name [String] Name of the domain.
|
140
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
141
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
142
|
+
# will be added to the HTTP request.
|
143
|
+
#
|
144
|
+
# @return [DomainTopic] operation results.
|
145
|
+
#
|
146
|
+
def create_or_update(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
147
|
+
response = create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
|
148
|
+
response.body unless response.nil?
|
149
|
+
end
|
150
|
+
|
151
|
+
#
|
152
|
+
# @param resource_group_name [String] The name of the resource group within the
|
153
|
+
# user's subscription.
|
154
|
+
# @param domain_name [String] Name of the domain.
|
155
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
156
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
157
|
+
# will be added to the HTTP request.
|
158
|
+
#
|
159
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
160
|
+
# response.
|
161
|
+
#
|
162
|
+
def create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
163
|
+
# Send request
|
164
|
+
promise = begin_create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers)
|
165
|
+
|
166
|
+
promise = promise.then do |response|
|
167
|
+
# Defining deserialization method.
|
168
|
+
deserialize_method = lambda do |parsed_response|
|
169
|
+
result_mapper = Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::DomainTopic.mapper()
|
170
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
171
|
+
end
|
172
|
+
|
173
|
+
# Waiting for response.
|
174
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
175
|
+
end
|
176
|
+
|
177
|
+
promise
|
178
|
+
end
|
179
|
+
|
180
|
+
#
|
181
|
+
# Delete a domain topic.
|
182
|
+
#
|
183
|
+
# Delete existing domain topic.
|
184
|
+
#
|
185
|
+
# @param resource_group_name [String] The name of the resource group within the
|
186
|
+
# user's subscription.
|
187
|
+
# @param domain_name [String] Name of the domain.
|
188
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
189
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
190
|
+
# will be added to the HTTP request.
|
191
|
+
#
|
192
|
+
def delete(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
193
|
+
response = delete_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
|
194
|
+
nil
|
195
|
+
end
|
196
|
+
|
197
|
+
#
|
198
|
+
# @param resource_group_name [String] The name of the resource group within the
|
199
|
+
# user's subscription.
|
200
|
+
# @param domain_name [String] Name of the domain.
|
201
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
202
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
203
|
+
# will be added to the HTTP request.
|
204
|
+
#
|
205
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
206
|
+
# response.
|
207
|
+
#
|
208
|
+
def delete_async(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
209
|
+
# Send request
|
210
|
+
promise = begin_delete_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers)
|
211
|
+
|
212
|
+
promise = promise.then do |response|
|
213
|
+
# Defining deserialization method.
|
214
|
+
deserialize_method = lambda do |parsed_response|
|
215
|
+
end
|
216
|
+
|
217
|
+
# Waiting for response.
|
218
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
219
|
+
end
|
220
|
+
|
221
|
+
promise
|
222
|
+
end
|
223
|
+
|
224
|
+
#
|
225
|
+
# List domain topics.
|
226
|
+
#
|
227
|
+
# List all the topics in a domain.
|
228
|
+
#
|
229
|
+
# @param resource_group_name [String] The name of the resource group within the
|
230
|
+
# user's subscription.
|
231
|
+
# @param domain_name [String] Domain name.
|
232
|
+
# @param filter [String] The query used to filter the search results using
|
233
|
+
# OData syntax. Filtering is permitted on the 'name' property only and with
|
234
|
+
# limited number of OData operations. These operations are: the 'contains'
|
235
|
+
# function as well as the following logical operations: not, and, or, eq (for
|
236
|
+
# equal), and ne (for not equal). No arithmetic operations are supported. The
|
237
|
+
# following is a valid filter example: $filter=contains(namE, 'PATTERN') and
|
238
|
+
# name ne 'PATTERN-1'. The following is not a valid filter example:
|
239
|
+
# $filter=location eq 'westus'.
|
240
|
+
# @param top [Integer] The number of results to return per page for the list
|
241
|
+
# operation. Valid range for top parameter is 1 to 100. If not specified, the
|
242
|
+
# default number of results to be returned is 20 items per page.
|
243
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
244
|
+
# will be added to the HTTP request.
|
245
|
+
#
|
246
|
+
# @return [Array<DomainTopic>] operation results.
|
247
|
+
#
|
248
|
+
def list_by_domain(resource_group_name, domain_name, filter:nil, top:nil, custom_headers:nil)
|
249
|
+
first_page = list_by_domain_as_lazy(resource_group_name, domain_name, filter:filter, top:top, custom_headers:custom_headers)
|
250
|
+
first_page.get_all_items
|
251
|
+
end
|
252
|
+
|
253
|
+
#
|
254
|
+
# List domain topics.
|
255
|
+
#
|
256
|
+
# List all the topics in a domain.
|
257
|
+
#
|
258
|
+
# @param resource_group_name [String] The name of the resource group within the
|
259
|
+
# user's subscription.
|
260
|
+
# @param domain_name [String] Domain name.
|
261
|
+
# @param filter [String] The query used to filter the search results using
|
262
|
+
# OData syntax. Filtering is permitted on the 'name' property only and with
|
263
|
+
# limited number of OData operations. These operations are: the 'contains'
|
264
|
+
# function as well as the following logical operations: not, and, or, eq (for
|
265
|
+
# equal), and ne (for not equal). No arithmetic operations are supported. The
|
266
|
+
# following is a valid filter example: $filter=contains(namE, 'PATTERN') and
|
267
|
+
# name ne 'PATTERN-1'. The following is not a valid filter example:
|
268
|
+
# $filter=location eq 'westus'.
|
269
|
+
# @param top [Integer] The number of results to return per page for the list
|
270
|
+
# operation. Valid range for top parameter is 1 to 100. If not specified, the
|
271
|
+
# default number of results to be returned is 20 items per page.
|
272
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
273
|
+
# will be added to the HTTP request.
|
274
|
+
#
|
275
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
276
|
+
#
|
277
|
+
def list_by_domain_with_http_info(resource_group_name, domain_name, filter:nil, top:nil, custom_headers:nil)
|
278
|
+
list_by_domain_async(resource_group_name, domain_name, filter:filter, top:top, custom_headers:custom_headers).value!
|
279
|
+
end
|
280
|
+
|
281
|
+
#
|
282
|
+
# List domain topics.
|
283
|
+
#
|
284
|
+
# List all the topics in a domain.
|
285
|
+
#
|
286
|
+
# @param resource_group_name [String] The name of the resource group within the
|
287
|
+
# user's subscription.
|
288
|
+
# @param domain_name [String] Domain name.
|
289
|
+
# @param filter [String] The query used to filter the search results using
|
290
|
+
# OData syntax. Filtering is permitted on the 'name' property only and with
|
291
|
+
# limited number of OData operations. These operations are: the 'contains'
|
292
|
+
# function as well as the following logical operations: not, and, or, eq (for
|
293
|
+
# equal), and ne (for not equal). No arithmetic operations are supported. The
|
294
|
+
# following is a valid filter example: $filter=contains(namE, 'PATTERN') and
|
295
|
+
# name ne 'PATTERN-1'. The following is not a valid filter example:
|
296
|
+
# $filter=location eq 'westus'.
|
297
|
+
# @param top [Integer] The number of results to return per page for the list
|
298
|
+
# operation. Valid range for top parameter is 1 to 100. If not specified, the
|
299
|
+
# default number of results to be returned is 20 items per page.
|
300
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
301
|
+
# to the HTTP request.
|
302
|
+
#
|
303
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
304
|
+
#
|
305
|
+
def list_by_domain_async(resource_group_name, domain_name, filter:nil, top:nil, custom_headers:nil)
|
306
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
307
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
308
|
+
fail ArgumentError, 'domain_name is nil' if domain_name.nil?
|
309
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
310
|
+
|
311
|
+
|
312
|
+
request_headers = {}
|
313
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
314
|
+
|
315
|
+
# Set Headers
|
316
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
317
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
318
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics'
|
319
|
+
|
320
|
+
request_url = @base_url || @client.base_url
|
321
|
+
|
322
|
+
options = {
|
323
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
324
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'domainName' => domain_name},
|
325
|
+
query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top},
|
326
|
+
headers: request_headers.merge(custom_headers || {}),
|
327
|
+
base_url: request_url
|
328
|
+
}
|
329
|
+
promise = @client.make_request_async(:get, path_template, options)
|
330
|
+
|
331
|
+
promise = promise.then do |result|
|
332
|
+
http_response = result.response
|
333
|
+
status_code = http_response.status
|
334
|
+
response_content = http_response.body
|
335
|
+
unless status_code == 200
|
336
|
+
error_model = JSON.load(response_content)
|
337
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
338
|
+
end
|
339
|
+
|
340
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
341
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
342
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
343
|
+
# Deserialize Response
|
344
|
+
if status_code == 200
|
345
|
+
begin
|
346
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
347
|
+
result_mapper = Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::DomainTopicsListResult.mapper()
|
348
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
349
|
+
rescue Exception => e
|
350
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
result
|
355
|
+
end
|
356
|
+
|
357
|
+
promise.execute
|
358
|
+
end
|
359
|
+
|
360
|
+
#
|
361
|
+
# Create or update a domain topic.
|
362
|
+
#
|
363
|
+
# Asynchronously creates or updates a new domain topic with the specified
|
364
|
+
# parameters.
|
365
|
+
#
|
366
|
+
# @param resource_group_name [String] The name of the resource group within the
|
367
|
+
# user's subscription.
|
368
|
+
# @param domain_name [String] Name of the domain.
|
369
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
370
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
371
|
+
# will be added to the HTTP request.
|
372
|
+
#
|
373
|
+
# @return [DomainTopic] operation results.
|
374
|
+
#
|
375
|
+
def begin_create_or_update(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
376
|
+
response = begin_create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
|
377
|
+
response.body unless response.nil?
|
378
|
+
end
|
379
|
+
|
380
|
+
#
|
381
|
+
# Create or update a domain topic.
|
382
|
+
#
|
383
|
+
# Asynchronously creates or updates a new domain topic with the specified
|
384
|
+
# parameters.
|
385
|
+
#
|
386
|
+
# @param resource_group_name [String] The name of the resource group within the
|
387
|
+
# user's subscription.
|
388
|
+
# @param domain_name [String] Name of the domain.
|
389
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
390
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
391
|
+
# will be added to the HTTP request.
|
392
|
+
#
|
393
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
394
|
+
#
|
395
|
+
def begin_create_or_update_with_http_info(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
396
|
+
begin_create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
|
397
|
+
end
|
398
|
+
|
399
|
+
#
|
400
|
+
# Create or update a domain topic.
|
401
|
+
#
|
402
|
+
# Asynchronously creates or updates a new domain topic with the specified
|
403
|
+
# parameters.
|
404
|
+
#
|
405
|
+
# @param resource_group_name [String] The name of the resource group within the
|
406
|
+
# user's subscription.
|
407
|
+
# @param domain_name [String] Name of the domain.
|
408
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
409
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
410
|
+
# to the HTTP request.
|
411
|
+
#
|
412
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
413
|
+
#
|
414
|
+
def begin_create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
415
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
416
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
417
|
+
fail ArgumentError, 'domain_name is nil' if domain_name.nil?
|
418
|
+
fail ArgumentError, 'domain_topic_name is nil' if domain_topic_name.nil?
|
419
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
420
|
+
|
421
|
+
|
422
|
+
request_headers = {}
|
423
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
424
|
+
|
425
|
+
# Set Headers
|
426
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
427
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
428
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}'
|
429
|
+
|
430
|
+
request_url = @base_url || @client.base_url
|
431
|
+
|
432
|
+
options = {
|
433
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
434
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'domainName' => domain_name,'domainTopicName' => domain_topic_name},
|
435
|
+
query_params: {'api-version' => @client.api_version},
|
436
|
+
headers: request_headers.merge(custom_headers || {}),
|
437
|
+
base_url: request_url
|
438
|
+
}
|
439
|
+
promise = @client.make_request_async(:put, path_template, options)
|
440
|
+
|
441
|
+
promise = promise.then do |result|
|
442
|
+
http_response = result.response
|
443
|
+
status_code = http_response.status
|
444
|
+
response_content = http_response.body
|
445
|
+
unless status_code == 201
|
446
|
+
error_model = JSON.load(response_content)
|
447
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
448
|
+
end
|
449
|
+
|
450
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
451
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
452
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
453
|
+
# Deserialize Response
|
454
|
+
if status_code == 201
|
455
|
+
begin
|
456
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
457
|
+
result_mapper = Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::DomainTopic.mapper()
|
458
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
459
|
+
rescue Exception => e
|
460
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
result
|
465
|
+
end
|
466
|
+
|
467
|
+
promise.execute
|
468
|
+
end
|
469
|
+
|
470
|
+
#
|
471
|
+
# Delete a domain topic.
|
472
|
+
#
|
473
|
+
# Delete existing domain topic.
|
474
|
+
#
|
475
|
+
# @param resource_group_name [String] The name of the resource group within the
|
476
|
+
# user's subscription.
|
477
|
+
# @param domain_name [String] Name of the domain.
|
478
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
479
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
480
|
+
# will be added to the HTTP request.
|
481
|
+
#
|
482
|
+
#
|
483
|
+
def begin_delete(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
484
|
+
response = begin_delete_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
|
485
|
+
nil
|
486
|
+
end
|
487
|
+
|
488
|
+
#
|
489
|
+
# Delete a domain topic.
|
490
|
+
#
|
491
|
+
# Delete existing domain topic.
|
492
|
+
#
|
493
|
+
# @param resource_group_name [String] The name of the resource group within the
|
494
|
+
# user's subscription.
|
495
|
+
# @param domain_name [String] Name of the domain.
|
496
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
497
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
498
|
+
# will be added to the HTTP request.
|
499
|
+
#
|
500
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
501
|
+
#
|
502
|
+
def begin_delete_with_http_info(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
503
|
+
begin_delete_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
|
504
|
+
end
|
505
|
+
|
506
|
+
#
|
507
|
+
# Delete a domain topic.
|
508
|
+
#
|
509
|
+
# Delete existing domain topic.
|
510
|
+
#
|
511
|
+
# @param resource_group_name [String] The name of the resource group within the
|
512
|
+
# user's subscription.
|
513
|
+
# @param domain_name [String] Name of the domain.
|
514
|
+
# @param domain_topic_name [String] Name of the domain topic.
|
515
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
516
|
+
# to the HTTP request.
|
517
|
+
#
|
518
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
519
|
+
#
|
520
|
+
def begin_delete_async(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
|
521
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
522
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
523
|
+
fail ArgumentError, 'domain_name is nil' if domain_name.nil?
|
524
|
+
fail ArgumentError, 'domain_topic_name is nil' if domain_topic_name.nil?
|
525
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
526
|
+
|
527
|
+
|
528
|
+
request_headers = {}
|
529
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
530
|
+
|
531
|
+
# Set Headers
|
532
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
533
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
534
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}'
|
535
|
+
|
536
|
+
request_url = @base_url || @client.base_url
|
537
|
+
|
538
|
+
options = {
|
539
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
540
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'domainName' => domain_name,'domainTopicName' => domain_topic_name},
|
541
|
+
query_params: {'api-version' => @client.api_version},
|
542
|
+
headers: request_headers.merge(custom_headers || {}),
|
543
|
+
base_url: request_url
|
544
|
+
}
|
545
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
546
|
+
|
547
|
+
promise = promise.then do |result|
|
548
|
+
http_response = result.response
|
549
|
+
status_code = http_response.status
|
550
|
+
response_content = http_response.body
|
551
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
552
|
+
error_model = JSON.load(response_content)
|
553
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
554
|
+
end
|
555
|
+
|
556
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
557
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
558
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
559
|
+
|
560
|
+
result
|
561
|
+
end
|
562
|
+
|
563
|
+
promise.execute
|
564
|
+
end
|
565
|
+
|
566
|
+
#
|
567
|
+
# List domain topics.
|
568
|
+
#
|
569
|
+
# List all the topics in a domain.
|
570
|
+
#
|
571
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
572
|
+
# to List operation.
|
573
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
574
|
+
# will be added to the HTTP request.
|
575
|
+
#
|
576
|
+
# @return [DomainTopicsListResult] operation results.
|
577
|
+
#
|
578
|
+
def list_by_domain_next(next_page_link, custom_headers:nil)
|
579
|
+
response = list_by_domain_next_async(next_page_link, custom_headers:custom_headers).value!
|
580
|
+
response.body unless response.nil?
|
581
|
+
end
|
582
|
+
|
583
|
+
#
|
584
|
+
# List domain topics.
|
585
|
+
#
|
586
|
+
# List all the topics in a domain.
|
587
|
+
#
|
588
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
589
|
+
# to List operation.
|
590
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
591
|
+
# will be added to the HTTP request.
|
592
|
+
#
|
593
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
594
|
+
#
|
595
|
+
def list_by_domain_next_with_http_info(next_page_link, custom_headers:nil)
|
596
|
+
list_by_domain_next_async(next_page_link, custom_headers:custom_headers).value!
|
597
|
+
end
|
598
|
+
|
599
|
+
#
|
600
|
+
# List domain topics.
|
601
|
+
#
|
602
|
+
# List all the topics in a domain.
|
603
|
+
#
|
604
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
605
|
+
# to List operation.
|
606
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
607
|
+
# to the HTTP request.
|
608
|
+
#
|
609
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
610
|
+
#
|
611
|
+
def list_by_domain_next_async(next_page_link, custom_headers:nil)
|
612
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
613
|
+
|
614
|
+
|
615
|
+
request_headers = {}
|
616
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
617
|
+
|
618
|
+
# Set Headers
|
619
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
620
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
621
|
+
path_template = '{nextLink}'
|
622
|
+
|
623
|
+
request_url = @base_url || @client.base_url
|
624
|
+
|
625
|
+
options = {
|
626
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
627
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
628
|
+
headers: request_headers.merge(custom_headers || {}),
|
629
|
+
base_url: request_url
|
630
|
+
}
|
631
|
+
promise = @client.make_request_async(:get, path_template, options)
|
632
|
+
|
633
|
+
promise = promise.then do |result|
|
634
|
+
http_response = result.response
|
635
|
+
status_code = http_response.status
|
636
|
+
response_content = http_response.body
|
637
|
+
unless status_code == 200
|
638
|
+
error_model = JSON.load(response_content)
|
639
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
640
|
+
end
|
641
|
+
|
642
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
643
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
644
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
645
|
+
# Deserialize Response
|
646
|
+
if status_code == 200
|
647
|
+
begin
|
648
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
649
|
+
result_mapper = Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::DomainTopicsListResult.mapper()
|
650
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
651
|
+
rescue Exception => e
|
652
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
result
|
657
|
+
end
|
658
|
+
|
659
|
+
promise.execute
|
660
|
+
end
|
661
|
+
|
662
|
+
#
|
663
|
+
# List domain topics.
|
664
|
+
#
|
665
|
+
# List all the topics in a domain.
|
666
|
+
#
|
667
|
+
# @param resource_group_name [String] The name of the resource group within the
|
668
|
+
# user's subscription.
|
669
|
+
# @param domain_name [String] Domain name.
|
670
|
+
# @param filter [String] The query used to filter the search results using
|
671
|
+
# OData syntax. Filtering is permitted on the 'name' property only and with
|
672
|
+
# limited number of OData operations. These operations are: the 'contains'
|
673
|
+
# function as well as the following logical operations: not, and, or, eq (for
|
674
|
+
# equal), and ne (for not equal). No arithmetic operations are supported. The
|
675
|
+
# following is a valid filter example: $filter=contains(namE, 'PATTERN') and
|
676
|
+
# name ne 'PATTERN-1'. The following is not a valid filter example:
|
677
|
+
# $filter=location eq 'westus'.
|
678
|
+
# @param top [Integer] The number of results to return per page for the list
|
679
|
+
# operation. Valid range for top parameter is 1 to 100. If not specified, the
|
680
|
+
# default number of results to be returned is 20 items per page.
|
681
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
682
|
+
# will be added to the HTTP request.
|
683
|
+
#
|
684
|
+
# @return [DomainTopicsListResult] which provide lazy access to pages of the
|
685
|
+
# response.
|
686
|
+
#
|
687
|
+
def list_by_domain_as_lazy(resource_group_name, domain_name, filter:nil, top:nil, custom_headers:nil)
|
688
|
+
response = list_by_domain_async(resource_group_name, domain_name, filter:filter, top:top, custom_headers:custom_headers).value!
|
689
|
+
unless response.nil?
|
690
|
+
page = response.body
|
691
|
+
page.next_method = Proc.new do |next_page_link|
|
692
|
+
list_by_domain_next_async(next_page_link, custom_headers:custom_headers)
|
693
|
+
end
|
694
|
+
page
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
698
|
+
end
|
699
|
+
end
|