public sealed class AptRepository : IMessage<OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository>, IEquatable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository>, IDeepCloneable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1alpha API class OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository.
Represents a single apt package repository. These will be added to
a repo file that will be managed at
/etc/apt/sources.list.d/google_osconfig.list
.
Implements
IMessage<OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository>, IEquatable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository>, IDeepCloneable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository>, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1AlphaAssembly
Google.Cloud.OsConfig.V1Alpha.dll
Constructors
AptRepository()
public AptRepository()
AptRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository)
public AptRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository other)
Parameter | |
---|---|
Name | Description |
other | OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository |
Properties
ArchiveType
public OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository.Types.ArchiveType ArchiveType { get; set; }
Required. Type of archive files in this repository.
Property Value | |
---|---|
Type | Description |
OSPolicy.Types.Resource.Types.RepositoryResource.Types.AptRepository.Types.ArchiveType |
Components
public RepeatedField<string> Components { get; }
Required. List of components for this repository. Must contain at least one item.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Distribution
public string Distribution { get; set; }
Required. Distribution of this repository.
Property Value | |
---|---|
Type | Description |
String |
GpgKey
public string GpgKey { get; set; }
URI of the key file for this repository. The agent maintains a
keyring at /etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg
.
Property Value | |
---|---|
Type | Description |
String |
Uri
public string Uri { get; set; }
Required. URI for this repository.
Property Value | |
---|---|
Type | Description |
String |