Udostępnij za pośrednictwem


DatabaseConfiguration Class

Definition

Gets or sets the database configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.DatabaseConfigurationTypeConverter))]
public class DatabaseConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IDatabaseConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.DatabaseConfigurationTypeConverter))>]
type DatabaseConfiguration = class
    interface IDatabaseConfiguration
    interface IJsonSerializable
Public Class DatabaseConfiguration
Implements IDatabaseConfiguration
Inheritance
DatabaseConfiguration
Attributes
Implements

Constructors

DatabaseConfiguration()

Creates an new DatabaseConfiguration instance.

Properties

DatabaseType

The database type.

DiskConfigurationDiskVolumeConfiguration

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

ImageReferenceId

Specifies the ARM resource ID of the Azure Compute Gallery image version used for creating ACSS VMs. You will need to provide this input when you choose to deploy virtual machines in ACSS with OS image from the Azure Compute gallery.

ImageReferenceOffer

Specifies the offer of the platform image or marketplace image used to create the virtual machine.

ImageReferencePublisher

The image publisher.

ImageReferenceSku

The image SKU.

ImageReferenceVersion

Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.

InstanceCount

The number of database VMs.

OSConfigurationOstype

The OS Type

OSProfileAdminPassword
OSProfileAdminUsername
SubnetId

The subnet id.

VirtualMachineConfigurationVMSize

The virtual machine size.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabaseConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IDatabaseConfiguration.

FromJsonString(String)

Creates a new instance of DatabaseConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to