Show / Hide Table of Contents

Class CreateAssetDetails

The information about the new asset.

Inheritance
object
CreateAssetDetails
CreateAwsEbsAssetDetails
CreateAwsEc2AssetDetails
CreateVmwareVmAssetDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CloudbridgeService.Models
Assembly: OCI.DotNetSDK.Cloudbridge.dll
Syntax
[JsonConverter(typeof(CreateAssetDetailsModelConverter))]
public class CreateAssetDetails

Properties

AssetSourceIds

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

List of asset source OCID.

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 that the asset belongs to.

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

The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

DisplayName

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

Asset display name.

ExternalAssetKey

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

The key of the asset from the external environment.

Remarks

Required

FreeformTags

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

The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {"Department": "Finance"}

InventoryId

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

Inventory ID to which an asset belongs.

Remarks

Required

SourceKey

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

The source key to which the asset belongs.

Remarks

Required

In this article
Back to top