Class: Azure::ARM::SQL::Models::ServerKey
- Inherits:
-
ProxyResource
- Object
- MsRestAzure::Resource
- ProxyResource
- Azure::ARM::SQL::Models::ServerKey
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_sql/models/server_key.rb
Overview
A server key.
Instance Attribute Summary collapse
-
#creation_date ⇒ DateTime
The server key creation date.
-
#kind ⇒ String
for the Azure portal experience.
-
#location ⇒ String
Resource location.
-
#server_key_type ⇒ ServerKeyType
‘AzureKeyVault’.
-
#subregion ⇒ String
Subregion of the server key.
-
#thumbprint ⇒ String
Thumbprint of the server key.
-
#uri ⇒ String
The URI of the server key.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServerKey class as Ruby Hash.
Instance Attribute Details
#creation_date ⇒ DateTime
Returns The server key creation date.
38 39 40 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 38 def creation_date @creation_date end |
#kind ⇒ String
for the Azure portal experience.
18 19 20 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 18 def kind @kind end |
#location ⇒ String
Returns Resource location.
21 22 23 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 21 def location @location end |
#server_key_type ⇒ ServerKeyType
‘AzureKeyVault’. Possible values include: ‘ServiceManaged’, ‘AzureKeyVault’
29 30 31 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 29 def server_key_type @server_key_type end |
#subregion ⇒ String
Returns Subregion of the server key.
24 25 26 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 24 def subregion @subregion end |
#thumbprint ⇒ String
Returns Thumbprint of the server key.
35 36 37 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 35 def thumbprint @thumbprint end |
#uri ⇒ String
Returns The URI of the server key.
32 33 34 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 32 def uri @uri end |
Class Method Details
.mapper ⇒ Object
Mapper for ServerKey class as Ruby Hash. This will be used for serialization/deserialization.
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 128 129 130 131 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 45 def self.mapper() { required: false, serialized_name: 'ServerKey', type: { name: 'Composite', class_name: 'ServerKey', 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, serialized_name: 'kind', type: { name: 'String' } }, location: { required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, subregion: { required: false, read_only: true, serialized_name: 'properties.subregion', type: { name: 'String' } }, server_key_type: { required: true, serialized_name: 'properties.serverKeyType', type: { name: 'String' } }, uri: { required: false, serialized_name: 'properties.uri', type: { name: 'String' } }, thumbprint: { required: false, serialized_name: 'properties.thumbprint', type: { name: 'String' } }, creation_date: { required: false, serialized_name: 'properties.creationDate', type: { name: 'DateTime' } } } } } end |