azure_mgmt_container_instance 0.17.6 → 0.18.0
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_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_instance_management_client.rb +1 -1
- data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
- data/lib/2020-11-01/generated/azure_mgmt_container_instance.rb +92 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/container_groups.rb +1404 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/containers.rb +375 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/location.rb +552 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/cached_images.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/cached_images_list_result.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities.rb +108 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities_capabilities.rb +71 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities_list_result.rb +98 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_attach_response.rb +59 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group.rb +314 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb +102 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_sku.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +80 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_state.rb +99 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb +77 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/encryption_properties.rb +68 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/event.rb +107 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb +17 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/http_headers.rb +57 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/init_container_definition.rb +133 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb +96 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/ip_address.rb +102 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +108 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation.rb +81 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +99 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb +18 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +69 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/scheme.rb +16 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
- data/lib/2020-11-01/generated/azure_mgmt_container_instance/operations.rb +219 -0
- data/lib/azure_mgmt_container_instance.rb +6 -5
- data/lib/profiles/latest/modules/containerinstance_profile_module.rb +149 -141
- data/lib/version.rb +1 -1
- metadata +71 -3
@@ -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::V2020_11_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
|
data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_attach_response.rb
ADDED
@@ -0,0 +1,59 @@
|
|
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::V2020_11_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The information for the output stream from container attach.
|
10
|
+
#
|
11
|
+
class ContainerAttachResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The uri for the output stream from the attach.
|
16
|
+
attr_accessor :web_socket_uri
|
17
|
+
|
18
|
+
# @return [String] The password to the output stream from the attach.
|
19
|
+
# Send as an Authorization header value when connecting to the
|
20
|
+
# websocketUri.
|
21
|
+
attr_accessor :password
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ContainerAttachResponse class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'ContainerAttachResponse',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ContainerAttachResponse',
|
36
|
+
model_properties: {
|
37
|
+
web_socket_uri: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'webSocketUri',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
password: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'password',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
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::V2020_11_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::V2020_11_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::V2020_11_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::V2020_11_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
|