azure_mgmt_event_grid 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_mgmt_event_grid.rb +6 -0
  4. data/lib/generated/azure_mgmt_event_grid.rb +57 -0
  5. data/lib/generated/azure_mgmt_event_grid/event_grid_management_client.rb +143 -0
  6. data/lib/generated/azure_mgmt_event_grid/event_subscriptions.rb +1803 -0
  7. data/lib/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +59 -0
  8. data/lib/generated/azure_mgmt_event_grid/models/event_subscription.rb +126 -0
  9. data/lib/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +46 -0
  10. data/lib/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +92 -0
  11. data/lib/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +45 -0
  12. data/lib/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -0
  13. data/lib/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +78 -0
  14. data/lib/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +52 -0
  15. data/lib/generated/azure_mgmt_event_grid/models/event_type.rb +88 -0
  16. data/lib/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +52 -0
  17. data/lib/generated/azure_mgmt_event_grid/models/operation.rb +76 -0
  18. data/lib/generated/azure_mgmt_event_grid/models/operation_info.rb +74 -0
  19. data/lib/generated/azure_mgmt_event_grid/models/operation_origin.rb +17 -0
  20. data/lib/generated/azure_mgmt_event_grid/models/operations_list_result.rb +52 -0
  21. data/lib/generated/azure_mgmt_event_grid/models/resource.rb +67 -0
  22. data/lib/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  23. data/lib/generated/azure_mgmt_event_grid/models/topic.rb +103 -0
  24. data/lib/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  25. data/lib/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +44 -0
  26. data/lib/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +54 -0
  27. data/lib/generated/azure_mgmt_event_grid/models/topic_type_info.rb +128 -0
  28. data/lib/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  29. data/lib/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +52 -0
  30. data/lib/generated/azure_mgmt_event_grid/models/topics_list_result.rb +52 -0
  31. data/lib/generated/azure_mgmt_event_grid/models/tracked_resource.rb +85 -0
  32. data/lib/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +71 -0
  33. data/lib/generated/azure_mgmt_event_grid/module_definition.rb +8 -0
  34. data/lib/generated/azure_mgmt_event_grid/operations.rb +115 -0
  35. data/lib/generated/azure_mgmt_event_grid/topic_types.rb +296 -0
  36. data/lib/generated/azure_mgmt_event_grid/topics.rb +926 -0
  37. data/lib/generated/azure_mgmt_event_grid/version.rb +8 -0
  38. metadata +149 -0
@@ -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::ARM::EventGrid
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,103 @@
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::ARM::EventGrid
7
+ module Models
8
+ #
9
+ # EventGrid Topic
10
+ #
11
+ class Topic < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [TopicProvisioningState] Provisioning state of the topic.
16
+ # Possible values include: 'Creating', 'Updating', 'Deleting',
17
+ # 'Succeeded', 'Canceled', 'Failed'
18
+ attr_accessor :provisioning_state
19
+
20
+ # @return [String] Endpoint for the topic.
21
+ attr_accessor :endpoint
22
+
23
+
24
+ #
25
+ # Mapper for Topic class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'Topic',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'Topic',
35
+ model_properties: {
36
+ id: {
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'id',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ name: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'name',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ type: {
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ location: {
61
+ required: true,
62
+ serialized_name: 'location',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ tags: {
68
+ required: false,
69
+ serialized_name: 'tags',
70
+ type: {
71
+ name: 'Dictionary',
72
+ value: {
73
+ required: false,
74
+ serialized_name: 'StringElementType',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ }
79
+ }
80
+ },
81
+ provisioning_state: {
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'properties.provisioningState',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ endpoint: {
90
+ required: false,
91
+ read_only: true,
92
+ serialized_name: 'properties.endpoint',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ end
101
+ end
102
+ end
103
+ 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::ARM::EventGrid
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,44 @@
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::ARM::EventGrid
7
+ module Models
8
+ #
9
+ # Topic regenerate share access key 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
+ required: false,
26
+ serialized_name: 'TopicRegenerateKeyRequest',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'TopicRegenerateKeyRequest',
30
+ model_properties: {
31
+ key_name: {
32
+ required: true,
33
+ serialized_name: 'keyName',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+ end
43
+ end
44
+ 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::ARM::EventGrid
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
+ required: false,
29
+ serialized_name: 'TopicSharedAccessKeys',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'TopicSharedAccessKeys',
33
+ model_properties: {
34
+ key1: {
35
+ required: false,
36
+ serialized_name: 'key1',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ key2: {
42
+ required: false,
43
+ serialized_name: 'key2',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,128 @@
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::ARM::EventGrid
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
+ required: false,
44
+ serialized_name: 'TopicTypeInfo',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'TopicTypeInfo',
48
+ model_properties: {
49
+ id: {
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'id',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ name: {
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'name',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ type: {
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'type',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ provider: {
74
+ required: false,
75
+ serialized_name: 'properties.provider',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ display_name: {
81
+ required: false,
82
+ serialized_name: 'properties.displayName',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ description: {
88
+ required: false,
89
+ serialized_name: 'properties.description',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ resource_region_type: {
95
+ required: false,
96
+ serialized_name: 'properties.resourceRegionType',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ provisioning_state: {
102
+ required: false,
103
+ serialized_name: 'properties.provisioningState',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ supported_locations: {
109
+ required: false,
110
+ serialized_name: 'properties.supportedLocations',
111
+ type: {
112
+ name: 'Sequence',
113
+ element: {
114
+ required: false,
115
+ serialized_name: 'StringElementType',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ end
126
+ end
127
+ end
128
+ 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::ARM::EventGrid
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,52 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::EventGrid
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
+ required: false,
26
+ serialized_name: 'TopicTypesListResult',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'TopicTypesListResult',
30
+ model_properties: {
31
+ value: {
32
+ required: false,
33
+ serialized_name: 'value',
34
+ type: {
35
+ name: 'Sequence',
36
+ element: {
37
+ required: false,
38
+ serialized_name: 'TopicTypeInfoElementType',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'TopicTypeInfo'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ end
50
+ end
51
+ end
52
+ end