Documentation ¶
Overview ¶
A Pulumi native provider for making API calls
Index ¶
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- type Purrl
- type PurrlArgs
- type PurrlArray
- type PurrlArrayInput
- type PurrlArrayOutput
- func (PurrlArrayOutput) ElementType() reflect.Type
- func (o PurrlArrayOutput) Index(i pulumi.IntInput) PurrlOutput
- func (o PurrlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Purrl]
- func (o PurrlArrayOutput) ToPurrlArrayOutput() PurrlArrayOutput
- func (o PurrlArrayOutput) ToPurrlArrayOutputWithContext(ctx context.Context) PurrlArrayOutput
- type PurrlInput
- type PurrlMap
- type PurrlMapInput
- type PurrlMapOutput
- func (PurrlMapOutput) ElementType() reflect.Type
- func (o PurrlMapOutput) MapIndex(k pulumi.StringInput) PurrlOutput
- func (o PurrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Purrl]
- func (o PurrlMapOutput) ToPurrlMapOutput() PurrlMapOutput
- func (o PurrlMapOutput) ToPurrlMapOutputWithContext(ctx context.Context) PurrlMapOutput
- type PurrlOutput
- func (o PurrlOutput) Body() pulumi.StringPtrOutput
- func (o PurrlOutput) CaCert() pulumi.StringPtrOutput
- func (o PurrlOutput) Cert() pulumi.StringPtrOutput
- func (o PurrlOutput) DeleteBody() pulumi.StringPtrOutput
- func (o PurrlOutput) DeleteCaCert() pulumi.StringPtrOutput
- func (o PurrlOutput) DeleteCert() pulumi.StringPtrOutput
- func (o PurrlOutput) DeleteHeaders() pulumi.StringMapOutput
- func (o PurrlOutput) DeleteInsecureSkipTLSVerify() pulumi.BoolPtrOutput
- func (o PurrlOutput) DeleteKey() pulumi.StringPtrOutput
- func (o PurrlOutput) DeleteMethod() pulumi.StringPtrOutput
- func (o PurrlOutput) DeleteResponse() pulumi.StringPtrOutput
- func (o PurrlOutput) DeleteResponseCodes() pulumi.StringArrayOutput
- func (o PurrlOutput) DeleteUrl() pulumi.StringPtrOutput
- func (PurrlOutput) ElementType() reflect.Type
- func (o PurrlOutput) Headers() pulumi.StringMapOutput
- func (o PurrlOutput) InsecureSkipTLSVerify() pulumi.BoolPtrOutput
- func (o PurrlOutput) Key() pulumi.StringPtrOutput
- func (o PurrlOutput) Method() pulumi.StringOutput
- func (o PurrlOutput) Name() pulumi.StringOutput
- func (o PurrlOutput) Response() pulumi.StringOutput
- func (o PurrlOutput) ResponseCode() pulumi.IntOutput
- func (o PurrlOutput) ResponseCodes() pulumi.StringArrayOutput
- func (o PurrlOutput) ToOutput(ctx context.Context) pulumix.Output[*Purrl]
- func (o PurrlOutput) ToPurrlOutput() PurrlOutput
- func (o PurrlOutput) ToPurrlOutputWithContext(ctx context.Context) PurrlOutput
- func (o PurrlOutput) Url() pulumi.StringOutput
- type PurrlState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type Purrl ¶
type Purrl struct { pulumi.CustomResourceState // The body of the request. Body pulumi.StringPtrOutput `pulumi:"body"` // The CA certificate if server cert is not signed by a trusted CA. CaCert pulumi.StringPtrOutput `pulumi:"caCert"` // The client certificate to use for TLS verification. Cert pulumi.StringPtrOutput `pulumi:"cert"` // The body of the request. DeleteBody pulumi.StringPtrOutput `pulumi:"deleteBody"` // The CA certificate if server cert is not signed by a trusted CA. DeleteCaCert pulumi.StringPtrOutput `pulumi:"deleteCaCert"` // The client certificate to use for TLS verification. DeleteCert pulumi.StringPtrOutput `pulumi:"deleteCert"` // The headers to send with the request. DeleteHeaders pulumi.StringMapOutput `pulumi:"deleteHeaders"` // Skip TLS verification. DeleteInsecureSkipTLSVerify pulumi.BoolPtrOutput `pulumi:"deleteInsecureSkipTLSVerify"` // The client key to use for TLS verification. DeleteKey pulumi.StringPtrOutput `pulumi:"deleteKey"` // The HTTP method to use. DeleteMethod pulumi.StringPtrOutput `pulumi:"deleteMethod"` // The response from the API call. DeleteResponse pulumi.StringPtrOutput `pulumi:"deleteResponse"` // The expected response code. DeleteResponseCodes pulumi.StringArrayOutput `pulumi:"deleteResponseCodes"` // The API endpoint to call. DeleteUrl pulumi.StringPtrOutput `pulumi:"deleteUrl"` // The headers to send with the request. Headers pulumi.StringMapOutput `pulumi:"headers"` // Skip TLS verification. InsecureSkipTLSVerify pulumi.BoolPtrOutput `pulumi:"insecureSkipTLSVerify"` // The client key to use for TLS verification. Key pulumi.StringPtrOutput `pulumi:"key"` // The HTTP method to use. Method pulumi.StringOutput `pulumi:"method"` // The name for this API call. Name pulumi.StringOutput `pulumi:"name"` // The response from the API call. Response pulumi.StringOutput `pulumi:"response"` ResponseCode pulumi.IntOutput `pulumi:"responseCode"` // The expected response code. ResponseCodes pulumi.StringArrayOutput `pulumi:"responseCodes"` // The API endpoint to call. Url pulumi.StringOutput `pulumi:"url"` }
A Pulumi provider for making API calls
func GetPurrl ¶
func GetPurrl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PurrlState, opts ...pulumi.ResourceOption) (*Purrl, error)
GetPurrl gets an existing Purrl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPurrl ¶
func NewPurrl(ctx *pulumi.Context, name string, args *PurrlArgs, opts ...pulumi.ResourceOption) (*Purrl, error)
NewPurrl registers a new resource with the given unique name, arguments, and options.
func (*Purrl) ElementType ¶
func (*Purrl) ToPurrlOutput ¶
func (i *Purrl) ToPurrlOutput() PurrlOutput
func (*Purrl) ToPurrlOutputWithContext ¶
func (i *Purrl) ToPurrlOutputWithContext(ctx context.Context) PurrlOutput
type PurrlArgs ¶
type PurrlArgs struct { // The body of the request. Body pulumi.StringPtrInput // The CA certificate if server cert is not signed by a trusted CA. CaCert pulumi.StringPtrInput // The client certificate to use for TLS verification. Cert pulumi.StringPtrInput // The body of the request. DeleteBody pulumi.StringPtrInput // The CA certificate if server cert is not signed by a trusted CA. DeleteCaCert pulumi.StringPtrInput // The client certificate to use for TLS verification. DeleteCert pulumi.StringPtrInput // The headers to send with the request. DeleteHeaders pulumi.StringMapInput // Skip TLS verification. DeleteInsecureSkipTLSVerify pulumi.BoolPtrInput // The client key to use for TLS verification. DeleteKey pulumi.StringPtrInput // The HTTP method to use. DeleteMethod pulumi.StringPtrInput // The expected response code. DeleteResponseCodes pulumi.StringArrayInput // The API endpoint to call. DeleteUrl pulumi.StringPtrInput // The headers to send with the request. Headers pulumi.StringMapInput // Skip TLS verification. InsecureSkipTLSVerify pulumi.BoolPtrInput // The client key to use for TLS verification. Key pulumi.StringPtrInput // The HTTP method to use. Method pulumi.StringInput // The name for this API call. Name pulumi.StringInput // The expected response code. ResponseCodes pulumi.StringArrayInput // The API endpoint to call. Url pulumi.StringInput }
The set of arguments for constructing a Purrl resource.
func (PurrlArgs) ElementType ¶
type PurrlArray ¶
type PurrlArray []PurrlInput
func (PurrlArray) ElementType ¶
func (PurrlArray) ElementType() reflect.Type
func (PurrlArray) ToPurrlArrayOutput ¶
func (i PurrlArray) ToPurrlArrayOutput() PurrlArrayOutput
func (PurrlArray) ToPurrlArrayOutputWithContext ¶
func (i PurrlArray) ToPurrlArrayOutputWithContext(ctx context.Context) PurrlArrayOutput
type PurrlArrayInput ¶
type PurrlArrayInput interface { pulumi.Input ToPurrlArrayOutput() PurrlArrayOutput ToPurrlArrayOutputWithContext(context.Context) PurrlArrayOutput }
PurrlArrayInput is an input type that accepts PurrlArray and PurrlArrayOutput values. You can construct a concrete instance of `PurrlArrayInput` via:
PurrlArray{ PurrlArgs{...} }
type PurrlArrayOutput ¶
type PurrlArrayOutput struct{ *pulumi.OutputState }
func (PurrlArrayOutput) ElementType ¶
func (PurrlArrayOutput) ElementType() reflect.Type
func (PurrlArrayOutput) Index ¶
func (o PurrlArrayOutput) Index(i pulumi.IntInput) PurrlOutput
func (PurrlArrayOutput) ToPurrlArrayOutput ¶
func (o PurrlArrayOutput) ToPurrlArrayOutput() PurrlArrayOutput
func (PurrlArrayOutput) ToPurrlArrayOutputWithContext ¶
func (o PurrlArrayOutput) ToPurrlArrayOutputWithContext(ctx context.Context) PurrlArrayOutput
type PurrlInput ¶
type PurrlInput interface { pulumi.Input ToPurrlOutput() PurrlOutput ToPurrlOutputWithContext(ctx context.Context) PurrlOutput }
type PurrlMap ¶
type PurrlMap map[string]PurrlInput
func (PurrlMap) ElementType ¶
func (PurrlMap) ToPurrlMapOutput ¶
func (i PurrlMap) ToPurrlMapOutput() PurrlMapOutput
func (PurrlMap) ToPurrlMapOutputWithContext ¶
func (i PurrlMap) ToPurrlMapOutputWithContext(ctx context.Context) PurrlMapOutput
type PurrlMapInput ¶
type PurrlMapInput interface { pulumi.Input ToPurrlMapOutput() PurrlMapOutput ToPurrlMapOutputWithContext(context.Context) PurrlMapOutput }
PurrlMapInput is an input type that accepts PurrlMap and PurrlMapOutput values. You can construct a concrete instance of `PurrlMapInput` via:
PurrlMap{ "key": PurrlArgs{...} }
type PurrlMapOutput ¶
type PurrlMapOutput struct{ *pulumi.OutputState }
func (PurrlMapOutput) ElementType ¶
func (PurrlMapOutput) ElementType() reflect.Type
func (PurrlMapOutput) MapIndex ¶
func (o PurrlMapOutput) MapIndex(k pulumi.StringInput) PurrlOutput
func (PurrlMapOutput) ToPurrlMapOutput ¶
func (o PurrlMapOutput) ToPurrlMapOutput() PurrlMapOutput
func (PurrlMapOutput) ToPurrlMapOutputWithContext ¶
func (o PurrlMapOutput) ToPurrlMapOutputWithContext(ctx context.Context) PurrlMapOutput
type PurrlOutput ¶
type PurrlOutput struct{ *pulumi.OutputState }
func (PurrlOutput) Body ¶
func (o PurrlOutput) Body() pulumi.StringPtrOutput
The body of the request.
func (PurrlOutput) CaCert ¶ added in v0.3.0
func (o PurrlOutput) CaCert() pulumi.StringPtrOutput
The CA certificate if server cert is not signed by a trusted CA.
func (PurrlOutput) Cert ¶ added in v0.3.0
func (o PurrlOutput) Cert() pulumi.StringPtrOutput
The client certificate to use for TLS verification.
func (PurrlOutput) DeleteBody ¶
func (o PurrlOutput) DeleteBody() pulumi.StringPtrOutput
The body of the request.
func (PurrlOutput) DeleteCaCert ¶ added in v0.3.0
func (o PurrlOutput) DeleteCaCert() pulumi.StringPtrOutput
The CA certificate if server cert is not signed by a trusted CA.
func (PurrlOutput) DeleteCert ¶ added in v0.3.0
func (o PurrlOutput) DeleteCert() pulumi.StringPtrOutput
The client certificate to use for TLS verification.
func (PurrlOutput) DeleteHeaders ¶
func (o PurrlOutput) DeleteHeaders() pulumi.StringMapOutput
The headers to send with the request.
func (PurrlOutput) DeleteInsecureSkipTLSVerify ¶ added in v0.3.0
func (o PurrlOutput) DeleteInsecureSkipTLSVerify() pulumi.BoolPtrOutput
Skip TLS verification.
func (PurrlOutput) DeleteKey ¶ added in v0.3.0
func (o PurrlOutput) DeleteKey() pulumi.StringPtrOutput
The client key to use for TLS verification.
func (PurrlOutput) DeleteMethod ¶
func (o PurrlOutput) DeleteMethod() pulumi.StringPtrOutput
The HTTP method to use.
func (PurrlOutput) DeleteResponse ¶
func (o PurrlOutput) DeleteResponse() pulumi.StringPtrOutput
The response from the API call.
func (PurrlOutput) DeleteResponseCodes ¶
func (o PurrlOutput) DeleteResponseCodes() pulumi.StringArrayOutput
The expected response code.
func (PurrlOutput) DeleteUrl ¶
func (o PurrlOutput) DeleteUrl() pulumi.StringPtrOutput
The API endpoint to call.
func (PurrlOutput) ElementType ¶
func (PurrlOutput) ElementType() reflect.Type
func (PurrlOutput) Headers ¶
func (o PurrlOutput) Headers() pulumi.StringMapOutput
The headers to send with the request.
func (PurrlOutput) InsecureSkipTLSVerify ¶ added in v0.3.0
func (o PurrlOutput) InsecureSkipTLSVerify() pulumi.BoolPtrOutput
Skip TLS verification.
func (PurrlOutput) Key ¶ added in v0.3.0
func (o PurrlOutput) Key() pulumi.StringPtrOutput
The client key to use for TLS verification.
func (PurrlOutput) Method ¶
func (o PurrlOutput) Method() pulumi.StringOutput
The HTTP method to use.
func (PurrlOutput) Name ¶
func (o PurrlOutput) Name() pulumi.StringOutput
The name for this API call.
func (PurrlOutput) Response ¶
func (o PurrlOutput) Response() pulumi.StringOutput
The response from the API call.
func (PurrlOutput) ResponseCode ¶ added in v0.4.0
func (o PurrlOutput) ResponseCode() pulumi.IntOutput
func (PurrlOutput) ResponseCodes ¶
func (o PurrlOutput) ResponseCodes() pulumi.StringArrayOutput
The expected response code.
func (PurrlOutput) ToPurrlOutput ¶
func (o PurrlOutput) ToPurrlOutput() PurrlOutput
func (PurrlOutput) ToPurrlOutputWithContext ¶
func (o PurrlOutput) ToPurrlOutputWithContext(ctx context.Context) PurrlOutput
type PurrlState ¶
type PurrlState struct { }
func (PurrlState) ElementType ¶
func (PurrlState) ElementType() reflect.Type