public sealed class YumRepository : IMessage<OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository>, IEquatable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository>, IDeepCloneable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository>, IBufferMessage, IMessage
Represents a single yum package repository. These are added to a
repo file that is managed at
/etc/yum.repos.d/google_osconfig.repo
.
Implements
IMessage<OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository>, IEquatable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository>, IDeepCloneable<OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository>, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1AlphaAssembly
Google.Cloud.OsConfig.V1Alpha.dll
Constructors
YumRepository()
public YumRepository()
YumRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository)
public YumRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository other)
Parameter | |
---|---|
Name | Description |
other | OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository |
Properties
BaseUrl
public string BaseUrl { get; set; }
Required. The location of the repository directory.
Property Value | |
---|---|
Type | Description |
String |
DisplayName
public string DisplayName { get; set; }
The display name of the repository.
Property Value | |
---|---|
Type | Description |
String |
GpgKeys
public RepeatedField<string> GpgKeys { get; }
URIs of GPG keys.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Id
public string Id { get; set; }
Required. A one word, unique name for this repository. This is the repo
id
in the yum config file and also the display_name
if
display_name
is omitted. This id is also used as the unique
identifier when checking for resource conflicts.
Property Value | |
---|---|
Type | Description |
String |