Show / Hide Table of Contents

Class CreateOdaInstanceAttachmentDetails

Properties required to create an ODA instance attachment.

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

Properties

AttachToId

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

The OCID of the target instance (which could be any other OCI PaaS/SaaS resource), to which this ODA instance is being attached.

Remarks

Required

AttachmentMetadata

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

Attachment specific metadata. Defined by the target service.

AttachmentType

Declaration
[Required(ErrorMessage = "AttachmentType is required.")]
[JsonProperty(PropertyName = "attachmentType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateOdaInstanceAttachmentDetails.AttachmentTypeEnum? AttachmentType { get; set; }
Property Value
Type Description
CreateOdaInstanceAttachmentDetails.AttachmentTypeEnum?

The type of target instance which this ODA instance is being attached.

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>>

Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace": {"bar-key": "value"}}

FreeformTags

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

Simple key-value pair that is applied without any predefined name, type, or scope. Example: {"bar-key": "value"}

Owner

Declaration
[Required(ErrorMessage = "Owner is required.")]
[JsonProperty(PropertyName = "owner")]
public OdaInstanceAttachmentOwner Owner { get; set; }
Property Value
Type Description
OdaInstanceAttachmentOwner
Remarks

Required

RestrictedOperations

Declaration
[JsonProperty(PropertyName = "restrictedOperations")]
public List<string> RestrictedOperations { get; set; }
Property Value
Type Description
List<string>

List of operations that are restricted while this instance is attached.

In this article
Back to top