azure_mgmt_container_instance 0.17.5 → 0.17.6
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_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,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::V2019_12_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::V2019_12_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::V2019_12_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::V2019_12_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::V2019_12_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,314 @@
|
|
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
|
+
# A container group.
|
10
|
+
#
|
11
|
+
class ContainerGroup < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ContainerGroupIdentity] The identity of the container group,
|
16
|
+
# if configured.
|
17
|
+
attr_accessor :identity
|
18
|
+
|
19
|
+
# @return [String] The provisioning state of the container group. This
|
20
|
+
# only appears in the response.
|
21
|
+
attr_accessor :provisioning_state
|
22
|
+
|
23
|
+
# @return [Array<Container>] The containers within the container group.
|
24
|
+
attr_accessor :containers
|
25
|
+
|
26
|
+
# @return [Array<ImageRegistryCredential>] The image registry credentials
|
27
|
+
# by which the container group is created from.
|
28
|
+
attr_accessor :image_registry_credentials
|
29
|
+
|
30
|
+
# @return [ContainerGroupRestartPolicy] Restart policy for all containers
|
31
|
+
# within the container group.
|
32
|
+
# - `Always` Always restart
|
33
|
+
# - `OnFailure` Restart on failure
|
34
|
+
# - `Never` Never restart
|
35
|
+
# . Possible values include: 'Always', 'OnFailure', 'Never'
|
36
|
+
attr_accessor :restart_policy
|
37
|
+
|
38
|
+
# @return [IpAddress] The IP address type of the container group.
|
39
|
+
attr_accessor :ip_address
|
40
|
+
|
41
|
+
# @return [OperatingSystemTypes] The operating system type required by
|
42
|
+
# the containers in the container group. Possible values include:
|
43
|
+
# 'Windows', 'Linux'
|
44
|
+
attr_accessor :os_type
|
45
|
+
|
46
|
+
# @return [Array<Volume>] The list of volumes that can be mounted by
|
47
|
+
# containers in this container group.
|
48
|
+
attr_accessor :volumes
|
49
|
+
|
50
|
+
# @return [ContainerGroupPropertiesInstanceView] The instance view of the
|
51
|
+
# container group. Only valid in response.
|
52
|
+
attr_accessor :instance_view
|
53
|
+
|
54
|
+
# @return [ContainerGroupDiagnostics] The diagnostic information for a
|
55
|
+
# container group.
|
56
|
+
attr_accessor :diagnostics
|
57
|
+
|
58
|
+
# @return [ContainerGroupNetworkProfile] The network profile information
|
59
|
+
# for a container group.
|
60
|
+
attr_accessor :network_profile
|
61
|
+
|
62
|
+
# @return [DnsConfiguration] The DNS config information for a container
|
63
|
+
# group.
|
64
|
+
attr_accessor :dns_config
|
65
|
+
|
66
|
+
# @return [ContainerGroupSku] The SKU for a container group. Possible
|
67
|
+
# values include: 'Standard', 'Dedicated'
|
68
|
+
attr_accessor :sku
|
69
|
+
|
70
|
+
# @return [EncryptionProperties] The encryption properties for a
|
71
|
+
# container group.
|
72
|
+
attr_accessor :encryption_properties
|
73
|
+
|
74
|
+
# @return [Array<InitContainerDefinition>] The init containers for a
|
75
|
+
# container group.
|
76
|
+
attr_accessor :init_containers
|
77
|
+
|
78
|
+
|
79
|
+
#
|
80
|
+
# Mapper for ContainerGroup class as Ruby Hash.
|
81
|
+
# This will be used for serialization/deserialization.
|
82
|
+
#
|
83
|
+
def self.mapper()
|
84
|
+
{
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'ContainerGroup',
|
88
|
+
type: {
|
89
|
+
name: 'Composite',
|
90
|
+
class_name: 'ContainerGroup',
|
91
|
+
model_properties: {
|
92
|
+
id: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
read_only: true,
|
96
|
+
serialized_name: 'id',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
name: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
read_only: true,
|
105
|
+
serialized_name: 'name',
|
106
|
+
type: {
|
107
|
+
name: 'String'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
type: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
read_only: true,
|
114
|
+
serialized_name: 'type',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
location: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
serialized_name: 'location',
|
123
|
+
type: {
|
124
|
+
name: 'String'
|
125
|
+
}
|
126
|
+
},
|
127
|
+
tags: {
|
128
|
+
client_side_validation: true,
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'tags',
|
131
|
+
type: {
|
132
|
+
name: 'Dictionary',
|
133
|
+
value: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'StringElementType',
|
137
|
+
type: {
|
138
|
+
name: 'String'
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
},
|
143
|
+
identity: {
|
144
|
+
client_side_validation: true,
|
145
|
+
required: false,
|
146
|
+
serialized_name: 'identity',
|
147
|
+
type: {
|
148
|
+
name: 'Composite',
|
149
|
+
class_name: 'ContainerGroupIdentity'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
provisioning_state: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
read_only: true,
|
156
|
+
serialized_name: 'properties.provisioningState',
|
157
|
+
type: {
|
158
|
+
name: 'String'
|
159
|
+
}
|
160
|
+
},
|
161
|
+
containers: {
|
162
|
+
client_side_validation: true,
|
163
|
+
required: false,
|
164
|
+
serialized_name: 'properties.containers',
|
165
|
+
type: {
|
166
|
+
name: 'Sequence',
|
167
|
+
element: {
|
168
|
+
client_side_validation: true,
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'ContainerElementType',
|
171
|
+
type: {
|
172
|
+
name: 'Composite',
|
173
|
+
class_name: 'Container'
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
},
|
178
|
+
image_registry_credentials: {
|
179
|
+
client_side_validation: true,
|
180
|
+
required: false,
|
181
|
+
serialized_name: 'properties.imageRegistryCredentials',
|
182
|
+
type: {
|
183
|
+
name: 'Sequence',
|
184
|
+
element: {
|
185
|
+
client_side_validation: true,
|
186
|
+
required: false,
|
187
|
+
serialized_name: 'ImageRegistryCredentialElementType',
|
188
|
+
type: {
|
189
|
+
name: 'Composite',
|
190
|
+
class_name: 'ImageRegistryCredential'
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
},
|
195
|
+
restart_policy: {
|
196
|
+
client_side_validation: true,
|
197
|
+
required: false,
|
198
|
+
serialized_name: 'properties.restartPolicy',
|
199
|
+
type: {
|
200
|
+
name: 'String'
|
201
|
+
}
|
202
|
+
},
|
203
|
+
ip_address: {
|
204
|
+
client_side_validation: true,
|
205
|
+
required: false,
|
206
|
+
serialized_name: 'properties.ipAddress',
|
207
|
+
type: {
|
208
|
+
name: 'Composite',
|
209
|
+
class_name: 'IpAddress'
|
210
|
+
}
|
211
|
+
},
|
212
|
+
os_type: {
|
213
|
+
client_side_validation: true,
|
214
|
+
required: false,
|
215
|
+
serialized_name: 'properties.osType',
|
216
|
+
type: {
|
217
|
+
name: 'String'
|
218
|
+
}
|
219
|
+
},
|
220
|
+
volumes: {
|
221
|
+
client_side_validation: true,
|
222
|
+
required: false,
|
223
|
+
serialized_name: 'properties.volumes',
|
224
|
+
type: {
|
225
|
+
name: 'Sequence',
|
226
|
+
element: {
|
227
|
+
client_side_validation: true,
|
228
|
+
required: false,
|
229
|
+
serialized_name: 'VolumeElementType',
|
230
|
+
type: {
|
231
|
+
name: 'Composite',
|
232
|
+
class_name: 'Volume'
|
233
|
+
}
|
234
|
+
}
|
235
|
+
}
|
236
|
+
},
|
237
|
+
instance_view: {
|
238
|
+
client_side_validation: true,
|
239
|
+
required: false,
|
240
|
+
read_only: true,
|
241
|
+
serialized_name: 'properties.instanceView',
|
242
|
+
type: {
|
243
|
+
name: 'Composite',
|
244
|
+
class_name: 'ContainerGroupPropertiesInstanceView'
|
245
|
+
}
|
246
|
+
},
|
247
|
+
diagnostics: {
|
248
|
+
client_side_validation: true,
|
249
|
+
required: false,
|
250
|
+
serialized_name: 'properties.diagnostics',
|
251
|
+
type: {
|
252
|
+
name: 'Composite',
|
253
|
+
class_name: 'ContainerGroupDiagnostics'
|
254
|
+
}
|
255
|
+
},
|
256
|
+
network_profile: {
|
257
|
+
client_side_validation: true,
|
258
|
+
required: false,
|
259
|
+
serialized_name: 'properties.networkProfile',
|
260
|
+
type: {
|
261
|
+
name: 'Composite',
|
262
|
+
class_name: 'ContainerGroupNetworkProfile'
|
263
|
+
}
|
264
|
+
},
|
265
|
+
dns_config: {
|
266
|
+
client_side_validation: true,
|
267
|
+
required: false,
|
268
|
+
serialized_name: 'properties.dnsConfig',
|
269
|
+
type: {
|
270
|
+
name: 'Composite',
|
271
|
+
class_name: 'DnsConfiguration'
|
272
|
+
}
|
273
|
+
},
|
274
|
+
sku: {
|
275
|
+
client_side_validation: true,
|
276
|
+
required: false,
|
277
|
+
serialized_name: 'properties.sku',
|
278
|
+
type: {
|
279
|
+
name: 'String'
|
280
|
+
}
|
281
|
+
},
|
282
|
+
encryption_properties: {
|
283
|
+
client_side_validation: true,
|
284
|
+
required: false,
|
285
|
+
serialized_name: 'properties.encryptionProperties',
|
286
|
+
type: {
|
287
|
+
name: 'Composite',
|
288
|
+
class_name: 'EncryptionProperties'
|
289
|
+
}
|
290
|
+
},
|
291
|
+
init_containers: {
|
292
|
+
client_side_validation: true,
|
293
|
+
required: false,
|
294
|
+
serialized_name: 'properties.initContainers',
|
295
|
+
type: {
|
296
|
+
name: 'Sequence',
|
297
|
+
element: {
|
298
|
+
client_side_validation: true,
|
299
|
+
required: false,
|
300
|
+
serialized_name: 'InitContainerDefinitionElementType',
|
301
|
+
type: {
|
302
|
+
name: 'Composite',
|
303
|
+
class_name: 'InitContainerDefinition'
|
304
|
+
}
|
305
|
+
}
|
306
|
+
}
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
}
|
311
|
+
end
|
312
|
+
end
|
313
|
+
end
|
314
|
+
end
|