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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28f9d8a177dca4734d6c37301f3d7529c359335a
|
4
|
+
data.tar.gz: bfc4199758fba0226b751e6e642b76a7bb1343fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc541348e64e878f2db4ce50e4ab215573afe6a0488872cb7ac0b6ef7adca6107f7fe5458c435869514fa8b3470f434db77df587a95e124708c2fe8d74e28299
|
7
|
+
data.tar.gz: e18f27feddc27807c43ab31d47af9bf605afe8412e09a5791639fe6824eb9b77d06dab65a5cd1097244d36985051b69b2ad0918b526a07887220733c4370a73a
|
@@ -23,23 +23,41 @@ module Azure::EventGrid::V2018_01_01
|
|
23
23
|
autoload :EventGridClient, '2018-01-01/generated/azure_event_grid/event_grid_client.rb'
|
24
24
|
|
25
25
|
module Models
|
26
|
-
autoload :EventGridEvent, '2018-01-01/generated/azure_event_grid/models/event_grid_event.rb'
|
27
|
-
autoload :StorageBlobCreatedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb'
|
28
|
-
autoload :StorageBlobDeletedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb'
|
29
|
-
autoload :EventHubCaptureFileCreatedEventData, '2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb'
|
30
|
-
autoload :ResourceWriteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb'
|
31
|
-
autoload :DeviceLifeCycleEventProperties, '2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb'
|
32
|
-
autoload :ResourceDeleteSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb'
|
33
26
|
autoload :DeviceTwinMetadata, '2018-01-01/generated/azure_event_grid/models/device_twin_metadata.rb'
|
34
|
-
autoload :ResourceDeleteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb'
|
35
27
|
autoload :DeviceTwinProperties, '2018-01-01/generated/azure_event_grid/models/device_twin_properties.rb'
|
36
|
-
autoload :
|
28
|
+
autoload :StorageBlobDeletedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb'
|
37
29
|
autoload :DeviceTwinInfoProperties, '2018-01-01/generated/azure_event_grid/models/device_twin_info_properties.rb'
|
38
30
|
autoload :ResourceWriteSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_write_success_data.rb'
|
39
31
|
autoload :DeviceTwinInfoX509Thumbprint, '2018-01-01/generated/azure_event_grid/models/device_twin_info_x509thumbprint.rb'
|
40
|
-
autoload :
|
32
|
+
autoload :ResourceWriteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_write_cancel_data.rb'
|
41
33
|
autoload :DeviceTwinInfo, '2018-01-01/generated/azure_event_grid/models/device_twin_info.rb'
|
34
|
+
autoload :ResourceDeleteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb'
|
35
|
+
autoload :DeviceLifeCycleEventProperties, '2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb'
|
36
|
+
autoload :EventGridEvent, '2018-01-01/generated/azure_event_grid/models/event_grid_event.rb'
|
37
|
+
autoload :DeviceConnectionStateEventInfo, '2018-01-01/generated/azure_event_grid/models/device_connection_state_event_info.rb'
|
38
|
+
autoload :SubscriptionValidationResponse, '2018-01-01/generated/azure_event_grid/models/subscription_validation_response.rb'
|
39
|
+
autoload :DeviceConnectionStateEventProperties, '2018-01-01/generated/azure_event_grid/models/device_connection_state_event_properties.rb'
|
40
|
+
autoload :ResourceDeleteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb'
|
41
|
+
autoload :SubscriptionValidationEventData, '2018-01-01/generated/azure_event_grid/models/subscription_validation_event_data.rb'
|
42
|
+
autoload :MediaJobStateChangeEventData, '2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb'
|
43
|
+
autoload :SubscriptionDeletedEventData, '2018-01-01/generated/azure_event_grid/models/subscription_deleted_event_data.rb'
|
44
|
+
autoload :StorageBlobCreatedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb'
|
45
|
+
autoload :ServiceBusActiveMessagesAvailableWithNoListenersEventData, '2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb'
|
46
|
+
autoload :ResourceWriteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb'
|
47
|
+
autoload :ContainerRegistryEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb'
|
48
|
+
autoload :ContainerRegistryEventSource, '2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb'
|
49
|
+
autoload :EventHubCaptureFileCreatedEventData, '2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb'
|
50
|
+
autoload :ContainerRegistryEventTarget, '2018-01-01/generated/azure_event_grid/models/container_registry_event_target.rb'
|
51
|
+
autoload :ServiceBusDeadletterMessagesAvailableWithNoListenersEventData, '2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb'
|
52
|
+
autoload :ContainerRegistryEventRequest, '2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb'
|
53
|
+
autoload :ResourceDeleteSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb'
|
54
|
+
autoload :ContainerRegistryEventActor, '2018-01-01/generated/azure_event_grid/models/container_registry_event_actor.rb'
|
42
55
|
autoload :IotHubDeviceCreatedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_created_event_data.rb'
|
43
56
|
autoload :IotHubDeviceDeletedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_deleted_event_data.rb'
|
57
|
+
autoload :IotHubDeviceConnectedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_connected_event_data.rb'
|
58
|
+
autoload :IotHubDeviceDisconnectedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_disconnected_event_data.rb'
|
59
|
+
autoload :ContainerRegistryImagePushedEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_image_pushed_event_data.rb'
|
60
|
+
autoload :ContainerRegistryImageDeletedEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_image_deleted_event_data.rb'
|
61
|
+
autoload :JobState, '2018-01-01/generated/azure_event_grid/models/job_state.rb'
|
44
62
|
end
|
45
63
|
end
|
@@ -20,15 +20,16 @@ module Azure::EventGrid::V2018_01_01
|
|
20
20
|
# @return [String] Version of the API to be used with the client request.
|
21
21
|
attr_reader :api_version
|
22
22
|
|
23
|
-
# @return [String]
|
23
|
+
# @return [String] The preferred language for the response.
|
24
24
|
attr_accessor :accept_language
|
25
25
|
|
26
|
-
# @return [Integer]
|
27
|
-
#
|
26
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
27
|
+
# Operations. Default value is 30.
|
28
28
|
attr_accessor :long_running_operation_retry_timeout
|
29
29
|
|
30
|
-
# @return [Boolean]
|
31
|
-
#
|
30
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
31
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
32
|
+
# generated and included in each request. Default is true.
|
32
33
|
attr_accessor :generate_client_request_id
|
33
34
|
|
34
35
|
#
|
@@ -224,7 +225,7 @@ module Azure::EventGrid::V2018_01_01
|
|
224
225
|
#
|
225
226
|
def add_telemetry
|
226
227
|
sdk_information = 'azure_event_grid'
|
227
|
-
sdk_information = "#{sdk_information}/0.
|
228
|
+
sdk_information = "#{sdk_information}/0.17.0"
|
228
229
|
add_user_agent_information(sdk_information)
|
229
230
|
end
|
230
231
|
end
|
@@ -0,0 +1,48 @@
|
|
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
|
+
# The agent that initiated the event. For most situations, this could be
|
10
|
+
# from the authorization context of the request.
|
11
|
+
#
|
12
|
+
class ContainerRegistryEventActor
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The subject or username associated with the request
|
17
|
+
# context that generated the event.
|
18
|
+
attr_accessor :name
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for ContainerRegistryEventActor 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: 'ContainerRegistryEventActor',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'ContainerRegistryEventActor',
|
33
|
+
model_properties: {
|
34
|
+
name: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'name',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,121 @@
|
|
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
|
+
# The content of the event request message.
|
10
|
+
#
|
11
|
+
class ContainerRegistryEventData
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The event ID.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [DateTime] The time at which the event occurred.
|
19
|
+
attr_accessor :timestamp
|
20
|
+
|
21
|
+
# @return [String] The action that encompasses the provided event.
|
22
|
+
attr_accessor :action
|
23
|
+
|
24
|
+
# @return [ContainerRegistryEventTarget] The target of the event.
|
25
|
+
attr_accessor :target
|
26
|
+
|
27
|
+
# @return [ContainerRegistryEventRequest] The request that generated the
|
28
|
+
# event.
|
29
|
+
attr_accessor :request
|
30
|
+
|
31
|
+
# @return [ContainerRegistryEventActor] The agent that initiated the
|
32
|
+
# event. For most situations, this could be from the authorization
|
33
|
+
# context of the request.
|
34
|
+
attr_accessor :actor
|
35
|
+
|
36
|
+
# @return [ContainerRegistryEventSource] The registry node that generated
|
37
|
+
# the event. Put differently, while the actor initiates the event, the
|
38
|
+
# source generates it.
|
39
|
+
attr_accessor :source
|
40
|
+
|
41
|
+
|
42
|
+
#
|
43
|
+
# Mapper for ContainerRegistryEventData 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: 'ContainerRegistryEventData',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'ContainerRegistryEventData',
|
54
|
+
model_properties: {
|
55
|
+
id: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'id',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
timestamp: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'timestamp',
|
67
|
+
type: {
|
68
|
+
name: 'DateTime'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
action: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'action',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
target: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'target',
|
83
|
+
type: {
|
84
|
+
name: 'Composite',
|
85
|
+
class_name: 'ContainerRegistryEventTarget'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
request: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'request',
|
92
|
+
type: {
|
93
|
+
name: 'Composite',
|
94
|
+
class_name: 'ContainerRegistryEventRequest'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
actor: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'actor',
|
101
|
+
type: {
|
102
|
+
name: 'Composite',
|
103
|
+
class_name: 'ContainerRegistryEventActor'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
source: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'source',
|
110
|
+
type: {
|
111
|
+
name: 'Composite',
|
112
|
+
class_name: 'ContainerRegistryEventSource'
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
@@ -0,0 +1,93 @@
|
|
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
|
+
# The request that generated the event.
|
10
|
+
#
|
11
|
+
class ContainerRegistryEventRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the request that initiated the event.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The IP or hostname and possibly port of the client
|
19
|
+
# connection that initiated the event. This is the RemoteAddr from the
|
20
|
+
# standard http request.
|
21
|
+
attr_accessor :addr
|
22
|
+
|
23
|
+
# @return [String] The externally accessible hostname of the registry
|
24
|
+
# instance, as specified by the http host header on incoming requests.
|
25
|
+
attr_accessor :host
|
26
|
+
|
27
|
+
# @return [String] The request method that generated the event.
|
28
|
+
attr_accessor :method
|
29
|
+
|
30
|
+
# @return [String] The user agent header of the request.
|
31
|
+
attr_accessor :useragent
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for ContainerRegistryEventRequest 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: 'ContainerRegistryEventRequest',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ContainerRegistryEventRequest',
|
46
|
+
model_properties: {
|
47
|
+
id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'id',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
addr: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'addr',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
host: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'host',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
method: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'method',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
useragent: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'useragent',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,61 @@
|
|
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
|
+
# The registry node that generated the event. Put differently, while the
|
10
|
+
# actor initiates the event, the source generates it.
|
11
|
+
#
|
12
|
+
class ContainerRegistryEventSource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The IP or hostname and the port of the registry node
|
17
|
+
# that generated the event. Generally, this will be resolved by
|
18
|
+
# os.Hostname() along with the running port.
|
19
|
+
attr_accessor :addr
|
20
|
+
|
21
|
+
# @return [String] The running instance of an application. Changes after
|
22
|
+
# each restart.
|
23
|
+
attr_accessor :instance_id
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ContainerRegistryEventSource class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ContainerRegistryEventSource',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'ContainerRegistryEventSource',
|
38
|
+
model_properties: {
|
39
|
+
addr: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'addr',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
instance_id: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'instanceID',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,115 @@
|
|
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
|
+
# The target of the event.
|
10
|
+
#
|
11
|
+
class ContainerRegistryEventTarget
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The MIME type of the referenced object.
|
16
|
+
attr_accessor :media_type
|
17
|
+
|
18
|
+
# @return [Integer] The number of bytes of the content. Same as Length
|
19
|
+
# field.
|
20
|
+
attr_accessor :size
|
21
|
+
|
22
|
+
# @return [String] The digest of the content, as defined by the Registry
|
23
|
+
# V2 HTTP API Specification.
|
24
|
+
attr_accessor :digest
|
25
|
+
|
26
|
+
# @return [Integer] The number of bytes of the content. Same as Size
|
27
|
+
# field.
|
28
|
+
attr_accessor :length
|
29
|
+
|
30
|
+
# @return [String] The repository name.
|
31
|
+
attr_accessor :repository
|
32
|
+
|
33
|
+
# @return [String] The direct URL to the content.
|
34
|
+
attr_accessor :url
|
35
|
+
|
36
|
+
# @return [String] The tag name.
|
37
|
+
attr_accessor :tag
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for ContainerRegistryEventTarget class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'ContainerRegistryEventTarget',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'ContainerRegistryEventTarget',
|
52
|
+
model_properties: {
|
53
|
+
media_type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'mediaType',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
size: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'size',
|
65
|
+
type: {
|
66
|
+
name: 'Number'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
digest: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'digest',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
length: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'length',
|
81
|
+
type: {
|
82
|
+
name: 'Number'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
repository: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'repository',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
url: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'url',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
tag: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'tag',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|