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
data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb
ADDED
@@ -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::V2019_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Container group diagnostic information.
|
10
|
+
#
|
11
|
+
class ContainerGroupDiagnostics
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [LogAnalytics] Container group log analytics information.
|
16
|
+
attr_accessor :log_analytics
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ContainerGroupDiagnostics 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: 'ContainerGroupDiagnostics',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ContainerGroupDiagnostics',
|
31
|
+
model_properties: {
|
32
|
+
log_analytics: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'logAnalytics',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'LogAnalytics'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb
ADDED
@@ -0,0 +1,102 @@
|
|
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
|
+
# Identity for the container group.
|
10
|
+
#
|
11
|
+
class ContainerGroupIdentity
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The principal id of the container group identity. This
|
16
|
+
# property will only be provided for a system assigned identity.
|
17
|
+
attr_accessor :principal_id
|
18
|
+
|
19
|
+
# @return [String] The tenant id associated with the container group.
|
20
|
+
# This property will only be provided for a system assigned identity.
|
21
|
+
attr_accessor :tenant_id
|
22
|
+
|
23
|
+
# @return [ResourceIdentityType] The type of identity used for the
|
24
|
+
# container group. The type 'SystemAssigned, UserAssigned' includes both
|
25
|
+
# an implicitly created identity and a set of user assigned identities.
|
26
|
+
# The type 'None' will remove any identities from the container group.
|
27
|
+
# Possible values include: 'SystemAssigned', 'UserAssigned',
|
28
|
+
# 'SystemAssigned, UserAssigned', 'None'
|
29
|
+
attr_accessor :type
|
30
|
+
|
31
|
+
# @return [Hash{String =>
|
32
|
+
# ContainerGroupIdentityUserAssignedIdentitiesValue}] The list of user
|
33
|
+
# identities associated with the container group. The user identity
|
34
|
+
# dictionary key references will be ARM resource ids in the form:
|
35
|
+
# '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
|
36
|
+
attr_accessor :user_assigned_identities
|
37
|
+
|
38
|
+
|
39
|
+
#
|
40
|
+
# Mapper for ContainerGroupIdentity class as Ruby Hash.
|
41
|
+
# This will be used for serialization/deserialization.
|
42
|
+
#
|
43
|
+
def self.mapper()
|
44
|
+
{
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'ContainerGroupIdentity',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'ContainerGroupIdentity',
|
51
|
+
model_properties: {
|
52
|
+
principal_id: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'principalId',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
tenant_id: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
read_only: true,
|
65
|
+
serialized_name: 'tenantId',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
type: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'type',
|
74
|
+
type: {
|
75
|
+
name: 'Enum',
|
76
|
+
module: 'ResourceIdentityType'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
user_assigned_identities: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'userAssignedIdentities',
|
83
|
+
type: {
|
84
|
+
name: 'Dictionary',
|
85
|
+
value: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'ContainerGroupIdentityUserAssignedIdentitiesValueElementType',
|
89
|
+
type: {
|
90
|
+
name: 'Composite',
|
91
|
+
class_name: 'ContainerGroupIdentityUserAssignedIdentitiesValue'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,61 @@
|
|
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
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ContainerGroupIdentityUserAssignedIdentitiesValue
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The principal id of user assigned identity.
|
17
|
+
attr_accessor :principal_id
|
18
|
+
|
19
|
+
# @return [String] The client id of user assigned identity.
|
20
|
+
attr_accessor :client_id
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ContainerGroupIdentityUserAssignedIdentitiesValue class as
|
25
|
+
# 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: 'ContainerGroupIdentity_userAssignedIdentitiesValue',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ContainerGroupIdentityUserAssignedIdentitiesValue',
|
36
|
+
model_properties: {
|
37
|
+
principal_id: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
read_only: true,
|
41
|
+
serialized_name: 'principalId',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
client_id: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'clientId',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
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::V2019_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ContainerGroupIpAddressType
|
10
|
+
#
|
11
|
+
module ContainerGroupIpAddressType
|
12
|
+
Public = "Public"
|
13
|
+
Private = "Private"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb
ADDED
@@ -0,0 +1,99 @@
|
|
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 group list response that contains the container group
|
10
|
+
# properties.
|
11
|
+
#
|
12
|
+
class ContainerGroupListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<ContainerGroup>] The list of container groups.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The URI to fetch the next page of container groups.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<ContainerGroup>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [ContainerGroupListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for ContainerGroupListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'ContainerGroupListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'ContainerGroupListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'ContainerGroupElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'ContainerGroup'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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
|
+
# Container group network profile information.
|
10
|
+
#
|
11
|
+
class ContainerGroupNetworkProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The identifier for a network profile.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ContainerGroupNetworkProfile 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: 'ContainerGroupNetworkProfile',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ContainerGroupNetworkProfile',
|
31
|
+
model_properties: {
|
32
|
+
id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'id',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
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::V2019_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ContainerGroupNetworkProtocol
|
10
|
+
#
|
11
|
+
module ContainerGroupNetworkProtocol
|
12
|
+
TCP = "TCP"
|
13
|
+
UDP = "UDP"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -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::V2019_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The instance view of the container group. Only valid in response.
|
10
|
+
#
|
11
|
+
class ContainerGroupPropertiesInstanceView
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Event>] The events of this container group.
|
16
|
+
attr_accessor :events
|
17
|
+
|
18
|
+
# @return [String] The state of the container group. Only valid in
|
19
|
+
# response.
|
20
|
+
attr_accessor :state
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ContainerGroupPropertiesInstanceView class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'ContainerGroup_properties_instanceView',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'ContainerGroupPropertiesInstanceView',
|
35
|
+
model_properties: {
|
36
|
+
events: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
read_only: true,
|
40
|
+
serialized_name: 'events',
|
41
|
+
type: {
|
42
|
+
name: 'Sequence',
|
43
|
+
element: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'EventElementType',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'Event'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
},
|
54
|
+
state: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'state',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|