Sha256: 3b2812e156a65bf77dd7dcf8b6d4d7476dbbc6b3785b54335fe8e12caf16ba04

Contents?: true

Size: 1.84 KB

Versions: 10

Compression:

Stored size: 1.84 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::ContainerInstance::Mgmt::V2017_08_01_preview
  module Models
    #
    # Image registry credential.
    #
    class ImageRegistryCredential

      include MsRestAzure

      # @return [String] The Docker image registry server without a protocol
      # such as "http" and "https".
      attr_accessor :server

      # @return [String] The username for the private registry.
      attr_accessor :username

      # @return [String] The password for the private registry.
      attr_accessor :password


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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_container_instance-0.18.0 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
azure_mgmt_container_instance-0.17.6 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
azure_mgmt_container_instance-0.17.5 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
azure_mgmt_container_instance-0.17.4 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
azure_mgmt_container_instance-0.17.3 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
azure_mgmt_container_instance-0.17.2 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
azure_mgmt_container_instance-0.17.1 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
azure_mgmt_container_instance-0.17.0 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
azure_mgmt_container_instance-0.16.0 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb
azure_mgmt_container_instance-0.15.2 lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb