Share via


OS Struct

Definition

The OS of agent machine

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.OSTypeConverter))]
public struct OS : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.OS>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Support.OSTypeConverter))>]
type OS = struct
    interface IArgumentCompleter
Public Structure OS
Implements IArgumentCompleter, IEquatable(Of OS)
Inheritance
Attributes
Implements

Fields

Linux
Windows

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type OS (override for Object)

Equals(OS)

Compares values of enum type OS

GetHashCode()

Returns hashCode for enum OS

ToString()

Returns string representation for OS

Operators

Equality(OS, OS)

Overriding == operator for enum OS

Implicit(OS to String)

Implicit operator to convert OS to string

Implicit(String to OS)

Implicit operator to convert string to OS

Inequality(OS, OS)

Overriding != operator for enum OS

Applies to