Class: Azure::BatchAI::Mgmt::V2018_03_01::Models::ImageSourceRegistry
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2018_03_01::Models::ImageSourceRegistry
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-01/generated/azure_mgmt_batchai/models/image_source_registry.rb
Overview
Details of the container image such as name, URL and credentials.
Instance Attribute Summary collapse
-
#credentials ⇒ PrivateRegistryCredentials
Docker repository.
-
#image ⇒ String
The name of the image in image repository.
-
#server_url ⇒ String
URL for image repository.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ImageSourceRegistry class as Ruby Hash.
Instance Attribute Details
#credentials ⇒ PrivateRegistryCredentials
Docker repository.
23 24 25 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/image_source_registry.rb', line 23 def credentials @credentials end |
#image ⇒ String
Returns The name of the image in image repository.
19 20 21 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/image_source_registry.rb', line 19 def image @image end |
#server_url ⇒ String
Returns URL for image repository.
16 17 18 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/image_source_registry.rb', line 16 def server_url @server_url end |
Class Method Details
.mapper ⇒ Object
Mapper for ImageSourceRegistry class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/2018-03-01/generated/azure_mgmt_batchai/models/image_source_registry.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageSourceRegistry', type: { name: 'Composite', class_name: 'ImageSourceRegistry', model_properties: { server_url: { client_side_validation: true, required: false, serialized_name: 'serverUrl', type: { name: 'String' } }, image: { client_side_validation: true, required: true, serialized_name: 'image', type: { name: 'String' } }, credentials: { client_side_validation: true, required: false, serialized_name: 'credentials', type: { name: 'Composite', class_name: 'PrivateRegistryCredentials' } } } } } end |