azure_mgmt_search 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 (32) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_search.gemspec +4 -5
  3. data/lib/azure_mgmt_search.rb +3 -40
  4. data/lib/generated/azure_mgmt_search.rb +42 -0
  5. data/lib/{azure_mgmt_search → generated/azure_mgmt_search}/admin_keys.rb +4 -4
  6. data/lib/generated/azure_mgmt_search/models/admin_key_result.rb +57 -0
  7. data/lib/generated/azure_mgmt_search/models/list_query_keys_result.rb +53 -0
  8. data/lib/{azure_mgmt_search → generated/azure_mgmt_search}/models/provisioning_state.rb +0 -0
  9. data/lib/generated/azure_mgmt_search/models/query_key.rb +57 -0
  10. data/lib/generated/azure_mgmt_search/models/search_service_create_or_update_parameters.rb +73 -0
  11. data/lib/generated/azure_mgmt_search/models/search_service_list_result.rb +55 -0
  12. data/lib/generated/azure_mgmt_search/models/search_service_properties.rb +68 -0
  13. data/lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb +107 -0
  14. data/lib/generated/azure_mgmt_search/models/search_service_resource.rb +96 -0
  15. data/lib/{azure_mgmt_search → generated/azure_mgmt_search}/models/search_service_status.rb +0 -0
  16. data/lib/generated/azure_mgmt_search/models/sku.rb +47 -0
  17. data/lib/{azure_mgmt_search → generated/azure_mgmt_search}/models/sku_type.rb +0 -0
  18. data/lib/{azure_mgmt_search → generated/azure_mgmt_search}/module_definition.rb +0 -0
  19. data/lib/{azure_mgmt_search → generated/azure_mgmt_search}/query_keys.rb +4 -4
  20. data/lib/{azure_mgmt_search → generated/azure_mgmt_search}/search_management_client.rb +5 -5
  21. data/lib/{azure_mgmt_search → generated/azure_mgmt_search}/services.rb +18 -18
  22. data/lib/{azure_mgmt_search → generated/azure_mgmt_search}/version.rb +1 -1
  23. metadata +40 -60
  24. data/lib/azure_mgmt_search/models/admin_key_result.rb +0 -66
  25. data/lib/azure_mgmt_search/models/list_query_keys_result.rb +0 -77
  26. data/lib/azure_mgmt_search/models/query_key.rb +0 -66
  27. data/lib/azure_mgmt_search/models/search_service_create_or_update_parameters.rb +0 -84
  28. data/lib/azure_mgmt_search/models/search_service_list_result.rb +0 -78
  29. data/lib/azure_mgmt_search/models/search_service_properties.rb +0 -85
  30. data/lib/azure_mgmt_search/models/search_service_readable_properties.rb +0 -124
  31. data/lib/azure_mgmt_search/models/search_service_resource.rb +0 -102
  32. data/lib/azure_mgmt_search/models/sku.rb +0 -61
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Search
7
- VERSION = '0.3.1'
7
+ VERSION = '0.4.0'
8
8
  end
metadata CHANGED
@@ -1,136 +1,116 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_search
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 Search 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_search.gemspec
114
93
  - lib/azure_mgmt_search.rb
115
- - lib/azure_mgmt_search/admin_keys.rb
116
- - lib/azure_mgmt_search/models/admin_key_result.rb
117
- - lib/azure_mgmt_search/models/list_query_keys_result.rb
118
- - lib/azure_mgmt_search/models/provisioning_state.rb
119
- - lib/azure_mgmt_search/models/query_key.rb
120
- - lib/azure_mgmt_search/models/search_service_create_or_update_parameters.rb
121
- - lib/azure_mgmt_search/models/search_service_list_result.rb
122
- - lib/azure_mgmt_search/models/search_service_properties.rb
123
- - lib/azure_mgmt_search/models/search_service_readable_properties.rb
124
- - lib/azure_mgmt_search/models/search_service_resource.rb
125
- - lib/azure_mgmt_search/models/search_service_status.rb
126
- - lib/azure_mgmt_search/models/sku.rb
127
- - lib/azure_mgmt_search/models/sku_type.rb
128
- - lib/azure_mgmt_search/module_definition.rb
129
- - lib/azure_mgmt_search/query_keys.rb
130
- - lib/azure_mgmt_search/search_management_client.rb
131
- - lib/azure_mgmt_search/services.rb
132
- - lib/azure_mgmt_search/version.rb
133
- homepage: http://github.com/azure/azure-sdk-ruby
94
+ - lib/generated/azure_mgmt_search.rb
95
+ - lib/generated/azure_mgmt_search/admin_keys.rb
96
+ - lib/generated/azure_mgmt_search/models/admin_key_result.rb
97
+ - lib/generated/azure_mgmt_search/models/list_query_keys_result.rb
98
+ - lib/generated/azure_mgmt_search/models/provisioning_state.rb
99
+ - lib/generated/azure_mgmt_search/models/query_key.rb
100
+ - lib/generated/azure_mgmt_search/models/search_service_create_or_update_parameters.rb
101
+ - lib/generated/azure_mgmt_search/models/search_service_list_result.rb
102
+ - lib/generated/azure_mgmt_search/models/search_service_properties.rb
103
+ - lib/generated/azure_mgmt_search/models/search_service_readable_properties.rb
104
+ - lib/generated/azure_mgmt_search/models/search_service_resource.rb
105
+ - lib/generated/azure_mgmt_search/models/search_service_status.rb
106
+ - lib/generated/azure_mgmt_search/models/sku.rb
107
+ - lib/generated/azure_mgmt_search/models/sku_type.rb
108
+ - lib/generated/azure_mgmt_search/module_definition.rb
109
+ - lib/generated/azure_mgmt_search/query_keys.rb
110
+ - lib/generated/azure_mgmt_search/search_management_client.rb
111
+ - lib/generated/azure_mgmt_search/services.rb
112
+ - lib/generated/azure_mgmt_search/version.rb
113
+ homepage: https://aka.ms/azure-sdk-for-ruby
134
114
  licenses:
