Class: Azure::ContainerInstance::Mgmt::V2018_04_01::Models::ContainerGroup
- Inherits:
-
Resource
- Object
- Resource
- Azure::ContainerInstance::Mgmt::V2018_04_01::Models::ContainerGroup
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb
Overview
A container group.
Instance Attribute Summary collapse
-
#containers ⇒ Array<Container>
The containers within the container group.
-
#image_registry_credentials ⇒ Array<ImageRegistryCredential>
by which the container group is created from.
-
#instance_view ⇒ ContainerGroupPropertiesInstanceView
container group.
-
#ip_address ⇒ IpAddress
The IP address type of the container group.
-
#os_type ⇒ OperatingSystemTypes
the containers in the container group.
-
#provisioning_state ⇒ String
only appears in the response.
-
#restart_policy ⇒ ContainerGroupRestartPolicy
within the container group.
-
#volumes ⇒ Array<Volume>
containers in this container group.
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContainerGroup class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#containers ⇒ Array<Container>
Returns The containers within the container group.
20 21 22 |
# File 'lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb', line 20 def containers @containers end |
#image_registry_credentials ⇒ Array<ImageRegistryCredential>
by which the container group is created from.
24 25 26 |
# File 'lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb', line 24 def image_registry_credentials @image_registry_credentials end |
#instance_view ⇒ ContainerGroupPropertiesInstanceView
container group. Only valid in response.
48 49 50 |
# File 'lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb', line 48 def instance_view @instance_view end |
#ip_address ⇒ IpAddress
Returns The IP address type of the container group.
35 36 37 |
# File 'lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb', line 35 def ip_address @ip_address end |
#os_type ⇒ OperatingSystemTypes
the containers in the container group. Possible values include: ‘Windows’, ‘Linux’
40 41 42 |
# File 'lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb', line 40 def os_type @os_type end |
#provisioning_state ⇒ String
only appears in the response.
17 18 19 |
# File 'lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb', line 17 def provisioning_state @provisioning_state end |
#restart_policy ⇒ ContainerGroupRestartPolicy
within the container group.
-
‘Always` Always restart
-
‘OnFailure` Restart on failure
-
‘Never` Never restart
. Possible values include: ‘Always’, ‘OnFailure’, ‘Never’
32 33 34 |
# File 'lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb', line 32 def restart_policy @restart_policy end |
#volumes ⇒ Array<Volume>
containers in this container group.
44 45 46 |
# File 'lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb', line 44 def volumes @volumes end |
Class Method Details
.mapper ⇒ Object
Mapper for ContainerGroup class as Ruby Hash. This will be used for serialization/deserialization.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
# File 'lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb', line 55 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { name: 'Composite', class_name: 'ContainerGroup', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, containers: { client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { name: 'Composite', class_name: 'Container' } } } }, image_registry_credentials: { client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { name: 'Composite', class_name: 'ImageRegistryCredential' } } } }, restart_policy: { client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { name: 'String' } }, ip_address: { client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { name: 'Composite', class_name: 'IpAddress' } }, os_type: { client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { name: 'String' } }, volumes: { client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { name: 'Composite', class_name: 'Volume' } } } }, instance_view: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', type: { name: 'Composite', class_name: 'ContainerGroupPropertiesInstanceView' } } } } } end |