azure_cognitiveservices_customvisiontraining 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +10 -10
  3. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +1 -1
  4. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +10 -10
  5. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +1 -1
  6. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +10 -10
  7. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +1 -1
  8. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining.rb +76 -0
  9. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +4707 -0
  10. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/bounding_box.rb +79 -0
  11. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/classifier.rb +16 -0
  12. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/custom_vision_error.rb +127 -0
  13. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/custom_vision_error_codes.rb +127 -0
  14. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/domain.rb +97 -0
  15. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/domain_type.rb +16 -0
  16. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export.rb +100 -0
  17. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export_flavor.rb +19 -0
  18. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export_platform.rb +19 -0
  19. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export_status.rb +17 -0
  20. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image.rb +161 -0
  21. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_result.rb +77 -0
  22. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_status.rb +25 -0
  23. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_summary.rb +70 -0
  24. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_batch.rb +75 -0
  25. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_entry.rb +97 -0
  26. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_batch.rb +75 -0
  27. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_entry.rb +86 -0
  28. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_performance.rb +170 -0
  29. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_prediction.rb +104 -0
  30. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region.rb +127 -0
  31. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_batch.rb +55 -0
  32. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_entry.rb +101 -0
  33. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_result.rb +139 -0
  34. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_summary.rb +96 -0
  35. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_proposal.rb +81 -0
  36. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag.rb +72 -0
  37. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_batch.rb +56 -0
  38. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_entry.rb +57 -0
  39. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_summary.rb +96 -0
  40. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url.rb +46 -0
  41. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_batch.rb +75 -0
  42. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_entry.rb +86 -0
  43. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/iteration.rb +228 -0
  44. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/iteration_performance.rb +117 -0
  45. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/order_by.rb +17 -0
  46. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction.rb +84 -0
  47. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_result.rb +70 -0
  48. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_tag.rb +72 -0
  49. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_token.rb +145 -0
  50. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +129 -0
  51. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/project_settings.rb +78 -0
  52. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/region.rb +91 -0
  53. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/region_proposal.rb +61 -0
  54. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/stored_image_prediction.rb +153 -0
  55. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/tag.rb +93 -0
  56. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/tag_performance.rb +119 -0
  57. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/tag_type.rb +16 -0
  58. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/training_type.rb +16 -0
  59. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/module_definition.rb +9 -0
  60. data/lib/azure_cognitiveservices_customvisiontraining.rb +1 -0
  61. data/lib/profiles/latest/modules/customvisiontraining_profile_module.rb +128 -116
  62. data/lib/version.rb +1 -1
  63. metadata +54 -2
