Share via


DatabaseConfiguration Class

Definition

Gets or sets the database configuration.

public class DatabaseConfiguration
public class DatabaseConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Workloads.Models.DatabaseConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Workloads.Models.DatabaseConfiguration>
type DatabaseConfiguration = class
type DatabaseConfiguration = class
    interface IJsonModel<DatabaseConfiguration>
    interface IPersistableModel<DatabaseConfiguration>
Public Class DatabaseConfiguration
Public Class DatabaseConfiguration
Implements IJsonModel(Of DatabaseConfiguration), IPersistableModel(Of DatabaseConfiguration)
Inheritance
DatabaseConfiguration
Implements

Constructors

DatabaseConfiguration(ResourceIdentifier, SapVirtualMachineConfiguration, Int64)

Initializes a new instance of DatabaseConfiguration.

Properties

DatabaseType

The database type.

DiskVolumeConfigurations

The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].

InstanceCount

The number of database VMs.

SubnetId

The subnet id.

VirtualMachineConfiguration

Gets or sets the virtual machine configuration.

Explicit Interface Implementations

IJsonModel<DatabaseConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DatabaseConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatabaseConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatabaseConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DatabaseConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to