azure_mgmt_container_instance 0.16.0 → 0.17.0
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 +7 -6
- data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +7 -6
- data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +7 -6
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance.rb +18 -14
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +120 -71
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +11 -6
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
- data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb +144 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_group_usage.rb +113 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_groups.rb +984 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +149 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_logs.rb +139 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container.rb +168 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb +216 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_state.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/event.rb +107 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/ip_address.rb +103 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/logs.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation.rb +72 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_display.rb +83 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/operations.rb +107 -0
- data/lib/2018-04-01/generated/azure_mgmt_container_instance/start_container.rb +144 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_group_usage.rb +113 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb +984 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_operations.rb +258 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group.rb +229 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_state.rb +94 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/event.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/ip_address.rb +103 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
- data/lib/2018-06-01/generated/azure_mgmt_container_instance/operations.rb +107 -0
- data/lib/azure_mgmt_container_instance.rb +3 -1
- data/lib/profiles/latest/modules/containerinstance_profile_module.rb +116 -84
- data/lib/version.rb +1 -1
- metadata +98 -4
@@ -0,0 +1,107 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A container group or container instance event.
|
10
|
+
#
|
11
|
+
class Event
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The count of the event.
|
16
|
+
attr_accessor :count
|
17
|
+
|
18
|
+
# @return [DateTime] The date-time of the earliest logged event.
|
19
|
+
attr_accessor :first_timestamp
|
20
|
+
|
21
|
+
# @return [DateTime] The date-time of the latest logged event.
|
22
|
+
attr_accessor :last_timestamp
|
23
|
+
|
24
|
+
# @return [String] The event name.
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
# @return [String] The event message.
|
28
|
+
attr_accessor :message
|
29
|
+
|
30
|
+
# @return [String] The event type.
|
31
|
+
attr_accessor :type
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for Event class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'Event',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'Event',
|
46
|
+
model_properties: {
|
47
|
+
count: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'count',
|
52
|
+
type: {
|
53
|
+
name: 'Number'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
first_timestamp: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'firstTimestamp',
|
61
|
+
type: {
|
62
|
+
name: 'DateTime'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
last_timestamp: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'lastTimestamp',
|
70
|
+
type: {
|
71
|
+
name: 'DateTime'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
name: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'name',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
message: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'message',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
type: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
read_only: true,
|
96
|
+
serialized_name: 'type',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
@@ -0,0 +1,72 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Represents a volume that is populated with the contents of a git
|
10
|
+
# repository
|
11
|
+
#
|
12
|
+
class GitRepoVolume
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Target directory name. Must not contain or start with
|
17
|
+
# '..'. If '.' is supplied, the volume directory will be the git
|
18
|
+
# repository. Otherwise, if specified, the volume will contain the git
|
19
|
+
# repository in the subdirectory with the given name.
|
20
|
+
attr_accessor :directory
|
21
|
+
|
22
|
+
# @return [String] Repository URL
|
23
|
+
attr_accessor :repository
|
24
|
+
|
25
|
+
# @return [String] Commit hash for the specified revision.
|
26
|
+
attr_accessor :revision
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for GitRepoVolume class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'GitRepoVolume',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'GitRepoVolume',
|
41
|
+
model_properties: {
|
42
|
+
directory: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'directory',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
repository: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'repository',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
revision: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'revision',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
data/lib/2018-04-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
ADDED
@@ -0,0 +1,69 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Image registry credential.
|
10
|
+
#
|
11
|
+
class ImageRegistryCredential
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The Docker image registry server without a protocol
|
16
|
+
# such as "http" and "https".
|
17
|
+
attr_accessor :server
|
18
|
+
|
19
|
+
# @return [String] The username for the private registry.
|
20
|
+
attr_accessor :username
|
21
|
+
|
22
|
+
# @return [String] The password for the private registry.
|
23
|
+
attr_accessor :password
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ImageRegistryCredential class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ImageRegistryCredential',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'ImageRegistryCredential',
|
38
|
+
model_properties: {
|
39
|
+
server: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: true,
|
42
|
+
serialized_name: 'server',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
username: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'username',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
password: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'password',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,103 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# IP address for the container group.
|
10
|
+
#
|
11
|
+
class IpAddress
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Port>] The list of ports exposed on the container group.
|
16
|
+
attr_accessor :ports
|
17
|
+
|
18
|
+
# @return [String] Specifies if the IP is exposed to the public internet.
|
19
|
+
# Default value: 'Public' .
|
20
|
+
attr_accessor :type
|
21
|
+
|
22
|
+
# @return [String] The IP exposed to the public internet.
|
23
|
+
attr_accessor :ip
|
24
|
+
|
25
|
+
# @return [String] The Dns name label for the IP.
|
26
|
+
attr_accessor :dns_name_label
|
27
|
+
|
28
|
+
# @return [String] The FQDN for the IP.
|
29
|
+
attr_accessor :fqdn
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for IpAddress class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'IpAddress',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'IpAddress',
|
44
|
+
model_properties: {
|
45
|
+
ports: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'ports',
|
49
|
+
type: {
|
50
|
+
name: 'Sequence',
|
51
|
+
element: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'PortElementType',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'Port'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
},
|
62
|
+
type: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: true,
|
65
|
+
is_constant: true,
|
66
|
+
serialized_name: 'type',
|
67
|
+
default_value: 'Public',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
ip: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'ip',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
dns_name_label: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'dnsNameLabel',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
fqdn: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
read_only: true,
|
92
|
+
serialized_name: 'fqdn',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The logs.
|
10
|
+
#
|
11
|
+
class Logs
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The content of the log.
|
16
|
+
attr_accessor :content
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for Logs 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: 'Logs',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'Logs',
|
31
|
+
model_properties: {
|
32
|
+
content: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'content',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for OperatingSystemTypes
|
10
|
+
#
|
11
|
+
module OperatingSystemTypes
|
12
|
+
Windows = "Windows"
|
13
|
+
Linux = "Linux"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,72 @@
|
|
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_04_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# An operation for Azure Container Instance service.
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the operation.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationDisplay] The display information of the operation.
|
19
|
+
attr_accessor :display
|
20
|
+
|
21
|
+
# @return [ContainerInstanceOperationsOrigin] The intended executor of
|
22
|
+
# the operation. Possible values include: 'User', 'System'
|
23
|
+
attr_accessor :origin
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for Operation class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'Operation',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'Operation',
|
38
|
+
model_properties: {
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
display: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'display',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'OperationDisplay'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
origin: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'origin',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|