Class CreatePrivateEndpointDetails
The details required to create a private endpoint.
Inherited Members
Namespace: Oci.DataflowService.Models
Assembly: OCI.DotNetSDK.Dataflow.dll
Syntax
public class CreatePrivateEndpointDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of a compartment. |
Remarks
Required
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. Example: {"Operations": {"CostCenter": "42"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly description. Avoid entering confidential information. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. It does not have to be unique. Avoid entering confidential information. |
DnsZones
Declaration
[Required(ErrorMessage = "DnsZones is required.")]
[JsonProperty(PropertyName = "dnsZones")]
public List<string> DnsZones { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of DNS zone names. Example: [ "app.examplecorp.com", "app.examplecorp2.com" ] |
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. Example: {"Department": "Finance"} |
MaxHostCount
Declaration
[JsonProperty(PropertyName = "maxHostCount")]
public int? MaxHostCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of hosts to be accessed through the private endpoint. This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512. |
NsgIds
Declaration
[JsonProperty(PropertyName = "nsgIds")]
public List<string> NsgIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of network security group OCIDs. |
ScanDetails
Declaration
[JsonProperty(PropertyName = "scanDetails")]
public List<Scan> ScanDetails { get; set; }
Property Value
Type | Description |
---|---|
List<Scan> | An array of fqdn/port pairs used to create private endpoint. Each object is a simple key-value pair with FQDN as key and port number as value. [ { fqdn: "scan1.oracle.com", port: "1521"}, { fqdn: "scan2.oracle.com", port: "1521" } ] |
SubnetId
Declaration
[Required(ErrorMessage = "SubnetId is required.")]
[JsonProperty(PropertyName = "subnetId")]
public string SubnetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of a subnet. |
Remarks
Required