azure_mgmt_container_instance 0.17.6 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  3. data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  4. data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  5. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  6. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  7. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  8. data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  9. data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  10. data/lib/2019-12-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  11. data/lib/2020-11-01/generated/azure_mgmt_container_instance.rb +92 -0
  12. data/lib/2020-11-01/generated/azure_mgmt_container_instance/container_groups.rb +1404 -0
  13. data/lib/2020-11-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
  14. data/lib/2020-11-01/generated/azure_mgmt_container_instance/containers.rb +375 -0
  15. data/lib/2020-11-01/generated/azure_mgmt_container_instance/location.rb +552 -0
  16. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
  17. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/cached_images.rb +57 -0
  18. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/cached_images_list_result.rb +98 -0
  19. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities.rb +108 -0
  20. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities_capabilities.rb +71 -0
  21. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities_list_result.rb +98 -0
  22. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
  23. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_attach_response.rb +59 -0
  24. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
  25. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
  26. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
  27. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
  28. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group.rb +314 -0
  29. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
  30. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb +102 -0
  31. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb +61 -0
  32. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
  33. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
  34. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
  35. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
  36. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
  37. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
  38. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_sku.rb +16 -0
  39. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +80 -0
  40. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
  41. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
  42. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
  43. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
  44. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
  45. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_state.rb +99 -0
  46. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb +77 -0
  47. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/encryption_properties.rb +68 -0
  48. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
  49. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/event.rb +107 -0
  50. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
  51. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb +58 -0
  52. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb +17 -0
  53. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/http_headers.rb +57 -0
  54. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
  55. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/init_container_definition.rb +133 -0
  56. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb +96 -0
  57. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/ip_address.rb +102 -0
  58. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +108 -0
  59. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
  60. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
  61. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
  62. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation.rb +81 -0
  63. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
  64. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +99 -0
  65. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
  66. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
  67. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb +18 -0
  68. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +69 -0
  69. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +69 -0
  70. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
  71. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/scheme.rb +16 -0
  72. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
  73. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
  74. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
  75. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
  76. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
  77. data/lib/2020-11-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
  78. data/lib/2020-11-01/generated/azure_mgmt_container_instance/operations.rb +219 -0
  79. data/lib/azure_mgmt_container_instance.rb +6 -5
  80. data/lib/profiles/latest/modules/containerinstance_profile_module.rb +149 -141
  81. data/lib/version.rb +1 -1
  82. metadata +71 -3
