azure_mgmt_event_grid 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +143 -0
  3. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/event_subscriptions.rb +18 -18
  4. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/endpoint_type.rb +15 -0
  5. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription.rb +124 -0
  6. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +68 -0
  7. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_filter.rb +1 -1
  8. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_full_url.rb +1 -1
  9. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +1 -1
  10. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +76 -0
  11. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +1 -1
  12. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_type.rb +1 -1
  13. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/event_types_list_result.rb +1 -1
  14. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/operation.rb +1 -1
  15. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/operation_info.rb +1 -1
  16. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/operation_origin.rb +1 -1
  17. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/operations_list_result.rb +1 -1
  18. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/resource.rb +1 -1
  19. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/resource_region_type.rb +1 -1
  20. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic.rb +1 -1
  21. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_provisioning_state.rb +1 -1
  22. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +1 -1
  23. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +1 -1
  24. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/models/topic_type_info.rb +111 -0
  25. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +1 -1
  26. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topic_types_list_result.rb +1 -1
  27. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/topics_list_result.rb +1 -1
  28. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/models/tracked_resource.rb +1 -1
  29. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  30. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/operations.rb +2 -2
  31. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/topic_types.rb +4 -4
  32. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/topics.rb +11 -11
  33. data/lib/{generated → 2017-06-15-preview/generated}/azure_mgmt_event_grid/version.rb +2 -2
  34. data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid.rb +56 -0
  35. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/event_grid_management_client.rb +3 -3
  36. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +1803 -0
  37. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +1 -1
  38. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription.rb +1 -1
  39. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_destination.rb +1 -1
  40. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +92 -0
  41. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +45 -0
  42. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -0
  43. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +1 -1
  44. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +52 -0
  45. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_type.rb +88 -0
  46. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +52 -0
  47. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation.rb +76 -0
  48. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_info.rb +74 -0
  49. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operation_origin.rb +17 -0
  50. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/operations_list_result.rb +52 -0
  51. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource.rb +67 -0
  52. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
  53. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic.rb +103 -0
  54. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
  55. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +44 -0
  56. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +54 -0
  57. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/topic_type_info.rb +1 -1
  58. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
  59. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +52 -0
  60. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topics_list_result.rb +52 -0
  61. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/tracked_resource.rb +85 -0
  62. data/lib/{generated → 2017-09-15-preview/generated}/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +1 -1
  63. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
  64. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/operations.rb +115 -0
  65. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topic_types.rb +296 -0
  66. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +926 -0
  67. data/lib/{generated/azure_mgmt_event_grid/module_definition.rb → 2017-09-15-preview/generated/azure_mgmt_event_grid/version.rb} +3 -3
  68. data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid.rb +57 -0
  69. data/lib/azure_mgmt_event_grid.rb +3 -2
  70. data/lib/module_definition.rb +7 -0
  71. data/lib/profiles/common/configurable.rb +73 -0
  72. data/lib/profiles/common/default.rb +68 -0
  73. data/lib/profiles/latest/eventgrid_latest_profile_client.rb +33 -0
  74. data/lib/profiles/latest/eventgrid_module_definition.rb +9 -0
  75. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +152 -0
  76. data/lib/version.rb +7 -0
  77. metadata +76 -36
  78. data/lib/generated/azure_mgmt_event_grid.rb +0 -57
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_09_15_preview
7
7
  module Models
8
8
  #
9
9
  # Information about the event hub destination for an event subscription
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_09_15_preview
7
7
  module Models
8
8
  #
9
9
  # Event Subscription
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_09_15_preview
7
7
  module Models
8
8
  #
9
9
  # Information about the destination for an event subscription
