Class CreateAssetSourceDetails
Asset source creation request.
Inherited Members
Namespace: Oci.CloudmigrationsService.Models
Assembly: OCI.DotNetSDK.Cloudmigrations.dll
Syntax
[JsonConverter(typeof(CreateAssetSourceDetailsModelConverter))]
public class CreateAssetSourceDetails
Properties
AssetsCompartmentId
Declaration
[Required(ErrorMessage = "AssetsCompartmentId is required.")]
[JsonProperty(PropertyName = "assetsCompartmentId")]
public string AssetsCompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that is going to be used to create assets. |
Remarks
Required
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 for the resource. |
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. Example: {"foo-namespace": {"bar-key": "value"}} |
DiscoveryScheduleId
Declaration
[JsonProperty(PropertyName = "discoveryScheduleId")]
public string DiscoveryScheduleId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the discovery schedule that is going to be attached to the created asset. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided. |
EnvironmentId
Declaration
[Required(ErrorMessage = "EnvironmentId is required.")]
[JsonProperty(PropertyName = "environmentId")]
public string EnvironmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the environment. |
Remarks
Required
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. It exists only for cross-compatibility. Example: {"bar-key": "value"} |
InventoryId
Declaration
[Required(ErrorMessage = "InventoryId is required.")]
[JsonProperty(PropertyName = "inventoryId")]
public string InventoryId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the inventory that will contain created assets. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |