Class OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository (1.8.0)

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.

Inheritance

Object > OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

YumRepository()

public YumRepository()

YumRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository)

public YumRepository(OSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository other)
Parameter
NameDescription
otherOSPolicy.Types.Resource.Types.RepositoryResource.Types.YumRepository

Properties

BaseUrl

public string BaseUrl { get; set; }

Required. The location of the repository directory.

Property Value
TypeDescription
String

DisplayName

public string DisplayName { get; set; }

The display name of the repository.

Property Value
TypeDescription
String

GpgKeys

public RepeatedField<string> GpgKeys { get; }

URIs of GPG keys.

Property Value
TypeDescription
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
TypeDescription
String