Class InstallSnapDetails
Provides the information used to install a snap.
Inherited Members
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class InstallSnapDetails
Properties
Channel
Declaration
[JsonProperty(PropertyName = "channel")]
public string Channel { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The snap channel to install from (e.g. stable, 1.2/edge, beta, candidate, or a custom channel). |
IsSigned
Declaration
[JsonProperty(PropertyName = "isSigned")]
public bool? IsSigned { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | If false, 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 confinement mode 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 snap revision to install. |