Show / Hide Table of Contents

Class ResponseWithHeaders<R, H>

Pairs a deserialized response body with typed response headers, mirroring apitype.ResponseWithHeaders[R, H] (Go) / ResponseWithHeaders<R, H> (TypeScript) / ResponseWithHeaders[R, H] (Python). Returned by generated *Api methods for operations whose response declares response headers. Declared in the top-level Pulumi.Cloud.Sdk namespace (alongside ApiClient) so generated code in Pulumi.Cloud.Sdk.Api resolves it via enclosing-namespace lookup, the same way it already resolves ApiClient and ApiRequest with no extra using.

Inheritance
object
ResponseWithHeaders<R, H>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Cloud.Sdk
Assembly: Pulumi.Cloud.Sdk.dll
Syntax
public sealed class ResponseWithHeaders<R, H>
Type Parameters
Name Description
R
H

Properties

View Source

Headers

Declaration
public H Headers { get; set; }
Property Value
Type Description
H
View Source

Response

Declaration
public R Response { get; set; }
Property Value
Type Description
R

Version 2026.10.9

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