Show / Hide Table of Contents

Class VcnNsgIdsDetails

Specifies the Virtual Cloud Network (VCN) and the list of associated Network Security Group (NSG) OCIDs.
This model is shared across create (POST), update (PUT/PATCH), and retrieve (GET) operations.

  • During create, nsgIds (if provided) specifies the NSGs to associate with the new resource.
  • During update or patch, nsgIds modifies the associations: provide an empty array ([]) to clear all NSGs, or provide a new list to replace them.
  • GET responses return the current associations (which may be empty).
Inheritance
object
VcnNsgIdsDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.Distributeddatabasev26Service.Models
Assembly: OCI.DotNetSDK.Distributeddatabasev26.dll
Syntax
public class VcnNsgIdsDetails

Properties

NsgIds

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

The list of OCIDs of the network security groups (NSGs) associated with resources in this VCN. For more information about NSGs, see Security Rules.

Remarks

Required

VcnId

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

The OCID of the customer Virtual Cloud Network.

Remarks

Required

In this article
Back to top