Class: Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection
- Inherits:
-
Resource
- Object
- Resource
- Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-01/generated/azure_mgmt_relay/models/hybrid_connection.rb
Overview
Description of hybrid connection resource.
Instance Attribute Summary collapse
-
#created_at ⇒ DateTime
The time the hybrid connection was created.
-
#listener_count ⇒ Integer
Note that min : 1 and max:25 are supported.
-
#requires_client_authorization ⇒ Boolean
this hybrid connection; otherwise, false.
-
#updated_at ⇒ DateTime
The time the namespace was updated.
-
#user_metadata ⇒ String
user-defined string data for the hybrid connection endpoint.
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 hybrid connection was created.
16 17 18 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 16 def created_at @created_at end |
#listener_count ⇒ Integer
Note that min : 1 and max:25 are supported.
23 24 25 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 23 def listener_count @listener_count end |
#requires_client_authorization ⇒ Boolean
this hybrid connection; otherwise, false.
27 28 29 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 27 def end |
#updated_at ⇒ DateTime
Returns The time the namespace was updated.
19 20 21 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 19 def updated_at @updated_at end |
#user_metadata ⇒ String
user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.
34 35 36 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 34 def end |
Class Method Details
.mapper ⇒ Object
Mapper for HybridConnection class as Ruby Hash. This will be used for serialization/deserialization.
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 127 |
# File 'lib/2017-04-01/generated/azure_mgmt_relay/models/hybrid_connection.rb', line 41 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: 0 }, 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 |