Class: Azure::Postgresql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
- Inherits:
-
ServerPropertiesForCreate
- Object
- ServerPropertiesForCreate
- Azure::Postgresql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01/generated/azure_mgmt_postgresql/models/server_properties_for_default_create.rb
Overview
The properties used to create a new server.
Instance Attribute Summary collapse
-
#administrator_login ⇒ String
be specified when the server is being created (and is required for creation).
-
#administrator_login_password ⇒ String
The password of the administrator login.
-
#createMode ⇒ Object
Returns the value of attribute createMode.
Attributes inherited from ServerPropertiesForCreate
#ssl_enforcement, #storage_profile, #version
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServerPropertiesForDefaultCreate class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ServerPropertiesForDefaultCreate
constructor
A new instance of ServerPropertiesForDefaultCreate.
Constructor Details
#initialize ⇒ ServerPropertiesForDefaultCreate
Returns a new instance of ServerPropertiesForDefaultCreate.
16 17 18 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/server_properties_for_default_create.rb', line 16 def initialize @createMode = "Default" end |
Instance Attribute Details
#administrator_login ⇒ String
be specified when the server is being created (and is required for creation).
25 26 27 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/server_properties_for_default_create.rb', line 25 def administrator_login @administrator_login end |
#administrator_login_password ⇒ String
Returns The password of the administrator login.
28 29 30 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/server_properties_for_default_create.rb', line 28 def administrator_login_password @administrator_login_password end |
#createMode ⇒ Object
Returns the value of attribute createMode.
20 21 22 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/server_properties_for_default_create.rb', line 20 def createMode @createMode end |
Class Method Details
.mapper ⇒ Object
Mapper for ServerPropertiesForDefaultCreate class as Ruby Hash. This will be used for serialization/deserialization.
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 91 92 93 94 95 96 97 |
# File 'lib/2017-12-01/generated/azure_mgmt_postgresql/models/server_properties_for_default_create.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Default', type: { name: 'Composite', class_name: 'ServerPropertiesForDefaultCreate', model_properties: { version: { client_side_validation: true, required: false, serialized_name: 'version', type: { name: 'String' } }, ssl_enforcement: { client_side_validation: true, required: false, serialized_name: 'sslEnforcement', type: { name: 'Enum', module: 'SslEnforcementEnum' } }, storage_profile: { client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { name: 'Composite', class_name: 'StorageProfile' } }, createMode: { client_side_validation: true, required: true, serialized_name: 'createMode', type: { name: 'String' } }, administrator_login: { client_side_validation: true, required: true, serialized_name: 'administratorLogin', type: { name: 'String' } }, administrator_login_password: { client_side_validation: true, required: true, serialized_name: 'administratorLoginPassword', type: { name: 'String' } } } } } end |