azure_sdk 0.15.2 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +5 -5
  2. data/lib/azure_sdk/version.rb +1 -1
  3. data/lib/latest/latest_profile_client.rb +645 -61
  4. data/lib/latest/module_definition.rb +1 -118
  5. data/lib/latest/modules/analysisservices_profile_module.rb +139 -84
  6. data/lib/latest/modules/authorization_profile_module.rb +113 -100
  7. data/lib/latest/modules/automation_profile_module.rb +597 -580
  8. data/lib/latest/modules/batch_profile_module.rb +357 -132
  9. data/lib/latest/modules/billing_profile_module.rb +77 -64
  10. data/lib/latest/modules/cdn_profile_module.rb +277 -216
  11. data/lib/latest/modules/cognitiveservices_profile_module.rb +121 -108
  12. data/lib/latest/modules/commerce_profile_module.rb +79 -66
  13. data/lib/latest/modules/compute_profile_module.rb +783 -730
  14. data/lib/latest/modules/computervision_profile_module.rb +189 -0
  15. data/lib/latest/modules/consumption_profile_module.rb +153 -54
  16. data/lib/latest/modules/containerinstance_profile_module.rb +163 -106
  17. data/lib/latest/modules/containerregistry_profile_module.rb +203 -190
  18. data/lib/latest/modules/containerservice_profile_module.rb +93 -80
  19. data/lib/latest/modules/contentmoderator_profile_module.rb +295 -0
  20. data/lib/latest/modules/customerinsights_profile_module.rb +477 -464
  21. data/lib/latest/modules/customsearch_profile_module.rb +123 -0
  22. data/lib/latest/modules/datalakeanalytics_profile_module.rb +233 -152
  23. data/lib/latest/modules/datalakestore_profile_module.rb +201 -128
  24. data/lib/latest/modules/devtestlabs_profile_module.rb +697 -656
  25. data/lib/latest/modules/dns_profile_module.rb +99 -94
  26. data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
  27. data/lib/latest/modules/eventgrid_profile_module.rb +220 -99
  28. data/lib/latest/modules/eventhub_profile_module.rb +165 -152
  29. data/lib/latest/modules/face_profile_module.rb +241 -0
  30. data/lib/latest/modules/features_profile_module.rb +41 -28
  31. data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
  32. data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
  33. data/lib/latest/modules/iothub_profile_module.rb +265 -252
  34. data/lib/latest/modules/keyvault_profile_module.rb +155 -88
  35. data/lib/latest/modules/links_profile_module.rb +49 -36
  36. data/lib/latest/modules/locks_profile_module.rb +45 -32
  37. data/lib/latest/modules/logic_profile_module.rb +593 -580
  38. data/lib/latest/modules/machinelearning_profile_module.rb +177 -164
  39. data/lib/latest/modules/managedapplications_profile_module.rb +103 -90
  40. data/lib/latest/modules/managedserviceidentity_profile_module.rb +55 -42
  41. data/lib/latest/modules/marketplaceordering_profile_module.rb +59 -46
  42. data/lib/latest/modules/mediaservices_profile_module.rb +103 -90
  43. data/lib/latest/modules/mobileengagement_profile_module.rb +397 -384
  44. data/lib/latest/modules/monitor_profile_module.rb +403 -323
  45. data/lib/latest/modules/network_profile_module.rb +1245 -1148
  46. data/lib/latest/modules/newssearch_profile_module.rb +143 -0
  47. data/lib/latest/modules/notificationhubs_profile_module.rb +155 -142
  48. data/lib/latest/modules/operationalinsights_profile_module.rb +218 -188
  49. data/lib/latest/modules/policy_profile_module.rb +84 -68
  50. data/lib/latest/modules/powerbiembedded_profile_module.rb +107 -94
  51. data/lib/latest/modules/recoveryservices_profile_module.rb +176 -188
  52. data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1133 -728
  53. data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1367 -1354
  54. data/lib/latest/modules/redis_profile_module.rb +165 -152
  55. data/lib/latest/modules/relay_profile_module.rb +143 -130
  56. data/lib/latest/modules/resources_profile_module.rb +227 -214
  57. data/lib/latest/modules/resourcesmanagement_profile_module.rb +81 -74
  58. data/lib/latest/modules/scheduler_profile_module.rb +207 -198
  59. data/lib/latest/modules/search_profile_module.rb +103 -76
  60. data/lib/latest/modules/servermanagement_profile_module.rb +155 -142
  61. data/lib/latest/modules/servicebus_profile_module.rb +247 -234
  62. data/lib/latest/modules/servicefabric_profile_module.rb +269 -120
  63. data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
  64. data/lib/latest/modules/sql_profile_module.rb +1075 -918
  65. data/lib/latest/modules/storage_profile_module.rb +263 -250
  66. data/lib/latest/modules/storsimple8000series_profile_module.rb +695 -682
  67. data/lib/latest/modules/streamanalytics_profile_module.rb +329 -316
  68. data/lib/latest/modules/subscriptions_profile_module.rb +67 -54
  69. data/lib/latest/modules/textanalytics_profile_module.rb +105 -0
  70. data/lib/latest/modules/trafficmanager_profile_module.rb +140 -124
  71. data/lib/latest/modules/videosearch_profile_module.rb +175 -0
  72. data/lib/latest/modules/web_profile_module.rb +1289 -1138
  73. data/lib/latest/modules/websearch_profile_module.rb +211 -0
  74. data/lib/v2017_03_09/module_definition.rb +1 -20
  75. data/lib/v2017_03_09/modules/compute_profile_module.rb +437 -424
  76. data/lib/v2017_03_09/modules/features_profile_module.rb +41 -28
  77. data/lib/v2017_03_09/modules/links_profile_module.rb +49 -36
  78. data/lib/v2017_03_09/modules/locks_profile_module.rb +41 -28
  79. data/lib/v2017_03_09/modules/network_profile_module.rb +535 -522
  80. data/lib/v2017_03_09/modules/policy_profile_module.rb +51 -38
  81. data/lib/v2017_03_09/modules/resources_profile_module.rb +223 -210
  82. data/lib/v2017_03_09/modules/storage_profile_module.rb +143 -130
  83. data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +67 -54
  84. data/lib/v2017_03_09/v2017_03_09_profile_client.rb +103 -10
  85. metadata +312 -133
  86. data/lib/latest/modules/graph_profile_module.rb +0 -202