@@ -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::V2020_11_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,133 @@
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 init container definition.
10
+ #
11
+ class InitContainerDefinition
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name for the init container.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The image of the init container.
19
+ attr_accessor :image
20
+
21
+ # @return [Array<String>] The command to execute within the init
22
+ # container in exec form.
23
+ attr_accessor :command
24
+
25
+ # @return [Array<EnvironmentVariable>] The environment variables to set
26
+ # in the init container.
27
+ attr_accessor :environment_variables
28
+
29
+ # @return [InitContainerPropertiesDefinitionInstanceView] The instance
30
+ # view of the init container. Only valid in response.
31
+ attr_accessor :instance_view
32
+
33
+ # @return [Array<VolumeMount>] The volume mounts available to the init
34
+ # container.
35
+ attr_accessor :volume_mounts
36
+
37
+
38
+ #
39
+ # Mapper for InitContainerDefinition class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'InitContainerDefinition',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'InitContainerDefinition',
50
+ model_properties: {
51
+ name: {
52
+ client_side_validation: true,
53
+ required: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ image: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'properties.image',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ command: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'properties.command',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'StringElementType',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ }
81
+ }
82
+ },
83
+ environment_variables: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'properties.environmentVariables',
87
+ type: {
88
+ name: 'Sequence',
89
+ element: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'EnvironmentVariableElementType',
93
+ type: {
94
+ name: 'Composite',
95
+ class_name: 'EnvironmentVariable'
96
+ }
97
+ }
98
+ }
99
+ },
100
+ instance_view: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ read_only: true,
104
+ serialized_name: 'properties.instanceView',
105
+ type: {
106
+ name: 'Composite',
107
+ class_name: 'InitContainerPropertiesDefinitionInstanceView'
108
+ }
109
+ },
110
+ volume_mounts: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ serialized_name: 'properties.volumeMounts',
114
+ type: {
115
+ name: 'Sequence',
116
+ element: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'VolumeMountElementType',
120
+ type: {
121
+ name: 'Composite',
122
+ class_name: 'VolumeMount'
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ }
130
+ end
131
+ end
132
+ end
133
+ end
@@ -0,0 +1,96 @@
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 instance view of the init container. Only valid in response.
10
+ #
11
+ class InitContainerPropertiesDefinitionInstanceView
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The number of times that the init container has been
16
+ # restarted.
17
+ attr_accessor :restart_count
18
+
19
+ # @return [ContainerState] The current state of the init container.
20
+ attr_accessor :current_state
21
+
22
+ # @return [ContainerState] The previous state of the init container.
23
+ attr_accessor :previous_state
24
+
25
+ # @return [Array<Event>] The events of the init container.
26
+ attr_accessor :events
27
+
28
+
29
+ #
30
+ # Mapper for InitContainerPropertiesDefinitionInstanceView class as Ruby
31
+ # Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'InitContainerPropertiesDefinition_instanceView',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'InitContainerPropertiesDefinitionInstanceView',
42
+ model_properties: {
43
+ restart_count: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'restartCount',
48
+ type: {
49
+ name: 'Number'
50
+ }
51
+ },
52
+ current_state: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'currentState',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'ContainerState'
60
+ }
61
+ },
62
+ previous_state: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'previousState',
67
+ type: {
68
+ name: 'Composite',
69
+ class_name: 'ContainerState'
70
+ }
71
+ },
72
+ events: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'events',
77
+ type: {
78
+ name: 'Sequence',
79
+ element: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'EventElementType',
83
+ type: {
84
+ name: 'Composite',
85
+ class_name: 'Event'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ end
94
+ end
95
+ end
96
+ end
@@ -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::V2020_11_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 [ContainerGroupIpAddressType] Specifies if the IP is exposed to
19
+ # the public internet or private VNET. Possible values include: 'Public',
20
+ # 'Private'
21
+ attr_accessor :type
22
+
23
+ # @return [String] The IP exposed to the public internet.
24
+ attr_accessor :ip
25
+
26
+ # @return [String] The Dns name label for the IP.
27
+ attr_accessor :dns_name_label
28
+
29
+ # @return [String] The FQDN for the IP.
30
+ attr_accessor :fqdn
31
+
32
+
33
+ #
34
+ # Mapper for IpAddress class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'IpAddress',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'IpAddress',
45
+ model_properties: {
46
+ ports: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'ports',
50
+ type: {
51
+ name: 'Sequence',
52
+ element: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'PortElementType',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'Port'
59
+ }
60
+ }
61
+ }
62
+ },
63
+ type: {
64
+ client_side_validation: true,
65
+ required: true,
66
+ serialized_name: 'type',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ ip: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'ip',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ dns_name_label: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'dnsNameLabel',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ fqdn: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ read_only: true,
91
+ serialized_name: 'fqdn',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ end
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,108 @@
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
+ # Container group log analytics information.
10
+ #
11
+ class LogAnalytics
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The workspace id for log analytics
16
+ attr_accessor :workspace_id
17
+
18
+ # @return [String] The workspace key for log analytics
19
+ attr_accessor :workspace_key
20
+
21
+ # @return [LogAnalyticsLogType] The log type to be used. Possible values
22
+ # include: 'ContainerInsights', 'ContainerInstanceLogs'
23
+ attr_accessor :log_type
24
+
25
+ # @return [Hash{String => String}] Metadata for log analytics.
26
+ attr_accessor :metadata
27
+
28
+ # @return [Hash{String => String}] The workspace resource id for log
29
+ # analytics
30
+ attr_accessor :workspace_resource_id
31
+
32
+
33
+ #
34
+ # Mapper for LogAnalytics class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'LogAnalytics',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'LogAnalytics',
45
+ model_properties: {
46
+ workspace_id: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'workspaceId',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ workspace_key: {
55
+ client_side_validation: true,
56
+ required: true,
57
+ serialized_name: 'workspaceKey',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ log_type: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'logType',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ metadata: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'metadata',
74
+ type: {
75
+ name: 'Dictionary',
76
+ value: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'StringElementType',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ },
86
+ workspace_resource_id: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'workspaceResourceId',
90
+ type: {
91
+ name: 'Dictionary',
92
+ value: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'StringElementType',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+ end
106
+ end
107
+ end
108
+ end