Request 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 request that generated the event.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.RequestTypeConverter))]
public class Request : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.RequestTypeConverter))>]
type Request = class
interface IRequest
interface IJsonSerializable
Public Class Request
Implements IRequest
- Inheritance
-
Request
- Attributes
- Implements
Constructors
Request() |
Creates an new Request instance. |
Properties
Addr |
The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request. |
Host |
The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests. |
Id |
The ID of the request that initiated the event. |
Method |
The request method that generated the event. |
Useragent |
The user agent header of the request. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Request. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IRequest. |
FromJsonString(String) |
Creates a new instance of Request, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |