1.8.0 (latest) 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class OSImage : IMessage<OSImage>, IEquatable<OSImage>, IDeepCloneable<OSImage>, IBufferMessage, IMessage

Reference documentation and code samples for the Bare Metal Solution v2 API class OSImage.

Operation System image.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> OSImage

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[OSImage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.OSImage.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OSImage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.OSImage.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[OSImage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.OSImage.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BareMetalSolution.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.md.txt)

## Assembly

Google.Cloud.BareMetalSolution.V2.dll

## Constructors

### OSImage()

    public OSImage()

### OSImage(OSImage)

    public OSImage(OSImage other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `OSImage` |

## Properties

### ApplicableInstanceTypes

    public RepeatedField<string> ApplicableInstanceTypes { get; }

Instance types this image is applicable to.
[Available
types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |

### Code

    public string Code { get; set; }

OS Image code.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Description

    public string Description { get; set; }

OS Image description.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Name

    public string Name { get; set; }

Output only. OS Image's unique name.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### OsImageName

    public OsImageName OsImageName { get; set; }

[OsImageName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.OsImageName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.OSImage.md.txt#Google_Cloud_BareMetalSolution_V2_OSImage_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OsImageName` |   |

### SupportedNetworkTemplates

    public RepeatedField<string> SupportedNetworkTemplates { get; }

Network templates that can be used with this OS Image.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldstring` |   |