Source Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.SourceTypeConverter))]
public class Source : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ISource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.SourceTypeConverter))>]
type Source = class
interface ISource
interface IJsonSerializable
Public Class Source
Implements ISource
- Inheritance
-
Source
- Attributes
- Implements
Constructors
Source() |
Creates an new Source instance. |
Properties
Addr |
The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port. |
InstanceId |
The running instance of an application. Changes after each restart. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Source. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ISource. |
FromJsonString(String) |
Creates a new instance of Source, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |