Class: Azure::ARM::SQL::Models::ServerConnectionPolicy
- Inherits:
-
ProxyResource
- Object
- MsRestAzure::Resource
- ProxyResource
- Azure::ARM::SQL::Models::ServerConnectionPolicy
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_sql/models/server_connection_policy.rb
Overview
A server secure connection policy.
Instance Attribute Summary collapse
-
#connection_type ⇒ ServerConnectionType
values include: ‘Default’, ‘Proxy’, ‘Redirect’.
-
#kind ⇒ String
Metadata used for the Azure portal experience.
-
#location ⇒ String
Resource location.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServerConnectionPolicy class as Ruby Hash.
Instance Attribute Details
#connection_type ⇒ ServerConnectionType
values include: ‘Default’, ‘Proxy’, ‘Redirect’
24 25 26 |
# File 'lib/generated/azure_mgmt_sql/models/server_connection_policy.rb', line 24 def connection_type @connection_type end |
#kind ⇒ String
Returns Metadata used for the Azure portal experience.
17 18 19 |
# File 'lib/generated/azure_mgmt_sql/models/server_connection_policy.rb', line 17 def kind @kind end |
#location ⇒ String
Returns Resource location.
20 21 22 |
# File 'lib/generated/azure_mgmt_sql/models/server_connection_policy.rb', line 20 def location @location end |
Class Method Details
.mapper ⇒ Object
Mapper for ServerConnectionPolicy 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 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 |
# File 'lib/generated/azure_mgmt_sql/models/server_connection_policy.rb', line 31 def self.mapper() { required: false, serialized_name: 'ServerConnectionPolicy', type: { name: 'Composite', class_name: 'ServerConnectionPolicy', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, kind: { required: false, read_only: true, serialized_name: 'kind', type: { name: 'String' } }, location: { required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, connection_type: { required: true, serialized_name: 'properties.connectionType', type: { name: 'Enum', module: 'ServerConnectionType' } } } } } end |