azure_mgmt_machine_learning_services 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services.rb +67 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_compute.rb +881 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_services_client.rb +139 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/aks.rb +131 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/aks_compute_secrets.rb +85 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/aksproperties.rb +103 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/batch_ai.rb +131 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/batch_aiproperties.rb +69 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/compute.rb +144 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/compute_resource.rb +110 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/compute_secrets.rb +48 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/compute_type.rb +19 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/data_factory.rb +119 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/error_detail.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/error_response.rb +77 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/hdinsight.rb +131 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/hdinsight_properties.rb +72 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/identity.rb +72 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/list_workspace_keys_result.rb +85 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/machine_learning_service_error.rb +47 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/operation.rb +58 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/operation_display.rb +80 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/operation_list_result.rb +56 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/paginated_compute_resources_list.rb +101 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/password.rb +60 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/provisioning_state.rb +21 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/registry_list_credentials_result.rb +80 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/resource.rb +124 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/resource_identity_type.rb +15 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/scale_settings.rb +68 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/service_principal_credentials.rb +57 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/ssl_configuration.rb +80 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/system_service.rb +71 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/virtual_machine.rb +131 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/virtual_machine_properties.rb +82 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/virtual_machine_secrets.rb +63 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/virtual_machine_ssh_credentials.rb +79 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/workspace.rb +232 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/workspace_list_result.rb +101 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/workspace_update_parameters.rb +77 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/module_definition.rb +9 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/operations.rb +111 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/workspaces.rb +1033 -0
- data/lib/azure_mgmt_machine_learning_services.rb +6 -0
- data/lib/module_definition.rb +8 -0
- data/lib/profiles/latest/machinelearningservices_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/machinelearningservices_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/machinelearningservices_profile_module.rb +213 -0
- data/lib/version.rb +7 -0
- metadata +170 -0
@@ -0,0 +1,131 @@
|
|
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::MachineLearningServices::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A Machine Learning compute based on Azure BatchAI.
|
10
|
+
#
|
11
|
+
class BatchAI < Compute
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@computeType = "BatchAI"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :computeType
|
21
|
+
|
22
|
+
# @return [BatchAIProperties] BatchAI properties
|
23
|
+
attr_accessor :properties
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for BatchAI class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'BatchAI',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'BatchAI',
|
38
|
+
model_properties: {
|
39
|
+
compute_location: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'computeLocation',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
provisioning_state: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'provisioningState',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
description: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'description',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
created_on: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'createdOn',
|
69
|
+
type: {
|
70
|
+
name: 'DateTime'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
modified_on: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'modifiedOn',
|
78
|
+
type: {
|
79
|
+
name: 'DateTime'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
resource_id: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'resourceId',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
provisioning_errors: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
read_only: true,
|
94
|
+
serialized_name: 'provisioningErrors',
|
95
|
+
type: {
|
96
|
+
name: 'Sequence',
|
97
|
+
element: {
|
98
|
+
client_side_validation: true,
|
99
|
+
required: false,
|
100
|
+
serialized_name: 'MachineLearningServiceErrorElementType',
|
101
|
+
type: {
|
102
|
+
name: 'Composite',
|
103
|
+
class_name: 'MachineLearningServiceError'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
},
|
108
|
+
computeType: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: true,
|
111
|
+
serialized_name: 'computeType',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
properties: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'properties',
|
120
|
+
type: {
|
121
|
+
name: 'Composite',
|
122
|
+
class_name: 'BatchAIProperties'
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
@@ -0,0 +1,69 @@
|
|
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::MachineLearningServices::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# BatchAI properties
|
10
|
+
#
|
11
|
+
class BatchAIProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Virtual Machine Size
|
16
|
+
attr_accessor :vm_size
|
17
|
+
|
18
|
+
# @return [String] Virtual Machine priority
|
19
|
+
attr_accessor :vm_priority
|
20
|
+
|
21
|
+
# @return [ScaleSettings] Scale settings for BatchAI
|
22
|
+
attr_accessor :scale_settings
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for BatchAIProperties class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'BatchAI_properties',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'BatchAIProperties',
|
37
|
+
model_properties: {
|
38
|
+
vm_size: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'vmSize',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
vm_priority: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'vmPriority',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
scale_settings: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'scaleSettings',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'ScaleSettings'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,144 @@
|
|
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::MachineLearningServices::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Machine Learning compute object.
|
10
|
+
#
|
11
|
+
class Compute
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
@@discriminatorMap = Hash.new
|
16
|
+
@@discriminatorMap["AKS"] = "AKS"
|
17
|
+
@@discriminatorMap["BatchAI"] = "BatchAI"
|
18
|
+
@@discriminatorMap["VirtualMachine"] = "VirtualMachine"
|
19
|
+
@@discriminatorMap["HDInsight"] = "HDInsight"
|
20
|
+
@@discriminatorMap["DataFactory"] = "DataFactory"
|
21
|
+
|
22
|
+
def initialize
|
23
|
+
@computeType = "Compute"
|
24
|
+
end
|
25
|
+
|
26
|
+
attr_accessor :computeType
|
27
|
+
|
28
|
+
# @return [String] Location for the underlying compute
|
29
|
+
attr_accessor :compute_location
|
30
|
+
|
31
|
+
# @return [ProvisioningState] The provision state of the cluster. Valid
|
32
|
+
# values are Unknown, Updating, Provisioning, Succeeded, and Failed.
|
33
|
+
# Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting',
|
34
|
+
# 'Succeeded', 'Failed', 'Canceled'
|
35
|
+
attr_accessor :provisioning_state
|
36
|
+
|
37
|
+
# @return [String] The description of the Machine Learning compute.
|
38
|
+
attr_accessor :description
|
39
|
+
|
40
|
+
# @return [DateTime] The date and time when the compute was created.
|
41
|
+
attr_accessor :created_on
|
42
|
+
|
43
|
+
# @return [DateTime] The date and time when the compute was last
|
44
|
+
# modified.
|
45
|
+
attr_accessor :modified_on
|
46
|
+
|
47
|
+
# @return [String] ARM resource id of the compute
|
48
|
+
attr_accessor :resource_id
|
49
|
+
|
50
|
+
# @return [Array<MachineLearningServiceError>] Errors during provisioning
|
51
|
+
attr_accessor :provisioning_errors
|
52
|
+
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for Compute class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'Compute',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
polymorphic_discriminator: 'computeType',
|
66
|
+
uber_parent: 'Compute',
|
67
|
+
class_name: 'Compute',
|
68
|
+
model_properties: {
|
69
|
+
compute_location: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'computeLocation',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
provisioning_state: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
read_only: true,
|
81
|
+
serialized_name: 'provisioningState',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
description: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'description',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
created_on: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
read_only: true,
|
98
|
+
serialized_name: 'createdOn',
|
99
|
+
type: {
|
100
|
+
name: 'DateTime'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
modified_on: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
read_only: true,
|
107
|
+
serialized_name: 'modifiedOn',
|
108
|
+
type: {
|
109
|
+
name: 'DateTime'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
resource_id: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'resourceId',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
provisioning_errors: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
read_only: true,
|
124
|
+
serialized_name: 'provisioningErrors',
|
125
|
+
type: {
|
126
|
+
name: 'Sequence',
|
127
|
+
element: {
|
128
|
+
client_side_validation: true,
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'MachineLearningServiceErrorElementType',
|
131
|
+
type: {
|
132
|
+
name: 'Composite',
|
133
|
+
class_name: 'MachineLearningServiceError'
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
@@ -0,0 +1,110 @@
|
|
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::MachineLearningServices::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Machine Learning compute object wrapped into ARM resource envelope.
|
10
|
+
#
|
11
|
+
class ComputeResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Compute] Compute properties
|
16
|
+
attr_accessor :properties
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ComputeResource 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: 'ComputeResource',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ComputeResource',
|
31
|
+
model_properties: {
|
32
|
+
id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'id',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
name: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
identity: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'identity',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'Identity'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
location: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'location',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'type',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
tags: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'tags',
|
81
|
+
type: {
|
82
|
+
name: 'Dictionary',
|
83
|
+
value: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'StringElementType',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
properties: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'properties',
|
97
|
+
type: {
|
98
|
+
name: 'Composite',
|
99
|
+
polymorphic_discriminator: 'computeType',
|
100
|
+
uber_parent: 'Compute',
|
101
|
+
class_name: 'Compute'
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|