Show / Hide Table of Contents

Class SnapSpecDetails

Details about a specific snap.

Inheritance
object
SnapSpecDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class SnapSpecDetails

Properties

Channel

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

The channel to install from (e.g. stable, edge, beta, candidate, or a custom channel).

IsSigned

Declaration
[JsonProperty(PropertyName = "isSigned")]
public bool? IsSigned { get; set; }
Property Value
Type Description
bool?

If true, allows installing snaps not signed by the Snap Store. E.g., snaps from local file. Use with caution.

Mode

Declaration
[JsonProperty(PropertyName = "mode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SnapModes? Mode { get; set; }
Property Value
Type Description
SnapModes?

The modes for the snap.

Name

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

The name of the snap to install.

Remarks

Required

Revision

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

The revision to install.

Version

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

The version of the snap.

In this article
Back to top