Sha256: 467ffc6ccec9ddcd8de65caa25f4ddb9aab2f7bb7781972485cb3dbc9cd8a505

Contents?: true

Size: 1.83 KB

Versions: 2

Compression:

Stored size: 1.83 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Batch::Mgmt::V2019_04_01
  module Models
    #
    # A private container registry.
    #
    #
    class ContainerRegistry

      include MsRestAzure

      # @return [String] The registry URL. If omitted, the default is
      # "docker.io".
      attr_accessor :registry_server

      # @return [String] The user name to log into the registry server.
      attr_accessor :user_name

      # @return [String] The password to log into the registry server.
      attr_accessor :password


      #
      # Mapper for ContainerRegistry class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ContainerRegistry',
          type: {
            name: 'Composite',
            class_name: 'ContainerRegistry',
            model_properties: {
              registry_server: {
                client_side_validation: true,
                required: false,
                serialized_name: 'registryServer',
                type: {
                  name: 'String'
                }
              },
              user_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'username',
                type: {
                  name: 'String'
                }
              },
              password: {
                client_side_validation: true,
                required: true,
                serialized_name: 'password',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2019-04-01/generated/azure_mgmt_batch/models/container_registry.rb
azure_mgmt_batch-0.18.0 lib/2019-04-01/generated/azure_mgmt_batch/models/container_registry.rb