Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::SecureString
- Inherits:
-
SecretBase
- Object
- SecretBase
- Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::SecureString
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/secure_string.rb
Overview
Azure Data Factory secure string definition. The string value will be masked with asterisks ‘*’ during Get or List API calls.
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ String
Value of secure string.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SecureString class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ SecureString
constructor
A new instance of SecureString.
Constructor Details
#initialize ⇒ SecureString
Returns a new instance of SecureString.
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/secure_string.rb', line 17 def initialize @type = "SecureString" end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/secure_string.rb', line 21 def type @type end |
#value ⇒ String
Returns Value of secure string.
24 25 26 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/secure_string.rb', line 24 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for SecureString class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/secure_string.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SecureString', type: { name: 'Composite', class_name: 'SecureString', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, value: { client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'String' } } } } } end |