Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::WebActivityAuthentication
- Inherits:
-
Object
- Object
- Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::WebActivityAuthentication
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb
Overview
Web activity authentication properties.
Instance Attribute Summary collapse
-
#password ⇒ SecureString
authentication.
-
#pfx ⇒ SecureString
Base64-encoded contents of a PFX file.
-
#resource ⇒ String
when using MSI Authentication.
-
#type ⇒ String
(Basic/ClientCertificate/MSI).
-
#username ⇒ String
authentication.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WebActivityAuthentication class as Ruby Hash.
Instance Attribute Details
#password ⇒ SecureString
authentication.
28 29 30 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb', line 28 def password @password end |
#pfx ⇒ SecureString
Returns Base64-encoded contents of a PFX file.
20 21 22 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb', line 20 def pfx @pfx end |
#resource ⇒ String
when using MSI Authentication.
32 33 34 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb', line 32 def resource @resource end |
#type ⇒ String
(Basic/ClientCertificate/MSI)
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb', line 17 def type @type end |
#username ⇒ String
authentication.
24 25 26 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb', line 24 def username @username end |
Class Method Details
.mapper ⇒ Object
Mapper for WebActivityAuthentication class as Ruby Hash. This will be used for serialization/deserialization.
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 87 88 89 90 91 92 93 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WebActivityAuthentication', type: { name: 'Composite', class_name: 'WebActivityAuthentication', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, pfx: { client_side_validation: true, required: false, serialized_name: 'pfx', type: { name: 'Composite', class_name: 'SecureString' } }, username: { client_side_validation: true, required: false, serialized_name: 'username', type: { name: 'String' } }, password: { client_side_validation: true, required: false, serialized_name: 'password', type: { name: 'Composite', class_name: 'SecureString' } }, resource: { client_side_validation: true, required: false, serialized_name: 'resource', type: { name: 'String' } } } } } end |