azure_mgmt_machine_learning 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2017-01-01/generated/azure_mgmt_machine_learning.rb +20 -16
- data/lib/2017-01-01/generated/azure_mgmt_machine_learning/azure_mlweb_services_management_client.rb +11 -6
- data/lib/2017-01-01/generated/azure_mgmt_machine_learning/models/async_operation_error_info.rb +4 -0
- data/lib/2017-01-01/generated/azure_mgmt_machine_learning/models/async_operation_status.rb +4 -0
- data/lib/2017-01-01/generated/azure_mgmt_machine_learning/models/operation_display_info.rb +84 -0
- data/lib/2017-01-01/generated/azure_mgmt_machine_learning/models/operation_entity.rb +59 -0
- data/lib/2017-01-01/generated/azure_mgmt_machine_learning/models/operation_entity_list_result.rb +56 -0
- data/lib/2017-01-01/generated/azure_mgmt_machine_learning/operations.rb +112 -0
- data/lib/profiles/latest/modules/machinelearning_profile_module.rb +68 -54
- data/lib/version.rb +1 -1
- metadata +9 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae4b8cc433d42f633a829fb9f4a789cdca45a788
|
|
4
|
+
data.tar.gz: ea7b95c20ca19b91f95c43873fe210aecbd98b95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e956bcc33729a065277fbf11ee8df9aed6847283e94b203f0a2ce63e5015e365e90efc7a2009cf0779d3b18e8663783687656d651aa0a4d53083232d3f09d44e
|
|
7
|
+
data.tar.gz: 774cb1422adf6bbe202717771649035455450cab29325d7cec3975e20364ac87ff1c5576f51bc6688b34837b640afdfcfb11821db9c2814afcfce5a4fd60d39f
|
|
@@ -20,37 +20,41 @@ require '2017-01-01/generated/azure_mgmt_machine_learning/module_definition'
|
|
|
20
20
|
require 'ms_rest_azure'
|
|
21
21
|
|
|
22
22
|
module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
23
|
+
autoload :Operations, '2017-01-01/generated/azure_mgmt_machine_learning/operations.rb'
|
|
23
24
|
autoload :WebServices, '2017-01-01/generated/azure_mgmt_machine_learning/web_services.rb'
|
|
24
25
|
autoload :AzureMLWebServicesManagementClient, '2017-01-01/generated/azure_mgmt_machine_learning/azure_mlweb_services_management_client.rb'
|
|
25
26
|
|
|
26
27
|
module Models
|
|
27
|
-
autoload :ModeValueInfo, '2017-01-01/generated/azure_mgmt_machine_learning/models/mode_value_info.rb'
|
|
28
|
-
autoload :ModuleAssetParameter, '2017-01-01/generated/azure_mgmt_machine_learning/models/module_asset_parameter.rb'
|
|
29
|
-
autoload :WebServiceKeys, '2017-01-01/generated/azure_mgmt_machine_learning/models/web_service_keys.rb'
|
|
30
28
|
autoload :AssetItem, '2017-01-01/generated/azure_mgmt_machine_learning/models/asset_item.rb'
|
|
31
|
-
autoload :
|
|
29
|
+
autoload :Resource, '2017-01-01/generated/azure_mgmt_machine_learning/models/resource.rb'
|
|
32
30
|
autoload :WebServiceParameter, '2017-01-01/generated/azure_mgmt_machine_learning/models/web_service_parameter.rb'
|
|
33
|
-
autoload :
|
|
31
|
+
autoload :RealtimeConfiguration, '2017-01-01/generated/azure_mgmt_machine_learning/models/realtime_configuration.rb'
|
|
34
32
|
autoload :WebServiceProperties, '2017-01-01/generated/azure_mgmt_machine_learning/models/web_service_properties.rb'
|
|
35
|
-
autoload :
|
|
33
|
+
autoload :StorageAccount, '2017-01-01/generated/azure_mgmt_machine_learning/models/storage_account.rb'
|
|
34
|
+
autoload :MachineLearningWorkspace, '2017-01-01/generated/azure_mgmt_machine_learning/models/machine_learning_workspace.rb'
|
|
35
|
+
autoload :CommitmentPlan, '2017-01-01/generated/azure_mgmt_machine_learning/models/commitment_plan.rb'
|
|
36
36
|
autoload :TableSpecification, '2017-01-01/generated/azure_mgmt_machine_learning/models/table_specification.rb'
|
|
37
|
-
autoload :ServiceInputOutputSpecification, '2017-01-01/generated/azure_mgmt_machine_learning/models/service_input_output_specification.rb'
|
|
38
|
-
autoload :BlobLocation, '2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb'
|
|
39
37
|
autoload :GraphNode, '2017-01-01/generated/azure_mgmt_machine_learning/models/graph_node.rb'
|
|
40
|
-
autoload :
|
|
38
|
+
autoload :ExampleRequest, '2017-01-01/generated/azure_mgmt_machine_learning/models/example_request.rb'
|
|
41
39
|
autoload :GraphEdge, '2017-01-01/generated/azure_mgmt_machine_learning/models/graph_edge.rb'
|
|
42
|
-
autoload :
|
|
40
|
+
autoload :InputPort, '2017-01-01/generated/azure_mgmt_machine_learning/models/input_port.rb'
|
|
43
41
|
autoload :GraphParameterLink, '2017-01-01/generated/azure_mgmt_machine_learning/models/graph_parameter_link.rb'
|
|
44
|
-
autoload :
|
|
42
|
+
autoload :ModeValueInfo, '2017-01-01/generated/azure_mgmt_machine_learning/models/mode_value_info.rb'
|
|
45
43
|
autoload :GraphParameter, '2017-01-01/generated/azure_mgmt_machine_learning/models/graph_parameter.rb'
|
|
46
|
-
autoload :
|
|
44
|
+
autoload :WebServiceKeys, '2017-01-01/generated/azure_mgmt_machine_learning/models/web_service_keys.rb'
|
|
47
45
|
autoload :GraphPackage, '2017-01-01/generated/azure_mgmt_machine_learning/models/graph_package.rb'
|
|
48
|
-
autoload :
|
|
49
|
-
autoload :
|
|
50
|
-
autoload :
|
|
46
|
+
autoload :ColumnSpecification, '2017-01-01/generated/azure_mgmt_machine_learning/models/column_specification.rb'
|
|
47
|
+
autoload :OperationEntityListResult, '2017-01-01/generated/azure_mgmt_machine_learning/models/operation_entity_list_result.rb'
|
|
48
|
+
autoload :BlobLocation, '2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb'
|
|
51
49
|
autoload :PaginatedWebServicesList, '2017-01-01/generated/azure_mgmt_machine_learning/models/paginated_web_services_list.rb'
|
|
52
|
-
autoload :
|
|
50
|
+
autoload :ModuleAssetParameter, '2017-01-01/generated/azure_mgmt_machine_learning/models/module_asset_parameter.rb'
|
|
53
51
|
autoload :AsyncOperationErrorInfo, '2017-01-01/generated/azure_mgmt_machine_learning/models/async_operation_error_info.rb'
|
|
52
|
+
autoload :ServiceInputOutputSpecification, '2017-01-01/generated/azure_mgmt_machine_learning/models/service_input_output_specification.rb'
|
|
53
|
+
autoload :AsyncOperationStatus, '2017-01-01/generated/azure_mgmt_machine_learning/models/async_operation_status.rb'
|
|
54
|
+
autoload :DiagnosticsConfiguration, '2017-01-01/generated/azure_mgmt_machine_learning/models/diagnostics_configuration.rb'
|
|
55
|
+
autoload :OperationDisplayInfo, '2017-01-01/generated/azure_mgmt_machine_learning/models/operation_display_info.rb'
|
|
56
|
+
autoload :OutputPort, '2017-01-01/generated/azure_mgmt_machine_learning/models/output_port.rb'
|
|
57
|
+
autoload :OperationEntity, '2017-01-01/generated/azure_mgmt_machine_learning/models/operation_entity.rb'
|
|
54
58
|
autoload :WebService, '2017-01-01/generated/azure_mgmt_machine_learning/models/web_service.rb'
|
|
55
59
|
autoload :WebServicePropertiesForGraph, '2017-01-01/generated/azure_mgmt_machine_learning/models/web_service_properties_for_graph.rb'
|
|
56
60
|
autoload :ProvisioningState, '2017-01-01/generated/azure_mgmt_machine_learning/models/provisioning_state.rb'
|
data/lib/2017-01-01/generated/azure_mgmt_machine_learning/azure_mlweb_services_management_client.rb
CHANGED
|
@@ -24,17 +24,21 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
24
24
|
# provider API to use.
|
|
25
25
|
attr_reader :api_version
|
|
26
26
|
|
|
27
|
-
# @return [String]
|
|
27
|
+
# @return [String] The preferred language for the response.
|
|
28
28
|
attr_accessor :accept_language
|
|
29
29
|
|
|
30
|
-
# @return [Integer]
|
|
31
|
-
#
|
|
30
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
|
31
|
+
# Operations. Default value is 30.
|
|
32
32
|
attr_accessor :long_running_operation_retry_timeout
|
|
33
33
|
|
|
34
|
-
# @return [Boolean]
|
|
35
|
-
#
|
|
34
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
|
35
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
|
36
|
+
# generated and included in each request. Default is true.
|
|
36
37
|
attr_accessor :generate_client_request_id
|
|
37
38
|
|
|
39
|
+
# @return [Operations] operations
|
|
40
|
+
attr_reader :operations
|
|
41
|
+
|
|
38
42
|
# @return [WebServices] web_services
|
|
39
43
|
attr_reader :web_services
|
|
40
44
|
|
|
@@ -51,6 +55,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
51
55
|
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
|
52
56
|
@credentials = credentials
|
|
53
57
|
|
|
58
|
+
@operations = Operations.new(self)
|
|
54
59
|
@web_services = WebServices.new(self)
|
|
55
60
|
@api_version = '2017-01-01'
|
|
56
61
|
@accept_language = 'en-US'
|
|
@@ -124,7 +129,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
124
129
|
#
|
|
125
130
|
def add_telemetry
|
|
126
131
|
sdk_information = 'azure_mgmt_machine_learning'
|
|
127
|
-
sdk_information = "#{sdk_information}/0.
|
|
132
|
+
sdk_information = "#{sdk_information}/0.17.0"
|
|
128
133
|
add_user_agent_information(sdk_information)
|
|
129
134
|
end
|
|
130
135
|
end
|
data/lib/2017-01-01/generated/azure_mgmt_machine_learning/models/async_operation_error_info.rb
CHANGED
|
@@ -42,6 +42,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
42
42
|
code: {
|
|
43
43
|
client_side_validation: true,
|
|
44
44
|
required: false,
|
|
45
|
+
read_only: true,
|
|
45
46
|
serialized_name: 'code',
|
|
46
47
|
type: {
|
|
47
48
|
name: 'String'
|
|
@@ -50,6 +51,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
50
51
|
target: {
|
|
51
52
|
client_side_validation: true,
|
|
52
53
|
required: false,
|
|
54
|
+
read_only: true,
|
|
53
55
|
serialized_name: 'target',
|
|
54
56
|
type: {
|
|
55
57
|
name: 'String'
|
|
@@ -58,6 +60,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
58
60
|
message: {
|
|
59
61
|
client_side_validation: true,
|
|
60
62
|
required: false,
|
|
63
|
+
read_only: true,
|
|
61
64
|
serialized_name: 'message',
|
|
62
65
|
type: {
|
|
63
66
|
name: 'String'
|
|
@@ -66,6 +69,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
66
69
|
details: {
|
|
67
70
|
client_side_validation: true,
|
|
68
71
|
required: false,
|
|
72
|
+
read_only: true,
|
|
69
73
|
serialized_name: 'details',
|
|
70
74
|
type: {
|
|
71
75
|
name: 'Sequence',
|
|
@@ -54,6 +54,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
54
54
|
id: {
|
|
55
55
|
client_side_validation: true,
|
|
56
56
|
required: false,
|
|
57
|
+
read_only: true,
|
|
57
58
|
serialized_name: 'id',
|
|
58
59
|
type: {
|
|
59
60
|
name: 'String'
|
|
@@ -62,6 +63,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
62
63
|
name: {
|
|
63
64
|
client_side_validation: true,
|
|
64
65
|
required: false,
|
|
66
|
+
read_only: true,
|
|
65
67
|
serialized_name: 'name',
|
|
66
68
|
type: {
|
|
67
69
|
name: 'String'
|
|
@@ -97,6 +99,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
97
99
|
percent_complete: {
|
|
98
100
|
client_side_validation: true,
|
|
99
101
|
required: false,
|
|
102
|
+
read_only: true,
|
|
100
103
|
serialized_name: 'percentComplete',
|
|
101
104
|
type: {
|
|
102
105
|
name: 'Double'
|
|
@@ -105,6 +108,7 @@ module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
|
105
108
|
error_info: {
|
|
106
109
|
client_side_validation: true,
|
|
107
110
|
required: false,
|
|
111
|
+
read_only: true,
|
|
108
112
|
serialized_name: 'errorInfo',
|
|
109
113
|
type: {
|
|
110
114
|
name: 'Composite',
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The API operation info.
|
|
10
|
+
#
|
|
11
|
+
class OperationDisplayInfo
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] The description of the operation.
|
|
16
|
+
attr_accessor :description
|
|
17
|
+
|
|
18
|
+
# @return [String] The action that users can perform, based on their
|
|
19
|
+
# permission level.
|
|
20
|
+
attr_accessor :operation
|
|
21
|
+
|
|
22
|
+
# @return [String] The service provider.
|
|
23
|
+
attr_accessor :provider
|
|
24
|
+
|
|
25
|
+
# @return [String] The resource on which the operation is performed.
|
|
26
|
+
attr_accessor :resource
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
#
|
|
30
|
+
# Mapper for OperationDisplayInfo class as Ruby Hash.
|
|
31
|
+
# This will be used for serialization/deserialization.
|
|
32
|
+
#
|
|
33
|
+
def self.mapper()
|
|
34
|
+
{
|
|
35
|
+
client_side_validation: true,
|
|
36
|
+
required: false,
|
|
37
|
+
serialized_name: 'OperationDisplayInfo',
|
|
38
|
+
type: {
|
|
39
|
+
name: 'Composite',
|
|
40
|
+
class_name: 'OperationDisplayInfo',
|
|
41
|
+
model_properties: {
|
|
42
|
+
description: {
|
|
43
|
+
client_side_validation: true,
|
|
44
|
+
required: false,
|
|
45
|
+
read_only: true,
|
|
46
|
+
serialized_name: 'description',
|
|
47
|
+
type: {
|
|
48
|
+
name: 'String'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
operation: {
|
|
52
|
+
client_side_validation: true,
|
|
53
|
+
required: false,
|
|
54
|
+
read_only: true,
|
|
55
|
+
serialized_name: 'operation',
|
|
56
|
+
type: {
|
|
57
|
+
name: 'String'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
provider: {
|
|
61
|
+
client_side_validation: true,
|
|
62
|
+
required: false,
|
|
63
|
+
read_only: true,
|
|
64
|
+
serialized_name: 'provider',
|
|
65
|
+
type: {
|
|
66
|
+
name: 'String'
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
resource: {
|
|
70
|
+
client_side_validation: true,
|
|
71
|
+
required: false,
|
|
72
|
+
read_only: true,
|
|
73
|
+
serialized_name: 'resource',
|
|
74
|
+
type: {
|
|
75
|
+
name: 'String'
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# An API operation.
|
|
10
|
+
#
|
|
11
|
+
class OperationEntity
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}.
|
|
16
|
+
attr_accessor :name
|
|
17
|
+
|
|
18
|
+
# @return [OperationDisplayInfo] The API operation info.
|
|
19
|
+
attr_accessor :display
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
#
|
|
23
|
+
# Mapper for OperationEntity class as Ruby Hash.
|
|
24
|
+
# This will be used for serialization/deserialization.
|
|
25
|
+
#
|
|
26
|
+
def self.mapper()
|
|
27
|
+
{
|
|
28
|
+
client_side_validation: true,
|
|
29
|
+
required: false,
|
|
30
|
+
serialized_name: 'OperationEntity',
|
|
31
|
+
type: {
|
|
32
|
+
name: 'Composite',
|
|
33
|
+
class_name: 'OperationEntity',
|
|
34
|
+
model_properties: {
|
|
35
|
+
name: {
|
|
36
|
+
client_side_validation: true,
|
|
37
|
+
required: false,
|
|
38
|
+
read_only: true,
|
|
39
|
+
serialized_name: 'name',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'String'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
display: {
|
|
45
|
+
client_side_validation: true,
|
|
46
|
+
required: false,
|
|
47
|
+
serialized_name: 'display',
|
|
48
|
+
type: {
|
|
49
|
+
name: 'Composite',
|
|
50
|
+
class_name: 'OperationDisplayInfo'
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
data/lib/2017-01-01/generated/azure_mgmt_machine_learning/models/operation_entity_list_result.rb
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The list of REST API operations.
|
|
10
|
+
#
|
|
11
|
+
class OperationEntityListResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [Array<OperationEntity>] The list of operations.
|
|
16
|
+
attr_accessor :value
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
# Mapper for OperationEntityListResult class as Ruby Hash.
|
|
21
|
+
# This will be used for serialization/deserialization.
|
|
22
|
+
#
|
|
23
|
+
def self.mapper()
|
|
24
|
+
{
|
|
25
|
+
client_side_validation: true,
|
|
26
|
+
required: false,
|
|
27
|
+
serialized_name: 'OperationEntityListResult',
|
|
28
|
+
type: {
|
|
29
|
+
name: 'Composite',
|
|
30
|
+
class_name: 'OperationEntityListResult',
|
|
31
|
+
model_properties: {
|
|
32
|
+
value: {
|
|
33
|
+
client_side_validation: true,
|
|
34
|
+
required: false,
|
|
35
|
+
read_only: true,
|
|
36
|
+
serialized_name: 'value',
|
|
37
|
+
type: {
|
|
38
|
+
name: 'Sequence',
|
|
39
|
+
element: {
|
|
40
|
+
client_side_validation: true,
|
|
41
|
+
required: false,
|
|
42
|
+
serialized_name: 'OperationEntityElementType',
|
|
43
|
+
type: {
|
|
44
|
+
name: 'Composite',
|
|
45
|
+
class_name: 'OperationEntity'
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::MachineLearning::Mgmt::V2017_01_01
|
|
7
|
+
#
|
|
8
|
+
# These APIs allow end users to operate on Azure Machine Learning Web
|
|
9
|
+
# Services resources. They support the following operations:<ul><li>Create or
|
|
10
|
+
# update a web service</li><li>Get a web service</li><li>Patch a web
|
|
11
|
+
# service</li><li>Delete a web service</li><li>Get All Web Services in a
|
|
12
|
+
# Resource Group </li><li>Get All Web Services in a Subscription</li><li>Get
|
|
13
|
+
# Web Services Keys</li></ul>
|
|
14
|
+
#
|
|
15
|
+
class Operations
|
|
16
|
+
include MsRestAzure
|
|
17
|
+
|
|
18
|
+
#
|
|
19
|
+
# Creates and initializes a new instance of the Operations class.
|
|
20
|
+
# @param client service class for accessing basic functionality.
|
|
21
|
+
#
|
|
22
|
+
def initialize(client)
|
|
23
|
+
@client = client
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# @return [AzureMLWebServicesManagementClient] reference to the AzureMLWebServicesManagementClient
|
|
27
|
+
attr_reader :client
|
|
28
|
+
|
|
29
|
+
#
|
|
30
|
+
# Lists all the available REST API operations.
|
|
31
|
+
#
|
|
32
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
33
|
+
# will be added to the HTTP request.
|
|
34
|
+
#
|
|
35
|
+
# @return [OperationEntityListResult] operation results.
|
|
36
|
+
#
|
|
37
|
+
def list(custom_headers:nil)
|
|
38
|
+
response = list_async(custom_headers:custom_headers).value!
|
|
39
|
+
response.body unless response.nil?
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
#
|
|
43
|
+
# Lists all the available REST API operations.
|
|
44
|
+
#
|
|
45
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
46
|
+
# will be added to the HTTP request.
|
|
47
|
+
#
|
|
48
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
49
|
+
#
|
|
50
|
+
def list_with_http_info(custom_headers:nil)
|
|
51
|
+
list_async(custom_headers:custom_headers).value!
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
#
|
|
55
|
+
# Lists all the available REST API operations.
|
|
56
|
+
#
|
|
57
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
58
|
+
# to the HTTP request.
|
|
59
|
+
#
|
|
60
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
61
|
+
#
|
|
62
|
+
def list_async(custom_headers:nil)
|
|
63
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
request_headers = {}
|
|
67
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
68
|
+
|
|
69
|
+
# Set Headers
|
|
70
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
71
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
72
|
+
path_template = 'providers/Microsoft.MachineLearning/operations'
|
|
73
|
+
|
|
74
|
+
request_url = @base_url || @client.base_url
|
|
75
|
+
|
|
76
|
+
options = {
|
|
77
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
78
|
+
query_params: {'api-version' => @client.api_version},
|
|
79
|
+
headers: request_headers.merge(custom_headers || {}),
|
|
80
|
+
base_url: request_url
|
|
81
|
+
}
|
|
82
|
+
promise = @client.make_request_async(:get, path_template, options)
|
|
83
|
+
|
|
84
|
+
promise = promise.then do |result|
|
|
85
|
+
http_response = result.response
|
|
86
|
+
status_code = http_response.status
|
|
87
|
+
response_content = http_response.body
|
|
88
|
+
unless status_code == 200
|
|
89
|
+
error_model = JSON.load(response_content)
|
|
90
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
|
94
|
+
# Deserialize Response
|
|
95
|
+
if status_code == 200
|
|
96
|
+
begin
|
|
97
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
98
|
+
result_mapper = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult.mapper()
|
|
99
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
100
|
+
rescue Exception => e
|
|
101
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
result
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
promise.execute
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
end
|
|
112
|
+
end
|
|
@@ -6,36 +6,40 @@ require 'azure_mgmt_machine_learning'
|
|
|
6
6
|
|
|
7
7
|
module Azure::MachineLearning::Profiles::Latest
|
|
8
8
|
module Mgmt
|
|
9
|
+
Operations = Azure::MachineLearning::Mgmt::V2017_01_01::Operations
|
|
9
10
|
WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices
|
|
10
11
|
|
|
11
12
|
module Models
|
|
12
|
-
ModeValueInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo
|
|
13
|
-
ModuleAssetParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter
|
|
14
|
-
WebServiceKeys = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceKeys
|
|
15
13
|
AssetItem = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetItem
|
|
16
|
-
|
|
14
|
+
Resource = Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource
|
|
17
15
|
WebServiceParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceParameter
|
|
18
|
-
|
|
16
|
+
RealtimeConfiguration = Azure::MachineLearning::Mgmt::V2017_01_01::Models::RealtimeConfiguration
|
|
19
17
|
WebServiceProperties = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceProperties
|
|
20
|
-
|
|
18
|
+
StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount
|
|
19
|
+
MachineLearningWorkspace = Azure::MachineLearning::Mgmt::V2017_01_01::Models::MachineLearningWorkspace
|
|
20
|
+
CommitmentPlan = Azure::MachineLearning::Mgmt::V2017_01_01::Models::CommitmentPlan
|
|
21
21
|
TableSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::TableSpecification
|
|
22
|
-
ServiceInputOutputSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification
|
|
23
|
-
BlobLocation = Azure::MachineLearning::Mgmt::V2017_01_01::Models::BlobLocation
|
|
24
22
|
GraphNode = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphNode
|
|
25
|
-
|
|
23
|
+
ExampleRequest = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ExampleRequest
|
|
26
24
|
GraphEdge = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphEdge
|
|
27
|
-
|
|
25
|
+
InputPort = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPort
|
|
28
26
|
GraphParameterLink = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameterLink
|
|
29
|
-
|
|
27
|
+
ModeValueInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo
|
|
30
28
|
GraphParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameter
|
|
31
|
-
|
|
29
|
+
WebServiceKeys = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceKeys
|
|
32
30
|
GraphPackage = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
ColumnSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification
|
|
32
|
+
OperationEntityListResult = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult
|
|
33
|
+
BlobLocation = Azure::MachineLearning::Mgmt::V2017_01_01::Models::BlobLocation
|
|
36
34
|
PaginatedWebServicesList = Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList
|
|
37
|
-
|
|
35
|
+
ModuleAssetParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter
|
|
38
36
|
AsyncOperationErrorInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo
|
|
37
|
+
ServiceInputOutputSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification
|
|
38
|
+
AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus
|
|
39
|
+
DiagnosticsConfiguration = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsConfiguration
|
|
40
|
+
OperationDisplayInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo
|
|
41
|
+
OutputPort = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPort
|
|
42
|
+
OperationEntity = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity
|
|
39
43
|
WebService = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService
|
|
40
44
|
WebServicePropertiesForGraph = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph
|
|
41
45
|
ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState
|
|
@@ -52,7 +56,7 @@ module Azure::MachineLearning::Profiles::Latest
|
|
|
52
56
|
# MachineLearningManagementClass
|
|
53
57
|
#
|
|
54
58
|
class MachineLearningManagementClass
|
|
55
|
-
attr_reader :web_services, :configurable, :base_url, :options, :model_classes
|
|
59
|
+
attr_reader :operations, :web_services, :configurable, :base_url, :options, :model_classes
|
|
56
60
|
|
|
57
61
|
def initialize(options = {})
|
|
58
62
|
if options.is_a?(Hash) && options.length == 0
|
|
@@ -72,6 +76,7 @@ module Azure::MachineLearning::Profiles::Latest
|
|
|
72
76
|
@client_0.subscription_id = configurable.subscription_id
|
|
73
77
|
end
|
|
74
78
|
add_telemetry(@client_0)
|
|
79
|
+
@operations = @client_0.operations
|
|
75
80
|
@web_services = @client_0.web_services
|
|
76
81
|
|
|
77
82
|
@model_classes = ModelClasses.new
|
|
@@ -93,87 +98,96 @@ module Azure::MachineLearning::Profiles::Latest
|
|
|
93
98
|
end
|
|
94
99
|
|
|
95
100
|
class ModelClasses
|
|
96
|
-
def mode_value_info
|
|
97
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo
|
|
98
|
-
end
|
|
99
|
-
def module_asset_parameter
|
|
100
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter
|
|
101
|
-
end
|
|
102
|
-
def web_service_keys
|
|
103
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceKeys
|
|
104
|
-
end
|
|
105
101
|
def asset_item
|
|
106
102
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetItem
|
|
107
103
|
end
|
|
108
|
-
def
|
|
109
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
104
|
+
def resource
|
|
105
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource
|
|
110
106
|
end
|
|
111
107
|
def web_service_parameter
|
|
112
108
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceParameter
|
|
113
109
|
end
|
|
114
|
-
def
|
|
115
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
110
|
+
def realtime_configuration
|
|
111
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::RealtimeConfiguration
|
|
116
112
|
end
|
|
117
113
|
def web_service_properties
|
|
118
114
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceProperties
|
|
119
115
|
end
|
|
120
|
-
def
|
|
121
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
116
|
+
def storage_account
|
|
117
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount
|
|
122
118
|
end
|
|
123
|
-
def
|
|
124
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
119
|
+
def machine_learning_workspace
|
|
120
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::MachineLearningWorkspace
|
|
125
121
|
end
|
|
126
|
-
def
|
|
127
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
122
|
+
def commitment_plan
|
|
123
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::CommitmentPlan
|
|
128
124
|
end
|
|
129
|
-
def
|
|
130
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
125
|
+
def table_specification
|
|
126
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::TableSpecification
|
|
131
127
|
end
|
|
132
128
|
def graph_node
|
|
133
129
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphNode
|
|
134
130
|
end
|
|
135
|
-
def
|
|
136
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
131
|
+
def example_request
|
|
132
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::ExampleRequest
|
|
137
133
|
end
|
|
138
134
|
def graph_edge
|
|
139
135
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphEdge
|
|
140
136
|
end
|
|
141
|
-
def
|
|
142
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
137
|
+
def input_port
|
|
138
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPort
|
|
143
139
|
end
|
|
144
140
|
def graph_parameter_link
|
|
145
141
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameterLink
|
|
146
142
|
end
|
|
147
|
-
def
|
|
148
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
143
|
+
def mode_value_info
|
|
144
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo
|
|
149
145
|
end
|
|
150
146
|
def graph_parameter
|
|
151
147
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameter
|
|
152
148
|
end
|
|
153
|
-
def
|
|
154
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
149
|
+
def web_service_keys
|
|
150
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceKeys
|
|
155
151
|
end
|
|
156
152
|
def graph_package
|
|
157
153
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage
|
|
158
154
|
end
|
|
159
|
-
def
|
|
160
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
155
|
+
def column_specification
|
|
156
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification
|
|
161
157
|
end
|
|
162
|
-
def
|
|
163
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
158
|
+
def operation_entity_list_result
|
|
159
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult
|
|
164
160
|
end
|
|
165
|
-
def
|
|
166
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
161
|
+
def blob_location
|
|
162
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::BlobLocation
|
|
167
163
|
end
|
|
168
164
|
def paginated_web_services_list
|
|
169
165
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList
|
|
170
166
|
end
|
|
171
|
-
def
|
|
172
|
-
Azure::MachineLearning::Mgmt::V2017_01_01::Models::
|
|
167
|
+
def module_asset_parameter
|
|
168
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter
|
|
173
169
|
end
|
|
174
170
|
def async_operation_error_info
|
|
175
171
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo
|
|
176
172
|
end
|
|
173
|
+
def service_input_output_specification
|
|
174
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification
|
|
175
|
+
end
|
|
176
|
+
def async_operation_status
|
|
177
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus
|
|
178
|
+
end
|
|
179
|
+
def diagnostics_configuration
|
|
180
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsConfiguration
|
|
181
|
+
end
|
|
182
|
+
def operation_display_info
|
|
183
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo
|
|
184
|
+
end
|
|
185
|
+
def output_port
|
|
186
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPort
|
|
187
|
+
end
|
|
188
|
+
def operation_entity
|
|
189
|
+
Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity
|
|
190
|
+
end
|
|
177
191
|
def web_service
|
|
178
192
|
Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService
|
|
179
193
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: azure_mgmt_machine_learning
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.17.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Microsoft Corporation
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.
|
|
75
|
+
version: 0.11.0
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 0.
|
|
82
|
+
version: 0.11.0
|
|
83
83
|
description: Microsoft Azure Machine Learning Management Client Library for Ruby
|
|
84
84
|
email: azrubyteam@microsoft.com
|
|
85
85
|
executables: []
|
|
@@ -111,6 +111,9 @@ files:
|
|
|
111
111
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/machine_learning_workspace.rb
|
|
112
112
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/mode_value_info.rb
|
|
113
113
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/module_asset_parameter.rb
|
|
114
|
+
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/operation_display_info.rb
|
|
115
|
+
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/operation_entity.rb
|
|
116
|
+
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/operation_entity_list_result.rb
|
|
114
117
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/output_port.rb
|
|
115
118
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/output_port_type.rb
|
|
116
119
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/paginated_web_services_list.rb
|
|
@@ -127,6 +130,7 @@ files:
|
|
|
127
130
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/web_service_properties.rb
|
|
128
131
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/models/web_service_properties_for_graph.rb
|
|
129
132
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/module_definition.rb
|
|
133
|
+
- lib/2017-01-01/generated/azure_mgmt_machine_learning/operations.rb
|
|
130
134
|
- lib/2017-01-01/generated/azure_mgmt_machine_learning/web_services.rb
|
|
131
135
|
- lib/azure_mgmt_machine_learning.rb
|
|
132
136
|
- lib/module_definition.rb
|
|
@@ -159,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
159
163
|
version: '0'
|
|
160
164
|
requirements: []
|
|
161
165
|
rubyforge_project:
|
|
162
|
-
rubygems_version: 2.
|
|
166
|
+
rubygems_version: 2.5.1
|
|
163
167
|
signing_key:
|
|
164
168
|
specification_version: 4
|
|
165
169
|
summary: Official Ruby client library to consume Microsoft Azure Machine Learning
|