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 ⇒ Enum
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.
39 40 41 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 39 def creation_date @creation_date end |
#kind ⇒ Enum
the Azure portal experience. Possible values include: ”, ‘azurekeyvault’, ‘servicemanaged’
19 20 21 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 19 def kind @kind end |
#location ⇒ String
Returns Resource location.
22 23 24 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 22 def location @location end |
#server_key_type ⇒ ServerKeyType
‘AzureKeyVault’. Possible values include: ‘ServiceManaged’, ‘AzureKeyVault’
30 31 32 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 30 def server_key_type @server_key_type end |
#subregion ⇒ String
Returns Subregion of the server key.
25 26 27 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 25 def subregion @subregion end |
#thumbprint ⇒ String
Returns Thumbprint of the server key.
36 37 38 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 36 def thumbprint @thumbprint end |
#uri ⇒ String
Returns The URI of the server key.
33 34 35 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 33 def uri @uri end |
Class Method Details
.mapper ⇒ Object
Mapper for ServerKey class as Ruby Hash. This will be used for serialization/deserialization.
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 132 |
# File 'lib/generated/azure_mgmt_sql/models/server_key.rb', line 46 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: false, 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 |