azure_mgmt_event_grid 0.17.4 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) 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.rb +93 -0
  9. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb +653 -0
  10. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domains.rb +1236 -0
  11. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +153 -0
  12. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +3318 -0
  13. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb +74 -0
  14. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/bool_equals_advanced_filter.rb +69 -0
  15. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/dead_letter_destination.rb +50 -0
  16. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain.rb +142 -0
  17. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_provisioning_state.rb +20 -0
  18. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_regenerate_key_request.rb +46 -0
  19. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_shared_access_keys.rb +57 -0
  20. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic.rb +75 -0
  21. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topic_provisioning_state.rb +20 -0
  22. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_topics_list_result.rb +98 -0
  23. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domain_update_parameters.rb +54 -0
  24. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/domains_list_result.rb +98 -0
  25. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_delivery_schema.rb +17 -0
  26. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
  27. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +189 -0
  28. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +50 -0
  29. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +120 -0
  30. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
  31. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +21 -0
  32. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +137 -0
  33. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +98 -0
  34. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_type.rb +106 -0
  35. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
  36. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/hybrid_connection_event_subscription_destination.rb +64 -0
  37. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema.rb +17 -0
  38. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb +49 -0
  39. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb +50 -0
  40. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_field_with_default.rb +67 -0
  41. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/json_input_schema_mapping.rb +130 -0
  42. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_advanced_filter.rb +69 -0
  43. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_greater_than_or_equals_advanced_filter.rb +69 -0
  44. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_in_advanced_filter.rb +77 -0
  45. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_advanced_filter.rb +69 -0
  46. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_less_than_or_equals_advanced_filter.rb +69 -0
  47. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/number_not_in_advanced_filter.rb +77 -0
  48. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
  49. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
  50. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
  51. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource.rb +80 -0
  52. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  53. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/retry_policy.rb +57 -0
  54. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/service_bus_queue_event_subscription_destination.rb +63 -0
  55. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_blob_dead_letter_destination.rb +74 -0
  56. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/storage_queue_event_subscription_destination.rb +75 -0
  57. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_begins_with_advanced_filter.rb +77 -0
  58. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_contains_advanced_filter.rb +77 -0
  59. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_ends_with_advanced_filter.rb +77 -0
  60. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_in_advanced_filter.rb +77 -0
  61. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/string_not_in_advanced_filter.rb +77 -0
  62. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic.rb +144 -0
  63. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  64. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
  65. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
  66. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -0
  67. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  68. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
  69. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
  70. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +98 -0
  71. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
  72. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -0
  73. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  74. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/operations.rb +116 -0
  75. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topic_types.rb +299 -0
  76. data/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb +1345 -0
  77. data/lib/azure_mgmt_event_grid.rb +1 -0
  78. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +204 -84
  79. data/lib/version.rb +1 -1
  80. metadata +70 -1
@@ -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::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for TopicProvisioningState
10
+ #
11
+ module TopicProvisioningState
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,46 @@
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::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # Topic regenerate share access key request
10
+ #
11
+ class TopicRegenerateKeyRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Key name to regenerate key1 or key2
16
+ attr_accessor :key_name
17
+
18
+
19
+ #
20
+ # Mapper for TopicRegenerateKeyRequest class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'TopicRegenerateKeyRequest',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'TopicRegenerateKeyRequest',
31
+ model_properties: {
32
+ key_name: {
33
+ client_side_validation: true,
34
+ required: true,
35
+ serialized_name: 'keyName',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ 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::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # Shared access keys of the Topic
10
+ #
11
+ class TopicSharedAccessKeys
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Shared access key1 for the topic.
16
+ attr_accessor :key1
17
+
18
+ # @return [String] Shared access key2 for the topic.
19
+ attr_accessor :key2
20
+
21
+
22
+ #
23
+ # Mapper for TopicSharedAccessKeys 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: 'TopicSharedAccessKeys',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'TopicSharedAccessKeys',
34
+ model_properties: {
35
+ key1: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'key1',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ key2: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'key2',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,139 @@
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::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # Properties of a topic type info.
10
+ #
11
+ class TopicTypeInfo < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Namespace of the provider of the topic type.
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Display Name for the topic type.
19
+ attr_accessor :display_name
20
+
21
+ # @return [String] Description of the topic type.
22
+ attr_accessor :description
23
+
24
+ # @return [ResourceRegionType] Region type of the resource. Possible
25
+ # values include: 'RegionalResource', 'GlobalResource'
26
+ attr_accessor :resource_region_type
27
+
28
+ # @return [TopicTypeProvisioningState] Provisioning state of the topic
29
+ # type. Possible values include: 'Creating', 'Updating', 'Deleting',
30
+ # 'Succeeded', 'Canceled', 'Failed'
31
+ attr_accessor :provisioning_state
32
+
33
+ # @return [Array<String>] List of locations supported by this topic type.
34
+ attr_accessor :supported_locations
35
+
36
+
37
+ #
38
+ # Mapper for TopicTypeInfo class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'TopicTypeInfo',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'TopicTypeInfo',
49
+ model_properties: {
50
+ id: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'id',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ name: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'name',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ type: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'type',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ provider: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'properties.provider',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ display_name: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'properties.displayName',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ description: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'properties.description',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ resource_region_type: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'properties.resourceRegionType',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ },
109
+ provisioning_state: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'properties.provisioningState',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ supported_locations: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'properties.supportedLocations',
121
+ type: {
122
+ name: 'Sequence',
123
+ element: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'StringElementType',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ end
137
+ end
138
+ end
139
+ 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::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # Defines values for TopicTypeProvisioningState
10
+ #
11
+ module TopicTypeProvisioningState
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,55 @@
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::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # Result of the List Topic Types operation
10
+ #
11
+ class TopicTypesListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<TopicTypeInfo>] A collection of topic types
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for TopicTypesListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'TopicTypesListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'TopicTypesListResult',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'TopicTypeInfoElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'TopicTypeInfo'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,54 @@
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::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # Properties of the Topic update
10
+ #
11
+ class TopicUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Tags of the resource
16
+ attr_accessor :tags
17
+
18
+
19
+ #
20
+ # Mapper for TopicUpdateParameters class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'TopicUpdateParameters',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'TopicUpdateParameters',
31
+ model_properties: {
32
+ tags: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'tags',
36
+ type: {
37
+ name: 'Dictionary',
38
+ value: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'StringElementType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,98 @@
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::V2019_02_01_preview
7
+ module Models
8
+ #
9
+ # Result of the List Topics operation
10
+ #
11
+ class TopicsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<Topic>] A collection of Topics
17
+ attr_accessor :value
18
+
19
+ # @return [String] A link for the next page of topics
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<Topic>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [TopicsListResult] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for TopicsListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'TopicsListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'TopicsListResult',
66
+ model_properties: {
67
+ value: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'TopicElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'Topic'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ next_link: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'nextLink',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end