@@ -5,166 +5,179 @@
5
5
  require 'azure_mgmt_event_hub'
6
6
 
7
7
  module Azure::Profiles::Latest
8
- module EventHub::Mgmt
9
- Operations = Azure::EventHub::Mgmt::V2017_04_01::Operations
10
- Namespaces = Azure::EventHub::Mgmt::V2017_04_01::Namespaces
11
- DisasterRecoveryConfigs = Azure::EventHub::Mgmt::V2017_04_01::DisasterRecoveryConfigs
12
- EventHubs = Azure::EventHub::Mgmt::V2017_04_01::EventHubs
13
- ConsumerGroups = Azure::EventHub::Mgmt::V2017_04_01::ConsumerGroups
8
+ module EventHub
9
+ module Mgmt
10
+ Operations = Azure::EventHub::Mgmt::V2017_04_01::Operations
11
+ Namespaces = Azure::EventHub::Mgmt::V2017_04_01::Namespaces
12
+ DisasterRecoveryConfigs = Azure::EventHub::Mgmt::V2017_04_01::DisasterRecoveryConfigs
13
+ EventHubs = Azure::EventHub::Mgmt::V2017_04_01::EventHubs
14
+ ConsumerGroups = Azure::EventHub::Mgmt::V2017_04_01::ConsumerGroups
14
15
 
