azure_mgmt_container_instance 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/container_groups.rb +10 -10
  3. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/container_instance_management_client.rb +3 -3
  4. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/container_logs.rb +2 -2
  5. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/azure_file_volume.rb +1 -1
  6. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/container.rb +1 -1
  7. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/container_event.rb +1 -1
  8. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/container_group.rb +1 -1
  9. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/container_group_list_result.rb +1 -1
  10. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/container_group_network_protocol.rb +1 -1
  11. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/container_port.rb +1 -1
  12. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/container_properties_instance_view.rb +1 -1
  13. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/container_restart_policy.rb +1 -1
  14. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/container_state.rb +1 -1
  15. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/environment_variable.rb +1 -1
  16. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/image_registry_credential.rb +1 -1
  17. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/ip_address.rb +1 -1
  18. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/logs.rb +1 -1
  19. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/operating_system_types.rb +1 -1
  20. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/port.rb +1 -1
  21. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/resource.rb +1 -1
  22. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/resource_limits.rb +1 -1
  23. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/resource_requests.rb +1 -1
  24. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/resource_requirements.rb +1 -1
  25. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/volume.rb +1 -1
  26. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/models/volume_mount.rb +1 -1
  27. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/module_definition.rb +3 -2
  28. data/lib/{generated → 2017-08-01-preview/generated}/azure_mgmt_container_instance/version.rb +2 -2
  29. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance.rb +51 -0
  30. data/lib/azure_mgmt_container_instance.rb +2 -2
  31. data/lib/module_definition.rb +7 -0
  32. data/lib/profiles/common/configurable.rb +73 -0
  33. data/lib/profiles/common/default.rb +68 -0
  34. data/lib/profiles/latest/containerinstance_latest_profile_client.rb +33 -0
  35. data/lib/profiles/latest/containerinstance_module_definition.rb +9 -0
  36. data/lib/profiles/latest/modules/containerinstance_profile_module.rb +132 -0
  37. data/lib/version.rb +7 -0
  38. metadata +37 -30
  39. data/lib/generated/azure_mgmt_container_instance.rb +0 -51
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3976c272ed8d5d07eb30bf8fa3617a7d08e8f64b
4
- data.tar.gz: 1bb9e4e0111e7f04f516de22589ff197c1532011
3
+ metadata.gz: 14d251e2775210c7d136ea5cdae4b317ca7a9437
4
+ data.tar.gz: 765030f5c0f00b2106e056c721901f7e7d7948ed
5
5
  SHA512:
6
- metadata.gz: ac295e83a6989f00f0ee1d7a33eb68a8b605dc773e464c1bb46647622b82d1764f60dbab868e55c84b3422e6f50f8826a0e361889e7b8e2f10449d63033f8c47
7
- data.tar.gz: ed1f808bf82e5b3f307b48849ae7c729e47b3108816e7026f08212c774170d939c9b7d64c9c631ff8dde115524c081775951cfd73fbcec8bdad5be6ba2addcbe
6
+ metadata.gz: c12a3775dba89450df4683d3c0986217cbe2626c3a37ddad2592e00b1aa144683a82a988d96e55d8bda53df88fa8cb618ffc7c8a029ccff7f607bf23eb4fcac5
7
+ data.tar.gz: e65406a6deec210e1728909cf415a88f4049291df1a66105b218a4c592474cad77c1d2bf2a49c62d2f473ed8b3639ee105664e7010903b366a02f1b0b12ea16f
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  #
8
8
  # ContainerGroups
9
9
  #
@@ -106,7 +106,7 @@ module Azure::ARM::ContainerInstance
106
106
  if status_code == 200
107
107
  begin
108
108
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
109
- result_mapper = Azure::ARM::ContainerInstance::Models::ContainerGroupListResult.mapper()
109
+ result_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroupListResult.mapper()
110
110
  result.body = @client.deserialize(result_mapper, parsed_response)
111
111
  rescue Exception => e
112
112
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -214,7 +214,7 @@ module Azure::ARM::ContainerInstance
214
214
  if status_code == 200
215
215
  begin
216
216
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
217
- result_mapper = Azure::ARM::ContainerInstance::Models::ContainerGroupListResult.mapper()
217
+ result_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroupListResult.mapper()
218
218
  result.body = @client.deserialize(result_mapper, parsed_response)
219
219
  rescue Exception => e
220
220
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -323,7 +323,7 @@ module Azure::ARM::ContainerInstance
323
323
  if status_code == 200
324
324
  begin
