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,90 +5,117 @@
5
5
  require 'azure_mgmt_search'
6
6
 
7
7
  module Azure::Profiles::Latest
8
- module Search::Mgmt
9
- AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys
10
- QueryKeys = Azure::Search::Mgmt::V2015_08_19::QueryKeys
11
- Services = Azure::Search::Mgmt::V2015_08_19::Services
8
+ module Search
9
+ module Mgmt
10
+ Operations = Azure::Search::Mgmt::V2015_08_19::Operations
11
+ AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys
12
+ QueryKeys = Azure::Search::Mgmt::V2015_08_19::QueryKeys
13
+ Services = Azure::Search::Mgmt::V2015_08_19::Services
12
14
 
13
- module Models
14
- Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku
15
- CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
16
- SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
17
- AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
18
- Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource
19
- QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
20
- CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput
21
- SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService
22
- UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason
23
- SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName
24
- HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode
25
- SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus
26
- ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState
27
- AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind
28
- end
15
+ module Models
16
+ CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
17
+ Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource
18
+ AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
19
+ SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
20
+ CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput
21
+ OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay
22
+ Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku
23
+ Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation
24
+ QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
25
+ OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult
26
+ SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService
27
+ UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason
28
+ SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName
29
+ HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode
30
+ SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus
31
+ ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState
32
+ AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind
33
+ end
29
34
 
30
- #
31
- # Search
32
- #
33
- class SearchClass
34
- attr_reader :admin_keys, :query_keys, :services, :configurable, :base_url, :options, :model_classes
35
+ class SearchManagementClass
36
+ attr_reader :operations, :admin_keys, :query_keys, :services, :configurable, :base_url, :options, :model_classes
35
37
 
36
- def initialize(configurable, base_url=nil, options=nil)
37
- @configurable, @base_url, @options = configurable, base_url, options
38
+ def initialize(configurable, base_url=nil, options=nil)
39
+ @configurable, @base_url, @options = configurable, base_url, options
38
40
 
39
- client_0 = Azure::Search::Mgmt::V2015_08_19::SearchManagementClient.new(configurable.credentials, base_url, options)
40
- if(client_0.respond_to?(:subscription_id))
41
- client_0.subscription_id = configurable.subscription_id
42
- end
43
- @admin_keys = client_0.admin_keys
44
- @query_keys = client_0.query_keys
45
- @services = client_0.services
46
-
47
- @model_classes = ModelClasses.new
48
- end
41
+ @client_0 = Azure::Search::Mgmt::V2015_08_19::SearchManagementClient.new(configurable.credentials, base_url, options)
42
+ if(@client_0.respond_to?(:subscription_id))
43
+ @client_0.subscription_id = configurable.subscription_id
44
+ end
45
+ add_telemetry(@client_0)
46
+ @operations = @client_0.operations
47
+ @admin_keys = @client_0.admin_keys
48
+ @query_keys = @client_0.query_keys
49
+ @services = @client_0.services
49
50
 
50
- class ModelClasses
51
- def sku
52
- Azure::Search::Mgmt::V2015_08_19::Models::Sku
53
- end
54
- def check_name_availability_input
55
- Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
56
- end
57
- def search_management_request_options
58
- Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
59
- end
60
- def admin_key_result
61
- Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
62
- end
63
- def resource
64
- Azure::Search::Mgmt::V2015_08_19::Models::Resource
51
+ @model_classes = ModelClasses.new
65
52
  end
66
- def query_key
67
- Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
68
- end
69
- def check_name_availability_output
70
- Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput
71
- end
72
- def search_service
73
- Azure::Search::Mgmt::V2015_08_19::Models::SearchService
74
- end
75
- def unavailable_name_reason
76
- Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason
77
- end
78
- def sku_name
79
- Azure::Search::Mgmt::V2015_08_19::Models::SkuName
80
- end
81
- def hosting_mode
82
- Azure::Search::Mgmt::V2015_08_19::Models::HostingMode
83
- end
84
- def search_service_status
85
- Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus
53
+
54
+ def add_telemetry(client)
55
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Search/Mgmt"
56
+ client.add_user_agent_information(profile_information)
86
57
  end
87
- def provisioning_state
88
- Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState
58
+
59
+ def method_missing(method, *args)
60
+ if @client_0.respond_to?method
61
+ @client_0.send(method, *args)
62
+ else
63
+ super
64
+ end
89
65
  end
