Show / Hide Table of Contents

Class ChangeResourceCompartmentDetails

Updates compartmentId of resource.

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

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 into which the resource should be moved.

Remarks

Required

In this article
Back to top