Class: Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryCredentials

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_credentials.rb

Overview

Describes the credential parameters for accessing the source registry.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#login_modeSourceRegistryLoginMode

determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run. Possible values include: ‘None’, ‘Default’

Returns:



22
23
24
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_credentials.rb', line 22

def 
  @login_mode
end

Class Method Details

.mapperObject

Mapper for SourceRegistryCredentials class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_credentials.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SourceRegistryCredentials',
    type: {
      name: 'Composite',
      class_name: 'SourceRegistryCredentials',
      model_properties: {
        login_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'loginMode',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end