packet.getSpotMarketRequest
Explore with Pulumi AI
Using getSpotMarketRequest
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSpotMarketRequest(args: GetSpotMarketRequestArgs, opts?: InvokeOptions): Promise<GetSpotMarketRequestResult>
function getSpotMarketRequestOutput(args: GetSpotMarketRequestOutputArgs, opts?: InvokeOptions): Output<GetSpotMarketRequestResult>
def get_spot_market_request(request_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSpotMarketRequestResult
def get_spot_market_request_output(request_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSpotMarketRequestResult]
func LookupSpotMarketRequest(ctx *Context, args *LookupSpotMarketRequestArgs, opts ...InvokeOption) (*LookupSpotMarketRequestResult, error)
func LookupSpotMarketRequestOutput(ctx *Context, args *LookupSpotMarketRequestOutputArgs, opts ...InvokeOption) LookupSpotMarketRequestResultOutput
> Note: This function is named LookupSpotMarketRequest
in the Go SDK.
public static class GetSpotMarketRequest
{
public static Task<GetSpotMarketRequestResult> InvokeAsync(GetSpotMarketRequestArgs args, InvokeOptions? opts = null)
public static Output<GetSpotMarketRequestResult> Invoke(GetSpotMarketRequestInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSpotMarketRequestResult> getSpotMarketRequest(GetSpotMarketRequestArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: packet:index/getSpotMarketRequest:getSpotMarketRequest
arguments:
# arguments dictionary
The following arguments are supported:
- Request
Id string The id of the Spot Market Request
- Request
Id string The id of the Spot Market Request
- request
Id String The id of the Spot Market Request
- request
Id string The id of the Spot Market Request
- request_
id str The id of the Spot Market Request
- request
Id String The id of the Spot Market Request
getSpotMarketRequest Result
The following output properties are available:
- device_
ids Sequence[str] List of IDs of devices spawned by the referenced Spot Market Request
- id str
The provider-assigned unique ID for this managed resource.
- request_
id str
Package Details
- Repository
- Packet pulumi/pulumi-packet
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
packet
Terraform Provider.