Class: Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys
- Inherits:
-
Object
- Object
- Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-01/generated/azure_mgmt_relay/models/access_keys.rb
Overview
Namespace/Relay Connection String
Instance Attribute Summary collapse
-
#key_name ⇒ String
A string that describes the authorization rule.
-
#primary_connection_string ⇒ String
authorization rule.
-
#primary_key ⇒ String
validating the SAS token.
-
#secondary_connection_string ⇒ String
authorization rule.
-
#secondary_key ⇒ String
validating the SAS token.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AccessKeys class as Ruby Hash.
Instance Attribute Details
#key_name ⇒ String
Returns A string that describes the authorization rule.
32 33 34 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/access_keys.rb', line 32 def key_name @key_name end |
#primary_connection_string ⇒ String
authorization rule.
17 18 19 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/access_keys.rb', line 17 def primary_connection_string @primary_connection_string end |
#primary_key ⇒ String
validating the SAS token.
25 26 27 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/access_keys.rb', line 25 def primary_key @primary_key end |
#secondary_connection_string ⇒ String
authorization rule.
21 22 23 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/access_keys.rb', line 21 def secondary_connection_string @secondary_connection_string end |
#secondary_key ⇒ String
validating the SAS token.
29 30 31 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/access_keys.rb', line 29 def secondary_key @secondary_key end |
Class Method Details
.mapper ⇒ Object
Mapper for AccessKeys 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 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/access_keys.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AccessKeys', type: { name: 'Composite', class_name: 'AccessKeys', model_properties: { primary_connection_string: { client_side_validation: true, required: false, serialized_name: 'primaryConnectionString', type: { name: 'String' } }, secondary_connection_string: { client_side_validation: true, required: false, serialized_name: 'secondaryConnectionString', type: { name: 'String' } }, primary_key: { client_side_validation: true, required: false, serialized_name: 'primaryKey', type: { name: 'String' } }, secondary_key: { client_side_validation: true, required: false, serialized_name: 'secondaryKey', type: { name: 'String' } }, key_name: { client_side_validation: true, required: false, serialized_name: 'keyName', type: { name: 'String' } } } } } end |