azure_mgmt_container_instance 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-08-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_instance_management_client.rb +1 -1
- data/lib/2017-12-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_instance_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb +221 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-09-01/generated/azure_mgmt_container_instance.rb +74 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_group_usage.rb +113 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_groups.rb +1205 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_operations.rb +258 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group.rb +242 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +68 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_state.rb +94 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/event.rb +101 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/ip_address.rb +101 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +88 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb +70 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +67 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +57 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +57 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/operations.rb +107 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_group_usage.rb +113 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_groups.rb +1205 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +149 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_operations.rb +258 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group.rb +268 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb +102 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +68 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_state.rb +94 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb +77 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/event.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb +58 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb +17 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/ip_address.rb +102 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +88 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation.rb +70 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +67 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +69 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +69 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/operations.rb +107 -0
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/service_association_link.rb +119 -0
- data/lib/azure_mgmt_container_instance.rb +2 -0
- data/lib/profiles/latest/modules/containerinstance_profile_module.rb +139 -101
- data/lib/version.rb +1 -1
- metadata +109 -2
@@ -0,0 +1,192 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A container instance.
|
10
|
+
#
|
11
|
+
class Container
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The user-provided name of the container instance.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The name of the image used to create the container
|
19
|
+
# instance.
|
20
|
+
attr_accessor :image
|
21
|
+
|
22
|
+
# @return [Array<String>] The commands to execute within the container
|
23
|
+
# instance in exec form.
|
24
|
+
attr_accessor :command
|
25
|
+
|
26
|
+
# @return [Array<ContainerPort>] The exposed ports on the container
|
27
|
+
# instance.
|
28
|
+
attr_accessor :ports
|
29
|
+
|
30
|
+
# @return [Array<EnvironmentVariable>] The environment variables to set
|
31
|
+
# in the container instance.
|
32
|
+
attr_accessor :environment_variables
|
33
|
+
|
34
|
+
# @return [ContainerPropertiesInstanceView] The instance view of the
|
35
|
+
# container instance. Only valid in response.
|
36
|
+
attr_accessor :instance_view
|
37
|
+
|
38
|
+
# @return [ResourceRequirements] The resource requirements of the
|
39
|
+
# container instance.
|
40
|
+
attr_accessor :resources
|
41
|
+
|
42
|
+
# @return [Array<VolumeMount>] The volume mounts available to the
|
43
|
+
# container instance.
|
44
|
+
attr_accessor :volume_mounts
|
45
|
+
|
46
|
+
# @return [ContainerProbe] The liveness probe.
|
47
|
+
attr_accessor :liveness_probe
|
48
|
+
|
49
|
+
# @return [ContainerProbe] The readiness probe.
|
50
|
+
attr_accessor :readiness_probe
|
51
|
+
|
52
|
+
|
53
|
+
#
|
54
|
+
# Mapper for Container class as Ruby Hash.
|
55
|
+
# This will be used for serialization/deserialization.
|
56
|
+
#
|
57
|
+
def self.mapper()
|
58
|
+
{
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'Container',
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'Container',
|
65
|
+
model_properties: {
|
66
|
+
name: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: true,
|
69
|
+
serialized_name: 'name',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
image: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: true,
|
77
|
+
serialized_name: 'properties.image',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
command: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'properties.command',
|
86
|
+
type: {
|
87
|
+
name: 'Sequence',
|
88
|
+
element: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'StringElementType',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
},
|
98
|
+
ports: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'properties.ports',
|
102
|
+
type: {
|
103
|
+
name: 'Sequence',
|
104
|
+
element: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
serialized_name: 'ContainerPortElementType',
|
108
|
+
type: {
|
109
|
+
name: 'Composite',
|
110
|
+
class_name: 'ContainerPort'
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
},
|
115
|
+
environment_variables: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'properties.environmentVariables',
|
119
|
+
type: {
|
120
|
+
name: 'Sequence',
|
121
|
+
element: {
|
122
|
+
client_side_validation: true,
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'EnvironmentVariableElementType',
|
125
|
+
type: {
|
126
|
+
name: 'Composite',
|
127
|
+
class_name: 'EnvironmentVariable'
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
},
|
132
|
+
instance_view: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
read_only: true,
|
136
|
+
serialized_name: 'properties.instanceView',
|
137
|
+
type: {
|
138
|
+
name: 'Composite',
|
139
|
+
class_name: 'ContainerPropertiesInstanceView'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
resources: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: true,
|
145
|
+
serialized_name: 'properties.resources',
|
146
|
+
type: {
|
147
|
+
name: 'Composite',
|
148
|
+
class_name: 'ResourceRequirements'
|
149
|
+
}
|
150
|
+
},
|
151
|
+
volume_mounts: {
|
152
|
+
client_side_validation: true,
|
153
|
+
required: false,
|
154
|
+
serialized_name: 'properties.volumeMounts',
|
155
|
+
type: {
|
156
|
+
name: 'Sequence',
|
157
|
+
element: {
|
158
|
+
client_side_validation: true,
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'VolumeMountElementType',
|
161
|
+
type: {
|
162
|
+
name: 'Composite',
|
163
|
+
class_name: 'VolumeMount'
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
},
|
168
|
+
liveness_probe: {
|
169
|
+
client_side_validation: true,
|
170
|
+
required: false,
|
171
|
+
serialized_name: 'properties.livenessProbe',
|
172
|
+
type: {
|
173
|
+
name: 'Composite',
|
174
|
+
class_name: 'ContainerProbe'
|
175
|
+
}
|
176
|
+
},
|
177
|
+
readiness_probe: {
|
178
|
+
client_side_validation: true,
|
179
|
+
required: false,
|
180
|
+
serialized_name: 'properties.readinessProbe',
|
181
|
+
type: {
|
182
|
+
name: 'Composite',
|
183
|
+
class_name: 'ContainerProbe'
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
@@ -0,0 +1,54 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The container execution command, for liveness or readiness probe
|
10
|
+
#
|
11
|
+
class ContainerExec
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<String>] The commands to execute within the container.
|
16
|
+
attr_accessor :command
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ContainerExec class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ContainerExec',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ContainerExec',
|
31
|
+
model_properties: {
|
32
|
+
command: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'command',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'StringElementType',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,58 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The container exec request.
|
10
|
+
#
|
11
|
+
class ContainerExecRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The command to be executed.
|
16
|
+
attr_accessor :command
|
17
|
+
|
18
|
+
# @return [ContainerExecRequestTerminalSize] The size of the terminal.
|
19
|
+
attr_accessor :terminal_size
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ContainerExecRequest class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'ContainerExecRequest',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ContainerExecRequest',
|
34
|
+
model_properties: {
|
35
|
+
command: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'command',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
terminal_size: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'terminalSize',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'ContainerExecRequestTerminalSize'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The size of the terminal.
|
10
|
+
#
|
11
|
+
class ContainerExecRequestTerminalSize
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The row size of the terminal
|
16
|
+
attr_accessor :rows
|
17
|
+
|
18
|
+
# @return [Integer] The column size of the terminal
|
19
|
+
attr_accessor :cols
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ContainerExecRequestTerminalSize class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'ContainerExecRequest_terminalSize',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ContainerExecRequestTerminalSize',
|
34
|
+
model_properties: {
|
35
|
+
rows: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'rows',
|
39
|
+
type: {
|
40
|
+
name: 'Number'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
cols: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'cols',
|
47
|
+
type: {
|
48
|
+
name: 'Number'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The information for the container exec command.
|
10
|
+
#
|
11
|
+
class ContainerExecResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The uri for the exec websocket.
|
16
|
+
attr_accessor :web_socket_uri
|
17
|
+
|
18
|
+
# @return [String] The password to start the exec command.
|
19
|
+
attr_accessor :password
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ContainerExecResponse class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'ContainerExecResponse',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ContainerExecResponse',
|
34
|
+
model_properties: {
|
35
|
+
web_socket_uri: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'webSocketUri',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
password: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'password',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,242 @@
|
|
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::V2018_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A container group.
|
10
|
+
#
|
11
|
+
class ContainerGroup < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The provisioning state of the container group. This
|
16
|
+
# only appears in the response.
|
17
|
+
attr_accessor :provisioning_state
|
18
|
+
|
19
|
+
# @return [Array<Container>] The containers within the container group.
|
20
|
+
attr_accessor :containers
|
21
|
+
|
22
|
+
# @return [Array<ImageRegistryCredential>] The image registry credentials
|
23
|
+
# by which the container group is created from.
|
24
|
+
attr_accessor :image_registry_credentials
|
25
|
+
|
26
|
+
# @return [ContainerGroupRestartPolicy] Restart policy for all containers
|
27
|
+
# within the container group.
|
28
|
+
# - `Always` Always restart
|
29
|
+
# - `OnFailure` Restart on failure
|
30
|
+
# - `Never` Never restart
|
31
|
+
# . Possible values include: 'Always', 'OnFailure', 'Never'
|
32
|
+
attr_accessor :restart_policy
|
33
|
+
|
34
|
+
# @return [IpAddress] The IP address type of the container group.
|
35
|
+
attr_accessor :ip_address
|
36
|
+
|
37
|
+
# @return [OperatingSystemTypes] The operating system type required by
|
38
|
+
# the containers in the container group. Possible values include:
|
39
|
+
# 'Windows', 'Linux'
|
40
|
+
attr_accessor :os_type
|
41
|
+
|
42
|
+
# @return [Array<Volume>] The list of volumes that can be mounted by
|
43
|
+
# containers in this container group.
|
44
|
+
attr_accessor :volumes
|
45
|
+
|
46
|
+
# @return [ContainerGroupPropertiesInstanceView] The instance view of the
|
47
|
+
# container group. Only valid in response.
|
48
|
+
attr_accessor :instance_view
|
49
|
+
|
50
|
+
# @return [ContainerGroupDiagnostics] The diagnostic information for a
|
51
|
+
# container group.
|
52
|
+
attr_accessor :diagnostics
|
53
|
+
|
54
|
+
# @return [ContainerGroupNetworkProfile] The network profile information
|
55
|
+
# for a container group.
|
56
|
+
attr_accessor :network_profile
|
57
|
+
|
58
|
+
|
59
|
+
#
|
60
|
+
# Mapper for ContainerGroup class as Ruby Hash.
|
61
|
+
# This will be used for serialization/deserialization.
|
62
|
+
#
|
63
|
+
def self.mapper()
|
64
|
+
{
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'ContainerGroup',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'ContainerGroup',
|
71
|
+
model_properties: {
|
72
|
+
id: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
read_only: true,
|
76
|
+
serialized_name: 'id',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
name: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
read_only: true,
|
85
|
+
serialized_name: 'name',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
type: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
read_only: true,
|
94
|
+
serialized_name: 'type',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
location: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'location',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
tags: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'tags',
|
111
|
+
type: {
|
112
|
+
name: 'Dictionary',
|
113
|
+
value: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'StringElementType',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
},
|
123
|
+
provisioning_state: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'properties.provisioningState',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
containers: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
serialized_name: 'properties.containers',
|
136
|
+
type: {
|
137
|
+
name: 'Sequence',
|
138
|
+
element: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
serialized_name: 'ContainerElementType',
|
142
|
+
type: {
|
143
|
+
name: 'Composite',
|
144
|
+
class_name: 'Container'
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
},
|
149
|
+
image_registry_credentials: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'properties.imageRegistryCredentials',
|
153
|
+
type: {
|
154
|
+
name: 'Sequence',
|
155
|
+
element: {
|
156
|
+
client_side_validation: true,
|
157
|
+
required: false,
|
158
|
+
serialized_name: 'ImageRegistryCredentialElementType',
|
159
|
+
type: {
|
160
|
+
name: 'Composite',
|
161
|
+
class_name: 'ImageRegistryCredential'
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
},
|
166
|
+
restart_policy: {
|
167
|
+
client_side_validation: true,
|
168
|
+
required: false,
|
169
|
+
serialized_name: 'properties.restartPolicy',
|
170
|
+
type: {
|
171
|
+
name: 'String'
|
172
|
+
}
|
173
|
+
},
|
174
|
+
ip_address: {
|
175
|
+
client_side_validation: true,
|
176
|
+
required: false,
|
177
|
+
serialized_name: 'properties.ipAddress',
|
178
|
+
type: {
|
179
|
+
name: 'Composite',
|
180
|
+
class_name: 'IpAddress'
|
181
|
+
}
|
182
|
+
},
|
183
|
+
os_type: {
|
184
|
+
client_side_validation: true,
|
185
|
+
required: false,
|
186
|
+
serialized_name: 'properties.osType',
|
187
|
+
type: {
|
188
|
+
name: 'String'
|
189
|
+
}
|
190
|
+
},
|
191
|
+
volumes: {
|
192
|
+
client_side_validation: true,
|
193
|
+
required: false,
|
194
|
+
serialized_name: 'properties.volumes',
|
195
|
+
type: {
|
196
|
+
name: 'Sequence',
|
197
|
+
element: {
|
198
|
+
client_side_validation: true,
|
199
|
+
required: false,
|
200
|
+
serialized_name: 'VolumeElementType',
|
201
|
+
type: {
|
202
|
+
name: 'Composite',
|
203
|
+
class_name: 'Volume'
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
},
|
208
|
+
instance_view: {
|
209
|
+
client_side_validation: true,
|
210
|
+
required: false,
|
211
|
+
read_only: true,
|
212
|
+
serialized_name: 'properties.instanceView',
|
213
|
+
type: {
|
214
|
+
name: 'Composite',
|
215
|
+
class_name: 'ContainerGroupPropertiesInstanceView'
|
216
|
+
}
|
217
|
+
},
|
218
|
+
diagnostics: {
|
219
|
+
client_side_validation: true,
|
220
|
+
required: false,
|
221
|
+
serialized_name: 'properties.diagnostics',
|
222
|
+
type: {
|
223
|
+
name: 'Composite',
|
224
|
+
class_name: 'ContainerGroupDiagnostics'
|
225
|
+
}
|
226
|
+
},
|
227
|
+
network_profile: {
|
228
|
+
client_side_validation: true,
|
229
|
+
required: false,
|
230
|
+
serialized_name: 'properties.networkProfile',
|
231
|
+
type: {
|
232
|
+
name: 'Composite',
|
233
|
+
class_name: 'ContainerGroupNetworkProfile'
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
end
|
240
|
+
end
|
241
|
+
end
|
242
|
+
end
|