Class AssetSourceSummary
Summary of an asset source provided in the list.
Inherited Members
Namespace: Oci.CloudbridgeService.Models
Assembly: OCI.DotNetSDK.Cloudbridge.dll
Syntax
[JsonConverter(typeof(AssetSourceSummaryModelConverter))]
public class AssetSourceSummary
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>> | 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
[Required(ErrorMessage = "DisplayName is required.")]
[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. |
Remarks
Required
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> | 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"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the resource. |
Remarks
Required
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
LifecycleDetails
Declaration
[Required(ErrorMessage = "LifecycleDetails is required.")]
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | The detailed state of the asset source. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AssetSourceLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
AssetSourceLifecycleState? | The current state of the asset source. |
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>> | The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}} |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the asset source was created in RFC3339 format. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The point in time that the asset source was last updated in RFC3339 format. |