class Azure::MariaDB::Mgmt::V2018_06_01::Models::ServerPropertiesForDefaultCreate
The properties used to create a new server.
Attributes
administrator_login[RW]
@return [String] The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
administrator_login_password[RW]
@return [String] The password of the administrator login.
createMode[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for ServerPropertiesForDefaultCreate
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-06-01/generated/azure_mgmt_mariadb/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
new()
click to toggle source
# File lib/2018-06-01/generated/azure_mgmt_mariadb/models/server_properties_for_default_create.rb, line 16 def initialize @createMode = "Default" end