azure_event_grid 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2018-01-01/generated/azure_event_grid.rb +28 -10
- data/lib/2018-01-01/generated/azure_event_grid/event_grid_client.rb +7 -6
- data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_actor.rb +48 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb +121 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb +93 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb +61 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_event_target.rb +115 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_deleted_event_data.rb +96 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_image_pushed_event_data.rb +96 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/device_connection_state_event_info.rb +50 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/device_connection_state_event_properties.rb +89 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb +2 -25
- data/lib/2018-01-01/generated/azure_event_grid/models/device_twin_info.rb +1 -1
- data/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_connected_event_data.rb +68 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_created_event_data.rb +0 -16
- data/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_deleted_event_data.rb +0 -16
- data/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_disconnected_event_data.rb +68 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/job_state.rb +21 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb +66 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb +109 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb +111 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/subscription_deleted_event_data.rb +49 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_event_data.rb +68 -0
- data/lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_response.rb +50 -0
- data/lib/profiles/latest/modules/eventgrid_profile_module.rb +108 -36
- data/lib/version.rb +1 -1
- metadata +22 -4
@@ -42,22 +42,6 @@ module Azure::EventGrid::V2018_01_01
|
|
42
42
|
name: 'String'
|
43
43
|
}
|
44
44
|
},
|
45
|
-
op_type: {
|
46
|
-
client_side_validation: true,
|
47
|
-
required: false,
|
48
|
-
serialized_name: 'opType',
|
49
|
-
type: {
|
50
|
-
name: 'String'
|
51
|
-
}
|
52
|
-
},
|
53
|
-
operation_timestamp: {
|
54
|
-
client_side_validation: true,
|
55
|
-
required: false,
|
56
|
-
serialized_name: 'operationTimestamp',
|
57
|
-
type: {
|
58
|
-
name: 'String'
|
59
|
-
}
|
60
|
-
},
|
61
45
|
twin: {
|
62
46
|
client_side_validation: true,
|
63
47
|
required: false,
|
@@ -42,22 +42,6 @@ module Azure::EventGrid::V2018_01_01
|
|
42
42
|
name: 'String'
|
43
43
|
}
|
44
44
|
},
|
45
|
-
op_type: {
|
46
|
-
client_side_validation: true,
|
47
|
-
required: false,
|
48
|
-
serialized_name: 'opType',
|
49
|
-
type: {
|
50
|
-
name: 'String'
|
51
|
-
}
|
52
|
-
},
|
53
|
-
operation_timestamp: {
|
54
|
-
client_side_validation: true,
|
55
|
-
required: false,
|
56
|
-
serialized_name: 'operationTimestamp',
|
57
|
-
type: {
|
58
|
-
name: 'String'
|
59
|
-
}
|
60
|
-
},
|
61
45
|
twin: {
|
62
46
|
client_side_validation: true,
|
63
47
|
required: false,
|
data/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_disconnected_event_data.rb
ADDED
@@ -0,0 +1,68 @@
|
|
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::V2018_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Event data for Microsoft.Devices.DeviceDisconnected event.
|
10
|
+
#
|
11
|
+
class IotHubDeviceDisconnectedEventData < DeviceConnectionStateEventProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
#
|
17
|
+
# Mapper for IotHubDeviceDisconnectedEventData class as Ruby Hash.
|
18
|
+
# This will be used for serialization/deserialization.
|
19
|
+
#
|
20
|
+
def self.mapper()
|
21
|
+
{
|
22
|
+
client_side_validation: true,
|
23
|
+
required: false,
|
24
|
+
serialized_name: 'IotHubDeviceDisconnectedEventData',
|
25
|
+
type: {
|
26
|
+
name: 'Composite',
|
27
|
+
class_name: 'IotHubDeviceDisconnectedEventData',
|
28
|
+
model_properties: {
|
29
|
+
device_id: {
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'deviceId',
|
33
|
+
type: {
|
34
|
+
name: 'String'
|
35
|
+
}
|
36
|
+
},
|
37
|
+
module_id: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'moduleId',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
hub_name: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'hubName',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
device_connection_state_event_info: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'deviceConnectionStateEventInfo',
|
57
|
+
type: {
|
58
|
+
name: 'Composite',
|
59
|
+
class_name: 'DeviceConnectionStateEventInfo'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,21 @@
|
|
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::V2018_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for JobState
|
10
|
+
#
|
11
|
+
module JobState
|
12
|
+
Canceled = "Canceled"
|
13
|
+
Canceling = "Canceling"
|
14
|
+
Error = "Error"
|
15
|
+
Finished = "Finished"
|
16
|
+
Processing = "Processing"
|
17
|
+
Queued = "Queued"
|
18
|
+
Scheduled = "Scheduled"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,66 @@
|
|
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::V2018_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Schema of the Data property of an EventGridEvent for a
|
10
|
+
# Microsoft.Media.JobStateChange event.
|
11
|
+
#
|
12
|
+
class MediaJobStateChangeEventData
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [JobState] The previous state of the Job. Possible values
|
17
|
+
# include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing',
|
18
|
+
# 'Queued', 'Scheduled'
|
19
|
+
attr_accessor :previous_state
|
20
|
+
|
21
|
+
# @return [JobState] The new state of the Job. Possible values include:
|
22
|
+
# 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued',
|
23
|
+
# 'Scheduled'
|
24
|
+
attr_accessor :state
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for MediaJobStateChangeEventData class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'MediaJobStateChangeEventData',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'MediaJobStateChangeEventData',
|
39
|
+
model_properties: {
|
40
|
+
previous_state: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'previousState',
|
45
|
+
type: {
|
46
|
+
name: 'Enum',
|
47
|
+
module: 'JobState'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
state: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'state',
|
55
|
+
type: {
|
56
|
+
name: 'Enum',
|
57
|
+
module: 'JobState'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,109 @@
|
|
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::V2018_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Schema of the Data property of an EventGridEvent for a
|
10
|
+
# Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event.
|
11
|
+
#
|
12
|
+
class ServiceBusActiveMessagesAvailableWithNoListenersEventData
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The namespace name of the Microsoft.ServiceBus
|
17
|
+
# resource.
|
18
|
+
attr_accessor :namespace_name
|
19
|
+
|
20
|
+
# @return [String] The endpoint of the Microsoft.ServiceBus resource.
|
21
|
+
attr_accessor :request_uri
|
22
|
+
|
23
|
+
# @return [String] The entity type of the Microsoft.ServiceBus resource.
|
24
|
+
# Could be one of 'queue' or 'subscriber'.
|
25
|
+
attr_accessor :entity_type
|
26
|
+
|
27
|
+
# @return [String] The name of the Microsoft.ServiceBus queue. If the
|
28
|
+
# entity type is of type 'subscriber', then this value will be null.
|
29
|
+
attr_accessor :queue_name
|
30
|
+
|
31
|
+
# @return [String] The name of the Microsoft.ServiceBus topic. If the
|
32
|
+
# entity type is of type 'queue', then this value will be null.
|
33
|
+
attr_accessor :topic_name
|
34
|
+
|
35
|
+
# @return [String] The name of the Microsoft.ServiceBus topic's
|
36
|
+
# subscription. If the entity type is of type 'queue', then this value
|
37
|
+
# will be null.
|
38
|
+
attr_accessor :subscription_name
|
39
|
+
|
40
|
+
|
41
|
+
#
|
42
|
+
# Mapper for ServiceBusActiveMessagesAvailableWithNoListenersEventData
|
43
|
+
# class as Ruby Hash.
|
44
|
+
# This will be used for serialization/deserialization.
|
45
|
+
#
|
46
|
+
def self.mapper()
|
47
|
+
{
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'ServiceBusActiveMessagesAvailableWithNoListenersEventData',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'ServiceBusActiveMessagesAvailableWithNoListenersEventData',
|
54
|
+
model_properties: {
|
55
|
+
namespace_name: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'namespaceName',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
request_uri: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'requestUri',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
entity_type: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'entityType',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
queue_name: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'queueName',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
},
|
87
|
+
topic_name: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'topicName',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
subscription_name: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'subscriptionName',
|
99
|
+
type: {
|
100
|
+
name: 'String'
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
@@ -0,0 +1,111 @@
|
|
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::V2018_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Schema of the Data property of an EventGridEvent for a
|
10
|
+
# Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListenersEvent
|
11
|
+
# event.
|
12
|
+
#
|
13
|
+
class ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
|
14
|
+
|
15
|
+
include MsRestAzure
|
16
|
+
|
17
|
+
# @return [String] The namespace name of the Microsoft.ServiceBus
|
18
|
+
# resource.
|
19
|
+
attr_accessor :namespace_name
|
20
|
+
|
21
|
+
# @return [String] The endpoint of the Microsoft.ServiceBus resource.
|
22
|
+
attr_accessor :request_uri
|
23
|
+
|
24
|
+
# @return [String] The entity type of the Microsoft.ServiceBus resource.
|
25
|
+
# Could be one of 'queue' or 'subscriber'.
|
26
|
+
attr_accessor :entity_type
|
27
|
+
|
28
|
+
# @return [String] The name of the Microsoft.ServiceBus queue. If the
|
29
|
+
# entity type is of type 'subscriber', then this value will be null.
|
30
|
+
attr_accessor :queue_name
|
31
|
+
|
32
|
+
# @return [String] The name of the Microsoft.ServiceBus topic. If the
|
33
|
+
# entity type is of type 'queue', then this value will be null.
|
34
|
+
attr_accessor :topic_name
|
35
|
+
|
36
|
+
# @return [String] The name of the Microsoft.ServiceBus topic's
|
37
|
+
# subscription. If the entity type is of type 'queue', then this value
|
38
|
+
# will be null.
|
39
|
+
attr_accessor :subscription_name
|
40
|
+
|
41
|
+
|
42
|
+
#
|
43
|
+
# Mapper for
|
44
|
+
# ServiceBusDeadletterMessagesAvailableWithNoListenersEventData class as
|
45
|
+
# Ruby Hash.
|
46
|
+
# This will be used for serialization/deserialization.
|
47
|
+
#
|
48
|
+
def self.mapper()
|
49
|
+
{
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'ServiceBusDeadletterMessagesAvailableWithNoListenersEventData',
|
53
|
+
type: {
|
54
|
+
name: 'Composite',
|
55
|
+
class_name: 'ServiceBusDeadletterMessagesAvailableWithNoListenersEventData',
|
56
|
+
model_properties: {
|
57
|
+
namespace_name: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'namespaceName',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
request_uri: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'requestUri',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
entity_type: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'entityType',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
queue_name: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'queueName',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
topic_name: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'topicName',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
subscription_name: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'subscriptionName',
|
101
|
+
type: {
|
102
|
+
name: 'String'
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
@@ -0,0 +1,49 @@
|
|
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::V2018_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Schema of the Data property of an EventGridEvent for a
|
10
|
+
# Microsoft.EventGrid.SubscriptionDeletedEvent.
|
11
|
+
#
|
12
|
+
class SubscriptionDeletedEventData
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The Azure resource ID of the deleted event
|
17
|
+
# subscription.
|
18
|
+
attr_accessor :event_subscription_id
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for SubscriptionDeletedEventData class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'SubscriptionDeletedEventData',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'SubscriptionDeletedEventData',
|
33
|
+
model_properties: {
|
34
|
+
event_subscription_id: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
read_only: true,
|
38
|
+
serialized_name: 'eventSubscriptionId',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|