azure_mgmt_event_grid 0.20.1 → 0.20.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  3. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  4. data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  5. data/lib/2018-05-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  6. data/lib/2018-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  7. data/lib/2019-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  8. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  9. data/lib/2019-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  10. data/lib/2020-01-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  11. data/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +1 -1
  12. data/lib/2020-06-01/generated/azure_mgmt_event_grid.rb +108 -0
  13. data/lib/2020-06-01/generated/azure_mgmt_event_grid/domain_topics.rb +699 -0
  14. data/lib/2020-06-01/generated/azure_mgmt_event_grid/domains.rb +1328 -0
  15. data/lib/2020-06-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +161 -0
  16. data/lib/2020-06-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +3648 -0
  17. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -0
  18. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/azure_function_event_subscription_destination.rb +86 -0
  19. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
  20. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/connection_state.rb +69 -0
  21. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
  22. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain.rb +212 -0
  23. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
  24. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
  25. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
  26. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -0
  27. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
  28. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
  29. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +91 -0
  30. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
  31. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
  32. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
  33. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -0
  34. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +52 -0
  35. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
  36. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
  37. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
  38. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -0
  39. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
  40. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
  41. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
  42. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
  43. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/inbound_ip_rule.rb +59 -0
  44. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
  45. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
  46. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/ip_action_type.rb +15 -0
  47. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
  48. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -0
  49. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
  50. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
  51. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
  52. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
  53. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
  54. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
  55. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
  56. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
  57. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
  58. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
  59. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/persisted_connection_status.rb +18 -0
  60. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_endpoint.rb +46 -0
  61. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_endpoint_connection.rb +121 -0
  62. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_endpoint_connection_list_result.rb +100 -0
  63. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_link_resource.rb +128 -0
  64. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/private_link_resources_list_result.rb +99 -0
  65. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/public_network_access.rb +16 -0
  66. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
  67. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/resource_provisioning_state.rb +20 -0
  68. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  69. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
  70. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -0
  71. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/service_bus_topic_event_subscription_destination.rb +64 -0
  72. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
  73. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
  74. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
  75. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
  76. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
  77. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
  78. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
  79. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic.rb +213 -0
  80. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  81. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
  82. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
  83. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +150 -0
  84. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  85. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
  86. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +91 -0
  87. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
  88. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
  89. data/lib/2020-06-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +122 -0
  90. data/lib/2020-06-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  91. data/lib/2020-06-01/generated/azure_mgmt_event_grid/operations.rb +118 -0
  92. data/lib/2020-06-01/generated/azure_mgmt_event_grid/private_endpoint_connections.rb +791 -0
  93. data/lib/2020-06-01/generated/azure_mgmt_event_grid/private_link_resources.rb +423 -0
  94. data/lib/2020-06-01/generated/azure_mgmt_event_grid/topic_types.rb +305 -0
  95. data/lib/2020-06-01/generated/azure_mgmt_event_grid/topics.rb +1439 -0
  96. data/lib/azure_mgmt_event_grid.rb +1 -0
  97. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +184 -360
  98. data/lib/version.rb +1 -1
  99. metadata +86 -2
