Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::WebClientCertificateAuthentication
- Inherits:
-
WebLinkedServiceTypeProperties
- Object
- WebLinkedServiceTypeProperties
- Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::WebClientCertificateAuthentication
- 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
-
#authenticationType ⇒ Object
Returns the value of attribute authenticationType.
-
#password ⇒ SecretBase
Password for the PFX file.
-
#pfx ⇒ SecretBase
Base64-encoded contents of a PFX file.
Attributes inherited from WebLinkedServiceTypeProperties
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WebClientCertificateAuthentication class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ WebClientCertificateAuthentication
constructor
A new instance of WebClientCertificateAuthentication.
Constructor Details
#initialize ⇒ WebClientCertificateAuthentication
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
#authenticationType ⇒ Object
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 |
#password ⇒ SecretBase
Returns Password for the PFX file.
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 |
#pfx ⇒ SecretBase
Returns 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
.mapper ⇒ Object
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 |