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.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services.rb +67 -0
  4. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_compute.rb +881 -0
  5. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_services_client.rb +139 -0
  6. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/aks.rb +131 -0
  7. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/aks_compute_secrets.rb +85 -0
  8. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/aksproperties.rb +103 -0
  9. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/batch_ai.rb +131 -0
  10. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/batch_aiproperties.rb +69 -0
  11. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/compute.rb +144 -0
  12. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/compute_resource.rb +110 -0
  13. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/compute_secrets.rb +48 -0
  14. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/compute_type.rb +19 -0
  15. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/data_factory.rb +119 -0
  16. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/error_detail.rb +57 -0
  17. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/error_response.rb +77 -0
  18. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/hdinsight.rb +131 -0
  19. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/hdinsight_properties.rb +72 -0
  20. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/identity.rb +72 -0
  21. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/list_workspace_keys_result.rb +85 -0
  22. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/machine_learning_service_error.rb +47 -0
  23. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/operation.rb +58 -0
  24. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/operation_display.rb +80 -0
  25. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/operation_list_result.rb +56 -0
  26. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/paginated_compute_resources_list.rb +101 -0
  27. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/password.rb +60 -0
  28. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/provisioning_state.rb +21 -0
  29. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/registry_list_credentials_result.rb +80 -0
  30. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/resource.rb +124 -0
  31. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/resource_identity_type.rb +15 -0
  32. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/scale_settings.rb +68 -0
  33. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/service_principal_credentials.rb +57 -0
  34. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/ssl_configuration.rb +80 -0
  35. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/system_service.rb +71 -0
  36. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/virtual_machine.rb +131 -0
  37. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/virtual_machine_properties.rb +82 -0
  38. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/virtual_machine_secrets.rb +63 -0
  39. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/virtual_machine_ssh_credentials.rb +79 -0
  40. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/workspace.rb +232 -0
  41. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/workspace_list_result.rb +101 -0
  42. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/models/workspace_update_parameters.rb +77 -0
  43. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/module_definition.rb +9 -0
  44. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/operations.rb +111 -0
  45. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/workspaces.rb +1033 -0
  46. data/lib/azure_mgmt_machine_learning_services.rb +6 -0
  47. data/lib/module_definition.rb +8 -0
  48. data/lib/profiles/latest/machinelearningservices_latest_profile_client.rb +40 -0
  49. data/lib/profiles/latest/machinelearningservices_module_definition.rb +8 -0
  50. data/lib/profiles/latest/modules/machinelearningservices_profile_module.rb +213 -0
  51. data/lib/version.rb +7 -0
  52. metadata +170 -0
