Class: Azure::ServiceFabric::V6_3_0_9::Models::ContainerCodePackageProperties
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::ContainerCodePackageProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb
Overview
Describes a container and its runtime properties.
Instance Attribute Summary collapse
-
#commands ⇒ Array<String>
in exec form.
-
#diagnostics ⇒ DiagnosticsRef
Reference to sinks in DiagnosticsDescription.
-
#endpoints ⇒ Array<EndpointProperties>
container.
-
#entrypoint ⇒ String
Override for the default entry point in the container.
-
#environment_variables ⇒ Array<EnvironmentVariable>
in this container.
-
#image ⇒ String
The Container image to use.
-
#image_registry_credential ⇒ ImageRegistryCredential
Image registry credential.
-
#instance_view ⇒ ContainerInstanceView
instance.
-
#labels ⇒ Array<ContainerLabel>
The labels to set in this container.
-
#name ⇒ String
The name of the code package.
-
#resources ⇒ ResourceRequirements
requirements for a container or a service.
-
#settings ⇒ Array<Setting>
setting file path can be fetched from environment variable “Fabric_SettingPath”.
-
#volume_refs ⇒ Array<ContainerVolume>
container.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContainerCodePackageProperties class as Ruby Hash.
Instance Attribute Details
#commands ⇒ Array<String>
in exec form.
29 30 31 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 29 def commands @commands end |
#diagnostics ⇒ DiagnosticsRef
Returns Reference to sinks in DiagnosticsDescription.
61 62 63 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 61 def diagnostics @diagnostics end |
#endpoints ⇒ Array<EndpointProperties>
container.
46 47 48 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 46 def endpoints @endpoints end |
#entrypoint ⇒ String
Returns Override for the default entry point in the container.
25 26 27 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 25 def entrypoint @entrypoint end |
#environment_variables ⇒ Array<EnvironmentVariable>
in this container
33 34 35 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 33 def environment_variables @environment_variables end |
#image ⇒ String
Returns The Container image to use.
19 20 21 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 19 def image @image end |
#image_registry_credential ⇒ ImageRegistryCredential
Returns Image registry credential.
22 23 24 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 22 def image_registry_credential @image_registry_credential end |
#instance_view ⇒ ContainerInstanceView
instance.
58 59 60 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 58 def instance_view @instance_view end |
#labels ⇒ Array<ContainerLabel>
Returns The labels to set in this container.
42 43 44 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 42 def labels @labels end |
#name ⇒ String
Returns The name of the code package.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 16 def name @name end |
#resources ⇒ ResourceRequirements
requirements for a container or a service.
50 51 52 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 50 def resources @resources end |
#settings ⇒ Array<Setting>
setting file path can be fetched from environment variable “Fabric_SettingPath”. The path for Windows container is “C:\secrets”. The path for Linux container is “/var/secrets”.
39 40 41 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 39 def settings @settings end |
#volume_refs ⇒ Array<ContainerVolume>
container.
54 55 56 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 54 def volume_refs @volume_refs end |
Class Method Details
.mapper ⇒ Object
Mapper for ContainerCodePackageProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/container_code_package_properties.rb', line 68 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerCodePackageProperties', type: { name: 'Composite', class_name: 'ContainerCodePackageProperties', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, image: { client_side_validation: true, required: true, serialized_name: 'image', type: { name: 'String' } }, image_registry_credential: { client_side_validation: true, required: false, serialized_name: 'imageRegistryCredential', type: { name: 'Composite', class_name: 'ImageRegistryCredential' } }, entrypoint: { client_side_validation: true, required: false, serialized_name: 'entrypoint', type: { name: 'String' } }, commands: { client_side_validation: true, required: false, serialized_name: 'commands', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, environment_variables: { client_side_validation: true, required: false, serialized_name: 'environmentVariables', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { name: 'Composite', class_name: 'EnvironmentVariable' } } } }, settings: { client_side_validation: true, required: false, serialized_name: 'settings', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SettingElementType', type: { name: 'Composite', class_name: 'Setting' } } } }, labels: { client_side_validation: true, required: false, serialized_name: 'labels', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ContainerLabelElementType', type: { name: 'Composite', class_name: 'ContainerLabel' } } } }, endpoints: { client_side_validation: true, required: false, serialized_name: 'endpoints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EndpointPropertiesElementType', type: { name: 'Composite', class_name: 'EndpointProperties' } } } }, resources: { client_side_validation: true, required: true, serialized_name: 'resources', type: { name: 'Composite', class_name: 'ResourceRequirements' } }, volume_refs: { client_side_validation: true, required: false, serialized_name: 'volumeRefs', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ContainerVolumeElementType', type: { name: 'Composite', class_name: 'ContainerVolume' } } } }, instance_view: { client_side_validation: true, required: false, read_only: true, serialized_name: 'instanceView', type: { name: 'Composite', class_name: 'ContainerInstanceView' } }, diagnostics: { client_side_validation: true, required: false, serialized_name: 'diagnostics', type: { name: 'Composite', class_name: 'DiagnosticsRef' } } } } } end |