325
325
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
326
- result_mapper = Azure::ARM::ContainerInstance::Models::ContainerGroup.mapper()
326
+ result_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup.mapper()
327
327
  result.body = @client.deserialize(result_mapper, parsed_response)
328
328
  rescue Exception => e
329
329
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -410,7 +410,7 @@ module Azure::ARM::ContainerInstance
410
410
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
411
411
 
412
412
  # Serialize Request
413
- request_mapper = Azure::ARM::ContainerInstance::Models::ContainerGroup.mapper()
413
+ request_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup.mapper()
414
414
  request_content = @client.serialize(request_mapper, container_group)
415
415
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
416
416
 
@@ -442,7 +442,7 @@ module Azure::ARM::ContainerInstance
442
442
  if status_code == 200
443
443
  begin
444
444
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
445
- result_mapper = Azure::ARM::ContainerInstance::Models::ContainerGroup.mapper()
445
+ result_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup.mapper()
446
446
  result.body = @client.deserialize(result_mapper, parsed_response)
447
447
  rescue Exception => e
448
448
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -452,7 +452,7 @@ module Azure::ARM::ContainerInstance
452
452
  if status_code == 201
453
453
  begin
454
454
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
455
- result_mapper = Azure::ARM::ContainerInstance::Models::ContainerGroup.mapper()
455
+ result_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup.mapper()
456
456
  result.body = @client.deserialize(result_mapper, parsed_response)
457
457
  rescue Exception => e
458
458
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -561,7 +561,7 @@ module Azure::ARM::ContainerInstance
561
561
  if status_code == 200
562
562
  begin
563
563
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
564
- result_mapper = Azure::ARM::ContainerInstance::Models::ContainerGroup.mapper()
564
+ result_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup.mapper()
565
565
  result.body = @client.deserialize(result_mapper, parsed_response)
566
566
  rescue Exception => e
567
567
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -663,7 +663,7 @@ module Azure::ARM::ContainerInstance
663
663
  if status_code == 200
664
664
  begin
665
665
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
666
- result_mapper = Azure::ARM::ContainerInstance::Models::ContainerGroupListResult.mapper()
666
+ result_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroupListResult.mapper()
667
667
  result.body = @client.deserialize(result_mapper, parsed_response)
668
668
  rescue Exception => e
669
669
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -768,7 +768,7 @@ module Azure::ARM::ContainerInstance
768
768
  if status_code == 200
769
769
  begin
770
770
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
771
- result_mapper = Azure::ARM::ContainerInstance::Models::ContainerGroupListResult.mapper()
771
+ result_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroupListResult.mapper()
772
772
  result.body = @client.deserialize(result_mapper, parsed_response)
773
773
  rescue Exception => e
774
774
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
@@ -126,8 +126,8 @@ module Azure::ARM::ContainerInstance
126
126
  #
127
127
  def add_telemetry
128
128
  sdk_information = 'azure_mgmt_container_instance'
129
- if defined? Azure::ARM::ContainerInstance::VERSION
130
- sdk_information = "#{sdk_information}/#{Azure::ARM::ContainerInstance::VERSION}"
129
+ if defined? Azure::ContainerInstance::Mgmt::V2017_08_01_preview::VERSION
130
+ sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2017_08_01_preview::VERSION}"
131
131
  end
132
132
  add_user_agent_information(sdk_information)
133
133
  end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  #
8
8
  # ContainerLogs
9
9
  #
@@ -127,7 +127,7 @@ module Azure::ARM::ContainerInstance
127
127
  if status_code == 200
128
128
  begin
129
129
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
130
- result_mapper = Azure::ARM::ContainerInstance::Models::Logs.mapper()
130
+ result_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Logs.mapper()
131
131
  result.body = @client.deserialize(result_mapper, parsed_response)
132
132
  rescue Exception => e
133
133
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The properties of the Azure File volume. Azure File shares are mounted as
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # A container instance.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # A container instance event.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # A container group.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The container group list response that contains the container group
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # Defines values for ContainerGroupNetworkProtocol
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The port exposed on the container instance.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The instance view of the container instance. Only valid in response.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # Defines values for ContainerRestartPolicy
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The container instance state.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The environment variable to set within the container instance.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # Image registry credential.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # IP address for the container group.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The logs.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # Defines values for OperatingSystemTypes
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The port exposed on the container group.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The Resource model definition.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The resource limits.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The resource requests.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The resource requirements.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The properties of the volume.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
7
  module Models
8
8
  #