15
- module Models
16
- CaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
17
- Destination = Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
18
- Resource = Azure::EventHub::Mgmt::V2017_04_01::Models::Resource
19
- Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
20
- ErrorResponse = Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse
21
- OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
22
- EventHubListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
23
- AccessKeys = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
24
- ArmDisasterRecoveryListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
25
- Sku = Azure::EventHub::Mgmt::V2017_04_01::Models::Sku
26
- ConsumerGroupListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
27
- AuthorizationRuleListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
28
- CheckNameAvailabilityParameter = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
29
- EHNamespaceListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespaceListResult
30
- CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
31
- RegenerateAccessKeyParameters = Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
32
- OperationDisplay = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
33
- TrackedResource = Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource
34
- EHNamespace = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace
35
- AuthorizationRule = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule
36
- Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub
37
- ConsumerGroup = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup
38
- ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
39
- SkuName = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName
40
- SkuTier = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier
41
- AccessRights = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights
42
- KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType
43
- EntityStatus = Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus
44
- EncodingCaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription
45
- UnavailableReason = Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason
46
- ProvisioningStateDR = Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR
47
- RoleDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery
48
- end
16
+ module Models
17
+ CaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
18
+ Destination = Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
19
+ Resource = Azure::EventHub::Mgmt::V2017_04_01::Models::Resource
20
+ Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
21
+ ErrorResponse = Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse
22
+ OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
23
+ EventHubListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
24
+ AccessKeys = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
25
+ ArmDisasterRecoveryListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
26
+ Sku = Azure::EventHub::Mgmt::V2017_04_01::Models::Sku
27
+ ConsumerGroupListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
28
+ AuthorizationRuleListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
29
+ CheckNameAvailabilityParameter = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
30
+ EHNamespaceListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespaceListResult
31
+ CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
32
+ RegenerateAccessKeyParameters = Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
33
+ OperationDisplay = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
34
+ TrackedResource = Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource
35
+ EHNamespace = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace
36
+ AuthorizationRule = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule
37
+ Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub
38
+ ConsumerGroup = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup
39
+ ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
40
+ SkuName = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName
41
+ SkuTier = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier
42
+ AccessRights = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights
43
+ KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType
44
+ EntityStatus = Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus
45
+ EncodingCaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription
46
+ UnavailableReason = Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason
47
+ ProvisioningStateDR = Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR
48
+ RoleDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery
49
+ end
49
50
 
50
- #
51
- # EventHub
52
- #
53
- class EventHubClass
54
- attr_reader :operations, :namespaces, :disaster_recovery_configs, :event_hubs, :consumer_groups, :configurable, :base_url, :options, :model_classes
51
+ class EventHubManagementClass
52
+ attr_reader :operations, :namespaces, :disaster_recovery_configs, :event_hubs, :consumer_groups, :configurable, :base_url, :options, :model_classes
55
53
 
56
- def initialize(configurable, base_url=nil, options=nil)
57
- @configurable, @base_url, @options = configurable, base_url, options
54
+ def initialize(configurable, base_url=nil, options=nil)
55
+ @configurable, @base_url, @options = configurable, base_url, options
58
56
 
59
- client_0 = Azure::EventHub::Mgmt::V2017_04_01::EventHubManagementClient.new(configurable.credentials, base_url, options)
60
- if(client_0.respond_to?(:subscription_id))
61
- client_0.subscription_id = configurable.subscription_id
62
- end
63
- @operations = client_0.operations
64
- @namespaces = client_0.namespaces
65
- @disaster_recovery_configs = client_0.disaster_recovery_configs
66
- @event_hubs = client_0.event_hubs
67
- @consumer_groups = client_0.consumer_groups
68
-
69
- @model_classes = ModelClasses.new
70
- end
57
+ @client_0 = Azure::EventHub::Mgmt::V2017_04_01::EventHubManagementClient.new(configurable.credentials, base_url, options)
58
+ if(@client_0.respond_to?(:subscription_id))
59
+ @client_0.subscription_id = configurable.subscription_id
60
+ end
61
+ add_telemetry(@client_0)
62
+ @operations = @client_0.operations
63
+ @namespaces = @client_0.namespaces
64
+ @disaster_recovery_configs = @client_0.disaster_recovery_configs
65
+ @event_hubs = @client_0.event_hubs
66
+ @consumer_groups = @client_0.consumer_groups
71
67
 
72
- class ModelClasses
73
- def capture_description
74
- Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
75
- end
76
- def destination
77
- Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
78
- end
79
- def resource
80
- Azure::EventHub::Mgmt::V2017_04_01::Models::Resource
81
- end
82
- def operation
83
- Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
84
- end
85
- def error_response
86
- Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse
87
- end
88
- def operation_list_result
89
- Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
90
- end
91
- def event_hub_list_result
92
- Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
93
- end
94
- def access_keys
95
- Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
96
- end
97
- def arm_disaster_recovery_list_result
98
- Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
99
- end
100
- def sku
101
- Azure::EventHub::Mgmt::V2017_04_01::Models::Sku
102
- end
103
- def consumer_group_list_result
104
- Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
105
- end
106
- def authorization_rule_list_result
107
- Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
108
- end
109
- def check_name_availability_parameter
110
- Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
111
- end
112
- def ehnamespace_list_result
113
- Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespaceListResult
68
+ @model_classes = ModelClasses.new
114
69
  end
