Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::WebClientCertificateAuthentication

Inherits:
WebLinkedServiceTypeProperties show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_client_certificate_authentication.rb

Overview

A WebLinkedService that uses client certificate based authentication to communicate with an HTTP endpoint. This scheme follows mutual authentication; the server must also provide valid credentials to the client.

Instance Attribute Summary collapse

Attributes inherited from WebLinkedServiceTypeProperties

#url

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWebClientCertificateAuthentication

Returns a new instance of WebClientCertificateAuthentication.



19
20
21
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_client_certificate_authentication.rb', line 19

def initialize
  @authenticationType = "ClientCertificate"
end

Instance Attribute Details

#authenticationTypeObject

Returns the value of attribute authenticationType.



23
24
25
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_client_certificate_authentication.rb', line 23

def authenticationType
  @authenticationType
end

#passwordSecretBase

Returns Password for the PFX file.

Returns:



29
30
31
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_client_certificate_authentication.rb', line 29

def password
  @password
end

#pfxSecretBase

Returns Base64-encoded contents of a PFX file.

Returns:

  • (SecretBase)

    Base64-encoded contents of a PFX file.



26
27
28
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_client_certificate_authentication.rb', line 26

def pfx
  @pfx
end

Class Method Details

.mapperObject

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



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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_client_certificate_authentication.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ClientCertificate',
    type: {
      name: 'Composite',
      class_name: 'WebClientCertificateAuthentication',
      model_properties: {
        url: {
          client_side_validation: true,
          required: true,
          serialized_name: 'url',
          type: {
            name: 'Object'
          }
        },
        authenticationType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'authenticationType',
          type: {
            name: 'String'
          }
        },
        pfx: {
          client_side_validation: true,
          required: true,
          serialized_name: 'pfx',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        },
        password: {
          client_side_validation: true,
          required: true,
          serialized_name: 'password',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        }
      }
    }
  }
end