90
- def admin_key_kind
91
- Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind
66
+
67
+ class ModelClasses
68
+ def check_name_availability_input
69
+ Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput
70
+ end
71
+ def resource
72
+ Azure::Search::Mgmt::V2015_08_19::Models::Resource
73
+ end
74
+ def admin_key_result
75
+ Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult
76
+ end
77
+ def search_management_request_options
78
+ Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions
79
+ end
80
+ def check_name_availability_output
81
+ Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput
82
+ end
83
+ def operation_display
84
+ Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay
85
+ end
86
+ def sku
87
+ Azure::Search::Mgmt::V2015_08_19::Models::Sku
88
+ end
89
+ def operation
90
+ Azure::Search::Mgmt::V2015_08_19::Models::Operation
91
+ end
92
+ def query_key
93
+ Azure::Search::Mgmt::V2015_08_19::Models::QueryKey
94
+ end
95
+ def operation_list_result
96
+ Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult
97
+ end
98
+ def search_service
99
+ Azure::Search::Mgmt::V2015_08_19::Models::SearchService
100
+ end
101
+ def unavailable_name_reason
102
+ Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason
103
+ end
104
+ def sku_name
105
+ Azure::Search::Mgmt::V2015_08_19::Models::SkuName
106
+ end
107
+ def hosting_mode
108
+ Azure::Search::Mgmt::V2015_08_19::Models::HostingMode
109
+ end
110
+ def search_service_status
111
+ Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus
112
+ end
113
+ def provisioning_state
114
+ Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState
115
+ end
116
+ def admin_key_kind
117
+ Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind
118
+ end
92
119
  end
93
120
  end
94
121
  end
@@ -5,156 +5,169 @@
5
5
  require 'azure_mgmt_server_management'
6
6
 
7
7
  module Azure::Profiles::Latest
8
- module ServerManagement::Mgmt
9
- Gateway = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Gateway
10
- Node = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Node
11
- Session = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Session
12
- PowerShell = Azure::ServerManagement::Mgmt::V2016_07_01_preview::PowerShell
8
+ module ServerManagement
9
+ module Mgmt
10
+ Gateway = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Gateway
11
+ Node = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Node
12
+ Session = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Session
13
+ PowerShell = Azure::ServerManagement::Mgmt::V2016_07_01_preview::PowerShell
13
14
 
14
- module Models
15
- Version = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version
16
- Resource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource
17
- EncryptionJwkResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::EncryptionJwkResource
18
- GatewayStatus = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayStatus
19
- GatewayResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResources
20
- PromptFieldDescription = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldDescription
21
- GatewayParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayParameters
22
- PowerShellCommandResult = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResult
23
- NodeResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResources
24
- PowerShellCommandResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResults
25
- PowerShellTabCompletionResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionResults
26
- SessionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters
27
- Error = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error
28
- GatewayProfile = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile
29
- PowerShellSessionResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources
30
- NodeParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters
31
- PowerShellCommandParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters
32
- PowerShellTabCompletionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters
33
- PromptMessageResponse = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse
34
- GatewayResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResource
35
- NodeResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResource
36
- SessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionResource
37
- PowerShellSessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource
38
- PowerShellCommandStatus = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus
39
- UpgradeMode = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode
40
- RetentionPeriod = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::RetentionPeriod
41
- CredentialDataFormat = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::CredentialDataFormat
42
- PromptFieldType = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldType
43
- GatewayExpandOption = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayExpandOption
44
- PowerShellExpandOption = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellExpandOption
45
- end
15
+ module Models
16
+ Version = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version
17
+ Resource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource
18
+ EncryptionJwkResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::EncryptionJwkResource
19
+ GatewayStatus = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayStatus
20
+ GatewayResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResources
21
+ PromptFieldDescription = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldDescription
22
+ GatewayParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayParameters
23
+ PowerShellCommandResult = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResult
24
+ NodeResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResources
25
+ PowerShellCommandResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResults
26
+ PowerShellTabCompletionResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionResults
27
+ SessionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters
28
+ Error = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error
29
+ GatewayProfile = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile
30
+ PowerShellSessionResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources
31
+ NodeParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters
32
+ PowerShellCommandParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters
33
+ PowerShellTabCompletionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters
34
+ PromptMessageResponse = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse
35
+ GatewayResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResource
36
+ NodeResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResource
37
+ SessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionResource
38
+ PowerShellSessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource
39
+ PowerShellCommandStatus = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus
40
+ UpgradeMode = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode
41
+ RetentionPeriod = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::RetentionPeriod
42
+ CredentialDataFormat = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::CredentialDataFormat
43
+ PromptFieldType = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldType
44
+ GatewayExpandOption = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayExpandOption
45
+ PowerShellExpandOption = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellExpandOption
46
+ end
46
47
 
47
- #
48
- # ServerManagement
49
- #
50
- class ServerManagementClass
51
- attr_reader :gateway, :node, :session, :power_shell, :configurable, :base_url, :options, :model_classes
48
+ class ServerManagementManagementClass
49
+ attr_reader :gateway, :node, :session, :power_shell, :configurable, :base_url, :options, :model_classes
52
50
 
53
- def initialize(configurable, base_url=nil, options=nil)
54
- @configurable, @base_url, @options = configurable, base_url, options
51
+ def initialize(configurable, base_url=nil, options=nil)
52
+ @configurable, @base_url, @options = configurable, base_url, options
55
53
 