@@ -0,0 +1,16 @@
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::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Defines values for DomainType
10
+ #
11
+ module DomainType
12
+ Classification = "Classification"
13
+ ObjectDetection = "ObjectDetection"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,100 @@
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::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class Export
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [ExportPlatform] Platform of the export. Possible values
17
+ # include: 'CoreML', 'TensorFlow', 'DockerFile', 'ONNX', 'VAIDK'
18
+ attr_accessor :platform
19
+
20
+ # @return [ExportStatus] Status of the export. Possible values include:
21
+ # 'Exporting', 'Failed', 'Done'
22
+ attr_accessor :status
23
+
24
+ # @return [String] URI used to download the model.
25
+ attr_accessor :download_uri
26
+
27
+ # @return [ExportFlavor] Flavor of the export. Possible values include:
28
+ # 'Linux', 'Windows', 'ONNX10', 'ONNX12', 'ARM'
29
+ attr_accessor :flavor
30
+
31
+ # @return [Boolean] Indicates an updated version of the export package is
32
+ # available and should be re-exported for the latest changes.
33
+ attr_accessor :newer_version_available
34
+
35
+
36
+ #
37
+ # Mapper for Export class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'Export',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'Export',
48
+ model_properties: {
49
+ platform: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'platform',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ status: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'status',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ download_uri: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'downloadUri',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ flavor: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'flavor',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ newer_version_available: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'newerVersionAvailable',
90
+ type: {
91
+ name: 'Boolean'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,19 @@
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::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Defines values for ExportFlavor
10
+ #
11
+ module ExportFlavor
12
+ Linux = "Linux"
13
+ Windows = "Windows"
14
+ ONNX10 = "ONNX10"
15
+ ONNX12 = "ONNX12"
16
+ ARM = "ARM"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
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::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Defines values for ExportPlatform
10
+ #
11
+ module ExportPlatform
12
+ CoreML = "CoreML"
13
+ TensorFlow = "TensorFlow"
14
+ DockerFile = "DockerFile"
15
+ ONNX = "ONNX"
16
+ VAIDK = "VAIDK"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,17 @@
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::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Defines values for ExportStatus
10
+ #
11
+ module ExportStatus
12
+ Exporting = "Exporting"
13
+ Failed = "Failed"
14
+ Done = "Done"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,161 @@
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::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Image model to be sent as JSON.
10
+ #
11
+ class Image
12
+
13
+ include MsRestAzure
14
+
15
+ # @return Id of the image.
16
+ attr_accessor :id
17
+
18
+ # @return [DateTime] Date the image was created.
19
+ attr_accessor :created
20
+
21
+ # @return [Integer] Width of the image.
22
+ attr_accessor :width
23
+
24
+ # @return [Integer] Height of the image.
25
+ attr_accessor :height
26
+
27
+ # @return [String] The URI to the (resized) image used for training.
28
+ attr_accessor :resized_image_uri
29
+
30
+ # @return [String] The URI to the thumbnail of the original image.
31
+ attr_accessor :thumbnail_uri
32
+
33
+ # @return [String] The URI to the original uploaded image.
34
+ attr_accessor :original_image_uri
35
+
36
+ # @return [Array<ImageTag>] Tags associated with this image.
37
+ attr_accessor :tags
38
+
39
+ # @return [Array<ImageRegion>] Regions associated with this image.
40
+ attr_accessor :regions
41
+
42
+
43
+ #
44
+ # Mapper for Image class as Ruby Hash.
45
+ # This will be used for serialization/deserialization.
46
+ #
47
+ def self.mapper()
48
+ {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'Image',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'Image',
55
+ model_properties: {
56
+ id: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'id',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ created: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'created',
70
+ type: {
71
+ name: 'DateTime'
72
+ }
73
+ },
74
+ width: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'width',
79
+ type: {
80
+ name: 'Number'
81
+ }
82
+ },
83
+ height: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'height',
88
+ type: {
89
+ name: 'Number'
90
+ }
91
+ },
92
+ resized_image_uri: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'resizedImageUri',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ thumbnail_uri: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ read_only: true,
105
+ serialized_name: 'thumbnailUri',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ },
110
+ original_image_uri: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ read_only: true,
114
+ serialized_name: 'originalImageUri',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ tags: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ read_only: true,
123
+ serialized_name: 'tags',
124
+ type: {
125
+ name: 'Sequence',
126
+ element: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'ImageTagElementType',
130
+ type: {
131
+ name: 'Composite',
132
+ class_name: 'ImageTag'
133
+ }
134
+ }
135
+ }
136
+ },
137
+ regions: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ read_only: true,
141
+ serialized_name: 'regions',
142
+ type: {
143
+ name: 'Sequence',
144
+ element: {
145
+ client_side_validation: true,
146
+ required: false,
147
+ serialized_name: 'ImageRegionElementType',
148
+ type: {
149
+ name: 'Composite',
150
+ class_name: 'ImageRegion'
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ end
159
+ end
160
+ end
161
+ end
@@ -0,0 +1,77 @@
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::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ImageCreateResult
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Source URL of the image.
17
+ attr_accessor :source_url
18
+
19
+ # @return [ImageCreateStatus] Status of the image creation. Possible
20
+ # values include: 'OK', 'OKDuplicate', 'ErrorSource', 'ErrorImageFormat',
21
+ # 'ErrorImageSize', 'ErrorStorage', 'ErrorLimitExceed',
22
+ # 'ErrorTagLimitExceed', 'ErrorRegionLimitExceed', 'ErrorUnknown',
23
+ # 'ErrorNegativeAndRegularTagOnSameImage'
24
+ attr_accessor :status
25
+
26
+ # @return [Image] The image.
27
+ attr_accessor :image
28
+
29
+
30
+ #
31
+ # Mapper for ImageCreateResult class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'ImageCreateResult',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'ImageCreateResult',
42
+ model_properties: {
43
+ source_url: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'sourceUrl',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ status: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'status',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ image: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'image',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'Image'
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ end
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,25 @@
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::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Defines values for ImageCreateStatus
10
+ #
11
+ module ImageCreateStatus
12
+ OK = "OK"
13
+ OKDuplicate = "OKDuplicate"
14
+ ErrorSource = "ErrorSource"
15
+ ErrorImageFormat = "ErrorImageFormat"
16
+ ErrorImageSize = "ErrorImageSize"
17
+ ErrorStorage = "ErrorStorage"
18
+ ErrorLimitExceed = "ErrorLimitExceed"
19
+ ErrorTagLimitExceed = "ErrorTagLimitExceed"
20
+ ErrorRegionLimitExceed = "ErrorRegionLimitExceed"
21
+ ErrorUnknown = "ErrorUnknown"
22
+ ErrorNegativeAndRegularTagOnSameImage = "ErrorNegativeAndRegularTagOnSameImage"
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,70 @@
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::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ImageCreateSummary
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Boolean] True if all of the images in the batch were created
17
+ # successfully, otherwise false.
18
+ attr_accessor :is_batch_successful
19
+
20
+ # @return [Array<ImageCreateResult>] List of the image creation results.
21
+ attr_accessor :images
22
+
23
+
24
+ #
25
+ # Mapper for ImageCreateSummary class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'ImageCreateSummary',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'ImageCreateSummary',
36
+ model_properties: {
37
+ is_batch_successful: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ read_only: true,
41
+ serialized_name: 'isBatchSuccessful',
42
+ type: {
43
+ name: 'Boolean'
44
+ }
45
+ },
46
+ images: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'images',
51
+ type: {
52
+ name: 'Sequence',
53
+ element: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'ImageCreateResultElementType',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'ImageCreateResult'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end