Class CreatePrivateServiceAccessDetails
Details to create a private service access.
Inherited Members
Namespace: Oci.PsaService.Models
Assembly: OCI.DotNetSDK.Psa.dll
Syntax
public class CreatePrivateServiceAccessDetails
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 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.
|
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A description of this private service accesss. |
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. |
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.
|
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. |
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 service access's VNIC 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.
|
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 VCN's subnet where the private service access's VNIC will reside. |
Remarks
Required