Show / Hide Table of Contents

Interface IApiResponse

Provides a non-generic contract for the ApiResponse wrapper.

Namespace: Pulumi.Esc.Sdk.Client
Assembly: Pulumi.Esc.Sdk.dll
Syntax
public interface IApiResponse

Properties

View Source

DownloadedAt

The DateTime when the request was retrieved.

Declaration
DateTime DownloadedAt { get; }
Property Value
Type Description
DateTime
View Source

Headers

The headers contained in the api response

Declaration
HttpResponseHeaders Headers { get; }
Property Value
Type Description
HttpResponseHeaders
View Source

IsSuccessStatusCode

The IsSuccessStatusCode from the api response

Declaration
bool IsSuccessStatusCode { get; }
Property Value
Type Description
bool
View Source

Path

The path used when making the request.

Declaration
string Path { get; }
Property Value
Type Description
string
View Source

RawContent

The raw content of this response.

Declaration
string RawContent { get; }
Property Value
Type Description
string
View Source

ReasonPhrase

The reason phrase contained in the api response

Declaration
string? ReasonPhrase { get; }
Property Value
Type Description
string
View Source

RequestUri

The Uri used when making the request.

Declaration
Uri? RequestUri { get; }
Property Value
Type Description
Uri
View Source

RequestedAt

The DateTime when the request was sent.

Declaration
DateTime RequestedAt { get; }
Property Value
Type Description
DateTime
View Source

StatusCode

Gets the status code (HTTP status code)

Declaration
HttpStatusCode StatusCode { get; }
Property Value
Type Description
HttpStatusCode

The status code.

Version 0.13.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.