@@ -0,0 +1,99 @@
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_06_01
7
+ module Models
8
+ #
9
+ # Result of the List private link resources operation.
10
+ #
11
+ class PrivateLinkResourcesListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<PrivateLinkResource>] A collection of private link
17
+ # resources
18
+ attr_accessor :value
19
+
20
+ # @return [String] A link for the next page of private link resources.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<PrivateLinkResource>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [PrivateLinkResourcesListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for PrivateLinkResourcesListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'PrivateLinkResourcesListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'PrivateLinkResourcesListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'PrivateLinkResourceElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'PrivateLinkResource'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::Mgmt::V2020_06_01
7
+ module Models
8
+ #
9
+ # Defines values for PublicNetworkAccess
10
+ #
11
+ module PublicNetworkAccess
12
+ Enabled = "Enabled"
13
+ Disabled = "Disabled"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,80 @@
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_06_01
7
+ module Models
8
+ #
9
+ # Definition of a Resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Fully qualified identifier of the resource.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Type of the resource.
22
+ attr_accessor :type
23
+
24
+
25
+ # @return [String] the name of the resource group of the resource.
26
+ def resource_group
27
+ unless self.id.nil?
28
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
29
+ groups.captures[0].strip if groups
30
+ end
31
+ end
32
+
33
+
34
+ #
35
+ # Mapper for Resource class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'Resource',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'Resource',
46
+ model_properties: {
47
+ id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ name: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'name',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'type',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,20 @@
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_06_01
7
+ module Models
8
+ #
9
+ # Defines values for ResourceProvisioningState
10
+ #
11
+ module ResourceProvisioningState
12
+ Creating = "Creating"
13
+ Updating = "Updating"
14
+ Deleting = "Deleting"
15
+ Succeeded = "Succeeded"
16
+ Canceled = "Canceled"
17
+ Failed = "Failed"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::Mgmt::V2020_06_01
7
+ module Models
8
+ #
9
+ # Defines values for ResourceRegionType
10
+ #
11
+ module ResourceRegionType
12
+ RegionalResource = "RegionalResource"
13
+ GlobalResource = "GlobalResource"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,57 @@
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_06_01
7
+ module Models
8
+ #
9
+ # Information about the retry policy for an event subscription.
10
+ #
11
+ class RetryPolicy
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Maximum number of delivery retry attempts for events.
16
+ attr_accessor :max_delivery_attempts
17
+
18
+ # @return [Integer] Time To Live (in minutes) for events.
19
+ attr_accessor :event_time_to_live_in_minutes
20
+
21
+
22
+ #
23
+ # Mapper for RetryPolicy class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'RetryPolicy',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'RetryPolicy',
34
+ model_properties: {
35
+ max_delivery_attempts: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'maxDeliveryAttempts',
39
+ type: {
40
+ name: 'Number'
41
+ }
42
+ },
43
+ event_time_to_live_in_minutes: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'eventTimeToLiveInMinutes',
47
+ type: {
48
+ name: 'Number'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,63 @@
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_06_01
7
+ module Models
8
+ #
9
+ # Information about the service bus destination for an event subscription.
10
+ #
11
+ class ServiceBusQueueEventSubscriptionDestination < EventSubscriptionDestination
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @endpointType = "ServiceBusQueue"
18
+ end
19
+
20
+ attr_accessor :endpointType
21
+
22
+ # @return [String] The Azure Resource Id that represents the endpoint of
23
+ # the Service Bus destination of an event subscription.
24
+ attr_accessor :resource_id
25
+
26
+
27
+ #
28
+ # Mapper for ServiceBusQueueEventSubscriptionDestination class as Ruby
29
+ # Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'ServiceBusQueue',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ServiceBusQueueEventSubscriptionDestination',
40
+ model_properties: {
41
+ endpointType: {
42
+ client_side_validation: true,
43
+ required: true,
44
+ serialized_name: 'endpointType',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ resource_id: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'properties.resourceId',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,64 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::Mgmt::V2020_06_01
7
+ module Models
8
+ #
9
+ # Information about the service bus topic destination for an event
10
+ # subscription.
11
+ #
12
+ class ServiceBusTopicEventSubscriptionDestination < EventSubscriptionDestination
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @endpointType = "ServiceBusTopic"
19
+ end
20
+
21
+ attr_accessor :endpointType
22
+
23
+ # @return [String] The Azure Resource Id that represents the endpoint of
24
+ # the Service Bus Topic destination of an event subscription.
25
+ attr_accessor :resource_id
26
+
27
+
28
+ #
29
+ # Mapper for ServiceBusTopicEventSubscriptionDestination class as Ruby
30
+ # Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'ServiceBusTopic',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'ServiceBusTopicEventSubscriptionDestination',
41
+ model_properties: {
42
+ endpointType: {
43
+ client_side_validation: true,
44
+ required: true,
45
+ serialized_name: 'endpointType',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ resource_id: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'properties.resourceId',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,74 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::Mgmt::V2020_06_01
7
+ module Models
8
+ #
9
+ # Information about the storage blob based dead letter destination.
10
+ #
11
+ class StorageBlobDeadLetterDestination < DeadLetterDestination
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @endpointType = "StorageBlob"
18
+ end
19
+
20
+ attr_accessor :endpointType
21
+
22
+ # @return [String] The Azure Resource ID of the storage account that is
23
+ # the destination of the deadletter events
24
+ attr_accessor :resource_id
25
+
26
+ # @return [String] The name of the Storage blob container that is the
27
+ # destination of the deadletter events
28
+ attr_accessor :blob_container_name
29
+
30
+
31
+ #
32
+ # Mapper for StorageBlobDeadLetterDestination class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'StorageBlob',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'StorageBlobDeadLetterDestination',
43
+ model_properties: {
44
+ endpointType: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'endpointType',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ resource_id: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'properties.resourceId',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ blob_container_name: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'properties.blobContainerName',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end