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.
- checksums.yaml +5 -13
- data/azure_mgmt_scheduler.gemspec +4 -5
- data/lib/azure_mgmt_scheduler.rb +3 -72
- data/lib/generated/azure_mgmt_scheduler.rb +74 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/job_collections.rb +146 -59
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/jobs.rb +105 -50
- data/lib/generated/azure_mgmt_scheduler/models/basic_authentication.rb +62 -0
- data/lib/generated/azure_mgmt_scheduler/models/client_cert_authentication.rb +92 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/day_of_week.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/http_authentication.rb +47 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/http_authentication_type.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/http_request.rb +92 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_action.rb +115 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_action_type.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_collection_definition.rb +105 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_collection_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_collection_properties.rb +68 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_collection_quota.rb +65 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_collection_state.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_definition.rb +78 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_error_action.rb +104 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_execution_status.rb +0 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_history_action_name.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_history_definition.rb +80 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_history_definition_properties.rb +126 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_history_filter.rb +46 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_history_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_max_recurrence.rb +57 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_properties.rb +90 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_recurrence.rb +90 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule.rb +126 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb +59 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_schedule_day.rb +0 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/job_state.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_state_filter.rb +46 -0
- data/lib/generated/azure_mgmt_scheduler/models/job_status.rb +93 -0
- data/lib/generated/azure_mgmt_scheduler/models/oauth_authentication.rb +82 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/recurrence_frequency.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/retry_policy.rb +67 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/retry_type.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/service_bus_authentication.rb +66 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/service_bus_authentication_type.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb +164 -0
- data/lib/generated/azure_mgmt_scheduler/models/service_bus_message.rb +107 -0
- data/lib/generated/azure_mgmt_scheduler/models/service_bus_queue_message.rb +96 -0
- data/lib/generated/azure_mgmt_scheduler/models/service_bus_topic_message.rb +96 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/service_bus_transport_type.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/sku.rb +46 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/models/sku_definition.rb +0 -0
- data/lib/generated/azure_mgmt_scheduler/models/storage_queue_message.rb +74 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/module_definition.rb +0 -0
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/scheduler_management_client.rb +4 -4
- data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/version.rb +1 -1
- metadata +72 -92
- data/lib/azure_mgmt_scheduler/models/basic_authentication.rb +0 -75
- data/lib/azure_mgmt_scheduler/models/client_cert_authentication.rb +0 -104
- data/lib/azure_mgmt_scheduler/models/http_authentication.rb +0 -61
- data/lib/azure_mgmt_scheduler/models/http_request.rb +0 -99
- data/lib/azure_mgmt_scheduler/models/job_action.rb +0 -159
- data/lib/azure_mgmt_scheduler/models/job_collection_definition.rb +0 -109
- data/lib/azure_mgmt_scheduler/models/job_collection_list_result.rb +0 -86
- data/lib/azure_mgmt_scheduler/models/job_collection_properties.rb +0 -92
- data/lib/azure_mgmt_scheduler/models/job_collection_quota.rb +0 -82
- data/lib/azure_mgmt_scheduler/models/job_definition.rb +0 -89
- data/lib/azure_mgmt_scheduler/models/job_error_action.rb +0 -143
- data/lib/azure_mgmt_scheduler/models/job_history_definition.rb +0 -90
- data/lib/azure_mgmt_scheduler/models/job_history_definition_properties.rb +0 -136
- data/lib/azure_mgmt_scheduler/models/job_history_filter.rb +0 -60
- data/lib/azure_mgmt_scheduler/models/job_history_list_result.rb +0 -87
- data/lib/azure_mgmt_scheduler/models/job_list_result.rb +0 -86
- data/lib/azure_mgmt_scheduler/models/job_max_recurrence.rb +0 -71
- data/lib/azure_mgmt_scheduler/models/job_properties.rb +0 -119
- data/lib/azure_mgmt_scheduler/models/job_recurrence.rb +0 -110
- data/lib/azure_mgmt_scheduler/models/job_recurrence_schedule.rb +0 -156
- data/lib/azure_mgmt_scheduler/models/job_recurrence_schedule_monthly_occurrence.rb +0 -73
- data/lib/azure_mgmt_scheduler/models/job_state_filter.rb +0 -60
- data/lib/azure_mgmt_scheduler/models/job_status.rb +0 -103
- data/lib/azure_mgmt_scheduler/models/oauth_authentication.rb +0 -93
- data/lib/azure_mgmt_scheduler/models/retry_policy.rb +0 -80
- data/lib/azure_mgmt_scheduler/models/service_bus_authentication.rb +0 -78
- data/lib/azure_mgmt_scheduler/models/service_bus_brokered_message_properties.rb +0 -168
- data/lib/azure_mgmt_scheduler/models/service_bus_message.rb +0 -122
- data/lib/azure_mgmt_scheduler/models/service_bus_queue_message.rb +0 -108
- data/lib/azure_mgmt_scheduler/models/service_bus_topic_message.rb +0 -108
- data/lib/azure_mgmt_scheduler/models/sku.rb +0 -60
- data/lib/azure_mgmt_scheduler/models/storage_queue_message.rb +0 -83
File without changes
|
@@ -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
|
File without changes
|
@@ -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
|
File without changes
|
data/lib/{azure_mgmt_scheduler → generated/azure_mgmt_scheduler}/scheduler_management_client.rb
RENAMED
@@ -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
|
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
|
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
|
#
|
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:
|
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-
|
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:
|
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:
|
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:
|
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:
|
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
|
116
|
-
- lib/azure_mgmt_scheduler/
|
117
|
-
- lib/azure_mgmt_scheduler/
|
118
|
-
- lib/azure_mgmt_scheduler/models/
|
119
|
-
- lib/azure_mgmt_scheduler/models/
|
120
|
-
- lib/azure_mgmt_scheduler/models/
|
121
|
-
- lib/azure_mgmt_scheduler/models/
|
122
|
-
- lib/azure_mgmt_scheduler/models/
|
123
|
-
- lib/azure_mgmt_scheduler/models/
|
124
|
-
- lib/azure_mgmt_scheduler/models/
|
125
|
-
- lib/azure_mgmt_scheduler/models/
|
126
|
-
- lib/azure_mgmt_scheduler/models/
|
127
|
-
- lib/azure_mgmt_scheduler/models/
|
128
|
-
- lib/azure_mgmt_scheduler/models/
|
129
|
-
- lib/azure_mgmt_scheduler/models/
|
130
|
-
- lib/azure_mgmt_scheduler/models/
|
131
|
-
- lib/azure_mgmt_scheduler/models/
|
132
|
-
- lib/azure_mgmt_scheduler/models/
|
133
|
-
- lib/azure_mgmt_scheduler/models/
|
134
|
-
- lib/azure_mgmt_scheduler/models/
|
135
|
-
- lib/azure_mgmt_scheduler/models/
|
136
|
-
- lib/azure_mgmt_scheduler/models/
|
137
|
-
- lib/azure_mgmt_scheduler/models/
|
138
|
-
- lib/azure_mgmt_scheduler/models/
|
139
|
-
- lib/azure_mgmt_scheduler/models/
|
140
|
-
- lib/azure_mgmt_scheduler/models/
|
141
|
-
- lib/azure_mgmt_scheduler/models/
|
142
|
-
- lib/azure_mgmt_scheduler/models/
|
143
|
-
- lib/azure_mgmt_scheduler/models/
|
144
|
-
- lib/azure_mgmt_scheduler/models/
|
145
|
-
- lib/azure_mgmt_scheduler/models/
|
146
|
-
- lib/azure_mgmt_scheduler/models/
|
147
|
-
- lib/azure_mgmt_scheduler/models/
|
148
|
-
- lib/azure_mgmt_scheduler/models/
|
149
|
-
- lib/azure_mgmt_scheduler/models/
|
150
|
-
- lib/azure_mgmt_scheduler/models/
|
151
|
-
- lib/azure_mgmt_scheduler/models/
|
152
|
-
- lib/azure_mgmt_scheduler/models/
|
153
|
-
- lib/azure_mgmt_scheduler/models/
|
154
|
-
- lib/azure_mgmt_scheduler/models/
|
155
|
-
- lib/azure_mgmt_scheduler/models/
|
156
|
-
- lib/azure_mgmt_scheduler/models/
|
157
|
-
- lib/azure_mgmt_scheduler/models/
|
158
|
-
- lib/azure_mgmt_scheduler/models/
|
159
|
-
- lib/azure_mgmt_scheduler/models/
|
160
|
-
- lib/azure_mgmt_scheduler/models/
|
161
|
-
- lib/azure_mgmt_scheduler/models/
|
162
|
-
- lib/azure_mgmt_scheduler/
|
163
|
-
- lib/azure_mgmt_scheduler/
|
164
|
-
- lib/azure_mgmt_scheduler/
|
165
|
-
|
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.
|
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
|