Class CreateIPSecConnectionDetails
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class CreateIPSecConnectionDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment to contain the IPSec connection. |
Remarks
Required
CpeId
Declaration
[Required(ErrorMessage = "CpeId is required.")]
[JsonProperty(PropertyName = "cpeId")]
public string CpeId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the {@link Cpe} object. |
Remarks
Required
CpeLocalIdentifier
Declaration
[JsonProperty(PropertyName = "cpeLocalIdentifier")]
public string CpeLocalIdentifier { get; set; }
Property Value
Type | Description |
---|---|
string | Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, the
fully qualified domain name (FQDN)). The type of identifier you provide here must correspond
to the value for |
CpeLocalIdentifierType
Declaration
[JsonProperty(PropertyName = "cpeLocalIdentifierType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateIPSecConnectionDetails.CpeLocalIdentifierTypeEnum? CpeLocalIdentifierType { get; set; }
Property Value
Type | Description |
---|---|
CreateIPSecConnectionDetails.CpeLocalIdentifierTypeEnum? | The type of identifier for your CPE device. The value you provide here must correspond to the value
for |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a
namespace. For more information, see Resource Tags.
|
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
DrgId
Declaration
[Required(ErrorMessage = "DrgId is required.")]
[JsonProperty(PropertyName = "drgId")]
public string DrgId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the DRG. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no
predefined name, type, or namespace. For more information, see Resource Tags.
|
StaticRoutes
Declaration
[Required(ErrorMessage = "StaticRoutes is required.")]
[JsonProperty(PropertyName = "staticRoutes")]
public List<string> StaticRoutes { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Static routes to the CPE. A static route's CIDR must not be a
multicast address or class E address.
|
Remarks
Required
TunnelConfiguration
Declaration
[JsonProperty(PropertyName = "tunnelConfiguration")]
public List<CreateIPSecConnectionTunnelDetails> TunnelConfiguration { get; set; }
Property Value
Type | Description |
---|---|
List<CreateIPSecConnectionTunnelDetails> | Information for creating the individual tunnels in the IPSec connection. You can provide a
maximum of 2 |