azure_mgmt_server_management 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/gateway.rb +37 -0
  3. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/encryption_jwk_resource.rb +5 -0
  4. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/error.rb +4 -0
  5. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/gateway_parameters.rb +4 -0
  6. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/gateway_profile.rb +11 -0
  7. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/gateway_resource.rb +19 -0
  8. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/gateway_resources.rb +4 -0
  9. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/gateway_status.rb +22 -0
  10. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/node_parameters.rb +7 -0
  11. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/node_resource.rb +12 -0
  12. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/node_resources.rb +4 -0
  13. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/power_shell_command_parameters.rb +2 -0
  14. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/power_shell_command_result.rb +12 -0
  15. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/power_shell_command_results.rb +6 -0
  16. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/power_shell_command_status.rb +13 -0
  17. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/power_shell_session_resource.rb +15 -0
  18. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/power_shell_session_resources.rb +4 -0
  19. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/power_shell_tab_completion_parameters.rb +2 -0
  20. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/power_shell_tab_completion_results.rb +3 -0
  21. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/prompt_field_description.rb +6 -0
  22. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/prompt_message_response.rb +3 -0
  23. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/resource.rb +8 -0
  24. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/session_parameters.rb +6 -0
  25. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/session_resource.rb +11 -0
  26. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/version.rb +7 -0
  27. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/node.rb +22 -0
  28. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/power_shell.rb +35 -0
  29. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/server_management.rb +1 -3
  30. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/session.rb +15 -0
  31. data/lib/profiles/latest/servermanagement_latest_profile_client.rb +1 -3
  32. data/lib/version.rb +1 -1
  33. metadata +10 -8
  34. data/lib/2016-07-01-preview/generated/azure_mgmt_server_management/version.rb +0 -8
  35. data/lib/profiles/common/configurable.rb +0 -86
  36. data/lib/profiles/common/default.rb +0 -57
@@ -1,57 +0,0 @@
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
- module Azure::Common
6
- module Default
7
- class << self
8
- #
9
- # Default Azure Tenant Id.
10
- # @return [String] Azure Tenant Id.
11
- #
12
- def tenant_id
13
- ENV['AZURE_TENANT_ID']
14
- end
15
-
16
- #
17
- # Default Azure Client Id.
18
- # @return [String] Azure Client Id.
19
- #
20
- def client_id
21
- ENV['AZURE_CLIENT_ID']
22
- end
23
-
24
- #
25
- # Default Azure Client Secret.
26
- # @return [String] Azure Client Secret.
27
- #
28
- def client_secret
29
- ENV['AZURE_CLIENT_SECRET']
30
- end
31
-
32
- #
33
- # Default Azure Subscription Id.
34
- # @return [String] Azure Subscription Id.
35
- #
36
- def subscription_id
37
- ENV['AZURE_SUBSCRIPTION_ID']
38
- end
39
-
40
- #
41
- # Default Azure Active Directory Service Settings.
42
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
43
- #
44
- def active_directory_settings
45
- MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
46
- end
47
-
48
- #
49
- # Configuration options.
50
- # @return [Hash] Configuration options.
51
- #
52
- def options
53
- Hash[Azure::Common::Configurable.keys.map { |key| [key, send(key)]}]
54
- end
55
- end
56
- end
57
- end