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,68 @@
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 JobCollectionProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Sku] Gets or sets the SKU.
16
+ attr_accessor :sku
17
+
18
+ # @return [JobCollectionState] Gets or sets the state. Possible values
19
+ # include: 'Enabled', 'Disabled', 'Suspended', 'Deleted'
20
+ attr_accessor :state
21
+
22
+ # @return [JobCollectionQuota] Gets or sets the job collection quota.
23
+ attr_accessor :quota
24
+
25
+
26
+ #
27
+ # Mapper for JobCollectionProperties class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'JobCollectionProperties',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'JobCollectionProperties',
37
+ model_properties: {
38
+ sku: {
39
+ required: false,
40
+ serialized_name: 'sku',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'Sku'
44
+ }
45
+ },
46
+ state: {
47
+ required: false,
48
+ serialized_name: 'state',
49
+ type: {
50
+ name: 'Enum',
51
+ module: 'JobCollectionState'
52
+ }
53
+ },
54
+ quota: {
55
+ required: false,
56
+ serialized_name: 'quota',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'JobCollectionQuota'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,65 @@
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 JobCollectionQuota
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Gets or set the maximum job count.
16
+ attr_accessor :max_job_count
17
+
18
+ # @return [Integer] Gets or sets the maximum job occurrence.
19
+ attr_accessor :max_job_occurrence
20
+
21
+ # @return [JobMaxRecurrence] Gets or set the maximum recurrence.
22
+ attr_accessor :max_recurrence
23
+
24
+
25
+ #
26
+ # Mapper for JobCollectionQuota class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'JobCollectionQuota',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'JobCollectionQuota',
36
+ model_properties: {
37
+ max_job_count: {
38
+ required: false,
39
+ serialized_name: 'maxJobCount',
40
+ type: {
41
+ name: 'Number'
42
+ }
43
+ },
44
+ max_job_occurrence: {
45
+ required: false,
46
+ serialized_name: 'maxJobOccurrence',
47
+ type: {
48
+ name: 'Number'
49
+ }
50
+ },
51
+ max_recurrence: {
52
+ required: false,
53
+ serialized_name: 'maxRecurrence',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'JobMaxRecurrence'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,78 @@
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 JobDefinition
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets the job resource identifier.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Gets the job resource type.
19
+ attr_accessor :type
20
+
21
+ # @return [String] Gets the job resource name.
22
+ attr_accessor :name
23
+
24
+ # @return [JobProperties] Gets or sets the job properties.
25
+ attr_accessor :properties
26
+
27
+
28
+ #
29
+ # Mapper for JobDefinition class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'JobDefinition',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'JobDefinition',
39
+ model_properties: {
40
+ id: {
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'id',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ type: {
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'type',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ name: {
57
+ required: false,
58
+ read_only: true,
59
+ serialized_name: 'name',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ properties: {
65
+ required: false,
66
+ serialized_name: 'properties',
67
+ type: {
68
+ name: 'Composite',
69
+ class_name: 'JobProperties'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,104 @@
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 JobErrorAction
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [JobActionType] Gets or sets the job error action type.
16
+ # Possible values include: 'Http', 'Https', 'StorageQueue',
17
+ # 'ServiceBusQueue', 'ServiceBusTopic'
18
+ attr_accessor :type
19
+
20
+ # @return [HttpRequest] Gets or sets the http requests.
21
+ attr_accessor :request
22
+
23
+ # @return [StorageQueueMessage] Gets or sets the storage queue message.
24
+ attr_accessor :queue_message
25
+
26
+ # @return [ServiceBusQueueMessage] Gets or sets the service bus queue
27
+ # message.
28
+ attr_accessor :service_bus_queue_message
29
+
30
+ # @return [ServiceBusTopicMessage] Gets or sets the service bus topic
31
+ # message.
32
+ attr_accessor :service_bus_topic_message
33
+
34
+ # @return [RetryPolicy] Gets or sets the retry policy.
35
+ attr_accessor :retry_policy
36
+
37
+
38
+ #
39
+ # Mapper for JobErrorAction class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ required: false,
45
+ serialized_name: 'JobErrorAction',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'JobErrorAction',
49
+ model_properties: {
50
+ type: {
51
+ required: false,
52
+ serialized_name: 'type',
53
+ type: {
54
+ name: 'Enum',
55
+ module: 'JobActionType'
56
+ }
57
+ },
58
+ request: {
59
+ required: false,
60
+ serialized_name: 'request',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'HttpRequest'
64
+ }
65
+ },
66
+ queue_message: {
67
+ required: false,
68
+ serialized_name: 'queueMessage',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'StorageQueueMessage'
72
+ }
73
+ },
74
+ service_bus_queue_message: {
75
+ required: false,
76
+ serialized_name: 'serviceBusQueueMessage',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'ServiceBusQueueMessage'
80
+ }
81
+ },
82
+ service_bus_topic_message: {
83
+ required: false,
84
+ serialized_name: 'serviceBusTopicMessage',
85
+ type: {
86
+ name: 'Composite',
87
+ class_name: 'ServiceBusTopicMessage'
88
+ }
89
+ },
90
+ retry_policy: {
91
+ required: false,
92
+ serialized_name: 'retryPolicy',
93
+ type: {
94
+ name: 'Composite',
95
+ class_name: 'RetryPolicy'
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,80 @@
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 JobHistoryDefinition
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets the job history identifier.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Gets the job history resource type.
19
+ attr_accessor :type
20
+
21
+ # @return [String] Gets the job history name.
22
+ attr_accessor :name
23
+
24
+ # @return [JobHistoryDefinitionProperties] Gets or sets the job history
25
+ # properties.
26
+ attr_accessor :properties
27
+
28
+
29
+ #
30
+ # Mapper for JobHistoryDefinition class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ required: false,
36
+ serialized_name: 'JobHistoryDefinition',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'JobHistoryDefinition',
40
+ model_properties: {
41
+ id: {
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'id',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ type: {
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'type',
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
+ properties: {
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'properties',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'JobHistoryDefinitionProperties'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,126 @@
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 JobHistoryDefinitionProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DateTime] Gets the start time for this job.
16
+ attr_accessor :start_time
17
+
18
+ # @return [DateTime] Gets the end time for this job.
19
+ attr_accessor :end_time
20
+
21
+ # @return [DateTime] Gets the expected execution time for this job.
22
+ attr_accessor :expected_execution_time
23
+
24
+ # @return [JobHistoryActionName] Gets the job history action name.
25
+ # Possible values include: 'MainAction', 'ErrorAction'
26
+ attr_accessor :action_name
27
+
28
+ # @return [JobExecutionStatus] Gets the job history status. Possible
29
+ # values include: 'Completed', 'Failed', 'Postponed'
30
+ attr_accessor :status
31
+
32
+ # @return [String] Gets the message for the job history.
33
+ attr_accessor :message
34
+
35
+ # @return [Integer] Gets the retry count for job.
36
+ attr_accessor :retry_count
37
+
38
+ # @return [Integer] Gets the repeat count for the job.
39
+ attr_accessor :repeat_count
40
+
41
+
42
+ #
43
+ # Mapper for JobHistoryDefinitionProperties class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ required: false,
49
+ serialized_name: 'JobHistoryDefinitionProperties',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'JobHistoryDefinitionProperties',
53
+ model_properties: {
54
+ start_time: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'startTime',
58
+ type: {
59
+ name: 'DateTime'
60
+ }
61
+ },
62
+ end_time: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'endTime',
66
+ type: {
67
+ name: 'DateTime'
68
+ }
69
+ },
70
+ expected_execution_time: {
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'expectedExecutionTime',
74
+ type: {
75
+ name: 'DateTime'
76
+ }
77
+ },
78
+ action_name: {
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'actionName',
82
+ type: {
83
+ name: 'Enum',
84
+ module: 'JobHistoryActionName'
85
+ }
86
+ },
87
+ status: {
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'status',
91
+ type: {
92
+ name: 'Enum',
93
+ module: 'JobExecutionStatus'
94
+ }
95
+ },
96
+ message: {
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'message',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ retry_count: {
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'retryCount',
108
+ type: {
109
+ name: 'Number'
110
+ }
111
+ },
112
+ repeat_count: {
113
+ required: false,
114
+ read_only: true,
115
+ serialized_name: 'repeatCount',
116
+ type: {
117
+ name: 'Number'
118
+ }
119
+ }
120
+ }
121
+ }
122
+ }
123
+ end
124
+ end
125
+ end
126
+ end