azure_mgmt_container_instance 0.17.5 → 0.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +14 -0
- data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +14 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
- data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb +2 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +14 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
- data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb +2 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +16 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb +2 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb +2 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_groups.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_logs.rb +2 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/operations.rb +2 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/start_container.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb +27 -7
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_operations.rb +4 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/operations.rb +2 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_groups.rb +20 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_operations.rb +4 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/operations.rb +2 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance.rb +26 -21
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_group_usage.rb +2 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_groups.rb +22 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +196 -1
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_operations.rb +4 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/cached_images.rb +68 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/cached_images_list_result.rb +66 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/capabilities.rb +108 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/capabilities_capabilities.rb +71 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/capabilities_list_result.rb +66 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation.rb +11 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/operations.rb +2 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/service_association_link.rb +2 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance.rb +90 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/container_groups.rb +1404 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/containers.rb +262 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/location.rb +552 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/cached_images.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/cached_images_list_result.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb +108 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities_capabilities.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities_list_result.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group.rb +314 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_sku.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_state.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb +77 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/encryption_properties.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/event.rb +107 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_definition.rb +133 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb +96 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/ip_address.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/operation.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/scheme.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/operations.rb +219 -0
- data/lib/azure_mgmt_container_instance.rb +4 -3
- data/lib/profiles/latest/modules/containerinstance_profile_module.rb +174 -136
- data/lib/version.rb +1 -1
- metadata +73 -2
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
module Azure::ContainerInstance::Mgmt::V2019_12_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The properties of the volume mount.
|
|
10
|
+
#
|
|
11
|
+
class VolumeMount
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] The name of the volume mount.
|
|
16
|
+
attr_accessor :name
|
|
17
|
+
|
|
18
|
+
# @return [String] The path within the container where the volume should
|
|
19
|
+
# be mounted. Must not contain colon (:).
|
|
20
|
+
attr_accessor :mount_path
|
|
21
|
+
|
|
22
|
+
# @return [Boolean] The flag indicating whether the volume mount is
|
|
23
|
+
# read-only.
|
|
24
|
+
attr_accessor :read_only
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
# Mapper for VolumeMount class as Ruby Hash.
|
|
29
|
+
# This will be used for serialization/deserialization.
|
|
30
|
+
#
|
|
31
|
+
def self.mapper()
|
|
32
|
+
{
|
|
33
|
+
client_side_validation: true,
|
|
34
|
+
required: false,
|
|
35
|
+
serialized_name: 'VolumeMount',
|
|
36
|
+
type: {
|
|
37
|
+
name: 'Composite',
|
|
38
|
+
class_name: 'VolumeMount',
|
|
39
|
+
model_properties: {
|
|
40
|
+
name: {
|
|
41
|
+
client_side_validation: true,
|
|
42
|
+
required: true,
|
|
43
|
+
serialized_name: 'name',
|
|
44
|
+
type: {
|
|
45
|
+
name: 'String'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
mount_path: {
|
|
49
|
+
client_side_validation: true,
|
|
50
|
+
required: true,
|
|
51
|
+
serialized_name: 'mountPath',
|
|
52
|
+
type: {
|
|
53
|
+
name: 'String'
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
read_only: {
|
|
57
|
+
client_side_validation: true,
|
|
58
|
+
required: false,
|
|
59
|
+
serialized_name: 'readOnly',
|
|
60
|
+
type: {
|
|
61
|
+
name: 'Boolean'
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
module Azure end
|
|
7
|
+
module Azure::ContainerInstance end
|
|
8
|
+
module Azure::ContainerInstance::Mgmt end
|
|
9
|
+
module Azure::ContainerInstance::Mgmt::V2019_12_01 end
|
|
@@ -0,0 +1,219 @@
|
|
|
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
|
+
module Azure::ContainerInstance::Mgmt::V2019_12_01
|
|
7
|
+
#
|
|
8
|
+
# Operations
|
|
9
|
+
#
|
|
10
|
+
class Operations
|
|
11
|
+
include MsRestAzure
|
|
12
|
+
|
|
13
|
+
#
|
|
14
|
+
# Creates and initializes a new instance of the Operations class.
|
|
15
|
+
# @param client service class for accessing basic functionality.
|
|
16
|
+
#
|
|
17
|
+
def initialize(client)
|
|
18
|
+
@client = client
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient
|
|
22
|
+
attr_reader :client
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
# List the operations for Azure Container Instance service.
|
|
26
|
+
#
|
|
27
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
28
|
+
# will be added to the HTTP request.
|
|
29
|
+
#
|
|
30
|
+
# @return [Array<Operation>] operation results.
|
|
31
|
+
#
|
|
32
|
+
def list(custom_headers:nil)
|
|
33
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
|
34
|
+
first_page.get_all_items
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
#
|
|
38
|
+
# List the operations for Azure Container Instance service.
|
|
39
|
+
#
|
|
40
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
41
|
+
# will be added to the HTTP request.
|
|
42
|
+
#
|
|
43
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
44
|
+
#
|
|
45
|
+
def list_with_http_info(custom_headers:nil)
|
|
46
|
+
list_async(custom_headers:custom_headers).value!
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
#
|
|
50
|
+
# List the operations for Azure Container Instance service.
|
|
51
|
+
#
|
|
52
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
53
|
+
# to the HTTP request.
|
|
54
|
+
#
|
|
55
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
56
|
+
#
|
|
57
|
+
def list_async(custom_headers:nil)
|
|
58
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
request_headers = {}
|
|
62
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
63
|
+
|
|
64
|
+
# Set Headers
|
|
65
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
66
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
67
|
+
path_template = 'providers/Microsoft.ContainerInstance/operations'
|
|
68
|
+
|
|
69
|
+
request_url = @base_url || @client.base_url
|
|
70
|
+
|
|
71
|
+
options = {
|
|
72
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
73
|
+
query_params: {'api-version' => @client.api_version},
|
|
74
|
+
headers: request_headers.merge(custom_headers || {}),
|
|
75
|
+
base_url: request_url
|
|
76
|
+
}
|
|
77
|
+
promise = @client.make_request_async(:get, path_template, options)
|
|
78
|
+
|
|
79
|
+
promise = promise.then do |result|
|
|
80
|
+
http_response = result.response
|
|
81
|
+
status_code = http_response.status
|
|
82
|
+
response_content = http_response.body
|
|
83
|
+
unless status_code == 200
|
|
84
|
+
error_model = JSON.load(response_content)
|
|
85
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
|
89
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
|
90
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
|
91
|
+
# Deserialize Response
|
|
92
|
+
if status_code == 200
|
|
93
|
+
begin
|
|
94
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
95
|
+
result_mapper = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::OperationListResult.mapper()
|
|
96
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
97
|
+
rescue Exception => e
|
|
98
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
result
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
promise.execute
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
#
|
|
109
|
+
# List the operations for Azure Container Instance service.
|
|
110
|
+
#
|
|
111
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
112
|
+
# to List operation.
|
|
113
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
114
|
+
# will be added to the HTTP request.
|
|
115
|
+
#
|
|
116
|
+
# @return [OperationListResult] operation results.
|
|
117
|
+
#
|
|
118
|
+
def list_next(next_page_link, custom_headers:nil)
|
|
119
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
|
120
|
+
response.body unless response.nil?
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
#
|
|
124
|
+
# List the operations for Azure Container Instance service.
|
|
125
|
+
#
|
|
126
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
127
|
+
# to List operation.
|
|
128
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
129
|
+
# will be added to the HTTP request.
|
|
130
|
+
#
|
|
131
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
|
132
|
+
#
|
|
133
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
|
134
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
#
|
|
138
|
+
# List the operations for Azure Container Instance service.
|
|
139
|
+
#
|
|
140
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
|
141
|
+
# to List operation.
|
|
142
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
|
143
|
+
# to the HTTP request.
|
|
144
|
+
#
|
|
145
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
|
146
|
+
#
|
|
147
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
|
148
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
request_headers = {}
|
|
152
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
|
153
|
+
|
|
154
|
+
# Set Headers
|
|
155
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
|
156
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
|
157
|
+
path_template = '{nextLink}'
|
|
158
|
+
|
|
159
|
+
request_url = @base_url || @client.base_url
|
|
160
|
+
|
|
161
|
+
options = {
|
|
162
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
|
163
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
|
164
|
+
headers: request_headers.merge(custom_headers || {}),
|
|
165
|
+
base_url: request_url
|
|
166
|
+
}
|
|
167
|
+
promise = @client.make_request_async(:get, path_template, options)
|
|
168
|
+
|
|
169
|
+
promise = promise.then do |result|
|
|
170
|
+
http_response = result.response
|
|
171
|
+
status_code = http_response.status
|
|
172
|
+
response_content = http_response.body
|
|
173
|
+
unless status_code == 200
|
|
174
|
+
error_model = JSON.load(response_content)
|
|
175
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
|
179
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
|
180
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
|
181
|
+
# Deserialize Response
|
|
182
|
+
if status_code == 200
|
|
183
|
+
begin
|
|
184
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
|
185
|
+
result_mapper = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::OperationListResult.mapper()
|
|
186
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
|
187
|
+
rescue Exception => e
|
|
188
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
result
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
promise.execute
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
#
|
|
199
|
+
# List the operations for Azure Container Instance service.
|
|
200
|
+
#
|
|
201
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
|
202
|
+
# will be added to the HTTP request.
|
|
203
|
+
#
|
|
204
|
+
# @return [OperationListResult] which provide lazy access to pages of the
|
|
205
|
+
# response.
|
|
206
|
+
#
|
|
207
|
+
def list_as_lazy(custom_headers:nil)
|
|
208
|
+
response = list_async(custom_headers:custom_headers).value!
|
|
209
|
+
unless response.nil?
|
|
210
|
+
page = response.body
|
|
211
|
+
page.next_method = Proc.new do |next_page_link|
|
|
212
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
|
213
|
+
end
|
|
214
|
+
page
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
end
|
|
219
|
+
end
|
|
@@ -2,12 +2,13 @@
|
|
|
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 '2018-09-01/generated/azure_mgmt_container_instance'
|
|
6
|
-
require '2017-08-01-preview/generated/azure_mgmt_container_instance'
|
|
7
5
|
require '2018-06-01/generated/azure_mgmt_container_instance'
|
|
6
|
+
require '2017-08-01-preview/generated/azure_mgmt_container_instance'
|
|
7
|
+
require '2018-09-01/generated/azure_mgmt_container_instance'
|
|
8
|
+
require '2018-02-01-preview/generated/azure_mgmt_container_instance'
|
|
8
9
|
require '2018-04-01/generated/azure_mgmt_container_instance'
|
|
9
10
|
require '2018-10-01/generated/azure_mgmt_container_instance'
|
|
11
|
+
require '2019-12-01/generated/azure_mgmt_container_instance'
|
|
10
12
|
require '2017-12-01-preview/generated/azure_mgmt_container_instance'
|
|
11
|
-
require '2018-02-01-preview/generated/azure_mgmt_container_instance'
|
|
12
13
|
require '2017-10-01-preview/generated/azure_mgmt_container_instance'
|
|
13
14
|
require 'profiles/latest/containerinstance_latest_profile_client'
|
|
@@ -6,69 +6,78 @@ require 'azure_mgmt_container_instance'
|
|
|
6
6
|
|
|
7
7
|
module Azure::ContainerInstance::Profiles::Latest
|
|
8
8
|
module Mgmt
|
|
9
|
-
ContainerGroups = Azure::ContainerInstance::Mgmt::
|
|
10
|
-
Operations = Azure::ContainerInstance::Mgmt::
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
ServiceAssociationLink = Azure::ContainerInstance::Mgmt::V2018_10_01::ServiceAssociationLink
|
|
9
|
+
ContainerGroups = Azure::ContainerInstance::Mgmt::V2019_12_01::ContainerGroups
|
|
10
|
+
Operations = Azure::ContainerInstance::Mgmt::V2019_12_01::Operations
|
|
11
|
+
Location = Azure::ContainerInstance::Mgmt::V2019_12_01::Location
|
|
12
|
+
Containers = Azure::ContainerInstance::Mgmt::V2019_12_01::Containers
|
|
14
13
|
|
|
15
14
|
module Models
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
ContainerExec = Azure::ContainerInstance::Mgmt::
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
15
|
+
ContainerGroupDiagnostics = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupDiagnostics
|
|
16
|
+
ContainerGroupNetworkProfile = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupNetworkProfile
|
|
17
|
+
EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::EnvironmentVariable
|
|
18
|
+
DnsConfiguration = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::DnsConfiguration
|
|
19
|
+
Event = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Event
|
|
20
|
+
EncryptionProperties = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::EncryptionProperties
|
|
21
|
+
GpuResource = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::GpuResource
|
|
22
|
+
InitContainerPropertiesDefinitionInstanceView = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::InitContainerPropertiesDefinitionInstanceView
|
|
23
|
+
ResourceLimits = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ResourceLimits
|
|
24
|
+
InitContainerDefinition = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::InitContainerDefinition
|
|
25
|
+
VolumeMount = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::VolumeMount
|
|
26
|
+
ContainerExec = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExec
|
|
27
|
+
ContainerProbe = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerProbe
|
|
28
|
+
OperationDisplay = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::OperationDisplay
|
|
29
|
+
AzureFileVolume = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::AzureFileVolume
|
|
30
|
+
Operation = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Operation
|
|
31
|
+
Volume = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Volume
|
|
32
|
+
OperationListResult = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::OperationListResult
|
|
33
|
+
ContainerGroupIdentity = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupIdentity
|
|
34
|
+
UsageName = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::UsageName
|
|
35
|
+
Port = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Port
|
|
36
|
+
Usage = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Usage
|
|
37
|
+
ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupPropertiesInstanceView
|
|
38
|
+
UsageListResult = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::UsageListResult
|
|
39
|
+
ContainerPort = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerPort
|
|
40
|
+
ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupListResult
|
|
41
|
+
ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerPropertiesInstanceView
|
|
42
|
+
Logs = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Logs
|
|
43
|
+
ResourceRequirements = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ResourceRequirements
|
|
44
|
+
ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExecRequestTerminalSize
|
|
45
|
+
Container = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Container
|
|
46
|
+
ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExecRequest
|
|
47
|
+
ContainerGroupIdentityUserAssignedIdentitiesValue = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupIdentityUserAssignedIdentitiesValue
|
|
48
|
+
ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExecResponse
|
|
49
|
+
IpAddress = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::IpAddress
|
|
50
|
+
Resource = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Resource
|
|
51
|
+
ContainerState = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerState
|
|
52
|
+
CachedImages = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::CachedImages
|
|
53
|
+
ContainerHttpGet = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerHttpGet
|
|
54
|
+
CachedImagesListResult = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::CachedImagesListResult
|
|
55
|
+
ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ImageRegistryCredential
|
|
56
|
+
CapabilitiesCapabilities = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::CapabilitiesCapabilities
|
|
57
|
+
ResourceRequests = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ResourceRequests
|
|
58
|
+
Capabilities = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Capabilities
|
|
59
|
+
LogAnalytics = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::LogAnalytics
|
|
60
|
+
CapabilitiesListResult = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::CapabilitiesListResult
|
|
61
|
+
GitRepoVolume = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::GitRepoVolume
|
|
62
|
+
ContainerGroup = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroup
|
|
63
|
+
ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerNetworkProtocol
|
|
64
|
+
GpuSku = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::GpuSku
|
|
65
|
+
Scheme = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Scheme
|
|
66
|
+
ResourceIdentityType = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ResourceIdentityType
|
|
67
|
+
ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupRestartPolicy
|
|
68
|
+
ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupNetworkProtocol
|
|
69
|
+
ContainerGroupIpAddressType = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupIpAddressType
|
|
70
|
+
OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::OperatingSystemTypes
|
|
71
|
+
LogAnalyticsLogType = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::LogAnalyticsLogType
|
|
72
|
+
ContainerGroupSku = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupSku
|
|
73
|
+
ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerInstanceOperationsOrigin
|
|
65
74
|
end
|
|
66
75
|
|
|
67
76
|
#
|
|
68
77
|
# ContainerInstanceManagementClass
|
|
69
78
|
#
|
|
70
79
|
class ContainerInstanceManagementClass
|
|
71
|
-
attr_reader :container_groups, :operations, :
|
|
80
|
+
attr_reader :container_groups, :operations, :location, :containers, :configurable, :base_url, :options, :model_classes
|
|
72
81
|
|
|
73
82
|
def initialize(options = {})
|
|
74
83
|
if options.is_a?(Hash) && options.length == 0
|
|
@@ -83,16 +92,15 @@ module Azure::ContainerInstance::Profiles::Latest
|
|
|
83
92
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
|
84
93
|
@options = options[:options].nil? ? nil:options[:options]
|
|
85
94
|
|
|
86
|
-
@client_0 = Azure::ContainerInstance::Mgmt::
|
|
95
|
+
@client_0 = Azure::ContainerInstance::Mgmt::V2019_12_01::ContainerInstanceManagementClient.new(configurable.credentials, base_url, options)
|
|
87
96
|
if(@client_0.respond_to?(:subscription_id))
|
|
88
97
|
@client_0.subscription_id = configurable.subscription_id
|
|
89
98
|
end
|
|
90
99
|
add_telemetry(@client_0)
|
|
91
100
|
@container_groups = @client_0.container_groups
|
|
92
101
|
@operations = @client_0.operations
|
|
93
|
-
@
|
|
94
|
-
@
|
|
95
|
-
@service_association_link = @client_0.service_association_link
|
|
102
|
+
@location = @client_0.location
|
|
103
|
+
@containers = @client_0.containers
|
|
96
104
|
|
|
97
105
|
@model_classes = ModelClasses.new
|
|
98
106
|
end
|
|
@@ -113,152 +121,182 @@ module Azure::ContainerInstance::Profiles::Latest
|
|
|
113
121
|
end
|
|
114
122
|
|
|
115
123
|
class ModelClasses
|
|
116
|
-
def
|
|
117
|
-
Azure::ContainerInstance::Mgmt::
|
|
124
|
+
def container_group_diagnostics
|
|
125
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupDiagnostics
|
|
118
126
|
end
|
|
119
|
-
def
|
|
120
|
-
Azure::ContainerInstance::Mgmt::
|
|
127
|
+
def container_group_network_profile
|
|
128
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupNetworkProfile
|
|
121
129
|
end
|
|
122
|
-
def
|
|
123
|
-
Azure::ContainerInstance::Mgmt::
|
|
130
|
+
def environment_variable
|
|
131
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::EnvironmentVariable
|
|
124
132
|
end
|
|
125
|
-
def
|
|
126
|
-
Azure::ContainerInstance::Mgmt::
|
|
133
|
+
def dns_configuration
|
|
134
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::DnsConfiguration
|
|
127
135
|
end
|
|
128
|
-
def
|
|
129
|
-
Azure::ContainerInstance::Mgmt::
|
|
136
|
+
def event
|
|
137
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Event
|
|
130
138
|
end
|
|
131
|
-
def
|
|
132
|
-
Azure::ContainerInstance::Mgmt::
|
|
139
|
+
def encryption_properties
|
|
140
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::EncryptionProperties
|
|
133
141
|
end
|
|
134
|
-
def
|
|
135
|
-
Azure::ContainerInstance::Mgmt::
|
|
142
|
+
def gpu_resource
|
|
143
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::GpuResource
|
|
136
144
|
end
|
|
137
|
-
def
|
|
138
|
-
Azure::ContainerInstance::Mgmt::
|
|
145
|
+
def init_container_properties_definition_instance_view
|
|
146
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::InitContainerPropertiesDefinitionInstanceView
|
|
139
147
|
end
|
|
140
|
-
def
|
|
141
|
-
Azure::ContainerInstance::Mgmt::
|
|
148
|
+
def resource_limits
|
|
149
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ResourceLimits
|
|
142
150
|
end
|
|
143
|
-
def
|
|
144
|
-
Azure::ContainerInstance::Mgmt::
|
|
151
|
+
def init_container_definition
|
|
152
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::InitContainerDefinition
|
|
145
153
|
end
|
|
146
|
-
def
|
|
147
|
-
Azure::ContainerInstance::Mgmt::
|
|
154
|
+
def volume_mount
|
|
155
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::VolumeMount
|
|
148
156
|
end
|
|
149
157
|
def container_exec
|
|
150
|
-
Azure::ContainerInstance::Mgmt::
|
|
151
|
-
end
|
|
152
|
-
def dns_configuration
|
|
153
|
-
Azure::ContainerInstance::Mgmt::V2018_10_01::Models::DnsConfiguration
|
|
158
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExec
|
|
154
159
|
end
|
|
155
160
|
def container_probe
|
|
156
|
-
Azure::ContainerInstance::Mgmt::
|
|
157
|
-
end
|
|
158
|
-
def container
|
|
159
|
-
Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Container
|
|
160
|
-
end
|
|
161
|
-
def git_repo_volume
|
|
162
|
-
Azure::ContainerInstance::Mgmt::V2018_10_01::Models::GitRepoVolume
|
|
161
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerProbe
|
|
163
162
|
end
|
|
164
163
|
def operation_display
|
|
165
|
-
Azure::ContainerInstance::Mgmt::
|
|
164
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::OperationDisplay
|
|
166
165
|
end
|
|
167
|
-
def
|
|
168
|
-
Azure::ContainerInstance::Mgmt::
|
|
166
|
+
def azure_file_volume
|
|
167
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::AzureFileVolume
|
|
169
168
|
end
|
|
170
169
|
def operation
|
|
171
|
-
Azure::ContainerInstance::Mgmt::
|
|
170
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Operation
|
|
172
171
|
end
|
|
173
|
-
def
|
|
174
|
-
Azure::ContainerInstance::Mgmt::
|
|
172
|
+
def volume
|
|
173
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Volume
|
|
175
174
|
end
|
|
176
175
|
def operation_list_result
|
|
177
|
-
Azure::ContainerInstance::Mgmt::
|
|
176
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::OperationListResult
|
|
178
177
|
end
|
|
179
|
-
def
|
|
180
|
-
Azure::ContainerInstance::Mgmt::
|
|
178
|
+
def container_group_identity
|
|
179
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupIdentity
|
|
181
180
|
end
|
|
182
181
|
def usage_name
|
|
183
|
-
Azure::ContainerInstance::Mgmt::
|
|
182
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::UsageName
|
|
184
183
|
end
|
|
185
|
-
def
|
|
186
|
-
Azure::ContainerInstance::Mgmt::
|
|
184
|
+
def port
|
|
185
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Port
|
|
187
186
|
end
|
|
188
187
|
def usage
|
|
189
|
-
Azure::ContainerInstance::Mgmt::
|
|
188
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Usage
|
|
190
189
|
end
|
|
191
|
-
def
|
|
192
|
-
Azure::ContainerInstance::Mgmt::
|
|
190
|
+
def container_group_properties_instance_view
|
|
191
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupPropertiesInstanceView
|
|
193
192
|
end
|
|
194
193
|
def usage_list_result
|
|
195
|
-
Azure::ContainerInstance::Mgmt::
|
|
194
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::UsageListResult
|
|
196
195
|
end
|
|
197
|
-
def
|
|
198
|
-
Azure::ContainerInstance::Mgmt::
|
|
196
|
+
def container_port
|
|
197
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerPort
|
|
199
198
|
end
|
|
200
199
|
def container_group_list_result
|
|
201
|
-
Azure::ContainerInstance::Mgmt::
|
|
200
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupListResult
|
|
202
201
|
end
|
|
203
|
-
def
|
|
204
|
-
Azure::ContainerInstance::Mgmt::
|
|
202
|
+
def container_properties_instance_view
|
|
203
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerPropertiesInstanceView
|
|
205
204
|
end
|
|
206
205
|
def logs
|
|
207
|
-
Azure::ContainerInstance::Mgmt::
|
|
206
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Logs
|
|
208
207
|
end
|
|
209
|
-
def
|
|
210
|
-
Azure::ContainerInstance::Mgmt::
|
|
208
|
+
def resource_requirements
|
|
209
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ResourceRequirements
|
|
211
210
|
end
|
|
212
211
|
def container_exec_request_terminal_size
|
|
213
|
-
Azure::ContainerInstance::Mgmt::
|
|
212
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExecRequestTerminalSize
|
|
214
213
|
end
|
|
215
|
-
def
|
|
216
|
-
Azure::ContainerInstance::Mgmt::
|
|
214
|
+
def container
|
|
215
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Container
|
|
217
216
|
end
|
|
218
217
|
def container_exec_request
|
|
219
|
-
Azure::ContainerInstance::Mgmt::
|
|
218
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExecRequest
|
|
220
219
|
end
|
|
221
|
-
def
|
|
222
|
-
Azure::ContainerInstance::Mgmt::
|
|
220
|
+
def container_group_identity_user_assigned_identities_value
|
|
221
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupIdentityUserAssignedIdentitiesValue
|
|
223
222
|
end
|
|
224
223
|
def container_exec_response
|
|
225
|
-
Azure::ContainerInstance::Mgmt::
|
|
224
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExecResponse
|
|
226
225
|
end
|
|
227
|
-
def
|
|
228
|
-
Azure::ContainerInstance::Mgmt::
|
|
226
|
+
def ip_address
|
|
227
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::IpAddress
|
|
229
228
|
end
|
|
230
229
|
def resource
|
|
231
|
-
Azure::ContainerInstance::Mgmt::
|
|
230
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Resource
|
|
231
|
+
end
|
|
232
|
+
def container_state
|
|
233
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerState
|
|
234
|
+
end
|
|
235
|
+
def cached_images
|
|
236
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::CachedImages
|
|
237
|
+
end
|
|
238
|
+
def container_http_get
|
|
239
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerHttpGet
|
|
240
|
+
end
|
|
241
|
+
def cached_images_list_result
|
|
242
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::CachedImagesListResult
|
|
243
|
+
end
|
|
244
|
+
def image_registry_credential
|
|
245
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ImageRegistryCredential
|
|
246
|
+
end
|
|
247
|
+
def capabilities_capabilities
|
|
248
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::CapabilitiesCapabilities
|
|
249
|
+
end
|
|
250
|
+
def resource_requests
|
|
251
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ResourceRequests
|
|
252
|
+
end
|
|
253
|
+
def capabilities
|
|
254
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Capabilities
|
|
255
|
+
end
|
|
256
|
+
def log_analytics
|
|
257
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::LogAnalytics
|
|
258
|
+
end
|
|
259
|
+
def capabilities_list_result
|
|
260
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::CapabilitiesListResult
|
|
261
|
+
end
|
|
262
|
+
def git_repo_volume
|
|
263
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::GitRepoVolume
|
|
232
264
|
end
|
|
233
265
|
def container_group
|
|
234
|
-
Azure::ContainerInstance::Mgmt::
|
|
266
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroup
|
|
235
267
|
end
|
|
236
268
|
def container_network_protocol
|
|
237
|
-
Azure::ContainerInstance::Mgmt::
|
|
269
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerNetworkProtocol
|
|
238
270
|
end
|
|
239
271
|
def gpu_sku
|
|
240
|
-
Azure::ContainerInstance::Mgmt::
|
|
272
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::GpuSku
|
|
273
|
+
end
|
|
274
|
+
def scheme
|
|
275
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Scheme
|
|
241
276
|
end
|
|
242
277
|
def resource_identity_type
|
|
243
|
-
Azure::ContainerInstance::Mgmt::
|
|
278
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ResourceIdentityType
|
|
244
279
|
end
|
|
245
280
|
def container_group_restart_policy
|
|
246
|
-
Azure::ContainerInstance::Mgmt::
|
|
281
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupRestartPolicy
|
|
247
282
|
end
|
|
248
283
|
def container_group_network_protocol
|
|
249
|
-
Azure::ContainerInstance::Mgmt::
|
|
284
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupNetworkProtocol
|
|
250
285
|
end
|
|
251
286
|
def container_group_ip_address_type
|
|
252
|
-
Azure::ContainerInstance::Mgmt::
|
|
287
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupIpAddressType
|
|
253
288
|
end
|
|
254
289
|
def operating_system_types
|
|
255
|
-
Azure::ContainerInstance::Mgmt::
|
|
290
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::OperatingSystemTypes
|
|
256
291
|
end
|
|
257
292
|
def log_analytics_log_type
|
|
258
|
-
Azure::ContainerInstance::Mgmt::
|
|
293
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::LogAnalyticsLogType
|
|
294
|
+
end
|
|
295
|
+
def container_group_sku
|
|
296
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerGroupSku
|
|
259
297
|
end
|
|
260
298
|
def container_instance_operations_origin
|
|
261
|
-
Azure::ContainerInstance::Mgmt::
|
|
299
|
+
Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerInstanceOperationsOrigin
|
|
262
300
|
end
|
|
263
301
|
end
|
|
264
302
|
end
|