Class AsmConnectionString
The ASM instance connection string.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class AsmConnectionString
Properties
Hosts
Declaration
[Required(ErrorMessage = "Hosts is required.")]
[JsonProperty(PropertyName = "hosts")]
public List<string> Hosts { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The list of host names of the ASM instances. |
Remarks
Required
Port
Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? | The port used to connect to the ASM instance. |
Remarks
Required
Protocol
Declaration
[Required(ErrorMessage = "Protocol is required.")]
[JsonProperty(PropertyName = "protocol")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AsmConnectionString.ProtocolEnum? Protocol { get; set; }
Property Value
Type | Description |
---|---|
AsmConnectionString.ProtocolEnum? | The protocol used to connect to the ASM instance. |
Remarks
Required
Service
Declaration
[Required(ErrorMessage = "Service is required.")]
[JsonProperty(PropertyName = "service")]
public string Service { get; set; }
Property Value
Type | Description |
---|---|
string | The service name of the ASM instance. |
Remarks
Required