135
115
  - MIT
136
116
  metadata: {}
@@ -140,17 +120,17 @@ require_paths:
140
120
  - lib
141
121
  required_ruby_version: !ruby/object:Gem::Requirement
142
122
  requirements:
143
- - - ! '>='
123
+ - - ">="
144
124
  - !ruby/object:Gem::Version
145
125
  version: 1.9.3
146
126
  required_rubygems_version: !ruby/object:Gem::Requirement
147
127
  requirements:
148
- - - ! '>='
128
+ - - ">="
149
129
  - !ruby/object:Gem::Version
150
130
  version: '0'
151
131
  requirements: []
152
132
  rubyforge_project:
153
- rubygems_version: 2.4.5
133
+ rubygems_version: 2.4.6
154
134
  signing_key:
155
135
  specification_version: 4
156
136
  summary: Official Ruby client library to consume Microsoft Azure Search Management
@@ -1,66 +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::Search
7
- module Models
8
- #
9
- # Response containing the primary and secondary API keys for a given Azure
10
- # Search service.
11
- #
12
- class AdminKeyResult
13
-
14
- include MsRestAzure
15
-
16
- # @return [String] Gets the primary API key of the Search service.
17
- attr_accessor :primary_key
18
-
19
- # @return [String] Gets the secondary API key of the Search service.
20
- attr_accessor :secondary_key
21
-
22
- #
23
- # Validate the object. Throws ValidationError if validation fails.
24
- #
25
- def validate
26
- # Nothing to validate
27
- end
28
-
29
- #
30
- # Serializes given Model object into Ruby Hash.
31
- # @param object Model object to serialize.
32
- # @return [Hash] Serialized object in form of Ruby Hash.
33
- #
34
- def self.serialize_object(object)
35
- object.validate
36
- output_object = {}
37
-
38
- serialized_property = object.primary_key
39
- output_object['primaryKey'] = serialized_property unless serialized_property.nil?
40
-
41
- serialized_property = object.secondary_key
42
- output_object['secondaryKey'] = serialized_property unless serialized_property.nil?
43
-
44
- output_object
45
- end
46
-
47
- #
48
- # Deserializes given Ruby Hash into Model object.
49
- # @param object [Hash] Ruby Hash object to deserialize.
50
- # @return [AdminKeyResult] Deserialized object.
51
- #
52
- def self.deserialize_object(object)
53
- return if object.nil?
54
- output_object = AdminKeyResult.new
55
-
56
- deserialized_property = object['primaryKey']
57
- output_object.primary_key = deserialized_property
58
-
59
- deserialized_property = object['secondaryKey']
60
- output_object.secondary_key = deserialized_property
61
-
62
- output_object
63
- end
64
- end
65
- end
66
- end
@@ -1,77 +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::Search
7
- module Models
8
- #
9
- # Response containing the query API keys for a given Azure Search service.
10
- #
11
- class ListQueryKeysResult
12
-
13
- include MsRestAzure
14
-
15
- # @return [Array<QueryKey>] Gets the query keys for the Azure Search
16
- # service.
17
- attr_accessor :value
18
-
19
- #
20
- # Validate the object. Throws ValidationError if validation fails.
21
- #
22
- def validate
23
- @value.each{ |e| e.validate if e.respond_to?(:validate) } unless @value.nil?
24
- end
25
-
26
- #
27
- # Serializes given Model object into Ruby Hash.
28
- # @param object Model object to serialize.
29
- # @return [Hash] Serialized object in form of Ruby Hash.
30
- #
31
- def self.serialize_object(object)
32
- object.validate
33
- output_object = {}
34
-
35
- serialized_property = object.value
36
- unless serialized_property.nil?
37
- serializedArray = []
38
- serialized_property.each do |element|
39
- unless element.nil?
40
- element = QueryKey.serialize_object(element)
41
- end
42
- serializedArray.push(element)
43
- end
44
- serialized_property = serializedArray
45
- end
46
- output_object['value'] = serialized_property unless serialized_property.nil?
47
-
48
- output_object
49
- end
50
-
51
- #
52
- # Deserializes given Ruby Hash into Model object.
53
- # @param object [Hash] Ruby Hash object to deserialize.
54
- # @return [ListQueryKeysResult] Deserialized object.
55
- #
56
- def self.deserialize_object(object)
57
- return if object.nil?
58
- output_object = ListQueryKeysResult.new
59
-
60
- deserialized_property = object['value']
61
- unless deserialized_property.nil?
62
- deserialized_array = []
63
- deserialized_property.each do |element1|
64
- unless element1.nil?
65
- element1 = QueryKey.deserialize_object(element1)
66
- end
67
- deserialized_array.push(element1)
68
- end
69
- deserialized_property = deserialized_array
70
- end
71
- output_object.value = deserialized_property
72
-
73
- output_object
74
- end
75
- end
76
- end
77
- end
@@ -1,66 +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::Search
7
- module Models
8
- #
9
- # Describes an API key for a given Azure Search service that has
10
- # permissions for query operations only.
11
- #
12
- class QueryKey
13
-
14
- include MsRestAzure
15
-
16
- # @return [String] Gets the name of the query API key; may be empty.
17
- attr_accessor :name
18
-
19
- # @return [String] Gets the value of the query API key.
20
- attr_accessor :key
21
-
22
- #
23
- # Validate the object. Throws ValidationError if validation fails.
24
- #
25
- def validate
26
- # Nothing to validate
27
- end
28
-
29
- #
30
- # Serializes given Model object into Ruby Hash.
31
- # @param object Model object to serialize.
32
- # @return [Hash] Serialized object in form of Ruby Hash.
33
- #
34
- def self.serialize_object(object)
35
- object.validate
36
- output_object = {}
37
-
38
- serialized_property = object.name
39
- output_object['name'] = serialized_property unless serialized_property.nil?
40
-
41
- serialized_property = object.key
42
- output_object['key'] = serialized_property unless serialized_property.nil?
43
-
44
- output_object
45
- end
46
-
47
- #
48
- # Deserializes given Ruby Hash into Model object.
49
- # @param object [Hash] Ruby Hash object to deserialize.
50
- # @return [QueryKey] Deserialized object.
51
- #
52
- def self.deserialize_object(object)
53
- return if object.nil?
54
- output_object = QueryKey.new
55
-
56
- deserialized_property = object['name']
57
- output_object.name = deserialized_property
58
-
59
- deserialized_property = object['key']
60
- output_object.key = deserialized_property
61
-
62
- output_object
63
- end
64
- end
65
- end
66
- end
@@ -1,84 +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::Search
7
- module Models
8
- #
9
- # Properties that describe an Azure Search service.
10
- #
11
- class SearchServiceCreateOrUpdateParameters
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the geographic location of the Search
16
- # service.
17
- attr_accessor :location
18
-
19
- # @return [Hash{String => String}] Gets or sets tags to help categorize
20
- # the Search service in the Azure Portal.
21
- attr_accessor :tags
22
-
23
- # @return [SearchServiceProperties] Gets or sets properties of the
24
- # Search service.
25
- attr_accessor :properties
26
-
27
- #
28
- # Validate the object. Throws ValidationError if validation fails.
29
- #
30
- def validate
31
- @tags.each{ |e| e.validate if e.respond_to?(:validate) } unless @tags.nil?
32
- @properties.validate unless @properties.nil?
33
- end
34
-
35
- #
36
- # Serializes given Model object into Ruby Hash.
37
- # @param object Model object to serialize.
38
- # @return [Hash] Serialized object in form of Ruby Hash.
39
- #
40
- def self.serialize_object(object)
41
- object.validate
42
- output_object = {}
43
-
44
- serialized_property = object.location
45
- output_object['location'] = serialized_property unless serialized_property.nil?
46
-
47
- serialized_property = object.tags
48
- output_object['tags'] = serialized_property unless serialized_property.nil?
49
-
50
- serialized_property = object.properties
51
- unless serialized_property.nil?
52
- serialized_property = SearchServiceProperties.serialize_object(serialized_property)
53
- end
54
- output_object['properties'] = serialized_property unless serialized_property.nil?
55
-
56
- output_object
57
- end
58
-
59
- #
60
- # Deserializes given Ruby Hash into Model object.
61
- # @param object [Hash] Ruby Hash object to deserialize.
62
- # @return [SearchServiceCreateOrUpdateParameters] Deserialized object.
63
- #
64
- def self.deserialize_object(object)
65
- return if object.nil?
66
- output_object = SearchServiceCreateOrUpdateParameters.new
67
-
68
- deserialized_property = object['location']
69
- output_object.location = deserialized_property
70
-
71
- deserialized_property = object['tags']
72
- output_object.tags = deserialized_property
73
-
74
- deserialized_property = object['properties']
75
- unless deserialized_property.nil?
76
- deserialized_property = SearchServiceProperties.deserialize_object(deserialized_property)
77
- end
78
- output_object.properties = deserialized_property
79
-
80
- output_object
81
- end
82
- end
83
- end
84
- end