Class CreateInventoryAssetDetails
Create a JSON formatted type of asset.
Inherited Members
Namespace: Oci.CloudbridgeService.Models
Assembly: OCI.DotNetSDK.Cloudbridge.dll
Syntax
public class CreateInventoryAssetDetails : CreateAssetDetails
Properties
AssetClassName
Declaration
[Required(ErrorMessage = "AssetClassName is required.")]
[JsonProperty(PropertyName = "assetClassName")]
public string AssetClassName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The class name of the asset. |
Remarks
Required
AssetClassVersion
Declaration
[Required(ErrorMessage = "AssetClassVersion is required.")]
[JsonProperty(PropertyName = "assetClassVersion")]
public string AssetClassVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The version of the asset class. |
Remarks
Required
AssetDetails
Declaration
[Required(ErrorMessage = "AssetDetails is required.")]
[JsonProperty(PropertyName = "assetDetails")]
public Dictionary<string, object> AssetDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> | The details of the asset. |
Remarks
Required
EnvironmentType
Declaration
[JsonProperty(PropertyName = "environmentType")]
[JsonConverter(typeof(StringEnumConverter))]
public EnvironmentType? EnvironmentType { get; set; }
Property Value
| Type | Description |
|---|---|
| EnvironmentType? | Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting. |