56
- client_0 = Azure::ServerManagement::Mgmt::V2016_07_01_preview::ServerManagement.new(configurable.credentials, base_url, options)
57
- if(client_0.respond_to?(:subscription_id))
58
- client_0.subscription_id = configurable.subscription_id
59
- end
60
- @gateway = client_0.gateway
61
- @node = client_0.node
62
- @session = client_0.session
63
- @power_shell = client_0.power_shell
64
-
65
- @model_classes = ModelClasses.new
66
- end
54
+ @client_0 = Azure::ServerManagement::Mgmt::V2016_07_01_preview::ServerManagement.new(configurable.credentials, base_url, options)
55
+ if(@client_0.respond_to?(:subscription_id))
56
+ @client_0.subscription_id = configurable.subscription_id
57
+ end
58
+ add_telemetry(@client_0)
59
+ @gateway = @client_0.gateway
60
+ @node = @client_0.node
61
+ @session = @client_0.session
62
+ @power_shell = @client_0.power_shell
67
63
 
68
- class ModelClasses
69
- def version
70
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version
71
- end
72
- def resource
73
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource
74
- end
75
- def encryption_jwk_resource
76
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::EncryptionJwkResource
77
- end
78
- def gateway_status
79
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayStatus
80
- end
81
- def gateway_resources
82
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResources
83
- end
84
- def prompt_field_description
85
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldDescription
86
- end
87
- def gateway_parameters
88
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayParameters
89
- end
90
- def power_shell_command_result
91
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResult
92
- end
93
- def node_resources
94
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResources
95
- end
96
- def power_shell_command_results
97
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResults
98
- end
99
- def power_shell_tab_completion_results
100
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionResults
101
- end
102
- def session_parameters
103
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters
104
- end
105
- def error
106
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error
64
+ @model_classes = ModelClasses.new
107
65
  end
108
- def gateway_profile
109
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile
110
- end
111
- def power_shell_session_resources
112
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources
113
- end
114
- def node_parameters
115
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters
116
- end
117
- def power_shell_command_parameters
118
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters
119
- end
120
- def power_shell_tab_completion_parameters
121
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters
122
- end
123
- def prompt_message_response
124
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse
125
- end
126
- def gateway_resource
127
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResource
128
- end
129
- def node_resource
130
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResource
131
- end
132
- def session_resource
133
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionResource
134
- end
135
- def power_shell_session_resource
136
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource
137
- end
138
- def power_shell_command_status
139
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus
140
- end
141
- def upgrade_mode
142
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode
143
- end
144
- def retention_period
145
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::RetentionPeriod
146
- end
147
- def credential_data_format
148
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::CredentialDataFormat
149
- end
150
- def prompt_field_type
151
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldType
66
+
67
+ def add_telemetry(client)
68
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ServerManagement/Mgmt"
69
+ client.add_user_agent_information(profile_information)
152
70
  end
153
- def gateway_expand_option
154
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayExpandOption
71
+
72
+ def method_missing(method, *args)
73
+ if @client_0.respond_to?method
74
+ @client_0.send(method, *args)
75
+ else
76
+ super
77
+ end
155
78
  end
156
- def power_shell_expand_option
157
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellExpandOption
79
+
80
+ class ModelClasses
81
+ def version
82
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version
83
+ end
84
+ def resource
85
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource
86
+ end
87
+ def encryption_jwk_resource
88
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::EncryptionJwkResource
89
+ end
90
+ def gateway_status
91
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayStatus
92
+ end
93
+ def gateway_resources
94
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResources
95
+ end
96
+ def prompt_field_description
97
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldDescription
98
+ end
99
+ def gateway_parameters
100
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayParameters
101
+ end
102
+ def power_shell_command_result
103
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResult
104
+ end
105
+ def node_resources
106
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResources
107
+ end
108
+ def power_shell_command_results
109
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResults
110
+ end
111
+ def power_shell_tab_completion_results
112
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionResults
113
+ end
114
+ def session_parameters
115
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters
116
+ end
117
+ def error
118
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error
119
+ end
120
+ def gateway_profile
121
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile
122
+ end
123
+ def power_shell_session_resources
124
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources
125
+ end
126
+ def node_parameters
127
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters
128
+ end
129
+ def power_shell_command_parameters
130
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters
131
+ end
132
+ def power_shell_tab_completion_parameters
133
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters
134
+ end
135
+ def prompt_message_response
136
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse
137
+ end
138
+ def gateway_resource
139
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResource
140
+ end
141
+ def node_resource
142
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResource
143
+ end
144
+ def session_resource
145
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionResource
146
+ end
147
+ def power_shell_session_resource
148
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource
149
+ end
150
+ def power_shell_command_status
151
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus
152
+ end
153
+ def upgrade_mode
154
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode
155
+ end
156
+ def retention_period
157
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::RetentionPeriod
158
+ end
159
+ def credential_data_format
160
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::CredentialDataFormat
161
+ end
162
+ def prompt_field_type
163
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldType
164
+ end
165
+ def gateway_expand_option
166
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayExpandOption
167
+ end
168
+ def power_shell_expand_option
169
+ Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellExpandOption
170
+ end
158
171
  end
159
172
  end
160
173
  end