Class AptSettings
Apt patching is completed by executing apt-get update && apt-get upgrade
. Additional options
can be set to control how this is executed.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1beta.Data
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class AptSettings : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Excludes
List of packages to exclude from update. These packages will be excluded
Declaration
[JsonProperty("excludes")]
public virtual IList<string> Excludes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ExclusivePackages
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.
Declaration
[JsonProperty("exclusivePackages")]
public virtual IList<string> ExclusivePackages { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Type
By changing the type to DIST, the patching is performed using apt-get dist-upgrade
instead.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |