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,18 @@
|
|
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 ResourceIdentityType
|
10
|
+
#
|
11
|
+
module ResourceIdentityType
|
12
|
+
SystemAssigned = "SystemAssigned"
|
13
|
+
UserAssigned = "UserAssigned"
|
14
|
+
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
|
15
|
+
None = "None"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
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 resource limits.
|
10
|
+
#
|
11
|
+
class ResourceLimits
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Float] The memory limit in GB of this container instance.
|
16
|
+
attr_accessor :memory_in_gb
|
17
|
+
|
18
|
+
# @return [Float] The CPU limit of this container instance.
|
19
|
+
attr_accessor :cpu
|
20
|
+
|
21
|
+
# @return [GpuResource] The GPU limit of this container instance.
|
22
|
+
attr_accessor :gpu
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ResourceLimits class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ResourceLimits',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ResourceLimits',
|
37
|
+
model_properties: {
|
38
|
+
memory_in_gb: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'memoryInGB',
|
42
|
+
type: {
|
43
|
+
name: 'Double'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
cpu: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'cpu',
|
50
|
+
type: {
|
51
|
+
name: 'Double'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
gpu: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'gpu',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'GpuResource'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
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 resource requests.
|
10
|
+
#
|
11
|
+
class ResourceRequests
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Float] The memory request in GB of this container instance.
|
16
|
+
attr_accessor :memory_in_gb
|
17
|
+
|
18
|
+
# @return [Float] The CPU request of this container instance.
|
19
|
+
attr_accessor :cpu
|
20
|
+
|
21
|
+
# @return [GpuResource] The GPU request of this container instance.
|
22
|
+
attr_accessor :gpu
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ResourceRequests class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ResourceRequests',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ResourceRequests',
|
37
|
+
model_properties: {
|
38
|
+
memory_in_gb: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'memoryInGB',
|
42
|
+
type: {
|
43
|
+
name: 'Double'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
cpu: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'cpu',
|
50
|
+
type: {
|
51
|
+
name: 'Double'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
gpu: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'gpu',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'GpuResource'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
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
|
+
# The resource requirements.
|
10
|
+
#
|
11
|
+
class ResourceRequirements
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ResourceRequests] The resource requests of this container
|
16
|
+
# instance.
|
17
|
+
attr_accessor :requests
|
18
|
+
|
19
|
+
# @return [ResourceLimits] The resource limits of this container
|
20
|
+
# instance.
|
21
|
+
attr_accessor :limits
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ResourceRequirements 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: 'ResourceRequirements',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ResourceRequirements',
|
36
|
+
model_properties: {
|
37
|
+
requests: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'requests',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'ResourceRequests'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
limits: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'limits',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'ResourceLimits'
|
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 Scheme
|
10
|
+
#
|
11
|
+
module Scheme
|
12
|
+
Http = "http"
|
13
|
+
Https = "https"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,84 @@
|
|
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 single usage result
|
10
|
+
#
|
11
|
+
class Usage
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Unit of the usage result
|
16
|
+
attr_accessor :unit
|
17
|
+
|
18
|
+
# @return [Integer] The current usage of the resource
|
19
|
+
attr_accessor :current_value
|
20
|
+
|
21
|
+
# @return [Integer] The maximum permitted usage of the resource.
|
22
|
+
attr_accessor :limit
|
23
|
+
|
24
|
+
# @return [UsageName] The name object of the resource
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for Usage class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'Usage',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'Usage',
|
40
|
+
model_properties: {
|
41
|
+
unit: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'unit',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
current_value: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'currentValue',
|
55
|
+
type: {
|
56
|
+
name: 'Number'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
limit: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'limit',
|
64
|
+
type: {
|
65
|
+
name: 'Number'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
name: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'name',
|
73
|
+
type: {
|
74
|
+
name: 'Composite',
|
75
|
+
class_name: 'UsageName'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,56 @@
|
|
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 response containing the usage data
|
10
|
+
#
|
11
|
+
class UsageListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Usage>] The usage data.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for UsageListResult 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: 'UsageListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'UsageListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'UsageElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'Usage'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -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::V2019_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The name object of the resource
|
10
|
+
#
|
11
|
+
class UsageName
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the resource
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
# @return [String] The localized name of the resource
|
19
|
+
attr_accessor :localized_value
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for UsageName 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: 'Usage_name',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'UsageName',
|
34
|
+
model_properties: {
|
35
|
+
value: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'value',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
localized_value: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'localizedValue',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,100 @@
|
|
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 properties of the volume.
|
10
|
+
#
|
11
|
+
class Volume
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the volume.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [AzureFileVolume] The Azure File volume.
|
19
|
+
attr_accessor :azure_file
|
20
|
+
|
21
|
+
# @return The empty directory volume.
|
22
|
+
attr_accessor :empty_dir
|
23
|
+
|
24
|
+
# @return [Hash{String => String}] The secret volume.
|
25
|
+
attr_accessor :secret
|
26
|
+
|
27
|
+
# @return [GitRepoVolume] The git repo volume.
|
28
|
+
attr_accessor :git_repo
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for Volume class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'Volume',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'Volume',
|
43
|
+
model_properties: {
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: true,
|
47
|
+
serialized_name: 'name',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
azure_file: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'azureFile',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'AzureFileVolume'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
empty_dir: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'emptyDir',
|
65
|
+
type: {
|
66
|
+
name: 'Object'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
secret: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'secret',
|
73
|
+
type: {
|
74
|
+
name: 'Dictionary',
|
75
|
+
value: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'StringElementType',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
git_repo: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'gitRepo',
|
89
|
+
type: {
|
90
|
+
name: 'Composite',
|
91
|
+
class_name: 'GitRepoVolume'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|