9
9
  # The properties of the volume mount.
@@ -4,5 +4,6 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure end
7
- module Azure::ARM end
8
- module Azure::ARM::ContainerInstance end
7
+ module Azure::ContainerInstance end
8
+ module Azure::ContainerInstance::Mgmt end
9
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview end
@@ -3,6 +3,6 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::ContainerInstance
7
- VERSION = '0.14.0'
6
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
7
+ VERSION = '0.15.0'
8
8
  end
@@ -0,0 +1,51 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2017-08-01-preview/generated/azure_mgmt_container_instance/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::ContainerInstance::Mgmt::V2017_08_01_preview
23
+ autoload :ContainerGroups, '2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb'
24
+ autoload :ContainerLogs, '2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb'
25
+ autoload :ContainerInstanceManagementClient, '2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb'
26
+
27
+ module Models
28
+ autoload :Container, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb'
29
+ autoload :AzureFileVolume, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb'
30
+ autoload :EnvironmentVariable, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb'
31
+ autoload :Volume, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb'
32
+ autoload :ContainerEvent, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb'
33
+ autoload :ImageRegistryCredential, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb'
34
+ autoload :ResourceRequests, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb'
35
+ autoload :Port, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb'
36
+ autoload :ResourceRequirements, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb'
37
+ autoload :IpAddress, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb'
38
+ autoload :ContainerPort, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb'
39
+ autoload :ContainerState, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb'
40
+ autoload :ResourceLimits, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb'
41
+ autoload :ContainerGroupListResult, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb'
42
+ autoload :ContainerPropertiesInstanceView, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb'
43
+ autoload :Logs, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb'
44
+ autoload :VolumeMount, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb'
45
+ autoload :Resource, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb'
46
+ autoload :ContainerGroup, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb'
47
+ autoload :ContainerRestartPolicy, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_restart_policy.rb'
48
+ autoload :ContainerGroupNetworkProtocol, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb'
49
+ autoload :OperatingSystemTypes, '2017-08-01-preview/generated/azure_mgmt_container_instance/models/operating_system_types.rb'
50
+ end
51
+ end
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
- require 'generated/azure_mgmt_container_instance'
6
-
5
+ require '2017-08-01-preview/generated/azure_mgmt_container_instance'
6
+ require 'profiles/latest/containerinstance_latest_profile_client'
@@ -0,0 +1,7 @@
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 end
6
+ module Azure::ContainerInstance end
7
+ module Azure::ContainerInstance::Mgmt end
@@ -0,0 +1,73 @@
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::ARM
6
+ # The Azure::ARM::Configurable module provides basic configuration for Azure ARM activities.
7
+ module Configurable
8
+ # @return [String] Azure tenant id (also known as domain).
9
+ attr_accessor :tenant_id
10
+
11
+ # @return [String] Azure client id.
12
+ attr_accessor :client_id
13
+
14
+ # @return [String] Azure secret key.
15
+ attr_accessor :client_secret
16
+
17
+ # @return [String] Azure subscription id.
18
+ attr_accessor :subscription_id
19
+
20
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
+ attr_accessor :active_directory_settings
22
+
23
+ # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
+ attr_accessor :credentials
25
+
26
+ class << self
27
+ #
28
+ # List of configurable keys for {Azure::ARM::Client}.
29
+ # @return [Array] of option keys.
30
+ #
31
+ def keys
32
+ @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings, :credentials]
33
+ end
34
+ end
35
+
36
+ #
37
+ # Set configuration options using a block.
38
+ #
39
+ def configure
40
+ yield self
41
+ end
42
+
43
+ #
44
+ # Resets the configurable options to provided options or defaults.
45
+ # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
+ #
47
+ def reset!(options = {})
48
+ Azure::ARM::Configurable.keys.each do |key|
49
+ default_value = Azure::ARM::Default.options[key]
50
+ instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
+ end
52
+
53
+ self
54
+ end
55
+
56
+ def config
57
+ self
58
+ end
59
+
60
+ private
61
+
62
+ #
63
+ # configures configurable options to default values
64
+ #
65
+ def setup_options
66
+ opts = {}
67
+ Azure::ARM::Configurable.keys.map do |key|
68
+ opts[key] = Azure::ARM::Default.options[key]
69
+ end
70
+ opts
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,68 @@
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::ARM
6
+ # Default configuration options for {Azure::ARM.Client}
7
+ module Default
8
+ class << self
9
+ #
10
+ # Default Azure Tenant Id.
11
+ # @return [String] Azure Tenant Id.
12
+ #
13
+ def tenant_id
14
+ ENV['AZURE_TENANT_ID']
15
+ end
16
+
17
+ #
18
+ # Default Azure Client Id.
19
+ # @return [String] Azure Client Id.
20
+ #
21
+ def client_id
22
+ ENV['AZURE_CLIENT_ID']
23
+ end
24
+
25
+ #
26
+ # Default Azure Client Secret.
27
+ # @return [String] Azure Client Secret.
28
+ #
29
+ def client_secret
30
+ ENV['AZURE_CLIENT_SECRET']
31
+ end
32
+
33
+ #
34
+ # Default Azure Subscription Id.
35
+ # @return [String] Azure Subscription Id.
36
+ #
37
+ def subscription_id
38
+ ENV['AZURE_SUBSCRIPTION_ID']
39
+ end
40
+
41
+ #
42
+ # Default Azure credentials to authorize HTTP requests made by the service client.
43
+ # @return [MsRest::ServiceClientCredentials] Azure credentials to authorize HTTP requests made by the service client.
44
+ #
45
+ def credentials
46
+ MsRest::TokenCredentials.new(
47
+ MsRestAzure::ApplicationTokenProvider.new(
48
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
49
+ end
50
+
51
+ #
52
+ # Default Azure Active Directory Service Settings.
53
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
54
+ #
55
+ def active_directory_settings
56
+ MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
57
+ end
58
+
59
+ #
60
+ # Configuration options.
61
+ # @return [Hash] Configuration options.
62
+ #
63
+ def options
64
+ Hash[Azure::ARM::Configurable.keys.map{|key| [key, send(key)]}]
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,33 @@
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 'profiles/latest/containerinstance_module_definition'
6
+ require 'profiles/latest/modules/containerinstance_profile_module'
7
+ require 'profiles/common/configurable'
8
+ require 'profiles/common/default'
9
+
10
+ module Azure::ContainerInstance::Profiles::Latest::Mgmt
11
+ #
12
+ # Client class for the Latest profile SDK.
13
+ #
14
+ class Client < ContainerInstanceClass
15
+ include Azure::ARM::Configurable
16
+
17
+
18
+ def initialize(options = {})
19
+ super(options)
20
+ end
21
+
22
+ def credentials
23
+ if @credentials.nil?
24
+ self.active_directory_settings ||= Azure::ARM::Default.active_directory_settings
25
+
26
+ @credentials = MsRest::TokenCredentials.new(
27
+ MsRestAzure::ApplicationTokenProvider.new(
28
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
29
+ end
30
+ @credentials
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,9 @@
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 end
6
+ module Azure::ContainerInstance end
7
+ module Azure::ContainerInstance::Profiles end
8
+ module Azure::ContainerInstance::Profiles::Latest end
9
+ module Azure::ContainerInstance::Profiles::Latest::Mgmt end
@@ -0,0 +1,132 @@
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_mgmt_container_instance'
6
+
7
+ module Azure::ContainerInstance::Profiles::Latest::Mgmt
8
+ ContainerGroups = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::ContainerGroups
9
+ ContainerLogs = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::ContainerLogs
10
+
11
+ module Models
12
+ Container = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Container
13
+ AzureFileVolume = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::AzureFileVolume
14
+ EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::EnvironmentVariable
15
+ Volume = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Volume
16
+ ContainerEvent = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerEvent
17
+ ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ImageRegistryCredential
18
+ ResourceRequests = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ResourceRequests
19
+ Port = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Port
20
+ ResourceRequirements = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ResourceRequirements
21
+ IpAddress = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::IpAddress
22
+ ContainerPort = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerPort
23
+ ContainerState = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerState
24
+ ResourceLimits = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ResourceLimits
25
+ ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroupListResult
26
+ ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerPropertiesInstanceView
27
+ Logs = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Logs
28
+ VolumeMount = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::VolumeMount
29
+ Resource = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Resource
30
+ ContainerGroup = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup
31
+ ContainerRestartPolicy = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerRestartPolicy
32
+ ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroupNetworkProtocol
33
+ OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::OperatingSystemTypes
34
+ end
35
+
36
+ #
37
+ # ContainerInstance
38
+ #
39
+ class ContainerInstanceClass
40
+ attr_reader :container_groups, :container_logs, :configurable, :base_url, :options, :model_classes
41
+
42
+ def initialize(options = {})
43
+ if options.is_a?(Hash) && options.length == 0
44
+ @options = setup_options
45
+ else
46
+ @options = options
47
+ end
48
+
49
+ reset!(options)
50
+
51
+ @configurable, @base_url, @options = self, nil, nil
52
+
53
+ client_0 = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::ContainerInstanceManagementClient.new(configurable.credentials, base_url, options)
54
+ if(client_0.respond_to?(:subscription_id))
55
+ client_0.subscription_id = configurable.subscription_id
56
+ end
57
+ @container_groups = client_0.container_groups
58
+ @container_logs = client_0.container_logs
59
+
60
+ @model_classes = ModelClasses.new
61
+ end
62
+
63
+ class ModelClasses
64
+ def container
65
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Container
66
+ end
67
+ def azure_file_volume
68
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::AzureFileVolume
69
+ end
70
+ def environment_variable
71
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::EnvironmentVariable
72
+ end
73
+ def volume
74
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Volume
75
+ end
76
+ def container_event
77
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerEvent
78
+ end
79
+ def image_registry_credential
80
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ImageRegistryCredential
81
+ end
82
+ def resource_requests
83
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ResourceRequests
84
+ end
85
+ def port
86
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Port
87
+ end
88
+ def resource_requirements
89
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ResourceRequirements
90
+ end
91
+ def ip_address
92
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::IpAddress
93
+ end
94
+ def container_port
95
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerPort
96
+ end
97
+ def container_state
98
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerState
99
+ end
100
+ def resource_limits
101
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ResourceLimits
102
+ end
103
+ def container_group_list_result
104
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroupListResult
105
+ end
106
+ def container_properties_instance_view
107
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerPropertiesInstanceView
108
+ end
109
+ def logs
110
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Logs
111
+ end
112
+ def volume_mount
113
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::VolumeMount
114
+ end
115
+ def resource
116
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::Resource
117
+ end
118
+ def container_group
119
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup
120
+ end
121
+ def container_restart_policy
122
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerRestartPolicy
123
+ end
124
+ def container_group_network_protocol
125
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroupNetworkProtocol
126
+ end
127
+ def operating_system_types
128
+ Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::OperatingSystemTypes
129
+ end
130
+ end
131
+ end
132
+ end
data/lib/version.rb ADDED
@@ -0,0 +1,7 @@
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::ContainerInstance::Mgmt
6
+ VERSION = '0.15.0'
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_container_instance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-09 00:00:00.000000000 Z
11
+ date: 2017-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -87,35 +87,42 @@ extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
89
  - LICENSE.txt
90
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance.rb
91
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb
92
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb
93
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb
94
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb
95
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb
96
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb
97
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb
98
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb
99
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb
100
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb
101
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb
102
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_restart_policy.rb
103
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb
104
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb
105
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
106
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb
107
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb
108
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/operating_system_types.rb
109
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb
110
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb
111
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb
112
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb
113
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb
114
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb
115
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb
116
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/module_definition.rb
117
+ - lib/2017-08-01-preview/generated/azure_mgmt_container_instance/version.rb
90
118
  - lib/azure_mgmt_container_instance.rb
91
- - lib/generated/azure_mgmt_container_instance.rb
92
- - lib/generated/azure_mgmt_container_instance/container_groups.rb
93
- - lib/generated/azure_mgmt_container_instance/container_instance_management_client.rb
94
- - lib/generated/azure_mgmt_container_instance/container_logs.rb
95
- - lib/generated/azure_mgmt_container_instance/models/azure_file_volume.rb
96
- - lib/generated/azure_mgmt_container_instance/models/container.rb
97
- - lib/generated/azure_mgmt_container_instance/models/container_event.rb
98
- - lib/generated/azure_mgmt_container_instance/models/container_group.rb
99
- - lib/generated/azure_mgmt_container_instance/models/container_group_list_result.rb
100
- - lib/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb
101
- - lib/generated/azure_mgmt_container_instance/models/container_port.rb
102
- - lib/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb
103
- - lib/generated/azure_mgmt_container_instance/models/container_restart_policy.rb
104
- - lib/generated/azure_mgmt_container_instance/models/container_state.rb
105
- - lib/generated/azure_mgmt_container_instance/models/environment_variable.rb
106
- - lib/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
107
- - lib/generated/azure_mgmt_container_instance/models/ip_address.rb
108
- - lib/generated/azure_mgmt_container_instance/models/logs.rb
109
- - lib/generated/azure_mgmt_container_instance/models/operating_system_types.rb
110
- - lib/generated/azure_mgmt_container_instance/models/port.rb
111
- - lib/generated/azure_mgmt_container_instance/models/resource.rb
112
- - lib/generated/azure_mgmt_container_instance/models/resource_limits.rb
113
- - lib/generated/azure_mgmt_container_instance/models/resource_requests.rb
114
- - lib/generated/azure_mgmt_container_instance/models/resource_requirements.rb
115
- - lib/generated/azure_mgmt_container_instance/models/volume.rb
116
- - lib/generated/azure_mgmt_container_instance/models/volume_mount.rb
117
- - lib/generated/azure_mgmt_container_instance/module_definition.rb
118
- - lib/generated/azure_mgmt_container_instance/version.rb
119
+ - lib/module_definition.rb
120
+ - lib/profiles/common/configurable.rb
121
+ - lib/profiles/common/default.rb
122
+ - lib/profiles/latest/containerinstance_latest_profile_client.rb
123
+ - lib/profiles/latest/containerinstance_module_definition.rb
124
+ - lib/profiles/latest/modules/containerinstance_profile_module.rb
125
+ - lib/version.rb
119
126
  homepage: https://aka.ms/azure-sdk-for-ruby
120
127
  licenses:
121
128
  - MIT
@@ -1,51 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator.
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- require 'uri'
7
- require 'cgi'
8
- require 'date'
9
- require 'json'
10
- require 'base64'
11
- require 'erb'
12
- require 'securerandom'
13
- require 'time'
14
- require 'timeliness'
15
- require 'faraday'
16
- require 'faraday-cookie_jar'
17
- require 'concurrent'
18
- require 'ms_rest'
19
- require 'generated/azure_mgmt_container_instance/module_definition'
20
- require 'ms_rest_azure'
21
-
22
- module Azure::ARM::ContainerInstance
23
- autoload :ContainerGroups, 'generated/azure_mgmt_container_instance/container_groups.rb'
24
- autoload :ContainerLogs, 'generated/azure_mgmt_container_instance/container_logs.rb'
25
- autoload :ContainerInstanceManagementClient, 'generated/azure_mgmt_container_instance/container_instance_management_client.rb'
26
-
27
- module Models
28
- autoload :Container, 'generated/azure_mgmt_container_instance/models/container.rb'
29
- autoload :AzureFileVolume, 'generated/azure_mgmt_container_instance/models/azure_file_volume.rb'
30
- autoload :EnvironmentVariable, 'generated/azure_mgmt_container_instance/models/environment_variable.rb'
31
- autoload :Volume, 'generated/azure_mgmt_container_instance/models/volume.rb'
32
- autoload :ContainerEvent, 'generated/azure_mgmt_container_instance/models/container_event.rb'
33
- autoload :ImageRegistryCredential, 'generated/azure_mgmt_container_instance/models/image_registry_credential.rb'
34
- autoload :ResourceRequests, 'generated/azure_mgmt_container_instance/models/resource_requests.rb'
35
- autoload :Port, 'generated/azure_mgmt_container_instance/models/port.rb'
36
- autoload :ResourceRequirements, 'generated/azure_mgmt_container_instance/models/resource_requirements.rb'
37
- autoload :IpAddress, 'generated/azure_mgmt_container_instance/models/ip_address.rb'
38
- autoload :ContainerPort, 'generated/azure_mgmt_container_instance/models/container_port.rb'
39
- autoload :ContainerState, 'generated/azure_mgmt_container_instance/models/container_state.rb'
40
- autoload :ResourceLimits, 'generated/azure_mgmt_container_instance/models/resource_limits.rb'
41
- autoload :ContainerGroupListResult, 'generated/azure_mgmt_container_instance/models/container_group_list_result.rb'
42
- autoload :ContainerPropertiesInstanceView, 'generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb'
43
- autoload :Logs, 'generated/azure_mgmt_container_instance/models/logs.rb'
44
- autoload :VolumeMount, 'generated/azure_mgmt_container_instance/models/volume_mount.rb'
45
- autoload :Resource, 'generated/azure_mgmt_container_instance/models/resource.rb'
46
- autoload :ContainerGroup, 'generated/azure_mgmt_container_instance/models/container_group.rb'
47
- autoload :ContainerRestartPolicy, 'generated/azure_mgmt_container_instance/models/container_restart_policy.rb'
48
- autoload :ContainerGroupNetworkProtocol, 'generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb'
49
- autoload :OperatingSystemTypes, 'generated/azure_mgmt_container_instance/models/operating_system_types.rb'
50
- end
51
- end