Show / Hide Table of Contents

Class PrivateServiceAccess

Private Service Access (PSA) is a new way to create private accesss for a service.

Inheritance
object
PrivateServiceAccess
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.PsaService.Models
Assembly: OCI.DotNetSDK.Psa.dll
Syntax
public class PrivateServiceAccess

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 that contains the private service access.

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 description of this private service access.

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[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.

Remarks

Required

Fqdns

Declaration
[Required(ErrorMessage = "Fqdns is required.")]
[JsonProperty(PropertyName = "fqdns")]
public List<string> Fqdns { get; set; }
Property Value
Type Description
List<string>

The private service access FQDNs, which are going to be used to access the service.
Example: xyz.oraclecloud.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"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the private service access.

Remarks

Required

Ipv4Ip

Declaration
[JsonProperty(PropertyName = "ipv4Ip")]
public string Ipv4Ip { get; set; }
Property Value
Type Description
string

The private IPv4 address (in the consumer's VCN) that represents the access point for the associated service.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PrivateServiceAccess.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
PrivateServiceAccess.LifecycleStateEnum?

The private service access's current lifecycle state.

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 that the private service access's VNIC belongs to. For more information about NSGs, see {@link NetworkSecurityGroup}.

SecurityAttributes

Declaration
[JsonProperty(PropertyName = "securityAttributes")]
public Dictionary<string, Dictionary<string, object>> SecurityAttributes { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources.
Example: {"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}

ServiceId

Declaration
[Required(ErrorMessage = "ServiceId is required.")]
[JsonProperty(PropertyName = "serviceId")]
public string ServiceId { get; set; }
Property Value
Type Description
string

A unique service identifier for which the private service access was created.

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 subnet that the private service access belongs to.

Remarks

Required

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the private service access was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the PrivateServiceAccess was updated, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z

VcnId

Declaration
[Required(ErrorMessage = "VcnId is required.")]
[JsonProperty(PropertyName = "vcnId")]
public string VcnId { get; set; }
Property Value
Type Description
string

The OCID of the VCN that the private service access belongs to.

Remarks

Required

VnicId

Declaration
[Required(ErrorMessage = "VnicId is required.")]
[JsonProperty(PropertyName = "vnicId")]
public string VnicId { get; set; }
Property Value
Type Description
string

An OCID of the private service access's VNIC, which resides in the private service access's VCN .

Remarks

Required

In this article
Back to top