1. Packages
  2. Packet
  3. API Docs
  4. getSpotMarketRequest
Packet v3.2.2 published on Thursday, Nov 12, 2020 by Pulumi

packet.getSpotMarketRequest

Explore with Pulumi AI

packet logo
Packet v3.2.2 published on Thursday, Nov 12, 2020 by Pulumi

    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:

    RequestId string
    The id of the Spot Market Request
    RequestId string
    The id of the Spot Market Request
    requestId String
    The id of the Spot Market Request
    requestId string
    The id of the Spot Market Request
    request_id str
    The id of the Spot Market Request
    requestId String
    The id of the Spot Market Request

    getSpotMarketRequest Result

    The following output properties are available:

    DeviceIds List<string>
    List of IDs of devices spawned by the referenced Spot Market Request
    Id string
    The provider-assigned unique ID for this managed resource.
    RequestId string
    DeviceIds []string
    List of IDs of devices spawned by the referenced Spot Market Request
    Id string
    The provider-assigned unique ID for this managed resource.
    RequestId string
    deviceIds List<String>
    List of IDs of devices spawned by the referenced Spot Market Request
    id String
    The provider-assigned unique ID for this managed resource.
    requestId String
    deviceIds string[]
    List of IDs of devices spawned by the referenced Spot Market Request
    id string
    The provider-assigned unique ID for this managed resource.
    requestId string
    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
    deviceIds List<String>
    List of IDs of devices spawned by the referenced Spot Market Request
    id String
    The provider-assigned unique ID for this managed resource.
    requestId String

    Package Details

    Repository
    Packet pulumi/pulumi-packet
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the packet Terraform Provider.
    packet logo
    Packet v3.2.2 published on Thursday, Nov 12, 2020 by Pulumi