Class PrivateEndpoint
A private endpoint makes your service accessible through a private IP in the customer's private network. A private endpoint has a name and is associated with a namespace and a single compartment.
Inherited Members
Namespace: Oci.ObjectstorageService.Models
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class PrivateEndpoint
Properties
AccessTargets
Declaration
[Required(ErrorMessage = "AccessTargets is required.")]
[JsonProperty(PropertyName = "accessTargets")]
public List<AccessTargetDetails> AccessTargets { get; set; }
Property Value
Type | Description |
---|---|
List<AccessTargetDetails> | A list of targets that can be accessed by the private endpoint. At least one or more access targets is required for a private endpoint. |
Remarks
Required
AdditionalPrefixes
Declaration
[JsonProperty(PropertyName = "additionalPrefixes")]
public List<string> AdditionalPrefixes { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A list of additional prefix that you can provide along with any other prefix. These resulting endpointFqdn's are added to the customer VCN's DNS record. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment which is associated with the Private Endpoint. |
Remarks
Required
CreatedBy
Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public string CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user who created the Private Endpoint. |
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"}} |
Etag
Declaration
[Required(ErrorMessage = "Etag is required.")]
[JsonProperty(PropertyName = "etag")]
public string Etag { get; set; }
Property Value
Type | Description |
---|---|
string | The entity tag (ETag) for the Private Endpoint. |
Remarks
Required
Fqdns
Declaration
[Required(ErrorMessage = "Fqdns is required.")]
[JsonProperty(PropertyName = "fqdns")]
public Fqdns Fqdns { get; set; }
Property Value
Type | Description |
---|---|
Fqdns |
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"} |
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the PrivateEndpoint. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PrivateEndpoint.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
PrivateEndpoint.LifecycleStateEnum? | The Private Endpoint's lifecycle state. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | This name associated with the endpoint. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. Example: my-new-private-endpoint1 |
Remarks
Required
Namespace
Declaration
[Required(ErrorMessage = "Namespace is required.")]
[JsonProperty(PropertyName = "namespace")]
public string Namespace { get; set; }
Property Value
Type | Description |
---|---|
string | The Object Storage namespace associated with the private enpoint. |
Remarks
Required
NsgIds
Declaration
[JsonProperty(PropertyName = "nsgIds")]
public List<string> NsgIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A list of the OCIDs of the network security groups (NSGs) to add the private endpoint's VNIC to. For more information about NSGs, see {@link NetworkSecurityGroup}. |
Prefix
Declaration
[Required(ErrorMessage = "Prefix is required.")]
[JsonProperty(PropertyName = "prefix")]
public string Prefix { get; set; }
Property Value
Type | Description |
---|---|
string |
PrivateEndpointIp
Declaration
[Required(ErrorMessage = "PrivateEndpointIp is required.")]
[JsonProperty(PropertyName = "privateEndpointIp")]
public string PrivateEndpointIp { get; set; }
Property Value
Type | Description |
---|---|
string | The private IP address to assign to this private endpoint. If you provide a value,
it must be an available IP address in the customer's subnet. If it's not available, an error
is returned.
|
Remarks
Required
SubnetId
Declaration
[Required(ErrorMessage = "SubnetId is required.")]
[JsonProperty(PropertyName = "subnetId")]
public string SubnetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the customer's subnet where the private endpoint VNIC will reside. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Private Endpoint was created, as described in RFC 2616. |
Remarks
Required
TimeModified
Declaration
[Required(ErrorMessage = "TimeModified is required.")]
[JsonProperty(PropertyName = "timeModified")]
public DateTime? TimeModified { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Private Endpoint was updated, as described in RFC 2616. |
Remarks
Required