@@ -0,0 +1,101 @@
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
+ # Paginated list of Machine Learning compute objects wrapped in ARM
10
+ # resource envelope.
11
+ #
12
+ class PaginatedComputeResourcesList
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [Array<ComputeResource>] An array of Machine Learning compute
18
+ # objects wrapped in ARM resource envelope.
19
+ attr_accessor :value
20
+
21
+ # @return [String] A continuation link (absolute URI) to the next page of
22
+ # results in the list.
23
+ attr_accessor :next_link
24
+
25
+ # return [Proc] with next page method call.
26
+ attr_accessor :next_method
27
+
28
+ #
29
+ # Gets the rest of the items for the request, enabling auto-pagination.
30
+ #
31
+ # @return [Array<ComputeResource>] operation results.
32
+ #
33
+ def get_all_items
34
+ items = @value
35
+ page = self
36
+ while page.next_link != nil do
37
+ page = page.get_next_page
38
+ items.concat(page.value)
39
+ end
40
+ items
41
+ end
42
+
43
+ #
44
+ # Gets the next page of results.
45
+ #
46
+ # @return [PaginatedComputeResourcesList] with next page content.
47
+ #
48
+ def get_next_page
49
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
50
+ unless response.nil?
51
+ @next_link = response.body.next_link
52
+ @value = response.body.value
53
+ self
54
+ end
55
+ end
56
+
57
+ #
58
+ # Mapper for PaginatedComputeResourcesList class as Ruby Hash.
59
+ # This will be used for serialization/deserialization.
60
+ #
61
+ def self.mapper()
62
+ {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'PaginatedComputeResourcesList',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'PaginatedComputeResourcesList',
69
+ model_properties: {
70
+ value: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'value',
74
+ type: {
75
+ name: 'Sequence',
76
+ element: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'ComputeResourceElementType',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'ComputeResource'
83
+ }
84
+ }
85
+ }
86
+ },
87
+ next_link: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'nextLink',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,60 @@
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
+ # Model object.
10
+ #
11
+ #
12
+ class Password
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String]
17
+ attr_accessor :name
18
+
19
+ # @return [String]
20
+ attr_accessor :value
21
+
22
+
23
+ #
24
+ # Mapper for Password class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'Password',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'Password',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'name',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ value: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'value',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,21 @@
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
+ # Defines values for ProvisioningState
10
+ #
11
+ module ProvisioningState
12
+ Unknown = "Unknown"
13
+ Updating = "Updating"
14
+ Creating = "Creating"
15
+ Deleting = "Deleting"
16
+ Succeeded = "Succeeded"
17
+ Failed = "Failed"
18
+ Canceled = "Canceled"
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,80 @@
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
+ # Model object.
10
+ #
11
+ #
12
+ class RegistryListCredentialsResult
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String]
17
+ attr_accessor :location
18
+
19
+ # @return [String]
20
+ attr_accessor :username
21
+
22
+ # @return [Array<Password>]
23
+ attr_accessor :passwords
24
+
25
+
26
+ #
27
+ # Mapper for RegistryListCredentialsResult 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: 'RegistryListCredentialsResult',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'RegistryListCredentialsResult',
38
+ model_properties: {
39
+ location: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'location',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ username: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'username',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ passwords: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'passwords',
61
+ type: {
62
+ name: 'Sequence',
63
+ element: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'PasswordElementType',
67
+ type: {
68
+ name: 'Composite',
69
+ class_name: 'Password'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,124 @@
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
+ # Azure Resource Manager resource envelope.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Specifies the resource ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Specifies the name of the resource.
19
+ attr_accessor :name
20
+
21
+ # @return [Identity] The identity of the resource.
22
+ attr_accessor :identity
23
+
24
+ # @return [String] Specifies the location of the resource.
25
+ attr_accessor :location
26
+
27
+ # @return [String] Specifies the type of the resource.
28
+ attr_accessor :type
29
+
30
+ # @return [Hash{String => String}] Contains resource tags defined as
31
+ # key/value pairs.
32
+ attr_accessor :tags
33
+
34
+
35
+ # @return [String] the name of the resource group of the resource.
36
+ def resource_group
37
+ unless self.id.nil?
38
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
39
+ groups.captures[0].strip if groups
40
+ end
41
+ end
42
+
43
+
44
+ #
45
+ # Mapper for Resource class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'Resource',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'Resource',
56
+ model_properties: {
57
+ id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'id',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ name: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'name',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ identity: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'identity',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'Identity'
83
+ }
84
+ },
85
+ location: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'location',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ type: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'type',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ tags: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ serialized_name: 'tags',
106
+ type: {
107
+ name: 'Dictionary',
108
+ value: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'StringElementType',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ end
122
+ end
123
+ end
124
+ end
@@ -0,0 +1,15 @@
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
+ # Defines values for ResourceIdentityType
10
+ #
11
+ module ResourceIdentityType
12
+ SystemAssigned = "SystemAssigned"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,68 @@
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
+ # scale settings for BatchAI Compute
10
+ #
11
+ class ScaleSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Max number of nodes to use
16
+ attr_accessor :max_node_count
17
+
18
+ # @return [Integer] Min number of nodes to use
19
+ attr_accessor :min_node_count
20
+
21
+ # @return [Boolean] Enable or disable auto scale
22
+ attr_accessor :auto_scale_enabled
23
+
24
+
25
+ #
26
+ # Mapper for ScaleSettings 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: 'ScaleSettings',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ScaleSettings',
37
+ model_properties: {
38
+ max_node_count: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'maxNodeCount',
42
+ type: {
43
+ name: 'Number'
44
+ }
45
+ },
46
+ min_node_count: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'minNodeCount',
50
+ type: {
51
+ name: 'Number'
52
+ }
53
+ },
54
+ auto_scale_enabled: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'autoScaleEnabled',
58
+ type: {
59
+ name: 'Boolean'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ end
66
+ end
67
+ end
68
+ end