你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Actor Class

Definition

The agent that initiated the event. For most situations, this could be from the authorization context of the request.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ActorTypeConverter))]
public class Actor : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IActor
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ActorTypeConverter))>]
type Actor = class
    interface IActor
    interface IJsonSerializable
Public Class Actor
Implements IActor
Inheritance
Actor
Attributes
Implements

Constructors

Actor()

Creates an new Actor instance.

Properties

Name

The subject or username associated with the request context that generated the event.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Actor.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Actor.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IActor.

FromJsonString(String)

Creates a new instance of Actor, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Actor into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to