azure_mgmt_scheduler 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_scheduler.gemspec +4 -5
  3. data/lib/azure_mgmt_scheduler.rb +3 -72
  4. data/lib/generated/azure_mgmt_scheduler.rb +74 -0
  5. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/job_collections.rb +146 -59
  6. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/jobs.rb +105 -50
  7. data/lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb +62 -0
  8. data/lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb +92 -0
  9. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/day_of_week.rb +0 -0
  10. data/lib/generated/azure_mgmt_scheduler/models/http_authentication.rb +47 -0
  11. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/http_authentication_type.rb +0 -0
  12. data/lib/generated/azure_mgmt_scheduler/models/http_request.rb +92 -0
  13. data/lib/generated/azure_mgmt_scheduler/models/job_action.rb +115 -0
  14. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_action_type.rb +0 -0
  15. data/lib/generated/azure_mgmt_scheduler/models/job_collection_definition.rb +105 -0
  16. data/lib/generated/azure_mgmt_scheduler/models/job_collection_list_result.rb +95 -0
  17. data/lib/generated/azure_mgmt_scheduler/models/job_collection_properties.rb +68 -0
  18. data/lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb +65 -0
  19. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_collection_state.rb +0 -0
  20. data/lib/generated/azure_mgmt_scheduler/models/job_definition.rb +78 -0
  21. data/lib/generated/azure_mgmt_scheduler/models/job_error_action.rb +104 -0
  22. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_execution_status.rb +0 -0
  23. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_history_action_name.rb +0 -0
  24. data/lib/generated/azure_mgmt_scheduler/models/job_history_definition.rb +80 -0
  25. data/lib/generated/azure_mgmt_scheduler/models/job_history_definition_properties.rb +126 -0
  26. data/lib/generated/azure_mgmt_scheduler/models/job_history_filter.rb +46 -0
  27. data/lib/generated/azure_mgmt_scheduler/models/job_history_list_result.rb +95 -0
  28. data/lib/generated/azure_mgmt_scheduler/models/job_list_result.rb +94 -0
  29. data/lib/generated/azure_mgmt_scheduler/models/job_max_recurrence.rb +57 -0
  30. data/lib/generated/azure_mgmt_scheduler/models/job_properties.rb +90 -0
  31. data/lib/generated/azure_mgmt_scheduler/models/job_recurrence.rb +90 -0
  32. data/lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule.rb +126 -0
  33. data/lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb +59 -0
  34. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_schedule_day.rb +0 -0
  35. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_state.rb +0 -0
  36. data/lib/generated/azure_mgmt_scheduler/models/job_state_filter.rb +46 -0
  37. data/lib/generated/azure_mgmt_scheduler/models/job_status.rb +93 -0
  38. data/lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb +82 -0
  39. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/recurrence_frequency.rb +0 -0
  40. data/lib/generated/azure_mgmt_scheduler/models/retry_policy.rb +67 -0
  41. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/retry_type.rb +0 -0
  42. data/lib/generated/azure_mgmt_scheduler/models/service_bus_authentication.rb +66 -0
  43. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/service_bus_authentication_type.rb +0 -0
  44. data/lib/generated/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb +164 -0
  45. data/lib/generated/azure_mgmt_scheduler/models/service_bus_message.rb +107 -0
  46. data/lib/generated/azure_mgmt_scheduler/models/service_bus_queue_message.rb +96 -0
  47. data/lib/generated/azure_mgmt_scheduler/models/service_bus_topic_message.rb +96 -0
  48. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/service_bus_transport_type.rb +0 -0
  49. data/lib/generated/azure_mgmt_scheduler/models/sku.rb +46 -0
  50. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/sku_definition.rb +0 -0
  51. data/lib/generated/azure_mgmt_scheduler/models/storage_queue_message.rb +74 -0
  52. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/module_definition.rb +0 -0
  53. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/scheduler_management_client.rb +4 -4
  54. data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/version.rb +1 -1
  55. metadata +72 -92
  56. data/lib/azure_mgmt_scheduler/models/basic_authentication.rb +0 -75
  57. data/lib/azure_mgmt_scheduler/models/client_cert_authentication.rb +0 -104
  58. data/lib/azure_mgmt_scheduler/models/http_authentication.rb +0 -61
  59. data/lib/azure_mgmt_scheduler/models/http_request.rb +0 -99
  60. data/lib/azure_mgmt_scheduler/models/job_action.rb +0 -159
  61. data/lib/azure_mgmt_scheduler/models/job_collection_definition.rb +0 -109
  62. data/lib/azure_mgmt_scheduler/models/job_collection_list_result.rb +0 -86
  63. data/lib/azure_mgmt_scheduler/models/job_collection_properties.rb +0 -92
  64. data/lib/azure_mgmt_scheduler/models/job_collection_quota.rb +0 -82
  65. data/lib/azure_mgmt_scheduler/models/job_definition.rb +0 -89
  66. data/lib/azure_mgmt_scheduler/models/job_error_action.rb +0 -143
  67. data/lib/azure_mgmt_scheduler/models/job_history_definition.rb +0 -90
  68. data/lib/azure_mgmt_scheduler/models/job_history_definition_properties.rb +0 -136
  69. data/lib/azure_mgmt_scheduler/models/job_history_filter.rb +0 -60
  70. data/lib/azure_mgmt_scheduler/models/job_history_list_result.rb +0 -87
  71. data/lib/azure_mgmt_scheduler/models/job_list_result.rb +0 -86
  72. data/lib/azure_mgmt_scheduler/models/job_max_recurrence.rb +0 -71
  73. data/lib/azure_mgmt_scheduler/models/job_properties.rb +0 -119
  74. data/lib/azure_mgmt_scheduler/models/job_recurrence.rb +0 -110
  75. data/lib/azure_mgmt_scheduler/models/job_recurrence_schedule.rb +0 -156
  76. data/lib/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb +0 -73
  77. data/lib/azure_mgmt_scheduler/models/job_state_filter.rb +0 -60
  78. data/lib/azure_mgmt_scheduler/models/job_status.rb +0 -103
  79. data/lib/azure_mgmt_scheduler/models/oauth_authentication.rb +0 -93
  80. data/lib/azure_mgmt_scheduler/models/retry_policy.rb +0 -80
  81. data/lib/azure_mgmt_scheduler/models/service_bus_authentication.rb +0 -78
  82. data/lib/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb +0 -168
  83. data/lib/azure_mgmt_scheduler/models/service_bus_message.rb +0 -122
  84. data/lib/azure_mgmt_scheduler/models/service_bus_queue_message.rb +0 -108
  85. data/lib/azure_mgmt_scheduler/models/service_bus_topic_message.rb +0 -108
  86. data/lib/azure_mgmt_scheduler/models/sku.rb +0 -60
  87. data/lib/azure_mgmt_scheduler/models/storage_queue_message.rb +0 -83
