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,46 @@
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 Sku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [SkuDefinition] Gets or set the SKU. Possible values include:
16
+ # 'Standard', 'Free', 'P10Premium', 'P20Premium'
17
+ attr_accessor :name
18
+
19
+
20
+ #
21
+ # Mapper for Sku class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'Sku',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'Sku',
31
+ model_properties: {
32
+ name: {
33
+ required: false,
34
+ serialized_name: 'name',
35
+ type: {
36
+ name: 'Enum',
37
+ module: 'SkuDefinition'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,74 @@
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 StorageQueueMessage
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets or sets the storage account name.
16
+ attr_accessor :storage_account
17
+
18
+ # @return [String] Gets or sets the queue name.
19
+ attr_accessor :queue_name
20
+
21
+ # @return [String] Gets or sets the SAS key.
22
+ attr_accessor :sas_token
23
+
24
+ # @return [String] Gets or sets the message.
25
+ attr_accessor :message
26
+
27
+
28
+ #
29
+ # Mapper for StorageQueueMessage class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'StorageQueueMessage',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'StorageQueueMessage',
39
+ model_properties: {
40
+ storage_account: {
41
+ required: false,
42
+ serialized_name: 'storageAccount',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ queue_name: {
48
+ required: false,
49
+ serialized_name: 'queueName',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ sas_token: {
55
+ required: false,
56
+ serialized_name: 'sasToken',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ message: {
62
+ required: false,
63
+ serialized_name: 'message',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -8,13 +8,13 @@ module Azure::ARM::Scheduler
8
8
  # A service client - single point of access to the REST API.
9
9
  #
10
10
  class SchedulerManagementClient < MsRestAzure::AzureServiceClient
11
- include Azure::ARM::Scheduler::Models
11
+ include MsRest::Serialization
12
12
  include MsRestAzure
13
13
 
14
14
  # @return [String] the base URI of the service.
15
15
  attr_accessor :base_url
16
16
 
17
- # @return Gets Azure subscription credentials.
17
+ # @return Credentials needed for the client to connect to Azure.
18
18
  attr_reader :credentials
19
19
 
20
20
  # @return [String] The subscription id.
@@ -38,10 +38,10 @@ module Azure::ARM::Scheduler
38
38
  # subscription.
39
39
  attr_accessor :credentials
40
40
 
41
- # @return job_collections
41
+ # @return [JobCollections] job_collections
42
42
  attr_reader :job_collections
43
43
 
44
- # @return jobs
44
+ # @return [Jobs] jobs
45
45
  attr_reader :jobs
46
46
 
47
47
  #
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Scheduler
7
- VERSION = '0.3.1'
7
+ VERSION = '0.4.0'
8
8
  end
metadata CHANGED
@@ -1,168 +1,148 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: !binary |-
5
- MC4zLjE=
4
+ version: 0.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Microsoft Corporation
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2016-05-24 00:00:00.000000000 Z
11
+ date: 2016-07-22 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - ~>
17
+ - - "~>"
19
18
  - !ruby/object:Gem::Version
20
19
  version: '1.9'
21
20
  type: :development
22
21
  prerelease: false
23
22
  version_requirements: !ruby/object:Gem::Requirement
24
23
  requirements:
25
- - - ~>
24
+ - - "~>"
26
25
  - !ruby/object:Gem::Version
27
26
  version: '1.9'
28
27
  - !ruby/object:Gem::Dependency
29
28
  name: rake
30
29
  requirement: !ruby/object:Gem::Requirement
31
30
  requirements:
32
- - - ~>
31
+ - - "~>"
33
32
  - !ruby/object:Gem::Version
34
33
  version: '10'
35
34
  type: :development
36
35
  prerelease: false
37
36
  version_requirements: !ruby/object:Gem::Requirement
38
37
  requirements:
39
- - - ~>
38
+ - - "~>"
40
39
  - !ruby/object:Gem::Version
41
40
  version: '10'
42
41
  - !ruby/object:Gem::Dependency
43
42
  name: rspec
44
43
  requirement: !ruby/object:Gem::Requirement
45
44
  requirements:
46
- - - ~>
45
+ - - "~>"
47
46
  - !ruby/object:Gem::Version
48
- version: !binary |-
49
- Mw==
47
+ version: '3'
50
48
  type: :development
51
49
  prerelease: false
52
50
  version_requirements: !ruby/object:Gem::Requirement
53
51
  requirements:
54
- - - ~>
52
+ - - "~>"
55
53
  - !ruby/object:Gem::Version
56
- version: !binary |-
57
- Mw==
54
+ version: '3'
58
55
  - !ruby/object:Gem::Dependency
59
56
  name: dotenv
60
57
  requirement: !ruby/object:Gem::Requirement
61
58
  requirements:
62
- - - ~>
59
+ - - "~>"
63
60
  - !ruby/object:Gem::Version
64
61
  version: '2'
65
62
  type: :development
66
63
  prerelease: false
67
64
  version_requirements: !ruby/object:Gem::Requirement
68
65
  requirements:
69
- - - ~>
66
+ - - "~>"
70
67
  - !ruby/object:Gem::Version
71
68
  version: '2'
72
- - !ruby/object:Gem::Dependency
73
- name: azure_mgmt_resources
74
- requirement: !ruby/object:Gem::Requirement
75
- requirements:
76
- - - ~>
77
- - !ruby/object:Gem::Version
78
- version: !binary |-
79
- MC4z
80
- type: :development
81
- prerelease: false
82
- version_requirements: !ruby/object:Gem::Requirement
83
- requirements:
84
- - - ~>
85
- - !ruby/object:Gem::Version
86
- version: !binary |-
87
- MC4z
88
69
  - !ruby/object:Gem::Dependency
89
70
  name: ms_rest_azure
90
71
  requirement: !ruby/object:Gem::Requirement
91
72
  requirements:
92
- - - ~>
73
+ - - "~>"
93
74
  - !ruby/object:Gem::Version
94
- version: !binary |-
95
- MC4yLjM=
75
+ version: 0.3.0
96
76
  type: :runtime
97
77
  prerelease: false
98
78
  version_requirements: !ruby/object:Gem::Requirement
99
79
  requirements:
100
- - - ~>
80
+ - - "~>"
101
81
  - !ruby/object:Gem::Version
102
- version: !binary |-
103
- MC4yLjM=
82
+ version: 0.3.0
104
83
  description: Microsoft Azure Scheduler Management Client Library for Ruby
105
84
  email: azrubyteam@microsoft.com
106
85
  executables: []
107
86
  extensions: []
108
87
  extra_rdoc_files: []
109
88
  files:
110
- - .rspec
89
+ - ".rspec"
111
90
  - LICENSE.txt
112
91
  - Rakefile
113
92
  - azure_mgmt_scheduler.gemspec
114
93
  - lib/azure_mgmt_scheduler.rb
115
- - lib/azure_mgmt_scheduler/job_collections.rb
116
- - lib/azure_mgmt_scheduler/jobs.rb
117
- - lib/azure_mgmt_scheduler/models/basic_authentication.rb
118
- - lib/azure_mgmt_scheduler/models/client_cert_authentication.rb
119
- - lib/azure_mgmt_scheduler/models/day_of_week.rb
120
- - lib/azure_mgmt_scheduler/models/http_authentication.rb
121
- - lib/azure_mgmt_scheduler/models/http_authentication_type.rb
122
- - lib/azure_mgmt_scheduler/models/http_request.rb
123
- - lib/azure_mgmt_scheduler/models/job_action.rb
124
- - lib/azure_mgmt_scheduler/models/job_action_type.rb
125
- - lib/azure_mgmt_scheduler/models/job_collection_definition.rb
126
- - lib/azure_mgmt_scheduler/models/job_collection_list_result.rb
127
- - lib/azure_mgmt_scheduler/models/job_collection_properties.rb
128
- - lib/azure_mgmt_scheduler/models/job_collection_quota.rb
129
- - lib/azure_mgmt_scheduler/models/job_collection_state.rb
130
- - lib/azure_mgmt_scheduler/models/job_definition.rb
131
- - lib/azure_mgmt_scheduler/models/job_error_action.rb
132
- - lib/azure_mgmt_scheduler/models/job_execution_status.rb
133
- - lib/azure_mgmt_scheduler/models/job_history_action_name.rb
134
- - lib/azure_mgmt_scheduler/models/job_history_definition.rb
135
- - lib/azure_mgmt_scheduler/models/job_history_definition_properties.rb
136
- - lib/azure_mgmt_scheduler/models/job_history_filter.rb
137
- - lib/azure_mgmt_scheduler/models/job_history_list_result.rb
138
- - lib/azure_mgmt_scheduler/models/job_list_result.rb
139
- - lib/azure_mgmt_scheduler/models/job_max_recurrence.rb
140
- - lib/azure_mgmt_scheduler/models/job_properties.rb
141
- - lib/azure_mgmt_scheduler/models/job_recurrence.rb
142
- - lib/azure_mgmt_scheduler/models/job_recurrence_schedule.rb
143
- - lib/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb
144
- - lib/azure_mgmt_scheduler/models/job_schedule_day.rb
145
- - lib/azure_mgmt_scheduler/models/job_state.rb
146
- - lib/azure_mgmt_scheduler/models/job_state_filter.rb
147
- - lib/azure_mgmt_scheduler/models/job_status.rb
148
- - lib/azure_mgmt_scheduler/models/oauth_authentication.rb
149
- - lib/azure_mgmt_scheduler/models/recurrence_frequency.rb
150
- - lib/azure_mgmt_scheduler/models/retry_policy.rb
151
- - lib/azure_mgmt_scheduler/models/retry_type.rb
152
- - lib/azure_mgmt_scheduler/models/service_bus_authentication.rb
153
- - lib/azure_mgmt_scheduler/models/service_bus_authentication_type.rb
154
- - lib/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb
155
- - lib/azure_mgmt_scheduler/models/service_bus_message.rb
156
- - lib/azure_mgmt_scheduler/models/service_bus_queue_message.rb
157
- - lib/azure_mgmt_scheduler/models/service_bus_topic_message.rb
158
- - lib/azure_mgmt_scheduler/models/service_bus_transport_type.rb
159
- - lib/azure_mgmt_scheduler/models/sku.rb
160
- - lib/azure_mgmt_scheduler/models/sku_definition.rb
161
- - lib/azure_mgmt_scheduler/models/storage_queue_message.rb
162
- - lib/azure_mgmt_scheduler/module_definition.rb
163
- - lib/azure_mgmt_scheduler/scheduler_management_client.rb
164
- - lib/azure_mgmt_scheduler/version.rb
165
- homepage: http://github.com/azure/azure-sdk-ruby
94
+ - lib/generated/azure_mgmt_scheduler.rb
95
+ - lib/generated/azure_mgmt_scheduler/job_collections.rb
96
+ - lib/generated/azure_mgmt_scheduler/jobs.rb
97
+ - lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb
98
+ - lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb
99
+ - lib/generated/azure_mgmt_scheduler/models/day_of_week.rb
100
+ - lib/generated/azure_mgmt_scheduler/models/http_authentication.rb
101
+ - lib/generated/azure_mgmt_scheduler/models/http_authentication_type.rb
102
+ - lib/generated/azure_mgmt_scheduler/models/http_request.rb
103
+ - lib/generated/azure_mgmt_scheduler/models/job_action.rb
104
+ - lib/generated/azure_mgmt_scheduler/models/job_action_type.rb
105
+ - lib/generated/azure_mgmt_scheduler/models/job_collection_definition.rb
106
+ - lib/generated/azure_mgmt_scheduler/models/job_collection_list_result.rb
107
+ - lib/generated/azure_mgmt_scheduler/models/job_collection_properties.rb
108
+ - lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb
109
+ - lib/generated/azure_mgmt_scheduler/models/job_collection_state.rb
110
+ - lib/generated/azure_mgmt_scheduler/models/job_definition.rb
111
+ - lib/generated/azure_mgmt_scheduler/models/job_error_action.rb
112
+ - lib/generated/azure_mgmt_scheduler/models/job_execution_status.rb
113
+ - lib/generated/azure_mgmt_scheduler/models/job_history_action_name.rb
114
+ - lib/generated/azure_mgmt_scheduler/models/job_history_definition.rb
115
+ - lib/generated/azure_mgmt_scheduler/models/job_history_definition_properties.rb
116
+ - lib/generated/azure_mgmt_scheduler/models/job_history_filter.rb
117
+ - lib/generated/azure_mgmt_scheduler/models/job_history_list_result.rb
118
+ - lib/generated/azure_mgmt_scheduler/models/job_list_result.rb
119
+ - lib/generated/azure_mgmt_scheduler/models/job_max_recurrence.rb
120
+ - lib/generated/azure_mgmt_scheduler/models/job_properties.rb
121
+ - lib/generated/azure_mgmt_scheduler/models/job_recurrence.rb
122
+ - lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule.rb
123
+ - lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb
124
+ - lib/generated/azure_mgmt_scheduler/models/job_schedule_day.rb
125
+ - lib/generated/azure_mgmt_scheduler/models/job_state.rb
126
+ - lib/generated/azure_mgmt_scheduler/models/job_state_filter.rb
127
+ - lib/generated/azure_mgmt_scheduler/models/job_status.rb
128
+ - lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb
129
+ - lib/generated/azure_mgmt_scheduler/models/recurrence_frequency.rb
130
+ - lib/generated/azure_mgmt_scheduler/models/retry_policy.rb
131
+ - lib/generated/azure_mgmt_scheduler/models/retry_type.rb
132
+ - lib/generated/azure_mgmt_scheduler/models/service_bus_authentication.rb
133
+ - lib/generated/azure_mgmt_scheduler/models/service_bus_authentication_type.rb
134
+ - lib/generated/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb
135
+ - lib/generated/azure_mgmt_scheduler/models/service_bus_message.rb
136
+ - lib/generated/azure_mgmt_scheduler/models/service_bus_queue_message.rb
137
+ - lib/generated/azure_mgmt_scheduler/models/service_bus_topic_message.rb
138
+ - lib/generated/azure_mgmt_scheduler/models/service_bus_transport_type.rb
139
+ - lib/generated/azure_mgmt_scheduler/models/sku.rb
140
+ - lib/generated/azure_mgmt_scheduler/models/sku_definition.rb
141
+ - lib/generated/azure_mgmt_scheduler/models/storage_queue_message.rb
142
+ - lib/generated/azure_mgmt_scheduler/module_definition.rb
143
+ - lib/generated/azure_mgmt_scheduler/scheduler_management_client.rb
144
+ - lib/generated/azure_mgmt_scheduler/version.rb
145
+ homepage: https://aka.ms/azure-sdk-for-ruby
166
146
  licenses:
167
147
  - MIT
168
148
  metadata: {}
@@ -172,17 +152,17 @@ require_paths:
172
152
  - lib
173
153
  required_ruby_version: !ruby/object:Gem::Requirement
174
154
  requirements:
175
- - - ! '>='
155
+ - - ">="
176
156
  - !ruby/object:Gem::Version
177
157
  version: 1.9.3
178
158
  required_rubygems_version: !ruby/object:Gem::Requirement
179
159
  requirements:
180
- - - ! '>='
160
+ - - ">="
181
161
  - !ruby/object:Gem::Version
182
162
  version: '0'
183
163
  requirements: []
184
164
  rubyforge_project:
185
- rubygems_version: 2.4.5
165
+ rubygems_version: 2.4.6
186
166
  signing_key:
187
167
  specification_version: 4
188
168
  summary: Official Ruby client library to consume Microsoft Azure Scheduler Management
@@ -1,75 +0,0 @@
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 BasicAuthentication < HttpAuthentication
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the username.
16
- attr_accessor :username
17
-
18
- # @return [String] Gets or sets the password.
19
- attr_accessor :password
20
-
21
- #
22
- # Validate the object. Throws ValidationError if validation fails.
23
- #
24
- def validate
25
- # Nothing to validate
26
- end
27
-
28
- #
29
- # Serializes given Model object into Ruby Hash.
30
- # @param object Model object to serialize.
31
- # @return [Hash] Serialized object in form of Ruby Hash.
32
- #
33
- def self.serialize_object(object)
34
- object.validate
35
- output_object = {}
36
-
37
- serialized_property = object.type
38
- output_object['type'] = serialized_property unless serialized_property.nil?
39
-
40
- serialized_property = object.username
41
- output_object['username'] = serialized_property unless serialized_property.nil?
42
-
43
- serialized_property = object.password
44
- output_object['password'] = serialized_property unless serialized_property.nil?
45
-
46
- output_object
47
- end
48
-
49
- #
50
- # Deserializes given Ruby Hash into Model object.
51
- # @param object [Hash] Ruby Hash object to deserialize.
52
- # @return [BasicAuthentication] Deserialized object.
53
- #
54
- def self.deserialize_object(object)
55
- return if object.nil?
56
- output_object = BasicAuthentication.new
57
-
58
- deserialized_property = object['type']
59
- if (!deserialized_property.nil? && !deserialized_property.empty?)
60
- enum_is_valid = HttpAuthenticationType.constants.any? { |e| HttpAuthenticationType.const_get(e).to_s.downcase == deserialized_property.downcase }
61
- warn 'Enum HttpAuthenticationType does not contain ' + deserialized_property.downcase + ', but was received from the server.' unless enum_is_valid
62
- end
63
- output_object.type = deserialized_property
64
-
65
- deserialized_property = object['username']
66
- output_object.username = deserialized_property
67
-
68
- deserialized_property = object['password']
69
- output_object.password = deserialized_property
70
-
71
- output_object
72
- end
73
- end
74
- end
75
- end