Share via


Db2ProviderInstanceProperties Class

Definition

Gets or sets the DB2 provider properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20230401.Db2ProviderInstancePropertiesTypeConverter))]
public class Db2ProviderInstanceProperties : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20230401.IDb2ProviderInstanceProperties, Microsoft.Azure.PowerShell.Cmdlets.Workloads.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20230401.Db2ProviderInstancePropertiesTypeConverter))>]
type Db2ProviderInstanceProperties = class
    interface IDb2ProviderInstanceProperties
    interface IJsonSerializable
    interface IProviderSpecificProperties
    interface IValidates
Public Class Db2ProviderInstanceProperties
Implements IDb2ProviderInstanceProperties, IValidates
Inheritance
Db2ProviderInstanceProperties
Attributes
Implements

Constructors

Db2ProviderInstanceProperties()

Creates an new Db2ProviderInstanceProperties instance.

Properties

DbName

Gets or sets the db2 database name.

DbPassword

Gets or sets the db2 database password.

DbPasswordUri

Gets or sets the key vault URI to secret with the database password.

DbPort

Gets or sets the db2 database sql port.

DbUsername

Gets or sets the db2 database user name.

Hostname

Gets or sets the target virtual machine name.

ProviderType

The provider type. For example, the value can be SapHana.

SapSid

Gets or sets the SAP System Identifier

SslCertificateUri

Gets or sets the blob URI to SSL certificate for the DB2 Database.

SslPreference

Gets or sets certificate preference if secure communication is enabled.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Db2ProviderInstanceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Db2ProviderInstanceProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20230401.IDb2ProviderInstanceProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Db2ProviderInstanceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to