Class OSPolicy.Types.ResourceGroup

public sealed class ResourceGroup : IMessage<OSPolicy.Types.ResourceGroup>, IEquatable<OSPolicy.Types.ResourceGroup>, IDeepCloneable<OSPolicy.Types.ResourceGroup>, IBufferMessage, IMessage

Resource groups provide a mechanism to group OS policy resources.

Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems.

When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the OSFilter specified within the resource group.

Inheritance

Object > OSPolicy.Types.ResourceGroup

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.dll

Constructors

ResourceGroup()

public ResourceGroup()

ResourceGroup(OSPolicy.Types.ResourceGroup)

public ResourceGroup(OSPolicy.Types.ResourceGroup other)
Parameter
TypeNameDescription
OSPolicy.Types.ResourceGroupother

Properties

OsFilter

public OSPolicy.Types.OSFilter OsFilter { get; set; }

Used to specify the OS filter for a resource group

Property Value
TypeDescription
OSPolicy.Types.OSFilter

Resources

public RepeatedField<OSPolicy.Types.Resource> Resources { get; }

Required. List of resources configured for this resource group. The resources are executed in the exact order specified here.

Property Value
TypeDescription
RepeatedField<OSPolicy.Types.Resource>