Show / Hide Table of Contents

Class CreateCompartmentConfigSourceDetails

Creation details for a configuration source based on the specified compartment.

Inheritance
object
CreateConfigSourceDetails
CreateCompartmentConfigSourceDetails
Inherited Members
CreateConfigSourceDetails.WorkingDirectory
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ResourcemanagerService.Models
Assembly: OCI.DotNetSDK.Resourcemanager.dll
Syntax
public class CreateCompartmentConfigSourceDetails : CreateConfigSourceDetails

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 use for creating the stack. The new stack will include definitions for supported resource types in scope of the specified compartment OCID (tenancy level for root compartment, compartment level otherwise).

Remarks

Required

Region

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

The region to use for creating the stack. The new stack will include definitions for supported resource types in this region.

Remarks

Required

ServicesToDiscover

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

Filter for services to use with Resource Discovery. For example, "database" limits resource discovery to resource types within the Database service. The specified services must be in scope of the given compartment OCID (tenancy level for root compartment, compartment level otherwise). If not specified, then all services at the scope of the given compartment OCID are used.

In this article
Back to top