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
ResponseWithHeaders<R, H>
Namespace: Pulumi.Cloud.Sdk
Assembly: Pulumi.Cloud.Sdk.dll
public sealed class ResponseWithHeaders<R, H>
Type Parameters
Properties
View Source
Declaration
public H Headers { get; set; }
Property Value
View Source
Declaration
public R Response { get; set; }
Property Value