115
- def check_name_availability_result
116
- Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
117
- end
118
- def regenerate_access_key_parameters
119
- Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
120
- end
121
- def operation_display
122
- Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
123
- end
124
- def tracked_resource
125
- Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource
126
- end
127
- def ehnamespace
128
- Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace
129
- end
130
- def authorization_rule
131
- Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule
132
- end
133
- def eventhub
134
- Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub
135
- end
136
- def consumer_group
137
- Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup
138
- end
139
- def arm_disaster_recovery
140
- Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
141
- end
142
- def sku_name
143
- Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName
144
- end
145
- def sku_tier
146
- Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier
147
- end
148
- def access_rights
149
- Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights
150
- end
151
- def key_type
152
- Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType
153
- end
154
- def entity_status
155
- Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus
156
- end
157
- def encoding_capture_description
158
- Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription
159
- end
160
- def unavailable_reason
161
- Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason
70
+
71
+ def add_telemetry(client)
72
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/EventHub/Mgmt"
73
+ client.add_user_agent_information(profile_information)
162
74
  end
163
- def provisioning_state_dr
164
- Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR
75
+
76
+ def method_missing(method, *args)
77
+ if @client_0.respond_to?method
78
+ @client_0.send(method, *args)
79
+ else
80
+ super
81
+ end
165
82
  end
166
- def role_disaster_recovery
167
- Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery
83
+
84
+ class ModelClasses
85
+ def capture_description
86
+ Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
87
+ end
88
+ def destination
89
+ Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
90
+ end
91
+ def resource
92
+ Azure::EventHub::Mgmt::V2017_04_01::Models::Resource
93
+ end
94
+ def operation
95
+ Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
96
+ end
97
+ def error_response
98
+ Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse
99
+ end
100
+ def operation_list_result
101
+ Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
102
+ end
103
+ def event_hub_list_result
104
+ Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
105
+ end
106
+ def access_keys
107
+ Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
108
+ end
109
+ def arm_disaster_recovery_list_result
110
+ Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
111
+ end
112
+ def sku
113
+ Azure::EventHub::Mgmt::V2017_04_01::Models::Sku
114
+ end
115
+ def consumer_group_list_result
116
+ Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
117
+ end
118
+ def authorization_rule_list_result
119
+ Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
120
+ end
121
+ def check_name_availability_parameter
122
+ Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
123
+ end
124
+ def ehnamespace_list_result
125
+ Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespaceListResult
126
+ end
127
+ def check_name_availability_result
128
+ Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
129
+ end
130
+ def regenerate_access_key_parameters
131
+ Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
132
+ end
133
+ def operation_display
134
+ Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
135
+ end
136
+ def tracked_resource
137
+ Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource
138
+ end
139
+ def ehnamespace
140
+ Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace
141
+ end
142
+ def authorization_rule
143
+ Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule
144
+ end
145
+ def eventhub
146
+ Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub
147
+ end
148
+ def consumer_group
149
+ Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup
150
+ end
151
+ def arm_disaster_recovery
152
+ Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
153
+ end
154
+ def sku_name
155
+ Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName
156
+ end
157
+ def sku_tier
158
+ Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier
159
+ end
160
+ def access_rights
161
+ Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights
162
+ end
163
+ def key_type
164
+ Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType
165
+ end
166
+ def entity_status
167
+ Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus
168
+ end
169
+ def encoding_capture_description
170
+ Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription
171
+ end
172
+ def unavailable_reason
173
+ Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason
174
+ end
175
+ def provisioning_state_dr
176
+ Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR
177
+ end
178
+ def role_disaster_recovery
179
+ Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery
180
+ end
168
181
  end
169
182
  end
170
183
  end
