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.
- checksums.yaml +5 -5
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +645 -61
- data/lib/latest/module_definition.rb +1 -118
- data/lib/latest/modules/analysisservices_profile_module.rb +139 -84
- data/lib/latest/modules/authorization_profile_module.rb +113 -100
- data/lib/latest/modules/automation_profile_module.rb +597 -580
- data/lib/latest/modules/batch_profile_module.rb +357 -132
- data/lib/latest/modules/billing_profile_module.rb +77 -64
- data/lib/latest/modules/cdn_profile_module.rb +277 -216
- data/lib/latest/modules/cognitiveservices_profile_module.rb +121 -108
- data/lib/latest/modules/commerce_profile_module.rb +79 -66
- data/lib/latest/modules/compute_profile_module.rb +783 -730
- data/lib/latest/modules/computervision_profile_module.rb +189 -0
- data/lib/latest/modules/consumption_profile_module.rb +153 -54
- data/lib/latest/modules/containerinstance_profile_module.rb +163 -106
- data/lib/latest/modules/containerregistry_profile_module.rb +203 -190
- data/lib/latest/modules/containerservice_profile_module.rb +93 -80
- data/lib/latest/modules/contentmoderator_profile_module.rb +295 -0
- data/lib/latest/modules/customerinsights_profile_module.rb +477 -464
- data/lib/latest/modules/customsearch_profile_module.rb +123 -0
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +233 -152
- data/lib/latest/modules/datalakestore_profile_module.rb +201 -128
- data/lib/latest/modules/devtestlabs_profile_module.rb +697 -656
- data/lib/latest/modules/dns_profile_module.rb +99 -94
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -0
- data/lib/latest/modules/eventgrid_profile_module.rb +220 -99
- data/lib/latest/modules/eventhub_profile_module.rb +165 -152
- data/lib/latest/modules/face_profile_module.rb +241 -0
- data/lib/latest/modules/features_profile_module.rb +41 -28
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -0
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -0
- data/lib/latest/modules/iothub_profile_module.rb +265 -252
- data/lib/latest/modules/keyvault_profile_module.rb +155 -88
- data/lib/latest/modules/links_profile_module.rb +49 -36
- data/lib/latest/modules/locks_profile_module.rb +45 -32
- data/lib/latest/modules/logic_profile_module.rb +593 -580
- data/lib/latest/modules/machinelearning_profile_module.rb +177 -164
- data/lib/latest/modules/managedapplications_profile_module.rb +103 -90
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +55 -42
- data/lib/latest/modules/marketplaceordering_profile_module.rb +59 -46
- data/lib/latest/modules/mediaservices_profile_module.rb +103 -90
- data/lib/latest/modules/mobileengagement_profile_module.rb +397 -384
- data/lib/latest/modules/monitor_profile_module.rb +403 -323
- data/lib/latest/modules/network_profile_module.rb +1245 -1148
- data/lib/latest/modules/newssearch_profile_module.rb +143 -0
- data/lib/latest/modules/notificationhubs_profile_module.rb +155 -142
- data/lib/latest/modules/operationalinsights_profile_module.rb +218 -188
- data/lib/latest/modules/policy_profile_module.rb +84 -68
- data/lib/latest/modules/powerbiembedded_profile_module.rb +107 -94
- data/lib/latest/modules/recoveryservices_profile_module.rb +176 -188
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1133 -728
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1367 -1354
- data/lib/latest/modules/redis_profile_module.rb +165 -152
- data/lib/latest/modules/relay_profile_module.rb +143 -130
- data/lib/latest/modules/resources_profile_module.rb +227 -214
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +81 -74
- data/lib/latest/modules/scheduler_profile_module.rb +207 -198
- data/lib/latest/modules/search_profile_module.rb +103 -76
- data/lib/latest/modules/servermanagement_profile_module.rb +155 -142
- data/lib/latest/modules/servicebus_profile_module.rb +247 -234
- data/lib/latest/modules/servicefabric_profile_module.rb +269 -120
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -0
- data/lib/latest/modules/sql_profile_module.rb +1075 -918
- data/lib/latest/modules/storage_profile_module.rb +263 -250
- data/lib/latest/modules/storsimple8000series_profile_module.rb +695 -682
- data/lib/latest/modules/streamanalytics_profile_module.rb +329 -316
- data/lib/latest/modules/subscriptions_profile_module.rb +67 -54
- data/lib/latest/modules/textanalytics_profile_module.rb +105 -0
- data/lib/latest/modules/trafficmanager_profile_module.rb +140 -124
- data/lib/latest/modules/videosearch_profile_module.rb +175 -0
- data/lib/latest/modules/web_profile_module.rb +1289 -1138
- data/lib/latest/modules/websearch_profile_module.rb +211 -0
- data/lib/v2017_03_09/module_definition.rb +1 -20
- data/lib/v2017_03_09/modules/compute_profile_module.rb +437 -424
- data/lib/v2017_03_09/modules/features_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/links_profile_module.rb +49 -36
- data/lib/v2017_03_09/modules/locks_profile_module.rb +41 -28
- data/lib/v2017_03_09/modules/network_profile_module.rb +535 -522
- data/lib/v2017_03_09/modules/policy_profile_module.rb +51 -38
- data/lib/v2017_03_09/modules/resources_profile_module.rb +223 -210
- data/lib/v2017_03_09/modules/storage_profile_module.rb +143 -130
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +67 -54
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +103 -10
- metadata +312 -133
- data/lib/latest/modules/graph_profile_module.rb +0 -202
@@ -5,134 +5,283 @@
|
|
5
5
|
require 'azure_mgmt_service_fabric'
|
6
6
|
|
7
7
|
module Azure::Profiles::Latest
|
8
|
-
module ServiceFabric
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
module ServiceFabric
|
9
|
+
module Mgmt
|
10
|
+
Clusters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Clusters
|
11
|
+
ClusterVersions = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ClusterVersions
|
12
|
+
Operations = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Operations
|
13
|
+
ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType
|
14
|
+
Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version
|
15
|
+
Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application
|
16
|
+
Service = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Service
|
12
17
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
18
|
+
module Models
|
19
|
+
ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase
|
20
|
+
ErrorModel = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel
|
21
|
+
ServiceTypeHealthPolicyMapItem = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem
|
22
|
+
OperationListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult
|
23
|
+
ApplicationMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription
|
24
|
+
OperationResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult
|
25
|
+
ServiceCorrelationDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription
|
26
|
+
ServicePlacementPolicyDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription
|
27
|
+
ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy
|
28
|
+
ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy
|
29
|
+
ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters
|
30
|
+
ApplicationParameter = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter
|
31
|
+
ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult
|
32
|
+
ServiceLoadMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription
|
33
|
+
ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult
|
34
|
+
PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription
|
35
|
+
ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource
|
36
|
+
DiagnosticsStorageAccountConfig = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig
|
37
|
+
RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy
|
38
|
+
Resource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource
|
39
|
+
ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy
|
40
|
+
AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay
|
41
|
+
ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy
|
42
|
+
AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory
|
43
|
+
ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy
|
44
|
+
CertificateDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription
|
45
|
+
ApplicationTypeResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList
|
46
|
+
ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClientCertificateCommonName
|
47
|
+
ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList
|
48
|
+
ClientCertificateThumbprint = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClientCertificateThumbprint
|
49
|
+
ClusterUpgradeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradeDeltaHealthPolicy
|
50
|
+
ClusterVersionDetails = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterVersionDetails
|
51
|
+
ClusterListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterListResult
|
52
|
+
SettingsParameterDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SettingsParameterDescription
|
53
|
+
ApplicationUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationUpgradePolicy
|
54
|
+
SettingsSectionDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SettingsSectionDescription
|
55
|
+
VersionResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResourceList
|
56
|
+
EndpointRangeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::EndpointRangeDescription
|
57
|
+
ServiceResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceList
|
58
|
+
NodeTypeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::NodeTypeDescription
|
59
|
+
NamedPartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::NamedPartitionSchemeDescription
|
60
|
+
SingletonPartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SingletonPartitionSchemeDescription
|
61
|
+
UniformInt64RangePartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::UniformInt64RangePartitionSchemeDescription
|
62
|
+
ApplicationTypeResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource
|
63
|
+
VersionResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResource
|
64
|
+
ApplicationResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource
|
65
|
+
ApplicationResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceUpdate
|
66
|
+
ServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties
|
67
|
+
ServiceResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResource
|
68
|
+
ServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceUpdateProperties
|
69
|
+
ServiceResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate
|
70
|
+
StatelessServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceProperties
|
71
|
+
StatelessServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties
|
72
|
+
StatefulServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties
|
73
|
+
StatefulServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties
|
74
|
+
Cluster = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Cluster
|
75
|
+
ProvisioningState = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProvisioningState
|
76
|
+
end
|
46
77
|
|
47
|
-
|
48
|
-
|
78
|
+
class ServiceFabricManagementClass
|
79
|
+
attr_reader :clusters, :cluster_versions, :operations, :application_type, :version, :application, :service, :configurable, :base_url, :options, :model_classes
|
49
80
|
|
50
|
-
|
51
|
-
|
52
|
-
client_0.subscription_id = configurable.subscription_id
|
53
|
-
end
|
54
|
-
@clusters = client_0.clusters
|
55
|
-
@cluster_versions = client_0.cluster_versions
|
56
|
-
@operations = client_0.operations
|
81
|
+
def initialize(configurable, base_url=nil, options=nil)
|
82
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
57
83
|
|
58
|
-
|
59
|
-
|
84
|
+
@client_0 = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ServiceFabricManagementClient.new(configurable.credentials, base_url, options)
|
85
|
+
if(@client_0.respond_to?(:subscription_id))
|
86
|
+
@client_0.subscription_id = configurable.subscription_id
|
87
|
+
end
|
88
|
+
add_telemetry(@client_0)
|
89
|
+
@clusters = @client_0.clusters
|
90
|
+
@cluster_versions = @client_0.cluster_versions
|
91
|
+
@operations = @client_0.operations
|
92
|
+
@application_type = @client_0.application_type
|
93
|
+
@version = @client_0.version
|
94
|
+
@application = @client_0.application
|
95
|
+
@service = @client_0.service
|
60
96
|
|
61
|
-
|
62
|
-
def cluster_upgrade_policy
|
63
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterUpgradePolicy
|
64
|
-
end
|
65
|
-
def cluster_version_details
|
66
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterVersionDetails
|
67
|
-
end
|
68
|
-
def diagnostics_storage_account_config
|
69
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::DiagnosticsStorageAccountConfig
|
70
|
-
end
|
71
|
-
def cluster_code_versions_list_result
|
72
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterCodeVersionsListResult
|
73
|
-
end
|
74
|
-
def azure_active_directory
|
75
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::AzureActiveDirectory
|
76
|
-
end
|
77
|
-
def settings_parameter_description
|
78
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::SettingsParameterDescription
|
79
|
-
end
|
80
|
-
def cluster_update_parameters
|
81
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterUpdateParameters
|
82
|
-
end
|
83
|
-
def endpoint_range_description
|
84
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::EndpointRangeDescription
|
85
|
-
end
|
86
|
-
def node_type_description
|
87
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::NodeTypeDescription
|
88
|
-
end
|
89
|
-
def client_certificate_common_name
|
90
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClientCertificateCommonName
|
91
|
-
end
|
92
|
-
def cluster_list_result
|
93
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterListResult
|
97
|
+
@model_classes = ModelClasses.new
|
94
98
|
end
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::AvailableOperationDisplay
|
100
|
-
end
|
101
|
-
def certificate_description
|
102
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::CertificateDescription
|
103
|
-
end
|
104
|
-
def operation_result
|
105
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::OperationResult
|
106
|
-
end
|
107
|
-
def client_certificate_thumbprint
|
108
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClientCertificateThumbprint
|
109
|
-
end
|
110
|
-
def operation_list_result
|
111
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::OperationListResult
|
112
|
-
end
|
113
|
-
def cluster_code_versions_result
|
114
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterCodeVersionsResult
|
115
|
-
end
|
116
|
-
def error_model_error
|
117
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ErrorModelError
|
118
|
-
end
|
119
|
-
def cluster_health_policy
|
120
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ClusterHealthPolicy
|
121
|
-
end
|
122
|
-
def error_model
|
123
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ErrorModel
|
124
|
-
end
|
125
|
-
def settings_section_description
|
126
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::SettingsSectionDescription
|
127
|
-
end
|
128
|
-
def resource
|
129
|
-
Azure::ServiceFabric::Mgmt::V2016_09_01::Models::Resource
|
99
|
+
|
100
|
+
def add_telemetry(client)
|
101
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ServiceFabric/Mgmt"
|
102
|
+
client.add_user_agent_information(profile_information)
|
130
103
|
end
|
131
|
-
|
132
|
-
|
104
|
+
|
105
|
+
def method_missing(method, *args)
|
106
|
+
if @client_0.respond_to?method
|
107
|
+
@client_0.send(method, *args)
|
108
|
+
else
|
109
|
+
super
|
110
|
+
end
|
133
111
|
end
|
134
|
-
|
135
|
-
|
112
|
+
|
113
|
+
class ModelClasses
|
114
|
+
def service_properties_base
|
115
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase
|
116
|
+
end
|
117
|
+
def error_model
|
118
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel
|
119
|
+
end
|
120
|
+
def service_type_health_policy_map_item
|
121
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem
|
122
|
+
end
|
123
|
+
def operation_list_result
|
124
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult
|
125
|
+
end
|
126
|
+
def application_metric_description
|
127
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription
|
128
|
+
end
|
129
|
+
def operation_result
|
130
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult
|
131
|
+
end
|
132
|
+
def service_correlation_description
|
133
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription
|
134
|
+
end
|
135
|
+
def service_placement_policy_description
|
136
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription
|
137
|
+
end
|
138
|
+
def service_type_delta_health_policy
|
139
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy
|
140
|
+
end
|
141
|
+
def application_health_policy
|
142
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy
|
143
|
+
end
|
144
|
+
def cluster_update_parameters
|
145
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters
|
146
|
+
end
|
147
|
+
def application_parameter
|
148
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter
|
149
|
+
end
|
150
|
+
def cluster_code_versions_list_result
|
151
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult
|
152
|
+
end
|
153
|
+
def service_load_metric_description
|
154
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription
|
155
|
+
end
|
156
|
+
def cluster_code_versions_result
|
157
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult
|
158
|
+
end
|
159
|
+
def partition_scheme_description
|
160
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription
|
161
|
+
end
|
162
|
+
def proxy_resource
|
163
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource
|
164
|
+
end
|
165
|
+
def diagnostics_storage_account_config
|
166
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig
|
167
|
+
end
|
168
|
+
def rolling_upgrade_monitoring_policy
|
169
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy
|
170
|
+
end
|
171
|
+
def resource
|
172
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource
|
173
|
+
end
|
174
|
+
def cluster_upgrade_policy
|
175
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy
|
176
|
+
end
|
177
|
+
def available_operation_display
|
178
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay
|
179
|
+
end
|
180
|
+
def cluster_health_policy
|
181
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy
|
182
|
+
end
|
183
|
+
def azure_active_directory
|
184
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory
|
185
|
+
end
|
186
|
+
def service_type_health_policy
|
187
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy
|
188
|
+
end
|
189
|
+
def certificate_description
|
190
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription
|
191
|
+
end
|
192
|
+
def application_type_resource_list
|
193
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList
|
194
|
+
end
|
195
|
+
def client_certificate_common_name
|
196
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClientCertificateCommonName
|
197
|
+
end
|
198
|
+
def application_resource_list
|
199
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList
|
200
|
+
end
|
201
|
+
def client_certificate_thumbprint
|
202
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClientCertificateThumbprint
|
203
|
+
end
|
204
|
+
def cluster_upgrade_delta_health_policy
|
205
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradeDeltaHealthPolicy
|
206
|
+
end
|
207
|
+
def cluster_version_details
|
208
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterVersionDetails
|
209
|
+
end
|
210
|
+
def cluster_list_result
|
211
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterListResult
|
212
|
+
end
|
213
|
+
def settings_parameter_description
|
214
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SettingsParameterDescription
|
215
|
+
end
|
216
|
+
def application_upgrade_policy
|
217
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationUpgradePolicy
|
218
|
+
end
|
219
|
+
def settings_section_description
|
220
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SettingsSectionDescription
|
221
|
+
end
|
222
|
+
def version_resource_list
|
223
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResourceList
|
224
|
+
end
|
225
|
+
def endpoint_range_description
|
226
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::EndpointRangeDescription
|
227
|
+
end
|
228
|
+
def service_resource_list
|
229
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceList
|
230
|
+
end
|
231
|
+
def node_type_description
|
232
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::NodeTypeDescription
|
233
|
+
end
|
234
|
+
def named_partition_scheme_description
|
235
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::NamedPartitionSchemeDescription
|
236
|
+
end
|
237
|
+
def singleton_partition_scheme_description
|
238
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SingletonPartitionSchemeDescription
|
239
|
+
end
|
240
|
+
def uniform_int64_range_partition_scheme_description
|
241
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::UniformInt64RangePartitionSchemeDescription
|
242
|
+
end
|
243
|
+
def application_type_resource
|
244
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource
|
245
|
+
end
|
246
|
+
def version_resource
|
247
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResource
|
248
|
+
end
|
249
|
+
def application_resource
|
250
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource
|
251
|
+
end
|
252
|
+
def application_resource_update
|
253
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceUpdate
|
254
|
+
end
|
255
|
+
def service_properties
|
256
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties
|
257
|
+
end
|
258
|
+
def service_resource
|
259
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResource
|
260
|
+
end
|
261
|
+
def service_update_properties
|
262
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceUpdateProperties
|
263
|
+
end
|
264
|
+
def service_resource_update
|
265
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate
|
266
|
+
end
|
267
|
+
def stateless_service_properties
|
268
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceProperties
|
269
|
+
end
|
270
|
+
def stateless_service_update_properties
|
271
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties
|
272
|
+
end
|
273
|
+
def stateful_service_properties
|
274
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties
|
275
|
+
end
|
276
|
+
def stateful_service_update_properties
|
277
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties
|
278
|
+
end
|
279
|
+
def cluster
|
280
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Cluster
|
281
|
+
end
|
282
|
+
def provisioning_state
|
283
|
+
Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProvisioningState
|
284
|
+
end
|
136
285
|
end
|
137
286
|
end
|
138
287
|
end
|
@@ -0,0 +1,101 @@
|
|
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_spellcheck'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module SpellCheck
|
9
|
+
|
10
|
+
module Models
|
11
|
+
SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion
|
12
|
+
ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase
|
13
|
+
SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken
|
14
|
+
Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error
|
15
|
+
SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck
|
16
|
+
Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable
|
17
|
+
Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response
|
18
|
+
Answer = Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer
|
19
|
+
ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse
|
20
|
+
ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType
|
21
|
+
ErrorCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode
|
22
|
+
ErrorSubCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode
|
23
|
+
ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType
|
24
|
+
Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode
|
25
|
+
end
|
26
|
+
|
27
|
+
class SpellCheckDataClass
|
28
|
+
attr_reader :configurable, :base_url, :options, :model_classes
|
29
|
+
|
30
|
+
def initialize(configurable, base_url=nil, options=nil)
|
31
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
32
|
+
|
33
|
+
@client_0 = Azure::CognitiveServices::SpellCheck::V1_0::SpellCheckClient.new(configurable.credentials, base_url, options)
|
34
|
+
if(@client_0.respond_to?(:subscription_id))
|
35
|
+
@client_0.subscription_id = configurable.subscription_id
|
36
|
+
end
|
37
|
+
add_telemetry(@client_0)
|
38
|
+
|
39
|
+
@model_classes = ModelClasses.new
|
40
|
+
end
|
41
|
+
|
42
|
+
def add_telemetry(client)
|
43
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/SpellCheck"
|
44
|
+
client.add_user_agent_information(profile_information)
|
45
|
+
end
|
46
|
+
|
47
|
+
def method_missing(method, *args)
|
48
|
+
if @client_0.respond_to?method
|
49
|
+
@client_0.send(method, *args)
|
50
|
+
else
|
51
|
+
super
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
class ModelClasses
|
56
|
+
def spelling_token_suggestion
|
57
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion
|
58
|
+
end
|
59
|
+
def response_base
|
60
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase
|
61
|
+
end
|
62
|
+
def spelling_flagged_token
|
63
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken
|
64
|
+
end
|
65
|
+
def error
|
66
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::Error
|
67
|
+
end
|
68
|
+
def spell_check
|
69
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck
|
70
|
+
end
|
71
|
+
def identifiable
|
72
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable
|
73
|
+
end
|
74
|
+
def response
|
75
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::Response
|
76
|
+
end
|
77
|
+
def answer
|
78
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer
|
79
|
+
end
|
80
|
+
def error_response
|
81
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse
|
82
|
+
end
|
83
|
+
def error_type
|
84
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType
|
85
|
+
end
|
86
|
+
def error_code
|
87
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode
|
88
|
+
end
|
89
|
+
def error_sub_code
|
90
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode
|
91
|
+
end
|
92
|
+
def action_type
|
93
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType
|
94
|
+
end
|
95
|
+
def mode
|
96
|
+
Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|