@@ -0,0 +1,92 @@
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::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Filter for the Event Subscription
10
+ #
11
+ class EventSubscriptionFilter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] An optional string to filter events for an event
16
+ # subscription based on a resource path prefix.
17
+ # The format of this depends on the publisher of the events.
18
+ # Wildcard characters are not supported in this path.
19
+ attr_accessor :subject_begins_with
20
+
21
+ # @return [String] An optional string to filter events for an event
22
+ # subscription based on a resource path suffix.
23
+ # Wildcard characters are not supported in this path.
24
+ attr_accessor :subject_ends_with
25
+
26
+ # @return [Array<String>] A list of applicable event types that need to
27
+ # be part of the event subscription.
28
+ # If it is desired to subscribe to all event types, the string "all"
29
+ # needs to be specified as an element in this list.
30
+ attr_accessor :included_event_types
31
+
32
+ # @return [Boolean] Specifies if the SubjectBeginsWith and
33
+ # SubjectEndsWith properties of the filter
34
+ # should be compared in a case sensitive manner. Default value: false .
35
+ attr_accessor :is_subject_case_sensitive
36
+
37
+
38
+ #
39
+ # Mapper for EventSubscriptionFilter class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ required: false,
45
+ serialized_name: 'EventSubscriptionFilter',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'EventSubscriptionFilter',
49
+ model_properties: {
50
+ subject_begins_with: {
51
+ required: false,
52
+ serialized_name: 'subjectBeginsWith',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ subject_ends_with: {
58
+ required: false,
59
+ serialized_name: 'subjectEndsWith',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ included_event_types: {
65
+ required: false,
66
+ serialized_name: 'includedEventTypes',
67
+ type: {
68
+ name: 'Sequence',
69
+ element: {
70
+ required: false,
71
+ serialized_name: 'StringElementType',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ }
76
+ }
77
+ },
78
+ is_subject_case_sensitive: {
79
+ required: false,
80
+ serialized_name: 'isSubjectCaseSensitive',
81
+ default_value: false,
82
+ type: {
83
+ name: 'Boolean'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,45 @@
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::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Full endpoint url of an event subscription
10
+ #
11
+ class EventSubscriptionFullUrl
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The URL that represents the endpoint of the
16
+ # destination of an event subscription.
17
+ attr_accessor :endpoint_url
18
+
19
+
20
+ #
21
+ # Mapper for EventSubscriptionFullUrl class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'EventSubscriptionFullUrl',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'EventSubscriptionFullUrl',
31
+ model_properties: {
32
+ endpoint_url: {
33
+ required: false,
34
+ serialized_name: 'endpointUrl',
35
+ type: {
36
+ name: 'String'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ 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::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Defines values for EventSubscriptionProvisioningState
10
+ #
11
+ module EventSubscriptionProvisioningState
12
+ Creating = "Creating"
13
+ Updating = "Updating"
14
+ Deleting = "Deleting"
15
+ Succeeded = "Succeeded"
16
+ Canceled = "Canceled"
17
+ Failed = "Failed"
18
+ end
19
+ end
20
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::EventGrid
6
+ module Azure::EventGrid::Mgmt::V2017_09_15_preview
7
7
  module Models
8
8
  #
9
9
  # Properties of the Event Subscription update
@@ -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::EventGrid::Mgmt::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Result of the List EventSubscriptions operation
10
+ #
11
+ class EventSubscriptionsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<EventSubscription>] A collection of EventSubscriptions
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for EventSubscriptionsListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'EventSubscriptionsListResult',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'EventSubscriptionsListResult',
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: 'EventSubscriptionElementType',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'EventSubscription'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,88 @@
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::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Event Type for a subject under a topic
10
+ #
11
+ class EventType < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Display name of the event type.
16
+ attr_accessor :display_name
17
+
18
+ # @return [String] Description of the event type.
19
+ attr_accessor :description
20
+
21
+ # @return [String] Url of the schema for this event type.
22
+ attr_accessor :schema_url
23
+
24
+
25
+ #
26
+ # Mapper for EventType class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'EventType',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'EventType',
36
+ model_properties: {
37
+ id: {
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'id',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ name: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ type: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ display_name: {
62
+ required: false,
63
+ serialized_name: 'properties.displayName',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ description: {
69
+ required: false,
70
+ serialized_name: 'properties.description',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ schema_url: {
76
+ required: false,
77
+ serialized_name: 'properties.schemaUrl',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ end
86
+ end
87
+ end
88
+ 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::EventGrid::Mgmt::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Result of the List Event Types operation
10
+ #
11
+ class EventTypesListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<EventType>] A collection of event types
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for EventTypesListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'EventTypesListResult',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'EventTypesListResult',
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: 'EventTypeElementType',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'EventType'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,76 @@
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::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Represents an operation returned by the GetOperations request
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the operation
16
+ attr_accessor :name
17
+
18
+ # @return [OperationInfo] Display name of the operation
19
+ attr_accessor :display
20
+
21
+ # @return [OperationOrigin] Origin of the operation. Possible values
22
+ # include: 'User', 'System', 'UserAndSystem'
23
+ attr_accessor :origin
24
+
25
+ # @return Properties of the operation
26
+ attr_accessor :properties
27
+
28
+
29
+ #
30
+ # Mapper for Operation class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ required: false,
36
+ serialized_name: 'Operation',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'Operation',
40
+ model_properties: {
41
+ name: {
42
+ required: false,
43
+ serialized_name: 'name',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ display: {
49
+ required: false,
50
+ serialized_name: 'display',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'OperationInfo'
54
+ }
55
+ },
56
+ origin: {
57
+ required: false,
58
+ serialized_name: 'origin',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ properties: {
64
+ required: false,
65
+ serialized_name: 'properties',
66
+ type: {
67
+ name: 'Object'
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ end
74
+ end
75
+ end
76
+ 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::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Information about an operation
10
+ #
11
+ class OperationInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the provider
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Name of the resource type
19
+ attr_accessor :resource
20
+
21
+ # @return [String] Name of the operation
22
+ attr_accessor :operation
23
+
24
+ # @return [String] Description of the operation
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for OperationInfo class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'OperationInfo',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'OperationInfo',
39
+ model_properties: {
40
+ provider: {
41
+ required: false,
42
+ serialized_name: 'provider',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ resource: {
48
+ required: false,
49
+ serialized_name: 'resource',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ operation: {
55
+ required: false,
56
+ serialized_name: 'operation',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ description: {
62
+ required: false,
63
+ serialized_name: 'description',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,17 @@
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::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Defines values for OperationOrigin
10
+ #
11
+ module OperationOrigin
12
+ User = "User"
13
+ System = "System"
14
+ UserAndSystem = "UserAndSystem"
15
+ end
16
+ end
17
+ 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::EventGrid::Mgmt::V2017_09_15_preview
7
+ module Models
8
+ #
9
+ # Result of the List Operations operation
10
+ #
11
+ class OperationsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Operation>] A collection of operations
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for OperationsListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'OperationsListResult',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'OperationsListResult',
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: 'OperationElementType',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'Operation'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,67 @@
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::V2017_09_15_preview
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
+ #
26
+ # Mapper for Resource class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'Resource',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'Resource',
36
+ model_properties: {
37
+ id: {
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'id',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ name: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ type: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ end