azure_mgmt_event_grid 0.18.0 → 0.19.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 +38 -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 +13 -0
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb +119 -0
- 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/private_endpoint_connection.rb +2 -1
- 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/profiles/latest/modules/eventgrid_profile_module.rb +126 -130
- data/lib/version.rb +1 -1
- metadata +3 -4
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type.rb +0 -67
- data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type_list_result.rb +0 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ec8ea1806e8e544a1f32644ae81e7fb56e2791a5b416aee06030a7260a6075e
|
4
|
+
data.tar.gz: 876d7500ffe13e65fa4acbf30540deec6b376a5d556cc9ec00674acab07a9e10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 629a64387df75dbf1516411046a1eb3af573dc6f6d1c821f5b68eed946b2faca48b47a0efa127694c05ccbce6772d1553eeb97851271a41e7d7cba6ffb84e890
|
7
|
+
data.tar.gz: '094a2eb17735e114f3dfcce247fe177e260b41050f26c974e9a70480ce81ebc36aaed7a067bb31f150e022dfba930bf08cc3ffb8a9e7d53a1a63eed3a3174bd5'
|
@@ -138,7 +138,7 @@ module Azure::EventGrid::Mgmt::V2017_06_15_preview
|
|
138
138
|
#
|
139
139
|
def add_telemetry
|
140
140
|
sdk_information = 'azure_mgmt_event_grid'
|
141
|
-
sdk_information = "#{sdk_information}/0.
|
141
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
142
142
|
add_user_agent_information(sdk_information)
|
143
143
|
end
|
144
144
|
end
|
@@ -138,7 +138,7 @@ module Azure::EventGrid::Mgmt::V2017_09_15_preview
|
|
138
138
|
#
|
139
139
|
def add_telemetry
|
140
140
|
sdk_information = 'azure_mgmt_event_grid'
|
141
|
-
sdk_information = "#{sdk_information}/0.
|
141
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
142
142
|
add_user_agent_information(sdk_information)
|
143
143
|
end
|
144
144
|
end
|
@@ -138,7 +138,7 @@ module Azure::EventGrid::Mgmt::V2018_01_01
|
|
138
138
|
#
|
139
139
|
def add_telemetry
|
140
140
|
sdk_information = 'azure_mgmt_event_grid'
|
141
|
-
sdk_information = "#{sdk_information}/0.
|
141
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
142
142
|
add_user_agent_information(sdk_information)
|
143
143
|
end
|
144
144
|
end
|
@@ -138,7 +138,7 @@ module Azure::EventGrid::Mgmt::V2018_05_01_preview
|
|
138
138
|
#
|
139
139
|
def add_telemetry
|
140
140
|
sdk_information = 'azure_mgmt_event_grid'
|
141
|
-
sdk_information = "#{sdk_information}/0.
|
141
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
142
142
|
add_user_agent_information(sdk_information)
|
143
143
|
end
|
144
144
|
end
|
@@ -146,7 +146,7 @@ module Azure::EventGrid::Mgmt::V2018_09_15_preview
|
|
146
146
|
#
|
147
147
|
def add_telemetry
|
148
148
|
sdk_information = 'azure_mgmt_event_grid'
|
149
|
-
sdk_information = "#{sdk_information}/0.
|
149
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
150
150
|
add_user_agent_information(sdk_information)
|
151
151
|
end
|
152
152
|
end
|
@@ -138,7 +138,7 @@ module Azure::EventGrid::Mgmt::V2019_01_01
|
|
138
138
|
#
|
139
139
|
def add_telemetry
|
140
140
|
sdk_information = 'azure_mgmt_event_grid'
|
141
|
-
sdk_information = "#{sdk_information}/0.
|
141
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
142
142
|
add_user_agent_information(sdk_information)
|
143
143
|
end
|
144
144
|
end
|
@@ -146,7 +146,7 @@ module Azure::EventGrid::Mgmt::V2019_02_01_preview
|
|
146
146
|
#
|
147
147
|
def add_telemetry
|
148
148
|
sdk_information = 'azure_mgmt_event_grid'
|
149
|
-
sdk_information = "#{sdk_information}/0.
|
149
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
150
150
|
add_user_agent_information(sdk_information)
|
151
151
|
end
|
152
152
|
end
|
@@ -146,7 +146,7 @@ module Azure::EventGrid::Mgmt::V2019_06_01
|
|
146
146
|
#
|
147
147
|
def add_telemetry
|
148
148
|
sdk_information = 'azure_mgmt_event_grid'
|
149
|
-
sdk_information = "#{sdk_information}/0.
|
149
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
150
150
|
add_user_agent_information(sdk_information)
|
151
151
|
end
|
152
152
|
end
|
@@ -146,7 +146,7 @@ module Azure::EventGrid::Mgmt::V2020_01_01_preview
|
|
146
146
|
#
|
147
147
|
def add_telemetry
|
148
148
|
sdk_information = 'azure_mgmt_event_grid'
|
149
|
-
sdk_information = "#{sdk_information}/0.
|
149
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
150
150
|
add_user_agent_information(sdk_information)
|
151
151
|
end
|
152
152
|
end
|
@@ -39,69 +39,66 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
|
|
39
39
|
autoload :EventGridManagementClient, '2020-04-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb'
|
40
40
|
|
41
41
|
module Models
|
42
|
-
autoload :
|
42
|
+
autoload :PartnerTopicTypesListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_types_list_result.rb'
|
43
43
|
autoload :PrivateEndpoint, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint.rb'
|
44
|
-
autoload :
|
45
|
-
autoload :PartnerNamespaceSharedAccessKeys, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb'
|
46
|
-
autoload :InputSchemaMapping, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb'
|
47
|
-
autoload :PartnerRegistrationsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb'
|
48
|
-
autoload :ResourceSku, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb'
|
49
|
-
autoload :PartnerRegistrationUpdateParameters, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb'
|
50
|
-
autoload :IdentityInfo, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_info.rb'
|
51
|
-
autoload :SkuDefinitionsForResourceType, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/sku_definitions_for_resource_type.rb'
|
52
|
-
autoload :JsonField, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb'
|
53
|
-
autoload :PartnerNamespaceRegenerateKeyRequest, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb'
|
54
|
-
autoload :Resource, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource.rb'
|
44
|
+
autoload :PartnerTopicsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb'
|
55
45
|
autoload :PartnerNamespacesListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespaces_list_result.rb'
|
46
|
+
autoload :PartnerNamespaceUpdateParameters, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_update_parameters.rb'
|
47
|
+
autoload :InboundIpRule, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb'
|
48
|
+
autoload :PrivateLinkResource, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resource.rb'
|
49
|
+
autoload :UserIdentityProperties, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/user_identity_properties.rb'
|
50
|
+
autoload :OperationsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb'
|
51
|
+
autoload :Resource, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource.rb'
|
52
|
+
autoload :Operation, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation.rb'
|
56
53
|
autoload :JsonFieldWithDefault, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb'
|
54
|
+
autoload :OperationInfo, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb'
|
55
|
+
autoload :PartnerRegistrationEventTypesListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_event_types_list_result.rb'
|
56
|
+
autoload :EventSubscriptionsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb'
|
57
57
|
autoload :DomainUpdateParameters, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb'
|
58
|
-
autoload :
|
58
|
+
autoload :ConnectionState, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/connection_state.rb'
|
59
59
|
autoload :DomainSharedAccessKeys, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb'
|
60
|
-
autoload :
|
61
|
-
autoload :
|
62
|
-
autoload :
|
60
|
+
autoload :EventSubscriptionFullUrl, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb'
|
61
|
+
autoload :PartnerRegistrationsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registrations_list_result.rb'
|
62
|
+
autoload :EventChannelsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb'
|
63
63
|
autoload :EventChannelSource, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_source.rb'
|
64
|
-
autoload :PrivateEndpointConnectionListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb'
|
65
|
-
autoload :OperationsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb'
|
66
|
-
autoload :PartnerTopicsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topics_list_result.rb'
|
67
64
|
autoload :EventSubscriptionDestination, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb'
|
68
|
-
autoload :
|
65
|
+
autoload :AdvancedFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb'
|
66
|
+
autoload :EventSubscriptionIdentity, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb'
|
67
|
+
autoload :PartnerRegistrationUpdateParameters, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration_update_parameters.rb'
|
69
68
|
autoload :DeliveryWithResourceIdentity, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/delivery_with_resource_identity.rb'
|
70
|
-
autoload :
|
69
|
+
autoload :PartnerNamespaceRegenerateKeyRequest, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_regenerate_key_request.rb'
|
71
70
|
autoload :EventSubscriptionFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb'
|
72
|
-
autoload :
|
71
|
+
autoload :InputSchemaMapping, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb'
|
72
|
+
autoload :RetryPolicy, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb'
|
73
|
+
autoload :IdentityInfo, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/identity_info.rb'
|
73
74
|
autoload :DeadLetterDestination, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb'
|
74
|
-
autoload :
|
75
|
-
autoload :
|
76
|
-
autoload :
|
75
|
+
autoload :PartnerTopicUpdateParameters, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic_update_parameters.rb'
|
76
|
+
autoload :DeadLetterWithResourceIdentity, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_with_resource_identity.rb'
|
77
|
+
autoload :DomainsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb'
|
78
|
+
autoload :DomainTopicsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb'
|
77
79
|
autoload :TopicTypesListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb'
|
78
|
-
autoload :
|
80
|
+
autoload :EventChannelFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_filter.rb'
|
79
81
|
autoload :TopicRegenerateKeyRequest, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb'
|
80
|
-
autoload :
|
82
|
+
autoload :PartnerNamespaceSharedAccessKeys, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_namespace_shared_access_keys.rb'
|
81
83
|
autoload :TopicSharedAccessKeys, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb'
|
82
|
-
autoload :
|
84
|
+
autoload :JsonField, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb'
|
83
85
|
autoload :TopicsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb'
|
84
|
-
autoload :
|
86
|
+
autoload :DomainRegenerateKeyRequest, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb'
|
85
87
|
autoload :TopicUpdateParameters, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb'
|
86
|
-
autoload :
|
88
|
+
autoload :PrivateEndpointConnectionListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb'
|
87
89
|
autoload :SystemTopicsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topics_list_result.rb'
|
88
|
-
autoload :
|
90
|
+
autoload :EventTypesListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb'
|
89
91
|
autoload :SystemTopicUpdateParameters, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/system_topic_update_parameters.rb'
|
90
|
-
autoload :
|
92
|
+
autoload :ResourceSku, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/resource_sku.rb'
|
93
|
+
autoload :PrivateLinkResourcesListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb'
|
94
|
+
autoload :EventChannelDestination, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel_destination.rb'
|
91
95
|
autoload :EventSubscriptionUpdateParameters, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb'
|
92
|
-
autoload :DomainsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb'
|
93
|
-
autoload :EventSubscriptionFullUrl, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb'
|
94
|
-
autoload :OperationInfo, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb'
|
95
|
-
autoload :EventChannelsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channels_list_result.rb'
|
96
|
-
autoload :EventSubscriptionsListResult, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb'
|
97
96
|
autoload :PrivateEndpointConnection, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb'
|
98
97
|
autoload :JsonInputSchemaMapping, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb'
|
99
98
|
autoload :TrackedResource, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb'
|
100
99
|
autoload :Domain, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain.rb'
|
101
100
|
autoload :DomainTopic, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb'
|
102
|
-
autoload :EventChannel, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel.rb'
|
103
101
|
autoload :NumberInAdvancedFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb'
|
104
|
-
autoload :StorageBlobDeadLetterDestination, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb'
|
105
102
|
autoload :NumberNotInAdvancedFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb'
|
106
103
|
autoload :NumberLessThanAdvancedFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb'
|
107
104
|
autoload :NumberGreaterThanAdvancedFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb'
|
@@ -113,6 +110,8 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
|
|
113
110
|
autoload :StringBeginsWithAdvancedFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb'
|
114
111
|
autoload :StringEndsWithAdvancedFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb'
|
115
112
|
autoload :StringContainsAdvancedFilter, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb'
|
113
|
+
autoload :EventChannel, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_channel.rb'
|
114
|
+
autoload :StorageBlobDeadLetterDestination, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb'
|
116
115
|
autoload :WebHookEventSubscriptionDestination, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb'
|
117
116
|
autoload :EventHubEventSubscriptionDestination, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb'
|
118
117
|
autoload :StorageQueueEventSubscriptionDestination, '2020-04-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb'
|
@@ -258,16 +258,11 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
|
|
258
258
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
259
259
|
# will be added to the HTTP request.
|
260
260
|
#
|
261
|
-
#
|
262
261
|
def delete(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:nil)
|
263
262
|
response = delete_async(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:custom_headers).value!
|
264
263
|
nil
|
265
264
|
end
|
266
265
|
|
267
|
-
#
|
268
|
-
# Delete an event channel.
|
269
|
-
#
|
270
|
-
# Delete existing event channel.
|
271
266
|
#
|
272
267
|
# @param resource_group_name [String] The name of the resource group within the
|
273
268
|
# user's subscription.
|
@@ -276,70 +271,23 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
|
|
276
271
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
277
272
|
# will be added to the HTTP request.
|
278
273
|
#
|
279
|
-
# @return [
|
280
|
-
#
|
281
|
-
def delete_with_http_info(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:nil)
|
282
|
-
delete_async(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:custom_headers).value!
|
283
|
-
end
|
284
|
-
|
285
|
-
#
|
286
|
-
# Delete an event channel.
|
287
|
-
#
|
288
|
-
# Delete existing event channel.
|
289
|
-
#
|
290
|
-
# @param resource_group_name [String] The name of the resource group within the
|
291
|
-
# user's subscription.
|
292
|
-
# @param partner_namespace_name [String] Name of the partner namespace.
|
293
|
-
# @param event_channel_name [String] Name of the event channel.
|
294
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
295
|
-
# to the HTTP request.
|
296
|
-
#
|
297
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
274
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
275
|
+
# response.
|
298
276
|
#
|
299
277
|
def delete_async(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:nil)
|
300
|
-
|
301
|
-
|
302
|
-
fail ArgumentError, 'partner_namespace_name is nil' if partner_namespace_name.nil?
|
303
|
-
fail ArgumentError, 'event_channel_name is nil' if event_channel_name.nil?
|
304
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
305
|
-
|
306
|
-
|
307
|
-
request_headers = {}
|
308
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
309
|
-
|
310
|
-
# Set Headers
|
311
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
312
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
313
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/eventChannels/{eventChannelName}'
|
314
|
-
|
315
|
-
request_url = @base_url || @client.base_url
|
316
|
-
|
317
|
-
options = {
|
318
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
319
|
-
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'partnerNamespaceName' => partner_namespace_name,'eventChannelName' => event_channel_name},
|
320
|
-
query_params: {'api-version' => @client.api_version},
|
321
|
-
headers: request_headers.merge(custom_headers || {}),
|
322
|
-
base_url: request_url
|
323
|
-
}
|
324
|
-
promise = @client.make_request_async(:delete, path_template, options)
|
278
|
+
# Send request
|
279
|
+
promise = begin_delete_async(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:custom_headers)
|
325
280
|
|
326
|
-
promise = promise.then do |
|
327
|
-
|
328
|
-
|
329
|
-
response_content = http_response.body
|
330
|
-
unless status_code == 200 || status_code == 202 || status_code == 204
|
331
|
-
error_model = JSON.load(response_content)
|
332
|
-
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
281
|
+
promise = promise.then do |response|
|
282
|
+
# Defining deserialization method.
|
283
|
+
deserialize_method = lambda do |parsed_response|
|
333
284
|
end
|
334
285
|
|
335
|
-
|
336
|
-
|
337
|
-
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
338
|
-
|
339
|
-
result
|
286
|
+
# Waiting for response.
|
287
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
340
288
|
end
|
341
289
|
|
342
|
-
promise
|
290
|
+
promise
|
343
291
|
end
|
344
292
|
|
345
293
|
#
|
@@ -478,6 +426,102 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
|
|
478
426
|
promise.execute
|
479
427
|
end
|
480
428
|
|
429
|
+
#
|
430
|
+
# Delete an event channel.
|
431
|
+
#
|
432
|
+
# Delete existing event channel.
|
433
|
+
#
|
434
|
+
# @param resource_group_name [String] The name of the resource group within the
|
435
|
+
# user's subscription.
|
436
|
+
# @param partner_namespace_name [String] Name of the partner namespace.
|
437
|
+
# @param event_channel_name [String] Name of the event channel.
|
438
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
439
|
+
# will be added to the HTTP request.
|
440
|
+
#
|
441
|
+
#
|
442
|
+
def begin_delete(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:nil)
|
443
|
+
response = begin_delete_async(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:custom_headers).value!
|
444
|
+
nil
|
445
|
+
end
|
446
|
+
|
447
|
+
#
|
448
|
+
# Delete an event channel.
|
449
|
+
#
|
450
|
+
# Delete existing event channel.
|
451
|
+
#
|
452
|
+
# @param resource_group_name [String] The name of the resource group within the
|
453
|
+
# user's subscription.
|
454
|
+
# @param partner_namespace_name [String] Name of the partner namespace.
|
455
|
+
# @param event_channel_name [String] Name of the event channel.
|
456
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
457
|
+
# will be added to the HTTP request.
|
458
|
+
#
|
459
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
460
|
+
#
|
461
|
+
def begin_delete_with_http_info(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:nil)
|
462
|
+
begin_delete_async(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:custom_headers).value!
|
463
|
+
end
|
464
|
+
|
465
|
+
#
|
466
|
+
# Delete an event channel.
|
467
|
+
#
|
468
|
+
# Delete existing event channel.
|
469
|
+
#
|
470
|
+
# @param resource_group_name [String] The name of the resource group within the
|
471
|
+
# user's subscription.
|
472
|
+
# @param partner_namespace_name [String] Name of the partner namespace.
|
473
|
+
# @param event_channel_name [String] Name of the event channel.
|
474
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
475
|
+
# to the HTTP request.
|
476
|
+
#
|
477
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
478
|
+
#
|
479
|
+
def begin_delete_async(resource_group_name, partner_namespace_name, event_channel_name, custom_headers:nil)
|
480
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
481
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
482
|
+
fail ArgumentError, 'partner_namespace_name is nil' if partner_namespace_name.nil?
|
483
|
+
fail ArgumentError, 'event_channel_name is nil' if event_channel_name.nil?
|
484
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
485
|
+
|
486
|
+
|
487
|
+
request_headers = {}
|
488
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
489
|
+
|
490
|
+
# Set Headers
|
491
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
492
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
493
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/eventChannels/{eventChannelName}'
|
494
|
+
|
495
|
+
request_url = @base_url || @client.base_url
|
496
|
+
|
497
|
+
options = {
|
498
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
499
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'partnerNamespaceName' => partner_namespace_name,'eventChannelName' => event_channel_name},
|
500
|
+
query_params: {'api-version' => @client.api_version},
|
501
|
+
headers: request_headers.merge(custom_headers || {}),
|
502
|
+
base_url: request_url
|
503
|
+
}
|
504
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
505
|
+
|
506
|
+
promise = promise.then do |result|
|
507
|
+
http_response = result.response
|
508
|
+
status_code = http_response.status
|
509
|
+
response_content = http_response.body
|
510
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
511
|
+
error_model = JSON.load(response_content)
|
512
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
513
|
+
end
|
514
|
+
|
515
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
516
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
517
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
518
|
+
|
519
|
+
result
|
520
|
+
end
|
521
|
+
|
522
|
+
promise.execute
|
523
|
+
end
|
524
|
+
|
481
525
|
#
|
482
526
|
# List event channels.
|
483
527
|
#
|
@@ -187,7 +187,7 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
|
|
187
187
|
#
|
188
188
|
def add_telemetry
|
189
189
|
sdk_information = 'azure_mgmt_event_grid'
|
190
|
-
sdk_information = "#{sdk_information}/0.
|
190
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
191
191
|
add_user_agent_information(sdk_information)
|
192
192
|
end
|
193
193
|
end
|
@@ -25,6 +25,10 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
|
|
25
25
|
# 'Succeeded', 'Canceled', 'Failed'
|
26
26
|
attr_accessor :provisioning_state
|
27
27
|
|
28
|
+
# @return [EventChannelFilter] Information about the filter for the event
|
29
|
+
# channel.
|
30
|
+
attr_accessor :filter
|
31
|
+
|
28
32
|
|
29
33
|
#
|
30
34
|
# Mapper for EventChannel class as Ruby Hash.
|
@@ -92,6 +96,15 @@ module Azure::EventGrid::Mgmt::V2020_04_01_preview
|
|
92
96
|
type: {
|
93
97
|
name: 'String'
|
94
98
|
}
|
99
|
+
},
|
100
|
+
filter: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'properties.filter',
|
104
|
+
type: {
|
105
|
+
name: 'Composite',
|
106
|
+
class_name: 'EventChannelFilter'
|
107
|
+
}
|
95
108
|
}
|
96
109
|
}
|
97
110
|
}
|