Partager via


Origin Struct

Definition

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

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

Fields

System
User
UserSystem

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 Origin (override for Object)

Equals(Origin)

Compares values of enum type Origin

GetHashCode()

Returns hashCode for enum Origin

ToString()

Returns string representation for Origin

Operators

Equality(Origin, Origin)

Overriding == operator for enum Origin

Implicit(Origin to String)

Implicit operator to convert Origin to string

Implicit(String to Origin)

Implicit operator to convert string to Origin

Inequality(Origin, Origin)

Overriding != operator for enum Origin

Applies to