Class: Azure::Relay::Mgmt::V2016_07_01::Models::HybridConnection
- Inherits:
-
Resource
- Object
- Resource
- Azure::Relay::Mgmt::V2016_07_01::Models::HybridConnection
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb
Overview
Description of HybridConnection Resource.
Instance Attribute Summary collapse
-
#created_at ⇒ DateTime
The time the HybridConnection was created.
-
#listener_count ⇒ Integer
min : 1 and max:25 supported.
-
#requires_client_authorization ⇒ Boolean
HybridConnection; otherwise, false.
-
#updated_at ⇒ DateTime
The time the namespace was updated.
-
#user_metadata ⇒ String
string data for the HybridConnection endpoint.e.g.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for HybridConnection class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#created_at ⇒ DateTime
Returns The time the HybridConnection was created.
16 17 18 |
# File 'lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 16 def created_at @created_at end |
#listener_count ⇒ Integer
min : 1 and max:25 supported
23 24 25 |
# File 'lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 23 def listener_count @listener_count end |
#requires_client_authorization ⇒ Boolean
HybridConnection; otherwise, false.
27 28 29 |
# File 'lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 27 def @requires_client_authorization end |
#updated_at ⇒ DateTime
Returns The time the namespace was updated.
19 20 21 |
# File 'lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 19 def updated_at @updated_at end |
#user_metadata ⇒ String
string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.
33 34 35 |
# File 'lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 33 def @user_metadata end |
Class Method Details
.mapper ⇒ Object
Mapper for HybridConnection class as Ruby Hash. This will be used for serialization/deserialization.
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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/2016-07-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'HybridConnection', type: { name: 'Composite', class_name: 'HybridConnection', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, created_at: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdAt', type: { name: 'DateTime' } }, updated_at: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.updatedAt', type: { name: 'DateTime' } }, listener_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.listenerCount', constraints: { InclusiveMaximum: 25, InclusiveMinimum: 1 }, type: { name: 'Number' } }, requires_client_authorization: { client_side_validation: true, required: false, serialized_name: 'properties.requiresClientAuthorization', type: { name: 'Boolean' } }, user_metadata: { client_side_validation: true, required: false, serialized_name: 'properties.userMetadata', type: { name: 'String' } } } } } end |