@@ -0,0 +1,66 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Scheduler
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class ServiceBusAuthentication
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the SAS key.
16
+ attr_accessor :sas_key
17
+
18
+ # @return [String] Gets or sets the SAS key name.
19
+ attr_accessor :sas_key_name
20
+
21
+ # @return [ServiceBusAuthenticationType] Gets or sets the authentication
22
+ # type. Possible values include: 'NotSpecified', 'SharedAccessKey'
23
+ attr_accessor :type
24
+
25
+
26
+ #
27
+ # Mapper for ServiceBusAuthentication class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'ServiceBusAuthentication',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ServiceBusAuthentication',
37
+ model_properties: {
38
+ sas_key: {
39
+ required: false,
40
+ serialized_name: 'sasKey',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ sas_key_name: {
46
+ required: false,
47
+ serialized_name: 'sasKeyName',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ type: {
53
+ required: false,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'Enum',
57
+ module: 'ServiceBusAuthenticationType'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,164 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Scheduler
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class ServiceBusBrokeredMessageProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the content type.
16
+ attr_accessor :content_type
17
+
18
+ # @return [String] Gets or sets the correlation id.
19
+ attr_accessor :correlation_id
20
+
21
+ # @return [Boolean] Gets or sets the force persistence.
22
+ attr_accessor :force_persistence
23
+
24
+ # @return [String] Gets or sets the label.
25
+ attr_accessor :label
26
+
27
+ # @return [String] Gets or sets the message id.
28
+ attr_accessor :message_id
29
+
30
+ # @return [String] Gets or sets the partition key.
31
+ attr_accessor :partition_key
32
+
33
+ # @return [String] Gets or sets the reply to.
34
+ attr_accessor :reply_to
35
+
36
+ # @return [String] Gets or sets the reply to session id.
37
+ attr_accessor :reply_to_session_id
38
+
39
+ # @return [DateTime] Gets or sets the scheduled enqueue time UTC.
40
+ attr_accessor :scheduled_enqueue_time_utc
41
+
42
+ # @return [String] Gets or sets the session id.
43
+ attr_accessor :session_id
44
+
45
+ # @return [DateTime] Gets or sets the time to live.
46
+ attr_accessor :time_to_live
47
+
48
+ # @return [String] Gets or sets the to.
49
+ attr_accessor :to
50
+
51
+ # @return [String] Gets or sets the via partition key.
52
+ attr_accessor :via_partition_key
53
+
54
+
55
+ #
56
+ # Mapper for ServiceBusBrokeredMessageProperties class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ required: false,
62
+ serialized_name: 'ServiceBusBrokeredMessageProperties',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'ServiceBusBrokeredMessageProperties',
66
+ model_properties: {
67
+ content_type: {
68
+ required: false,
69
+ serialized_name: 'contentType',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ correlation_id: {
75
+ required: false,
76
+ serialized_name: 'correlationId',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ force_persistence: {
82
+ required: false,
83
+ serialized_name: 'forcePersistence',
84
+ type: {
85
+ name: 'Boolean'
86
+ }
87
+ },
88
+ label: {
89
+ required: false,
90
+ serialized_name: 'label',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ message_id: {
96
+ required: false,
97
+ serialized_name: 'messageId',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ partition_key: {
103
+ required: false,
104
+ serialized_name: 'partitionKey',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ },
109
+ reply_to: {
110
+ required: false,
111
+ serialized_name: 'replyTo',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ },
116
+ reply_to_session_id: {
117
+ required: false,
118
+ serialized_name: 'replyToSessionId',
119
+ type: {
120
+ name: 'String'
121
+ }
122
+ },
123
+ scheduled_enqueue_time_utc: {
124
+ required: false,
125
+ serialized_name: 'scheduledEnqueueTimeUtc',
126
+ type: {
127
+ name: 'DateTime'
128
+ }
129
+ },
130
+ session_id: {
131
+ required: false,
132
+ serialized_name: 'sessionId',
133
+ type: {
134
+ name: 'String'
135
+ }
136
+ },
137
+ time_to_live: {
138
+ required: false,
139
+ serialized_name: 'timeToLive',
140
+ type: {
141
+ name: 'DateTime'
142
+ }
143
+ },
144
+ to: {
145
+ required: false,
146
+ serialized_name: 'to',
147
+ type: {
148
+ name: 'String'
149
+ }
150
+ },
151
+ via_partition_key: {
152
+ required: false,
153
+ serialized_name: 'viaPartitionKey',
154
+ type: {
155
+ name: 'String'
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ end
162
+ end
163
+ end
164
+ end
@@ -0,0 +1,107 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Scheduler
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class ServiceBusMessage
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ServiceBusAuthentication] Gets or sets the authentication.
16
+ attr_accessor :authentication
17
+
18
+ # @return [ServiceBusBrokeredMessageProperties] Gets or sets the
19
+ # brokered message properties.
20
+ attr_accessor :brokered_message_properties
21
+
22
+ # @return [Hash{String => String}] Gets or sets the custom message
23
+ # properties.
24
+ attr_accessor :custom_message_properties
25
+
26
+ # @return [String] Gets or sets the message.
27
+ attr_accessor :message
28
+
29
+ # @return [String] Gets or sets the namespace.
30
+ attr_accessor :namespace
31
+
32
+ # @return [ServiceBusTransportType] Gets or sets the transport type.
33
+ # Possible values include: 'NotSpecified', 'NetMessaging', 'AMQP'
34
+ attr_accessor :transport_type
35
+
36
+
37
+ #
38
+ # Mapper for ServiceBusMessage class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ required: false,
44
+ serialized_name: 'ServiceBusMessage',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'ServiceBusMessage',
48
+ model_properties: {
49
+ authentication: {
50
+ required: false,
51
+ serialized_name: 'authentication',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'ServiceBusAuthentication'
55
+ }
56
+ },
57
+ brokered_message_properties: {
58
+ required: false,
59
+ serialized_name: 'brokeredMessageProperties',
60
+ type: {
61
+ name: 'Composite',
62
+ class_name: 'ServiceBusBrokeredMessageProperties'
63
+ }
64
+ },
65
+ custom_message_properties: {
66
+ required: false,
67
+ serialized_name: 'customMessageProperties',
68
+ type: {
69
+ name: 'Dictionary',
70
+ value: {
71
+ required: false,
72
+ serialized_name: 'StringElementType',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ }
77
+ }
78
+ },
79
+ message: {
80
+ required: false,
81
+ serialized_name: 'message',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ namespace: {
87
+ required: false,
88
+ serialized_name: 'namespace',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ transport_type: {
94
+ required: false,
95
+ serialized_name: 'transportType',
96
+ type: {
97
+ name: 'Enum',
98
+ module: 'ServiceBusTransportType'
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ end
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,96 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Scheduler
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class ServiceBusQueueMessage < ServiceBusMessage
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the queue name.
16
+ attr_accessor :queue_name
17
+
18
+
19
+ #
20
+ # Mapper for ServiceBusQueueMessage class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'ServiceBusQueueMessage',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'ServiceBusQueueMessage',
30
+ model_properties: {
31
+ authentication: {
32
+ required: false,
33
+ serialized_name: 'authentication',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ServiceBusAuthentication'
37
+ }
38
+ },
39
+ brokered_message_properties: {
40
+ required: false,
41
+ serialized_name: 'brokeredMessageProperties',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'ServiceBusBrokeredMessageProperties'
45
+ }
46
+ },
47
+ custom_message_properties: {
48
+ required: false,
49
+ serialized_name: 'customMessageProperties',
50
+ type: {
51
+ name: 'Dictionary',
52
+ value: {
53
+ required: false,
54
+ serialized_name: 'StringElementType',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ },
61
+ message: {
62
+ required: false,
63
+ serialized_name: 'message',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ namespace: {
69
+ required: false,
70
+ serialized_name: 'namespace',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ transport_type: {
76
+ required: false,
77
+ serialized_name: 'transportType',
78
+ type: {
79
+ name: 'Enum',
80
+ module: 'ServiceBusTransportType'
81
+ }
82
+ },
83
+ queue_name: {
84
+ required: false,
85
+ serialized_name: 'queueName',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ end
94
+ end
95
+ end
96
+ end
@@ -0,0 +1,96 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Scheduler
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class ServiceBusTopicMessage < ServiceBusMessage
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the topic path.
16
+ attr_accessor :topic_path
17
+
18
+
19
+ #
20
+ # Mapper for ServiceBusTopicMessage class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'ServiceBusTopicMessage',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'ServiceBusTopicMessage',
30
+ model_properties: {
31
+ authentication: {
32
+ required: false,
33
+ serialized_name: 'authentication',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ServiceBusAuthentication'
37
+ }
38
+ },
39
+ brokered_message_properties: {
40
+ required: false,
41
+ serialized_name: 'brokeredMessageProperties',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'ServiceBusBrokeredMessageProperties'
45
+ }
46
+ },
47
+ custom_message_properties: {
48
+ required: false,
49
+ serialized_name: 'customMessageProperties',
50
+ type: {
51
+ name: 'Dictionary',
52
+ value: {
53
+ required: false,
54
+ serialized_name: 'StringElementType',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ },
61
+ message: {
62
+ required: false,
63
+ serialized_name: 'message',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ namespace: {
69
+ required: false,
70
+ serialized_name: 'namespace',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ transport_type: {
76
+ required: false,
77
+ serialized_name: 'transportType',
78
+ type: {
79
+ name: 'Enum',
80
+ module: 'ServiceBusTransportType'
81
+ }
82
+ },
83
+ topic_path: {
84
+ required: false,
85
+ serialized_name: 'topicPath',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ end
94
+ end
95
+ end
96
+ end