@@ -0,0 +1,241 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_cognitiveservices_face'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Face
9
+ Face = Azure::CognitiveServices::Face::V1_0::Face
10
+ PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson
11
+ PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations
12
+ FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations
13
+
14
+ module Models
15
+ FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest
16
+ Error = Azure::CognitiveServices::Face::V1_0::Models::Error
17
+ SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace
18
+ FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle
19
+ GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest
20
+ FaceLandmarks = Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks
21
+ GroupResult = Azure::CognitiveServices::Face::V1_0::Models::GroupResult
22
+ HeadPose = Azure::CognitiveServices::Face::V1_0::Models::HeadPose
23
+ IdentifyRequest = Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest
24
+ HairColor = Azure::CognitiveServices::Face::V1_0::Models::HairColor
25
+ IdentifyCandidate = Azure::CognitiveServices::Face::V1_0::Models::IdentifyCandidate
26
+ Makeup = Azure::CognitiveServices::Face::V1_0::Models::Makeup
27
+ IdentifyResult = Azure::CognitiveServices::Face::V1_0::Models::IdentifyResult
28
+ Accessory = Azure::CognitiveServices::Face::V1_0::Models::Accessory
29
+ VerifyFaceToPersonRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToPersonRequest
30
+ Exposure = Azure::CognitiveServices::Face::V1_0::Models::Exposure
31
+ VerifyFaceToFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest
32
+ FaceAttributes = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes
33
+ VerifyResult = Azure::CognitiveServices::Face::V1_0::Models::VerifyResult
34
+ APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError
35
+ PersistedFace = Azure::CognitiveServices::Face::V1_0::Models::PersistedFace
36
+ FacialHair = Azure::CognitiveServices::Face::V1_0::Models::FacialHair
37
+ Coordinate = Azure::CognitiveServices::Face::V1_0::Models::Coordinate
38
+ Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion
39
+ Occlusion = Azure::CognitiveServices::Face::V1_0::Models::Occlusion
40
+ Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise
41
+ ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl
42
+ Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair
43
+ NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract
44
+ DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace
45
+ UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest
46
+ Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur
47
+ TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus
48
+ FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList
49
+ PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup
50
+ Person = Azure::CognitiveServices::Face::V1_0::Models::Person
51
+ Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender
52
+ GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType
53
+ HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType
54
+ AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType
55
+ BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
56
+ ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
57
+ NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel
58
+ FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
59
+ TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType
60
+ FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
61
+ AzureRegions = Azure::CognitiveServices::Face::V1_0::Models::AzureRegions
62
+ end
63
+
64
+ class FaceDataClass
65
+ attr_reader :face, :person_group_person, :person_group_operations, :face_list_operations, :configurable, :base_url, :options, :model_classes
66
+
67
+ def initialize(configurable, base_url=nil, options=nil)
68
+ @configurable, @base_url, @options = configurable, base_url, options
69
+
70
+ @client_0 = Azure::CognitiveServices::Face::V1_0::FaceClient.new(configurable.credentials, options)
71
+ if(@client_0.respond_to?(:subscription_id))
72
+ @client_0.subscription_id = configurable.subscription_id
73
+ end
74
+ add_telemetry(@client_0)
75
+ @face = @client_0.face
76
+ @person_group_person = @client_0.person_group_person
77
+ @person_group_operations = @client_0.person_group_operations
78
+ @face_list_operations = @client_0.face_list_operations
79
+
80
+ @model_classes = ModelClasses.new
81
+ end
82
+
83
+ def add_telemetry(client)
84
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Face"
85
+ client.add_user_agent_information(profile_information)
86
+ end
87
+
88
+ def method_missing(method, *args)
89
+ if @client_0.respond_to?method
90
+ @client_0.send(method, *args)
91
+ else
92
+ super
93
+ end
94
+ end
95
+
96
+ class ModelClasses
97
+ def find_similar_request
98
+ Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest
99
+ end
100
+ def error
101
+ Azure::CognitiveServices::Face::V1_0::Models::Error
102
+ end
103
+ def similar_face
104
+ Azure::CognitiveServices::Face::V1_0::Models::SimilarFace
105
+ end
106
+ def face_rectangle
107
+ Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle
108
+ end
109
+ def group_request
110
+ Azure::CognitiveServices::Face::V1_0::Models::GroupRequest
111
+ end
112
+ def face_landmarks
113
+ Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks
114
+ end
115
+ def group_result
116
+ Azure::CognitiveServices::Face::V1_0::Models::GroupResult
117
+ end
118
+ def head_pose
119
+ Azure::CognitiveServices::Face::V1_0::Models::HeadPose
120
+ end
121
+ def identify_request
122
+ Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest
123
+ end
124
+ def hair_color
125
+ Azure::CognitiveServices::Face::V1_0::Models::HairColor
126
+ end
127
+ def identify_candidate
128
+ Azure::CognitiveServices::Face::V1_0::Models::IdentifyCandidate
129
+ end
130
+ def makeup
131
+ Azure::CognitiveServices::Face::V1_0::Models::Makeup
132
+ end
133
+ def identify_result
134
+ Azure::CognitiveServices::Face::V1_0::Models::IdentifyResult
135
+ end
136
+ def accessory
137
+ Azure::CognitiveServices::Face::V1_0::Models::Accessory
138
+ end
139
+ def verify_face_to_person_request
140
+ Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToPersonRequest
141
+ end
142
+ def exposure
143
+ Azure::CognitiveServices::Face::V1_0::Models::Exposure
144
+ end
145
+ def verify_face_to_face_request
146
+ Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest
147
+ end
148
+ def face_attributes
149
+ Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes
150
+ end
151
+ def verify_result
152
+ Azure::CognitiveServices::Face::V1_0::Models::VerifyResult
153
+ end
154
+ def apierror
155
+ Azure::CognitiveServices::Face::V1_0::Models::APIError
156
+ end
157
+ def persisted_face
158
+ Azure::CognitiveServices::Face::V1_0::Models::PersistedFace
159
+ end
160
+ def facial_hair
161
+ Azure::CognitiveServices::Face::V1_0::Models::FacialHair
162
+ end
163
+ def coordinate
164
+ Azure::CognitiveServices::Face::V1_0::Models::Coordinate
165
+ end
166
+ def emotion
167
+ Azure::CognitiveServices::Face::V1_0::Models::Emotion
168
+ end
169
+ def occlusion
170
+ Azure::CognitiveServices::Face::V1_0::Models::Occlusion
171
+ end
172
+ def noise
173
+ Azure::CognitiveServices::Face::V1_0::Models::Noise
174
+ end
175
+ def image_url
176
+ Azure::CognitiveServices::Face::V1_0::Models::ImageUrl
177
+ end
178
+ def hair
179
+ Azure::CognitiveServices::Face::V1_0::Models::Hair
180
+ end
181
+ def name_and_user_data_contract
182
+ Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract
183
+ end
184
+ def detected_face
185
+ Azure::CognitiveServices::Face::V1_0::Models::DetectedFace
186
+ end
187
+ def update_person_face_request
188
+ Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest
189
+ end
190
+ def blur
191
+ Azure::CognitiveServices::Face::V1_0::Models::Blur
192
+ end
193
+ def training_status
194
+ Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus
195
+ end
196
+ def face_list
197
+ Azure::CognitiveServices::Face::V1_0::Models::FaceList
198
+ end
199
+ def person_group
200
+ Azure::CognitiveServices::Face::V1_0::Models::PersonGroup
201
+ end
202
+ def person
203
+ Azure::CognitiveServices::Face::V1_0::Models::Person
204
+ end
205
+ def gender
206
+ Azure::CognitiveServices::Face::V1_0::Models::Gender
207
+ end
208
+ def glasses_type
209
+ Azure::CognitiveServices::Face::V1_0::Models::GlassesType
210
+ end
211
+ def hair_color_type
212
+ Azure::CognitiveServices::Face::V1_0::Models::HairColorType
213
+ end
214
+ def accessory_type
215
+ Azure::CognitiveServices::Face::V1_0::Models::AccessoryType
216
+ end
217
+ def blur_level
218
+ Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
219
+ end
220
+ def exposure_level
221
+ Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
222
+ end
223
+ def noise_level
224
+ Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel
225
+ end
226
+ def find_similar_match_mode
227
+ Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
228
+ end
229
+ def training_status_type
230
+ Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType
231
+ end
232
+ def face_attribute_type
233
+ Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
234
+ end
235
+ def azure_regions
236
+ Azure::CognitiveServices::Face::V1_0::Models::AzureRegions
237
+ end
238
+ end
239
+ end
240
+ end
241
+ end